Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75725 - 2004.3 after install and reboot: Root block device unspecified or undetected
Summary: 2004.3 after install and reboot: Root block device unspecified or undetected
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-26 11:35 UTC by imagination
Modified: 2005-04-04 19:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/src/linux/.config (.config,32.20 KB, text/plain)
2004-12-28 04:51 UTC, imagination
Details

Note You need to log in before you can comment on or make changes to this bug.
Description imagination 2004-12-26 11:35:07 UTC
Response is 
Mounting filesystems
Starting device management daemon v1.3.25 for /dev
Determining root device ..
>> Block device /dev/sda10 is not a valid root device
>> The root block device is unspecified or not detected
Please specify a device to boot ...



Reproducible: Always
Steps to Reproduce:
1. Install according to Gentoo 2004.3 x86 Handbook
2. Reboot
3. Here are the essential lines of lilo.conf:
boot = /dev/sda9
image = /boot/kernel-2.6.9-gentoo-r1
    label = gentoo
    read-only
    root = /dev/ram0
    append = "init=/linuxrc ramdisk=8192 real_root=/dev/sda10"
    initrd = /boot/initrd-2.6.9-gentoo-r1


Actual Results:  
boot() :: for a device to boot or for a shell

Expected Results:  
Acceptance of real_root and boot
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2004-12-26 14:07:53 UTC
First of all, this is not a livecd-issue.
Secondly, did you place the needed drivers in your kernel (SATA or SCSI - you didn't point that out). I suspect a mistake when configuring the kernel - please attach your kernel-.config if appropriate.
Comment 2 Stian Skjelstad 2004-12-26 20:50:15 UTC
And attach the output from lspci aswell. Atleast the lines the shows the IDE/ATA/SATA/SCSI controllers.

Mark as invalid, due to kernel-config user-error?
Comment 3 imagination 2004-12-27 05:58:21 UTC
The outcome of lspci is ...
---------------------------------------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV280 [Radeon 9200] (rev 01)
0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 5941 (rev 01)
0000:02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:07.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
0000:02:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
-------------------------------------------------------------------------------
I forgot to mention that, after "emerge gentoo-dev-sources", I used
"genkernel --udev all". There are no hints in the installation 
manual for additional driver loading
for serial or ultra ATA. For 2004.2 I had no installation problems
with the same machine, so I still think that it is a liveCD issue.
Comment 4 Benjamin Judas (RETIRED) gentoo-dev 2004-12-27 16:36:35 UTC
It can't be a livecd-issue because you already rebooted with your own kernel and not with the livecd-kernel. Did you manually check how genkernel configured your kernel (make menuconfig)? 

Please attach your kernel-config. (/usr/src/linux/.config). 
Comment 5 imagination 2004-12-27 21:56:18 UTC
As described in comment #3 the kernel was made with emerge 
"gentoo-dev-sources" and "genkernel --udev all" (and not
"genkernel --udev --menuconfig all"), so the kernel is
configured as on the liveCD, isn't it? Nevertheless, I will
send you my .config when I get the opportunity. If it is
still not a liveCD problem, you may recommend a redirection.
Comment 6 imagination 2004-12-28 04:51:51 UTC
Created attachment 47024 [details]
/usr/src/linux/.config
Comment 7 Stian Skjelstad 2004-12-28 05:07:32 UTC
Does the live CD use a 2.4.x kernel. Some drivers has changed from SCSI-names to IDE-names and the other way around during the walk from 2.4 till 2.6.

Is output from kernel deactivated? If not, you should be able to read, if you are a really fast reader, to see what names are assign to the hard-drives during bootup. I would guess that the hard-drive in 2.6 is named /dev/hda, hdb hdc or hdd, while in 2.4 /dev/sda . I have atleast seen this on some ATA drivers (even across two different 2.4 kernel versions).
Comment 8 imagination 2004-12-28 06:41:46 UTC
I have also a pre-2004.3 2.6 kernel which works fine widh sd* (instead of hd*)
The only things I could see in the output is

ide0: I/O resource 0x1F0-0x1F7 not free
ide0: ports already in use
hdc: HL-DT-ST DVDRAM ...
.....
RAMDISK: compressed image found

Could it be a udev problem? I presume you have seen my attachment id 47024
-- any proposal?
Comment 9 Stian Skjelstad 2004-12-28 06:58:33 UTC
ide0: I/O resource 0x1F0-0x1F7 not free
ide0: ports already in use

That does not sound good.

The normal io-port mappings are

0170-0177 : ide1
01f0-01f7 : ide0


But it could be an udev error, that /dev/sda is not symlinked to the respectiv scsi device.

But it is strange that ide1 is using ide names (/dev/hdc for your cdrom) and ide0 uses scsi names.
Comment 10 imagination 2004-12-29 09:02:08 UTC
As a response to comment #9 ...

>> ide0: I/O resource 0x1F0-0x1F7 not free
>> ide0: ports already in use
>> That does not sound good.

... I can add that I have another couple of partitions with 2004.2 on it.
This Gentoo has a manually configured linux-2.6.7-gentoo-r11 and is ok.
The /var/log/kernel-log reports:
  Dec 27 22:34:13 [kernel] ide0: I/O resource 0x1F0-0x1F7 not free.
  Dec 27 22:34:13 [kernel] ide0: ports already in use, skipping probe
  Dec 27 22:34:13 [kernel] hdc: HL-DT-ST DVDRAM GSA-4040B, ATAPI CD/DVD-ROM
... what also does not sound good, but obviously does no harm.

As a conclusion, the problem is caused by 2004.3, the linux-2.6.9-gentoo-r1
kernel -- or by udev.
Comment 11 Tim Yamin (RETIRED) gentoo-dev 2005-04-04 19:50:35 UTC
In the attached configuration, your SCSI host adapters are compiled as modules rather than into the kernel. To get the initrd to load them you need to add "doscsi" to the kernel parameters or compile the needed host adapter drivers directly into the kernel. Closing bug as INVALID.