View previous topic :: View next topic |
Author |
Message |
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:06 am Post subject: kernel panic on first boot |
|
|
hi, im right now trying to install gentoo out of a installation of suse 9.2.
so i followed the install guide (like always), created a reiser partition, took a stage 3 tarball, made a gentoo-dev-sources-2.6.10-r4 kernel, selected reiser,devfs (on boot),... my hardware. i set up the kernel to be booted by suses grub (with root=/dev/hda5 appended).
now when i try to boot, my kernel panics with a message (maybe differs in some words):
kernel panic: VFS -- not sync: cannot read root fs on block (3,5)
my root fs is ok, i can mount it in the suse installation, also it checks as ok, there are no files missing. im pretty desperate atm. |
|
Back to top |
|
|
matador Apprentice
Joined: 28 Sep 2004 Posts: 174 Location: Gothenburg, Sweden
|
Posted: Thu Jan 13, 2005 9:11 am Post subject: |
|
|
Are all the FS added in the kernel?? _________________ #267386
Checked the wiki or the faq?
Answear a post if you've got time |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:14 am Post subject: |
|
|
yes, i checked if reiser is added.
Code: | CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_SCSI_PROC_FS=y
CONFIG_USB_DEVICEFS=y
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
CONFIG_ISO9660_FS=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
CONFIG_PROC_FS=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLBFS is not set
CONFIG_RAMFS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
CONFIG_NFSD_TCP=y
CONFIG_EXPORTFS=y
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
|
|
|
Back to top |
|
|
matador Apprentice
Joined: 28 Sep 2004 Posts: 174 Location: Gothenburg, Sweden
|
Posted: Thu Jan 13, 2005 9:26 am Post subject: |
|
|
As I see it your kernel can't find the root partition, so that indicates a grub erreor. Where's your /boot/initrd pointing? Post your grub config file. _________________ #267386
Checked the wiki or the faq?
Answear a post if you've got time |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:26 am Post subject: |
|
|
its a handmade kernel, i chose the same options as evry time, the kernel image should directly mount root and run the init script. this means i got no initrd. im sure its no grub error, since it loads lots of drivers before giving me this message (usb etc.)
edit: the error message doesnt say "block(3,5)" but "unkown-block(3,5)" |
|
Back to top |
|
|
matador Apprentice
Joined: 28 Sep 2004 Posts: 174 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 9:36 am Post subject: |
|
|
Don't u have a sata hard disk?
Last edited by Enlight on Thu Jan 13, 2005 9:42 am; edited 1 time in total |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:36 am Post subject: |
|
|
only the last line, i dont get the errors before, since i added a "root=" line.
ill try to enable nfs now.
edit: CONFIG_NFS_V4 is only nfs client support. nfs and nfs server is already added (i took the default .config and didnt remove anything, only added my HW)
Last edited by gurke on Thu Jan 13, 2005 9:40 am; edited 1 time in total |
|
Back to top |
|
|
bet1m l33t
Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
Posted: Thu Jan 13, 2005 9:39 am Post subject: |
|
|
use lilo, lilo rocks. _________________ #370559 |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 9:43 am Post subject: |
|
|
GRub rocks as well as lilo, don't think it's the pb, could you please post a fdisk - l result? |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:44 am Post subject: |
|
|
Enlight wrote: | Don't u have a sata hard disk? | no, ide.
Enlight wrote: | GRub rocks as well as lilo, don't think it's the pb, could you please post a fdisk - l result? |
Code: |
Platte /dev/hda: 60.0 GByte, 60011642880 Byte
255 Köpfe, 63 Sektoren/Spuren, 7296 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Gerät boot. Anfang Ende Blöcke Id System
/dev/hda1 1 1044 8385898+ 83 Linux
/dev/hda2 1045 1057 104422+ 83 Linux
/dev/hda3 1058 1123 530145 82 Linux swap / Solaris
/dev/hda4 1124 7296 49584622+ f W95 Erw. (LBA)
/dev/hda5 1124 2428 10482381 83 Linux
/dev/hda6 2429 3472 8385898+ 83 Linux
/dev/hda7 3473 7296 30716248+ 83 Linux
|
should this really read W95 Ext.?
Last edited by gurke on Thu Jan 13, 2005 9:46 am; edited 1 time in total |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 9:46 am Post subject: |
|
|
did nfs support change anything? |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:46 am Post subject: |
|
|
Enlight wrote: | did nfs support change anything? |
i had nfs support enabled, nfs_v4 is only client software support, if i understand the docs right. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 9:50 am Post subject: |
|
|
Quote: | /dev/hda1 1 1044 8385898+ 83 Linux
/dev/hda2 1045 1057 104422+ 83 Linux
/dev/hda3 1058 1123 530145 82 Linux swap / Solaris
/dev/hda4 1124 7296 49584622+ f W95 Erw. (LBA)
/dev/hda5 1124 2428 10482381 83 Linux
/dev/hda6 2429 3472 8385898+ 83 Linux
/dev/hda7 3473 7296 30716248+ 83 Linux |
I don't understant why the sda4 wich should be an extended partition is W95 ERW
try to run fdisk /dev/hda
and try v option to verify that your partitions are correct.
ps : your German? |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 9:54 am Post subject: |
|
|
Enlight wrote: | Quote: | /dev/hda1 1 1044 8385898+ 83 Linux
/dev/hda2 1045 1057 104422+ 83 Linux
/dev/hda3 1058 1123 530145 82 Linux swap / Solaris
/dev/hda4 1124 7296 49584622+ f W95 Erw. (LBA)
/dev/hda5 1124 2428 10482381 83 Linux
/dev/hda6 2429 3472 8385898+ 83 Linux
/dev/hda7 3473 7296 30716248+ 83 Linux |
I don't understant why the sda4 wich should be an extended partition is W95 ERW
try to run fdisk /dev/hda
and try v option to verify that your partitions are correct.
ps : your German? |
yes, im german. i have a clue now. i the harddrive was partitioned by suse partition manager, which seems to use a "windows type" parition scheme, unlike fdisk does. so i either have to enable support for this partition scheme or change the type of the old one, lets see if this will help.
ps.: yes im german.
edit: ill try it with this now
Code: | Platte /dev/hda: 60.0 GByte, 60011642880 Byte
255 Köpfe, 63 Sektoren/Spuren, 7296 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Gerät boot. Anfang Ende Blöcke Id System
/dev/hda1 1 1044 8385898+ 83 Linux
/dev/hda2 1045 1057 104422+ 83 Linux
/dev/hda3 1058 1123 530145 82 Linux swap / Solaris
/dev/hda4 1124 7296 49584622+ 5 Erweiterte
/dev/hda5 1124 2428 10482381 83 Linux
/dev/hda6 2429 3472 8385898+ 83 Linux
/dev/hda7 3473 7296 30716248+ 83 Linux
|
edit2: didnt help. i will try to install a lilo, if this doesnt change anything, i ll wipe the suse off the hd.
Last edited by gurke on Thu Jan 13, 2005 10:00 am; edited 1 time in total |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 9:59 am Post subject: |
|
|
Quote: | ps.: yes im german. |
This explain whywe are awake at same times!
Tell us if this support will help! |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 10:07 am Post subject: |
|
|
arrrrgggghhhh, all because of suse grub. this cannot be! it was exactly configured as the gentoo-grub on my other computer. im getting mad! at least it is working now. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 10:09 am Post subject: |
|
|
because of Grub??? |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 10:11 am Post subject: |
|
|
Enlight wrote: | because of Grub??? |
lilo boots it fine. i'm really confused now, since this was definitly no grub error. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Jan 13, 2005 10:25 am Post subject: |
|
|
But you've add a partition support in your kernel? no? |
|
Back to top |
|
|
gurke Apprentice
Joined: 10 Jul 2003 Posts: 260
|
Posted: Thu Jan 13, 2005 10:25 am Post subject: |
|
|
for others that may experiance the same problems when upgrading from suse 9.2.
the problem has to do with yast, which is editing the grub cofig in a way, that it always starts the suse kernel, even if you set up your gentoo kernel in the right way.
fix #1 use a bootmanager set up by your hand and disable management by suse
fix #2 use lilo managed by suse
fix #3 use lilo managed by suse to setup your config then do "convert config" to use grub managed by suse.
edit:
Enlight wrote: | But you've add a partition support in your kernel? no? |
no |
|
Back to top |
|
|
|