LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2003, 11:14 AM   #1
bschneider
Member
 
Registered: Nov 2003
Location: Ohio, USA
Distribution: Suse 9.3 Professional
Posts: 50

Rep: Reputation: 15
Compiling and Installing Kernel under SuSE 9


Help please,
I am trying to compile and install it on a box running SuSE 9. The installed kernel is the default that came with 9 professional. I am trying to upgrade recompile the current stable kernel. I followed the directions that came in the administrators handbook. However when I tried to reboot after editing the grub.lst, when it tries to boot the new kernel I get a kernel panic and modules don't load.
It will still boot under the old kernel. I have noticed that there are a lot of linked files such as linux directory under usr/src/ that points to the current default kernel. Anyone have any idea as to what the complete way to compile and install the kernel under suse is? I would really appreciate the help. I have been told that some programs that I want to run my work if I install this new kernel.

Thanks for your help in advance
Bschneider
 
Old 12-10-2003, 12:07 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
We covered this topic extensivly in another thread about a week and a half ago. A search of LQ for "SuSE kernel" should get the results you need. ;-)
 
Old 12-10-2003, 08:54 PM   #3
bschneider
Member
 
Registered: Nov 2003
Location: Ohio, USA
Distribution: Suse 9.3 Professional
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, I got the new kernel installed and am running it right now, but I have lost sound, xserver does not start automatically, just get a command prompt, video card is not properly configured. Does xserver have to configured each time a new kernel is loaded? Or is this just something weird with suse? Ireally want to stay with linux, but windows is looking better all the time. At least I know what I am doing in it most of the time.. Starting to get very discouraged with linux, especially with Suse.

Please help
Thanks

Last edited by bschneider; 12-12-2003 at 10:26 AM.
 
Old 12-12-2003, 11:14 AM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Ask yourself if the first time you used Windows you knew how to edit the registry. I too get frustrated with working in Linux, but then I remember how much better my laptop ran after I recompiled the kernel successfully for the first time. It is soo worth it. I am on my fifth compile this week in SuSE 9 and get a little closer to the perfect kernel each time. Hand in there..

Run the config again and doublecheck the sound card you selected. I like to have a comprehensive list of hardware of my machine before I even attempt the first recompile. I learned the hard way how much time it saves.
 
Old 12-12-2003, 04:34 PM   #5
bschneider
Member
 
Registered: Nov 2003
Location: Ohio, USA
Distribution: Suse 9.3 Professional
Posts: 50

Original Poster
Rep: Reputation: 15
Well I have not given up yet, I just get so frustrated at trying to do something that I cannot find good documentation. Even SuSE administration manual does not cover real well how to compile and install a new kernel. My main problem is what happened to my Xserver configuration? Do I have to run the x server config file everytime I install or compile a new kernel? Also you (pcghost) mentioned to check the config file. are you talking about the one that is generated in xconfig or is there a different one that I don't know about yet? I hate to keep asking so many questions, but I just like plan simple answers and some times I am kinda thick headed if you know what I mean..
Thanks for the help
Bschneider
 
Old 12-12-2003, 04:43 PM   #6
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
You should not have to reconfigure x each time you recompile. There is likely something related to Xwindows being left out in your configuration. The config file is the one generated (or copied from old kernel) from xconfig (or other), and is called .config. It is located in the kernel source directory. Remember, anytime make mrproper is run it wipes out any .config file in the directory so either back up the one you are using or recopy it from the old kernel sources. The SuSE manual is alright if you are compiling a pre 2.6 kernel but doesn't apply to the 2.6. Follow Ghostwalkers instructions here

http://www.linuxquestions.org/questi...hreadid=123039

and you will have a much easier time with recompiles. It got me up and running. Don't worry about asking newbie questions here, that is why we are here. :-)
 
Old 12-19-2003, 09:46 AM   #7
bschneider
Member
 
Registered: Nov 2003
Location: Ohio, USA
Distribution: Suse 9.3 Professional
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, now I have redone the complete kernel 2.4.23. I have tried everything but it still does not find my sound card on startup, does not give me the splash screen, and generates some other errors about the wrong file system, can't read my c drive on the windows side. I know that something is wrong in the config file, but I don't have any idea as to what. Any ideas on what to look for.. If you need more info let me know.
Thanks
Bschneider
 
  


Reply



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
compiling installing kernel modules Wordan Linux - Software 3 11-02-2005 07:22 AM
Installing (Compiling?) the new 2.6.1 kernel LilGryphMaster Linux - Newbie 9 01-31-2004 09:45 PM
Kernel compiling on SUSE 9 undershepherd Linux - Software 2 12-06-2003 11:23 AM
Compiling and Installing Linux Kernel 2.4.18 kramk2 Linux - Software 4 09-04-2003 07:01 PM
Compiling and installing a new kernel in RedHat7.2 RCarter Linux - Software 10 07-13-2002 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration