Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508926

Summary: kernel 3.x: could not find rootblock
Product: Gentoo Linux Reporter: Christian Fladung <cf>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel config
output of lspci
output of lsmod
emerge --info
Gentoo 11 LiveCD lsmod

Description Christian Fladung 2014-04-28 00:46:34 UTC
Created attachment 375914 [details]
kernel config

Normally i wouldn't file a bugreport. But i think there must be something wrong! 
I have "could not find root block device in ." at boot.
When i type 'shell' the kernel can find sda1 (root) and sda2 (swap)
But in /dev/ there are no harddisk partitions.
I have CONFIG_DEVTMPFS=y and have tried all sysfs options on and off.
Also i have tried all SATA drivers on, and all IDE drivers off to be sure they do not block the sata driver.
The sata driver which is needed for mounting the disks is ata_piix and ahci. That worked on kernel, gentoo-sources 2.6.29.

What makes me thinking that it's a bug is, that /proc/partitions the kernel can list these sda1,sda2 
Also there is a sata driver output on boot just before the error: 'could not find root device'

Also it's not hdX instead of sdX. There are only three devices in /dev/ .. /dev/null /dev/ttyS1 and /dev/console .. 

Please, do not think it's a misconfiguration. I have worked with gentoo since 2006 and i know it's a very basic error. The strange thing is, that all 3.x kernels doesn't boot, but the old 2.6 does. I tried these gentoo-sources: 3.10.7-gentoo-r1, 3.11.10-gentoo, 3.12.7-gentoo, 3.13.6-gentoo and linux-3.0.7-r2-pf.
All the same error. The 2.6.29-gentoo-r5 i have as backup is booting.
Comment 1 Christian Fladung 2014-04-28 00:47:16 UTC
Created attachment 375916 [details]
output of lspci
Comment 2 Christian Fladung 2014-04-28 00:47:35 UTC
Created attachment 375918 [details]
output of lsmod
Comment 3 Christian Fladung 2014-04-28 00:48:44 UTC
Created attachment 375920 [details]
emerge --info
Comment 4 Christian Fladung 2014-04-28 01:07:25 UTC
The gentoo LiveCD 11 is booting. The lsmod outout is from the working 2.6.29-r5
I have put the lsmod from Gentoo 11 as attachment, too.
Comment 5 Christian Fladung 2014-04-28 01:07:55 UTC
Created attachment 375922 [details]
Gentoo 11 LiveCD lsmod
Comment 6 nobody 2014-04-28 12:14:22 UTC
(In reply to Christian Fladung from comment #0)
> Please, do not think it's a misconfiguration. I have worked with gentoo
> since 2006 and i know it's a very basic error.
That's your first error. First because "i'm certain of" generally mean you don't really check "it", because your mind cannot look at "it" as a possible problem. To finally see, it was "it", of course with facepalm.

2nd: I doubt of your stating, one that know configuration well, know it doesn't have to provide any lsmod from gentoo livecd, gentoo livecd boot any module it can, even not use.

3rd: your lsmod show you too load module for no reason. Your lspci show no adaptec card, but i can see aacraid (i have one so i'm sure of what this module is for).
That's doesn't show a problem, just that your assumption on your configuration ability is not as fine as you think.

Ask in forum you'll get answer to your problem. I don't think bugzilla is for this, everyone knows kernel 3x can boot like a kernel 2x else the kernel bug tracker would had get fill with report before the gentoo bugzilla one.

So, no i couldn't tell you right now what is your configuration problem.
But yes, it's a configuration problem, even you're sure it's not one ;)
Provide fdisk -l as it will help more than an lsmod output.

Per example, atapiix share sd name with other sata driver.
And what was hda is now sda for piix too, and if hda is now sda, it could mean your old sda, is now... sdb
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-28 13:27:19 UTC
This is not a bug report until you have found an actual bug. Until then, use the forums, mailing lists, IRC channels and other means of getting support.