iphitus Posted December 19, 2003 Report Share Posted December 19, 2003 (edited) I compiled my own 2.6.0 and went to boot it and I got the following error vfs: cannot open root device "306" or unknown-block(3,6)Please append a correct "root=" boot option Kernel panic: VFS unable to boot rootfs on unknown-block(3,6) Lilo is passing the correct options. Here is my /etc/lilo.conf The test9 kernel is working fine, it is a debian compiled one that im using right now. I *know* I compiled Ext2 and 3 into the kernel along with the appropriate drivers for my IDE. I have also many times successfully compiled a 2.4 kernel boot=/dev/hda root=/dev/hda6 install=/boot/boot.b map=/boot/map default="2.6.0-test9" prompt nowarn timeout=100 image=/boot/vmlinuz-2.4.22-1-686 label="2.4.22" initrd=/boot/initrd.img-2.4.22-1-686 root=/dev/hda6 append="acpi=off" image=/boot/vmlinuz-2.6.0-test9-1-386 label="2.6.0-test9" root=/dev/hda6 append="acpi=off" initrd=/boot/initrd.img-2.6.0-test9-1-386 read-only image=/boot/bzImage-2.6.0 label="2.6.0" root=/dev/hda6 initrd=/boot/initrd.img-2.6.0 append="acpi=off root=/dev/hda6" read-only other=/dev/hda1 label="windex" other=/dev/fd0 label="floppy" unsafe And lspci 00:00.0 Host bridge: Intel Corp. 440LX/EX - 82443LX/EX Host bridge (rev 03) 00:01.0 PCI bridge: Intel Corp. 440LX/EX - 82443LX/EX AGP bridge (rev 03) 00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01) 00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) 00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01) 00:0a.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] 00:0b.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41) 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) My kernel .config is here: http://aslan.no-ip.com/~iphitus/kernelconfig Thanks, i've googled found lots of other people with the same or similar problem but no working fixes. iphitus Edited December 19, 2003 by iphitus Quote Link to comment Share on other sites More sharing options...
bvc Posted December 19, 2003 Report Share Posted December 19, 2003 and you have an initrd and initrd in the kernel? no errors during compile concerning initrd? Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 19, 2003 Author Report Share Posted December 19, 2003 and you have an initrd and initrd in the kernel?no errors during compile concerning initrd? I knew someone would ask about initrd. I tried booting with and without an initrd, no difference. I compiled in all neccesary compnents for initrd. It has nothing to do with initrd. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 19, 2003 Report Share Posted December 19, 2003 just asking because everytime I've seen this error it was related to initrd. Outside of that....no clue Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 19, 2003 Author Report Share Posted December 19, 2003 Upon request, my fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/hda6 / ext3 defaults,errors=remount-ro 0 1 /dev/hda7 /home ext3 defaults 0 2 /dev/hda8 none swap sw 0 0 /dev/fd0 /floppy auto rw,user,noauto 0 0 /dev/hdc /cdrom iso9660 ro,user,noauto 0 0 proc /proc proc defaults 0 0 /dev/sda /mnt/sd auto noauto,user 0 0 # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/hda1 /mnt/windex vfat defaults,user,noauto 1 0 #/dev/hda5 /home/james/share vfat defaults,user,noauto 1 0 /dev/hda5 /home/james/share vfat defaults,user,noauto 1 0 /dev/sda1 /mnt/sd auto noauto,user 0 0 Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 19, 2003 Author Report Share Posted December 19, 2003 It's the one I have -- My mobo is an Intel 440BX chipset. I know it uses this below because it's what my current kernel says when booting. I also mounted the initrd that mkinitrd made, it is perfectly fine. I might also add that i tried recompiling, i changes these options: CONFIG_BLK_DEV_PIIX=y From module to inbuilt. CONFIG_BLK_DEV_GENERIC=y From undefined to inbuilt And it still doesnt work!! But test9 works..... dammit!!! Quote Link to comment Share on other sites More sharing options...
bvc Posted December 19, 2003 Report Share Posted December 19, 2003 (edited) this normally doesn't work with vanilla's but did you try to cp /usr/src/linux/arch/i386/defconfig /usr/src/linux/.config Also, you have a working 2.6 so while running it uncompress /proc/config<something-don't remember>.gz save it, and use it for your .config if it still doesn't work then something is wrong with the new 2.6, eh? [EDIT] don't know why I didn't think of this last night Edited December 19, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 20, 2003 Author Report Share Posted December 20, 2003 (edited) this normally doesn't work with vanilla's but did you try tocp /usr/src/linux/arch/i386/defconfig /usr/src/linux/.config Also, you have a working 2.6 so while running it uncompress /proc/config<something-don't remember>.gz save it, and use it for your .config if it still doesn't work then something is wrong with the new 2.6, eh? [EDIT] don't know why I didn't think of this last night Yeah, but that's kinda pointless, i may as well wait for the Debian package to come out if im going to make a default config kernel. THe whole idea of this one was to be a lighter version without all the drivers and other things i dont need and things for hardware I dont have and all that. I'm going to go onto the kernel mailing list and see what they can do. The one I made is 875kb and the modules are less than 5mb. The debian one is 2mb and the modules are 36mb. Edited December 20, 2003 by iphitus Quote Link to comment Share on other sites More sharing options...
bvc Posted December 20, 2003 Report Share Posted December 20, 2003 (edited) :unsure: read again Also, you have a working 2.6 so while running it uncompress/proc/config<something-don't remember>.gz save it, and use it for your .config it's /proc/config.gz That and the one in /boot is your .config. So you'll be using your stripped .config this is assuming that as one is supposed to after compiling you do cp .config /boot/config<version> Edited December 20, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted December 20, 2003 Report Share Posted December 20, 2003 (edited) the default for the vanilla kernel-2.6 is to have /proc/config.gz. I confirmed this again just now after compiling the new vanilla 2.6 w/ supermount patch. on to nvidia....... Edited December 20, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 20, 2003 Author Report Share Posted December 20, 2003 im compiling again, took out initrd, make more stuff into the kernel. Hopefully it will work. I read on the kernel mailing list that the above problem occurs ..... randomly! There was a looooong thread of messages and in the end they didnt find any solutions except randomly changing the configuration. Damn I hope this works!! iphitus Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 20, 2003 Author Report Share Posted December 20, 2003 Linux localhost 2.6.0 #1 Sat Dec 20 20:15:04 EST 2003 i686 GNU/Linux YEAH!! :lol: :lol: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.