LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-05-2005, 10:18 AM   #1
johngregor
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
new kernal causes panic


Hello,

I have an IBM e235 server with 2 processors and a RAID array.
I am running Red hat Linux release 7.3 with kernel 2.4.17
I need to upgrade the kernel to 2.4.31 in order to solve a problem I have with the server continuously freezing.
I have tried several times but my attempts always fail. When I attempt to reboot with the new kernel it always ends with the following messages:

.
Net4: Unix domain sockets 1.0/smp for linux NET4.0.
Ds: no socket driver loaded!
Kmod: failed to exec /sbin/modprobe –s –k block-major-8, errno =2
VFS: Cannot open root device “sda2” or 08:02
Please append a correct “root=” boot option
Kernel panic: VFS: Unable to mount root fs on 08:02

The only difference I can see between the new and old kernel is that the old one has a “module" attached.

I am very new to Linux and this upgrade is very important.

Could some kind soul please either list out step-by-step what I need to do to install this new kernel on my server or point me to a website/posting with step-by-step instructions specific to my situation.

Thanks,

Last edited by johngregor; 11-05-2005 at 10:20 AM.
 
Old 11-05-2005, 11:03 AM   #2
docalton
Member
 
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 15
Ok... to me that error looks like the kernel doesn't have the support for you disk controller compiled in and therefore cannot read your root partition. If sda2 is your root partition, there are a couple of ways around this problem.

First, build a kernel from source that has the support for your disk controller compiled in, not as a module. There are many resources available for help you to build a new kernel.

Second, the kernel might have the drivers for the controller built as a module. If that is the case, you would need to make an initrd file which will attempt to load that driver before the kernel attempts to mount the root partition. Once again there are many resources available online to help with that.

Personally, I recommend compiling a kernel with the disk controller drivers compiled into it and not as a module.

Hope this help
 
  


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
Kernal Panic coolone Linux - Laptop and Netbook 3 07-01-2005 05:12 PM
Kernal panic alltime Linux - Newbie 5 01-23-2005 08:55 PM
Kernal panic jelgavchik Linux - Laptop and Netbook 1 01-08-2005 11:39 AM
Kernal panic oh no nuhn123 Linux - Newbie 9 09-10-2003 06:54 AM
Kernal Panic needamiracle Linux - Software 7 06-05-2002 09:57 AM


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