View previous topic :: View next topic |
Author |
Message |
secondshadow Guru
Joined: 23 Jun 2003 Posts: 362
|
Posted: Mon Jan 05, 2004 7:08 pm Post subject: 2.6.0 kernel panic |
|
|
I'm currently (attempting) to use the 2.6.0 gentoo-dev-sources. I keep getting this error on boot:
Code: |
VFS: Cannot open root device "342" or hdb2
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on hdb2
|
I'm using reiserfs on hdb2 (/) and ext2 on hda1 (/boot). I compiled in reiserfs support into the kernel (not modular) as well as all of the appropriate drivers for my hard disk controllers.
I should note that I do not get this problem with the old gentoo-2.4.20-r8 sources.
EDIT: I was incorrect. I was using the vanilla 2.6.0 kernel sources, grabbed from portage of course. Sorry about that mixup.
Last edited by secondshadow on Tue Jan 06, 2004 4:07 am; edited 1 time in total |
|
Back to top |
|
|
rberry88 Tux's lil' helper
Joined: 18 Dec 2003 Posts: 86 Location: Arlington Heights, IL USA
|
Posted: Mon Jan 05, 2004 7:42 pm Post subject: |
|
|
Without knowing what your grub/lilo parameters are it is very hard to start guessing as to what might be causing your problem. Do you have an entry on your kernel line in grub/lilo that says root=/dev/hdb2??
rberry88 |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Mon Jan 05, 2004 7:44 pm Post subject: |
|
|
Moved from Portage & Programming. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
secondshadow Guru
Joined: 23 Jun 2003 Posts: 362
|
Posted: Mon Jan 05, 2004 8:10 pm Post subject: |
|
|
Sorry for posting in the wrong forum...
Anywho, stuff I meant to post before:
lilo.conf
Code: |
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=2.4-gentoo-r8p
image=/boot/vmlinuz
append="hdc=ide-scsi hdd=ide-scsi"
label=linux
read-only
root=/dev/hdb2
image=/boot/vmlinuz-2.4.20-gentoo-r8-preempt
append="hdc=ide-scsi hdd=ide-scsi"
label=2.4-gentoo-r8p
read-only
root=/dev/hdb2
image=/boot/vmlinuz-2.4.20-gentoo-r7
append="hdc=ide-scsi hdd=ide-scsi"
label=2.4-gentoo-r7
read-only
root=/dev/hdb2
other=/dev/hda4
label=windows
|
the label 'linux' is the one in question...
fstab
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hdb2 / ReiserFS noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/hda4 /mnt/xfer vfat noauto,noatime 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 noatuo,ro 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
EDIT: I was incorrect. I was using the vanilla 2.6.0 kernel sources, grabbed from portage of course. Sorry about that mixup.
I posted the edit here too in case noone read the original. |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Mon Jan 19, 2004 8:47 pm Post subject: |
|
|
Please refer to this collection of kernel panic fixes. |
|
Back to top |
|
|
|