Summary: | Unable to boot with 2.6.28-gentoo kernel - possible failure to find IDE drive | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin <kevkim55> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | haddock, luke-jr+gentoobugs, ricardo.iramar, snakeskin, syscon780 |
Priority: | High | ||
Version: | 2008.0_beta2 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
2.6.28 .config file
lspci ouput |
Description
Kevin
2009-01-03 23:06:39 UTC
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 |