LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 09-28-2006, 01:08 AM   #1
waterox
Member
 
Registered: Jul 2004
Posts: 62

Rep: Reputation: 15
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.
 
Old 09-28-2006, 09:31 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,772

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Take a look in the Suse system admin guide - /usr/share/doc/manual.
 
Old 09-28-2006, 10:07 AM   #3
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Rep: Reputation: 15
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
 
Old 10-01-2006, 10:46 PM   #4
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
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!

Last edited by c4onastick; 10-01-2006 at 11:01 PM.
 
Old 10-02-2006, 08:50 AM   #5
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Rep: Reputation: 15
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?
 
Old 10-02-2006, 03:45 PM   #6
c4onastick
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
Great, thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel name after rebuild ekdya Debian 0 09-18-2006 04:59 PM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 12:15 PM
Help (!?) with rebuild kernel 2.4.26 WoofDeF Debian 1 06-22-2005 09:11 AM
kernel rebuild Present Yoper 9 11-26-2004 06:08 PM
Rebuild kernel And then !!! left-hand Linux - Software 4 02-06-2004 09:59 AM


All times are GMT -5. The time now is 09:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration