Unable to boot with 2.6.28-gentoo kernel - possible failure to find IDE drive I'm running gentoo system with 2.6.27-r7 which runs fine with no problems. Apparently I need to have all the IDE related options in the kernel config. That includes the 'IDE generic/default driver' option ! When I use the same configuration file for 2.6.28 it doesn't work foer some reason. The options related to IDE have changed from 2.6.27. Turning on all the options related to IDE doesn't seem to make it work. I've also tried to make initrd image to load all the IDE modules and have tried building a monolithic kernel with all the IDE options, to no avail. System simply resists to boot !! This is the rror I normally get: "VFS: Cannot open roo device "hda5" or unknown block(0,0) Please append a correct "root=" boot option; Here are the available partitions: | | <partition list of a SCSI drive, no mentioning of IDE drive here ! > | | Kernel Panic: Not syncing: VFS: Unable to mount root fs or unknown block(0,0)" At other times when I vary the options or edit the init script, I get errors like "unable to switchroot: 22" or something similar. The root cause seems to be the IDE drive not being found by any of the drivers ! The system configuration is as follows: Motherboard: EVGA NForce 790i Ultra SLI CPU: Intel Core2 Quad Q9550 RAM: Patriot Viper Series DDR3 Dual Channel 1800MHz 2x2GB Hard Disk: Matrox 300GB IDE drive IDE Controller: MCP55 IDE Controller I've attached my .config file for 2.6.28 and the output of lspci -vv. Please let me know if further info is needed. Thanks.
Created attachment 177285 [details] 2.6.28 .config file .config file for kernel 2.6.28-gentoo
Created attachment 177286 [details] lspci ouput Output of lspci -vv
Following a hunch: you've said: <partition list of a SCSI drive, no mentioning of IDE drive here ! > is that, by any chance, your SATA drive ?
It's not a blocker.
I had to same problems and solved it by first enabling all block device related stuff(from the real old driver to the new sata/pata things and all extra device drivers), make the kernel, going back to the pre 2.6.28 config with menuconfig (not copying the old .config file again).
>is that, by any chance, your SATA drive ? Sorry, yes it is the SATA disk. Don't know why I said SCSI !! I do have CONFIG_BLK_DEV=y in the config file. I've tried copying the config from 2.6.27 and also tried creating it froms cratch thru' menuconfig, makes no difference. I said it is a blocker as, I just can't boot into system as the OS resides on IDE drive. Right now, I'm forced to use 2.6.27-gentoo-r7 kernel.
(In reply to comment #6) > >is that, by any chance, your SATA drive ? > Sorry, yes it is the SATA disk. Don't know why I said SCSI !! > > I do have CONFIG_BLK_DEV=y in the config file. I've tried copying the config > from 2.6.27 and also tried creating it froms cratch thru' menuconfig, makes no > difference. > > I said it is a blocker as, I just can't boot into system as the OS resides on > IDE drive. Right now, I'm forced to use 2.6.27-gentoo-r7 kernel. > Hello, I have the same problem on Geode LX box booting from USB HD. Funny is: when I use initrd and enter the root device file (in my case /dev/sda3) the kernel continues the boot process and works!
I recompiled the kernel with all the BLK_IDE options and all the IDE options enabled and still no luck. Apparently the symbols in 2.6.28 related to IDE have changed from 2.6.27. I'm thinking there's something else missing from the code. Seems like there's something wrong with the code that initializes the hard disk or so. I don't know what to do now. The only way out is either stick to 2.6.27 for now and hope for the problem to be fixed in the future releases or install the OS onto the SATA drive. Any feedback is highly appreciated.
(In reply to comment #8) > I recompiled the kernel with all the BLK_IDE options and all the IDE options > enabled and still no luck. > > Apparently the symbols in 2.6.28 related to IDE have changed from 2.6.27. I'm > thinking there's something else missing from the code. Seems like there's > something wrong with the code that initializes the hard disk or so. > > I don't know what to do now. The only way out is either stick to 2.6.27 for now > and hope for the problem to be fixed in the future releases or install the OS > onto the SATA drive. Which SATA controller is the drive connected to - the Nvidia or the JMicron? > Any feedback is highly appreciated. This isn't a support forum...
> Which SATA controller is the drive connected to - the Nvidia or the JMicron? nvidia >> Any feedback is highly appreciated. >This isn't a support forum... I didn't understand that ! I was just expecting an answer ! :-) I would like to be able to boot 2.6.28 from IDE. Thanks.
There was a problem (race condition) introduced when the patches for asynchronous device initializing during boot up were committed two days ago, i think this has been fixed with http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=33b04b9308959af7febc1c111c766fa3fd8b1934 .
I have tried using 2.6.29 and the result is the same. What am I doing wrong ? Is this problem exist only on my machine with my configuration or what is it ?
(In reply to comment #12) > I have tried using 2.6.29 and the result is the same. What am I doing wrong ? > Is this problem exist only on my machine with my configuration or what is it ? > I got the same problem. I've just update the sys-kernel/gentoo-sources from 2.6.27-r10 to 2.6.28-r5 and recompile the kernel using "make oldconfig" using all default options. VFS: cannot open root device "<NULL>“ or unknown-block(3.1) Please append a correct "root=" boot option: here are the available 1600 119132 hdc driver: ide-cdrom Kernel panic — not syncing: VFS: Unable to mount root fs on unknown
(In reply to comment #13) > (In reply to comment #12) > > I have tried using 2.6.29 and the result is the same. What am I doing wrong ? > > Is this problem exist only on my machine with my configuration or what is it ? > > > I got the same problem. I've just update the sys-kernel/gentoo-sources from > 2.6.27-r10 to 2.6.28-r5 and recompile the kernel using "make oldconfig" using > all default options. > VFS: cannot open root device "<NULL>“ or unknown-block(3.1) > Please append a correct "root=" boot option: here are the available > 1600 119132 hdc driver: ide-cdrom > Kernel panic — not syncing: VFS: Unable to mount root fs on unknown Same error here. I upgraded from 2.6.27-gentoo-r8 to 2.6.27-gentoo-r8 I'm running a old Sony Vaio PCG-K115S "VFS: Cannot open root device "hda3" or unknown-block(2,0) "
I recently upgraded to 2.6.30 (git sources) and voila ! I can boot without any problems at all. Just to make sure, I ran make oldconfig using a .config from 2.6.28 sources and it works without a hick. I presume that the problem is fixed in the 2.6.30 tree. Thanks, Kevin
Just wanted to throw my name into the "affected" basket...
Oh, and it's 2.6.29 in my case.
I don't think this problem has been fixed. I just upgraded from kernel-2.6.27-gentoo-r7 to kernel-2.6.30-gentoo-r4 and I'm getting similar problem: Cannot open root device "hda3" or unknown-block(2,0) please append a correct "root=" boot option; here are the available partition: kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) uid: 1, comm: swapper Not tainted 2.6.30-gentoo-r4 #3 Here is link to forum post with more info: http://forums.gentoo.org/viewtopic-p-5926338.html#5926338