Click to See Complete Forum and Search --> : 1st Gentoo install get's me a kernel panic


rickenbacherus
05-18-2003, 12:26 AM
grub.conf

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda7 hdc=ide-scsi vga=792

Partitions:

hda1 Primary Linux ext2 65.81
hda2 Primary Linux swap 551.10
hda3 Primary Linux 1497.01
hda5 Logical Linux 1003.49

hda6 Logical Linux 1497.01

hda7 Logical Linux ReiserFS 1998.75

hda1 is /boot
hda7 is /

/etc/fstab

/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda7 / reiserfs noatime,notail 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0

It fails boot with:

NET4 Unix domain sockets blah
ds: no socket drivers loaded!
Kernel panic VFS unable to
mount rootfs on 03:07

What is 03:07 referring to? I can't figure out why it can't mount /dev/hda7. Where is it trying to mount it to exactly?

I do have reiserfs and ext2 compiled into the kernel. I did copy bzImage to /dev/hda7/boot

Thanks for any ideas.

Icarus
05-18-2003, 12:53 AM
Is /proc and devfs compiled into the kernel? Also the VFS stuff?

Check your menuconfig under the filesystems section

rickenbacherus
05-18-2003, 09:37 AM
Originally posted by mahdi
Is /proc and devfs compiled into the kernel? Also the VFS stuff?

Check your menuconfig under the filesystems section

Here is part of
/hda7/usr/src/linux-2.4.20-gentoo-r5/kernel-config

CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_SUPERMOUNT is not set
/ship/
CONFIG_VXFS_FS=m
CONFIG_PROC_FS=y
CONFIG_PROC_CONFIG=y
CONFIG_DEVFS_FS=y
# CONFIG_DEVFS_MOUNT is not set
/snip/
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XATTR_SHARING is not set
# CONFIG_EXT2_FS_XATTR_USER is not set
# CONFIG_EXT2_FS_XATTR_TRUSTED is not set
# CONFIG_EXT2_FS_POSIX_ACL is not set
CONFIG_SYSV_FS=m
CONFIG_UDF_FS=m
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
/snip/

Should some of those not be modules? Like perhaps the VXFS?
Can I just edit kernel-config directly or is there another method I must use?

What about DEVFS_MOUNT?

Thanks.