Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124278 - 2006.0 Live-CD fails to boot from USB CD-ROM
Summary: 2006.0 Live-CD fails to boot from USB CD-ROM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 124378 126386 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-27 08:33 UTC by Andreas Schildbach
Modified: 2006-09-01 12:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schildbach 2006-02-27 08:33:35 UTC
On a Dell Latitude with USB2 attached CD/DVD-ROM, I get the following errors when booting the Gentoo 2006.0 Live-CD:

!! Could not find CD to boot, something else needed

and later

!! The root block device is unspecified or not detected
Comment 1 roger55 (RETIRED) gentoo-dev 2006-02-27 10:17:32 UTC
Can you try booting with:

gentoo-nofb scandelay 

or:
gentoo-nofb scandelay=20

Also check if you want to try other options (F2 to F7) on the livecd's boot prompt.

Good luck,

Roger
Comment 2 Andreas Schildbach 2006-02-27 12:11:16 UTC
Scandelay did not change the behaviour, apart from waiting 20 secs. Note that Ubuntu (Hoary to Dapper), as well as Knoppix, does not have any problems booting on the X1.

Did you ever try booting Gentoo off a USB connected CD/DVD-ROM?
Comment 3 Vieri 2006-02-28 02:59:04 UTC
I tried installing Gentoo with the new 2006.0 amd64 image on a Dell PowerEdge 1855 EM64T. This system only has a USB CD drive. 2006.0 and 2005.1 could not find/detect it. 2005.1-r1 detected it as /dev/sr0 and booted just fine. 
It seems that the enhancements made to 2005.1-r1 were not propagated to 2006.0...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-28 11:14:51 UTC
*** Bug 124378 has been marked as a duplicate of this bug. ***
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2006-03-02 13:04:34 UTC
tried booting with the doscsi option?
Comment 6 Vieri 2006-03-04 04:59:53 UTC
yes,
gentoo doscsi

however, yesterday I booted with:
gentoo doscsi scandelay debug
as suggested by this link:
http://forums.gentoo.org/viewtopic-t-369937-highlight-scandelay+debug.html
which reads the following:
[QUOTE]
A post by Gordon Innes on http://bugs.gentoo.org/show_bug.cgi?id=83276#c30: 
Quote: 

Managed to get the 2005.1 minimal cd to boot on a USB CDROM with the following 
process: 

1. Boot with "doscsi scandelay debug" (note the 'debug') 
2. At the debug prompt (NOT the emergency shell prompt): 
# ls /dev/sr0 
ls: /dev/sr0: No such file or directory 
# cat /proc/sys/kernel/hotplug 
/sbin/hotplug 
# echo /sbin/udev > /proc/sys/kernel/hotplug 
# cat /proc/sys/kernel/hotplug 
/sbin/udev 
3. unplug the cdrom then plug it back in. 
4. At prompt again: 
# ls /dev/sr0 
/dev/sr0 
# exit 
5. Boot continues and finds livecd at /dev/sr0. 

I've tried the same procedure with the the emergency shell, however it didn't work. 

The important parts are the 'echo /sbin/udev > /proc/sys/kernel/hotplug' and the 
replugging of the cdrom. The echo sets udev as the hotplug agent for the kernel 
and the replug causes the kernel to send a new hotplug event to udev which in 
turn sets up the missing device. 

One way I think this can be fixed permenatly is to add the echo line to the 
linuxrc right after /proc is mounted. I'm going to try and build my own version 
of the livecd to test this. 

[UNQUOTE]

In my specific case I think that the scandelay option was enough because when I entered debug, ls /dev/sr0 was available so I just exited and the 2006.0 livecd boot went on.

Maybe the code fix posted above was integrated into 2005.1-r1 but left out in 2006.0.
Comment 7 Henrik Brix Andersen 2006-03-12 07:54:03 UTC
Tried the 'dobladecenter' parameter yet?
Comment 8 Vieri 2006-03-15 11:53:06 UTC
(In reply to comment #7)
> Tried the 'dobladecenter' parameter yet?

gentoo doscsi scandelay dobladecenter ?
no, didn't know it existed.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-15 12:35:38 UTC
There's no need for both scandelay and dobladecenter... There's lots of options listed on the F2 through F7 help screens to assist not only in troubleshooting, but also in getting your CD to boot properly on your hardware.

I'm also thinking I'm going to have dobladecenter renamed for the next release to "slowusb" or something instead, as it seems to be used more than just by the slow USB CDROM in the IBM Bladecenter.
Comment 10 Henrik Brix Andersen 2006-03-15 13:02:02 UTC
(In reply to comment #9)
> I'm also thinking I'm going to have dobladecenter renamed for the next release
> to "slowusb" or something instead, as it seems to be used more than just by the
> slow USB CDROM in the IBM Bladecenter.

I would welcome such a rename - I recommend the 'dobladecenter' in my Gentoo LiveUSB howto as well, for all types of machines.

Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-15 15:17:57 UTC
Yeah, it was me and genstef at FOSDEM that figured out it would work properly with "dobladecenter" on most USB devices.  Anyway, I think "slowusb" sounds better, and there's less to type.  ;]
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-16 06:24:23 UTC
*** Bug 126386 has been marked as a duplicate of this bug. ***
Comment 13 MAL 2006-07-17 09:46:11 UTC
Here's another for dobladecenter being renamed :)

After much fiddling with the emergency prompt and realising udev had already exited, I came accross this and it worked.

This was on a mini-itx industrial board with only a compact flash socket (thus USB CD).

Is there no way to watch for devices "being detected" during startup and delay until they're done?
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-19 06:25:58 UTC
(In reply to comment #13)
> Is there no way to watch for devices "being detected" during startup and delay
> until they're done?

Not any practical way, no.

This has been renamed in genkernel already, so it'll all be updated come 2006.1's release.
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-01 12:16:13 UTC
Let's consider this one FIXED, since 2006.1 is out now and it seems to boot on every USB CDROM that people have tried.