LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-23-2008, 05:42 AM   #1
pobrika
Member
 
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 70

Rep: Reputation: 18
Question Compiled Kernel: Kernel panic Unable to mount root fs on 08:02


Hello,

I have been struggling with building a kernel all week and finally decided tom ask for help after trawling the net for hours on end.

Seems there are many people with the same problem but I still can not find a solution for my boot issue.

I have a RHEL3 server which has kernel 2.4.21 installed.
I have a brainbox serial card which needs to be setup on this server but, brainbox only support the 2.4.24 or 2.4.25 kernel with their patches.

I decide to do test on a VM machine to create a bootable kernel as this is my first time building a kernel.

The VM has a scsi disk drive which is similar to to the real server.

I have compiled what I thought was all the required drivers for scsi ext3 and ide as (y) not modules but after the kernel is installed it fails to boot which I have put down to not being able to mount the scsi disk.

I have amended my grub.conf as follows.

Code:
title Red Hat Enterprise Linux ES (2.4.25.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.25.EL ro root=/dev/sda2
        initrd /initrd-2.4.25.img
title Red Hat Enterprise Linux ES (2.4.21-47.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-47.EL ro root=LABEL=/
        initrd /initrd-2.4.21-47.EL.img
Here is a dump of a succesful boot from dmesg

Code:
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
Fusion MPT base driver 2.06.16.02
Copyright (c) 1999-2005 LSI Logic
PCI: Found IRQ 9 for device 00:10.0
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
mptbase: 1 MPT adapter found, 1 installed.
Fusion MPT SCSI Host driver 2.06.16.02
scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1, MaxQ=128, IRQ=9
blk: queue c177c414, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
  Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0
  Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue c177c614, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 12582912 512-byte hdwr sectors (6442 MB)
Partition check:
 sda: sda1 sda2 sda3
I am unsure what I am not wrong now, Please help.
 
Old 05-23-2008, 07:01 AM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Can you please tell us how your system is failing to boot?
 
Old 05-23-2008, 07:39 AM   #3
pobrika
Member
 
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 70

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by stefan_nicolau View Post
Can you please tell us how your system is failing to boot?
Sorry thought I had with the title kernel panick unable to mount root 08:02

anyway I have manged to get the system to boot now as I have found the fusion scsi driver but I am now hanging on INITL Id "1" respawning too fast: disabled for 5 minutes. this is on all ttys 1,2,3,4,5,6
 
Old 05-23-2008, 02:29 PM   #4
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Originally Posted by pobrika View Post
Sorry thought I had with the title kernel panick unable to mount root 08:02
Yes, but 'unable to mount root' may be due to lots of causes (eg. no scsi support, no proper filesystem support, wrong order in detecting partitions, etc.). The previous messages would be required to diagnose the problem.
Quote:
Originally Posted by pobrika View Post
anyway I have manged to get the system to boot now as I have found the fusion scsi driver but I am now hanging on INITL Id "1" respawning too fast: disabled for 5 minutes. this is on all ttys 1,2,3,4,5,6
What is your /etc/inittab or /etc/event.d?
Are all your partitions mounted properly?
 
  


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
Kernel Panic - Unable to mount root FS Halospree13 Linux - Newbie 5 01-21-2009 03:37 AM
Kernel Panic:Unable to mount Root fs ajay.talk Linux - Software 3 10-23-2007 12:41 AM
Kernel Panic:unable to mount root fs ajay.talk Linux - Software 2 10-22-2007 02:00 PM
compiling kernel problem --- Kernel panic: unable to mount root fs ........ anthonymts123 Linux - General 5 07-31-2006 02:29 AM

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

All times are GMT -5. The time now is 02:28 PM.

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