LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How should I rebuild the Kernel (https://www.linuxquestions.org/questions/suse-opensuse-60/how-should-i-rebuild-the-kernel-487614/)

waterox 09-28-2006 01:08 AM

How should I rebuild the Kernel
 
I am having problems with my Toshiba Laptop. When I use the wireless with ndiswrapper on my atheros wireless card it runs real slow. I think I found the answer in this thread http://www.linuxquestions.org/questi...iswrapper+slow

But it suggests to reuild the kernel and disable an option. Ok that is fine and good. I have recompiled the slackware kernel 50 times by now. But can I follow the same directions with opensuse? Or does suse have some other way to deal with this. Thanks.

bigrigdriver 09-28-2006 09:31 AM

Take a look in the Suse system admin guide - /usr/share/doc/manual.

SkippyBoy 09-28-2006 10:07 AM

I think rebuilding the kernel should be about the same as in Slack...
su
cd /usr/src/linux
make clean
make [xconfig|menuconfig] (Your current kernel config will be used as a base, then make changes, save, exit)
make
make modules_install
make install (Suse will update grub for you. Nice)
Reboot.

I have done it several times now, and as long as you use the current config as a base, you should have no problems. Of course some of your modules/apps may need to be recompiled - ndiswrapper is one...

Good luck

c4onastick 10-01-2006 10:46 PM

Quote:

Originally Posted by SkippyBoy
I think rebuilding the kernel should be about the same as in Slack...
su
cd /usr/src/linux
make clean
make [xconfig|menuconfig] (Your current kernel config will be used as a base, then make changes, save, exit)
make
make modules_install
make install (Suse will update grub for you. Nice)
Reboot.

I have done it several times now, and as long as you use the current config as a base, you should have no problems. Of course some of your modules/apps may need to be recompiled - ndiswrapper is one...

Good luck

On a slight side note, what does
Code:

make clean
do? I've compiled a few kernels using that but I never knew what that actually does. Thanks!

SkippyBoy 10-02-2006 08:50 AM

If I recall correctly "make clean" gets rid of all the old object code and other miscellaneous files that are created when you run "make".

I assume you could probably do without it - but it is just a good idea for housekeeping purposes. Why have all those extra files there taking up space?

c4onastick 10-02-2006 03:45 PM

Great, thanks!


All times are GMT -5. The time now is 11:25 AM.