View previous topic :: View next topic |
Author |
Message |
bension Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Feb 2004 Posts: 86
|
Posted: Sun Jun 07, 2009 10:15 pm Post subject: help with kernel panic |
|
|
I just tried to upgrade my kernel, after compiling a reboot I get a kernel panic. Here is the error:
Quote: |
VFS: Cannot open root device "hda5" or unknwown-block
Please append a correct "root=" boot option |
My 2.6.16 boots just fine, but I get the error with 2.6.29
In my grub.conf:
Quote: |
title=2.6.16
root (hd0,1)
kernel /boot/kernel-2.6.16 root=/dev/hda5
title=2.6.29
root (hd0,1)
kernel /boot/kernel-2.6.29 root=/dev/hda5
|
I want /dev/hda5 to mount to /. Not sure why this doesn't work in the new kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yabbadabbadont Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13361939844cd4b5d53ebe4.jpg)
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sun Jun 07, 2009 10:28 pm Post subject: |
|
|
You most likely didn't configure in support for the filesystem that is used by your root partition. You made quite a jump in kernel versions and a lot of options got moved around in the menuconfig tree. Just copying the old .config file and doing "make oldconfig" won't be enough. You'll need to manually go through all the options when configuring the new kernel. (or possibly use genkernel) _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bension Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Feb 2004 Posts: 86
|
Posted: Sun Jun 07, 2009 11:23 pm Post subject: |
|
|
/dev/hda5 is reiserfs - I did check to make sure I included fs support. I did use make menuconfig - when going through all the tree the options did look a lot different. I probably missed something, but not sure where to look, I'll go back and check the FS support one more time. A bit more from the error message:
Quote: |
Please append a correct "root=" boot option; here are the available partions:
....sda driver: sd
....sda1...
.....sda2
......
|
Why is each partition listed as sda instead of hda? Maybe that's my problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
i92guboj Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/5913531844c4d36a8e43f9.jpg)
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Jun 07, 2009 11:44 pm Post subject: |
|
|
bension wrote: | /dev/hda5 is reiserfs - I did check to make sure I included fs support. I did use make menuconfig - when going through all the tree the options did look a lot different. I probably missed something, but not sure where to look, I'll go back and check the FS support one more time. A bit more from the error message:
Quote: |
Please append a correct "root=" boot option; here are the available partions:
....sda driver: sd
....sda1...
.....sda2
......
|
Why is each partition listed as sda instead of hda? Maybe that's my problem. |
ATA disks are now supported through the PATA emulation layer in the SATA subsection. That's why they are named as scsi drives, just like SATA ones or usb sticks. So, yes, you need to adjust not only grub.conf, but also your fstab accordingly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bension Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Feb 2004 Posts: 86
|
Posted: Mon Jun 08, 2009 3:53 pm Post subject: |
|
|
Thanks i92guboj - that was indeed the problem. Once I change references to sda I am able to boot up.
Now I have some other driver issues I need to address.
Thanks again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|