LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-21-2007, 05:28 PM   #1
bastupungen
Member
 
Registered: Nov 2003
Posts: 53

Rep: Reputation: 15
system does not boot with 2.6.20 kernel


Hello!
I have a server setup currently running the 2.6.18 kernel and it is stable. But I need to upgrade, patch and configure a new kernel to get my gameserver to run smooth on this setup. My server is a Intel server 5000 running dual quad-core (new) xeons 2 GB ram and plenty of hdd.

As I said I need to configure my kernel to get the counterstrike:source servers running on it to run smoothly. With the current setup they do not get enough headroom to perform. So I am following a guide over at steampowered.com too get the kernel compiled and running. But the new kernel does not boot. It cannot find the hdd:s

So a couple of question about kernel configing. I have currently added all sata drivers into the kernel. Do I have to add those drivers (the once I need, of which I am not sure) to the kernel or can I have them as a module?

my second question is what drivers do I need. If I run lsmod -n I get this:
00:00.0 0600: 8086:25d8 (rev b1)
00:02.0 0604: 8086:25f7 (rev b1)
00:03.0 0604: 8086:25e3 (rev b1)
00:04.0 0604: 8086:25f8 (rev b1)
00:05.0 0604: 8086:25e5 (rev b1)
00:06.0 0604: 8086:25f9 (rev b1)
00:07.0 0604: 8086:25e7 (rev b1)
00:08.0 0880: 8086:1a38 (rev b1)
00:10.0 0600: 8086:25f0 (rev b1)
00:10.1 0600: 8086:25f0 (rev b1)
00:10.2 0600: 8086:25f0 (rev b1)
00:11.0 0600: 8086:25f1 (rev b1)
00:13.0 0600: 8086:25f3 (rev b1)
00:15.0 0600: 8086:25f5 (rev b1)
00:16.0 0600: 8086:25f6 (rev b1)
00:1c.0 0604: 8086:2690 (rev 09)
00:1d.0 0c03: 8086:2688 (rev 09)
00:1d.1 0c03: 8086:2689 (rev 09)
00:1d.2 0c03: 8086:268a (rev 09)
00:1d.3 0c03: 8086:268b (rev 09)
00:1d.7 0c03: 8086:268c (rev 09)
00:1e.0 0604: 8086:244e (rev d9)
00:1f.0 0601: 8086:2670 (rev 09)
00:1f.1 0101: 8086:269e (rev 09)
00:1f.2 0106: 8086:2681 (rev 09)
00:1f.3 0c05: 8086:269b (rev 09)
01:00.0 0604: 8086:3500 (rev 01)
01:00.3 0604: 8086:350c (rev 01)
02:00.0 0604: 8086:3510 (rev 01)
02:02.0 0604: 8086:3518 (rev 01)
04:00.0 0200: 8086:1096 (rev 01)
04:00.1 0200: 8086:1096 (rev 01)
0c:0c.0 0300: 1002:515e (rev 02)

I have checked with this website: http://kmuto.jp/debian/hcl/index.cgi and added "ahci" (in device-> ->sata) when I added the sata drivers but which more do I need. There are several of "piix" options in the kernel and I added the once I thought I needed. Do I need them all or is that not part of the hdd:s?

I also found the "i2c-i801" and "i810_rng" and added them to the kernel but that did not seem to make much difference.

So I guess the bottom line is what do I need to add to the kernel config to boot this thing???
 
Old 05-21-2007, 06:13 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
SATA support also requires SCSI support. Make sure you build that in as well.
 
Old 05-21-2007, 06:19 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Did you try starting with the config file from your running kernel?
 
Old 05-21-2007, 06:24 PM   #4
bastupungen
Member
 
Registered: Nov 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rkelsen
SATA support also requires SCSI support. Make sure you build that in as well.
I have this in the .config:

CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
CONFIG_SCSI_TGT=m
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

Am I missing anything?

I found this one:
CONFIG_BLK_DEV_SD:
Do not compile this driver as a module if your root file system
(the one containing the directory /) is located on a SCSI disk.
In this case, do not compile the driver for your SCSI host adapter
(below) as a module either.

it was set as a module, now it is set as Y.. I will try tomorrow and see if it works.. Anything else I might need?
 
Old 05-21-2007, 06:44 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by bastupungen
Am I missing anything?

I found this one:
CONFIG_BLK_DEV_SD:
...
it was set as a module, now it is set as Y.. I will try tomorrow and see if it works.. Anything else I might need?
I think that's it. If it doesn't work, post back here and I'll look into my config for you.
 
Old 05-21-2007, 08:00 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,137

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Would this be relevant ???.
 
Old 05-22-2007, 02:44 AM   #7
bastupungen
Member
 
Registered: Nov 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02
Did you try starting with the config file from your running kernel?
Yup, I copied the config file from the /boot dir to .config.. but they changed the names or almost everything that has to do with SATA somewhere in between 2.6.18 and 2.6.20
 
Old 05-22-2007, 02:46 AM   #8
bastupungen
Member
 
Registered: Nov 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00
Would this be relevant ???.
Its probobly a related problem... its kinda stupid, acctually.. I just can't see why they would change the names.. sure change the names but leave the old names as reference so that we know what is what with the new names
 
Old 05-22-2007, 01:24 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Yup, I copied the config file from the /boot dir to .config.. but they changed the names or almost everything that has to do with SATA somewhere in between 2.6.18 and 2.6.20
Yeah, my mistake. Syg00 got it right on this one. For some reason I was thinking it was 2.6.17 when they changed it, not 2.6.19. Either fix it manually or use make menuconfig and reconfigure Device Drivers->Serial ATA...
 
Old 05-22-2007, 01:36 PM   #10
bastupungen
Member
 
Registered: Nov 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02
Yeah, my mistake. Syg00 got it right on this one. For some reason I was thinking it was 2.6.17 when they changed it, not 2.6.19. Either fix it manually or use make menuconfig and reconfigure Device Drivers->Serial ATA...
And this is what I am having problems with right now..

I have not been able to test the kernel I made yesterday with scsi support but maybe tomorrow.. the server is on the other side of sweden.. ;P
 
  


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
Which compiled kernel has been used to boot system? aliamiri Linux - General 2 05-02-2006 10:17 AM
kernel problem:system does not boot nick021 Linux - General 8 01-28-2006 07:41 PM
Kernel Panic / System wont boot phatboyz Linux - Hardware 5 01-25-2005 07:39 AM
After updating Kernel system will not boot !! sanfran49 Linux - Software 3 02-12-2004 04:42 PM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:27 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