- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Unable to mount root device 806
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 05:41 AM
тАО07-24-2002 05:41 AM
Unable to mount root device 806
When booting it's kind of hard to tell what's going on because the information is flying by on the screen. So what I can see when the kernel panics and halts is that it can't mount the root device 806, which is the scsi sda6 device. That's where the root filesystem is located.
what I've tried so far:
I've tried statically compiling in the scsi modules. That did not work. I tried renaming the scsi modules so that the aic7xxx driver loads before the aacraid driver. That did not work. (I am running out of options here). I also had both scsi drivers load as modules and that did not work.
Do I need to check the initrd and ensure that it has all the proper info for drivers and devices? How do I do this.
I've tried mounting it but I get an error that states, please specify a FileSystem Type. That's probably because I am doing mount -0 loop /boot/initrd-2.4.18.img /mnt/test
Does anyone have any ideas. I have been working on this for a few days and I can't seem to figure it out. Other (distro kernels work just fine, i.e. 2.4.2-2smp, 2.4.9-34smp.)
I think I am missing a step here but what step is the question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 06:03 AM
тАО07-24-2002 06:03 AM
Re: Unable to mount root device 806
# mkdir /mnt1
# cp /boot/yourinitrd.img /tmp
# cd /tmp
# mv yourinitrd.img yourinitrd.gz
# gzip -d yourinitrd.gz
# mount -o loop yourinitrd /mnt1
# cd /mnt1/lib
# ls
What you can find?
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 07:13 AM
тАО07-24-2002 07:13 AM
Re: Unable to mount root device 806
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 07:28 AM
тАО07-24-2002 07:28 AM
Re: Unable to mount root device 806
request_module[block-major-8]: Root fs not mounted
I also found out that I didn't have initrd in the kernel config.
I read a posting somewhere from someone with a similar problem.
---------posting-----------
> Kernel panic:VFS:Unable to mount root fs on 08:03
>
----Here is the reply-----
It seems you have compiled the driver for your root fs as a module and not
into the kernel.
--------------------------
Where in the kernel config do you specify rootfs as module or static. Is this the initrd option?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 09:39 AM
тАО07-24-2002 09:39 AM
Re: Unable to mount root device 806
after mounting your initrd make sure that dir lib contains the necessary modules for boot up and that linuxrc script actually calls the modules. here's an example from my linuxrc script in initrd:
echo "Loading sym53c8xx module"
insmod /lib/sym53c8xx.o
echo "Loading aic7xxx module"
insmod /lib/aic7xxx.o
echo "Loading jbd module"
insmod /lib/jbd.o
echo "Loading ext3 module"
insmod /lib/ext3.o
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 11:19 AM
тАО07-24-2002 11:19 AM
Re: Unable to mount root device 806
Also, in /etc/fstab the root device is defined as:
LABEL=/ ext2 defaults 1 1
Is LABEL passed from LILO? what is tell the kernel that the root device is 806 or /dev/sda6?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 12:42 PM
тАО07-24-2002 12:42 PM
Re: Unable to mount root device 806
As for your inquery, your fstab files looks fine (assuming you are currently using ext2). I think the reason your err comes up during boot is that not all neccessary modules were loaded during boot up, so the kernel pukes when trying to mount root and kack "can't mount root fs 8:06 ... ". I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 12:58 PM
тАО07-24-2002 12:58 PM
Re: Unable to mount root device 806
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 01:08 PM
тАО07-24-2002 01:08 PM
Re: Unable to mount root device 806
echo "Loading sym53c8xx module"
insmod /lib/sym53c8xx.o
you should be seing "Loading sym... module" during boot up. Is there anything in your linuxrc file when you mount your initrd file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 01:16 PM
тАО07-24-2002 01:16 PM
Re: Unable to mount root device 806
I now see the loading of modules and it successfully detects the scsi raid controller and the array. But now I get a new error.
Creating Root Device
mkrootdev: mknod failed 17
Mounting Root Filesystem
mount: error 16 mounting ext2
pivotroot fails with error 2
It's last breath before death is:
Kernel Panic no init found. Try passing init= to kernel.
Well at least I have made some progress.