Bypassing CD search delay

Will Woods wwoods at redhat.com
Fri Oct 3 18:48:03 UTC 2008


On Fri, 2008-10-03 at 11:24 -0600, Michal Jaegermann wrote:
> On Fri, Oct 03, 2008 at 06:59:26AM -0700, Chuck Forsberg WA7KGX N2469R wrote:
> > To avoid a long delay while the Rawhide install looks for
> > something in an empty CD drive, just put an audio CD init.
> 
> That "something" appears to be this (from anaconda logs):
> .....
> 19:08:49 DEBUG   : drive status is CDS_NO_DISC
> 19:08:49 DEBUG   : /dev/sr0 reported No medium found
> 19:08:49 DEBUG   : /dev/sr0 reported No medium found
> .....
> and so on for two minutes.  That is quite thorough.
> https://bugzilla.redhat.com/show_bug.cgi?id=465364
> 
> I did not try such audio CD trick but passing to anaconda an
> explicit location of install.img with 'stage2=...' parameter
> prevents the above quite effectively too.  I wonder what happens
> when there is no CD drive at all.

Also no delay. 

The problem (if I understand it correctly) is that the kernel currently
doesn't tell us the difference between "drive is empty" and "drive is
getting ready, hold on". So we end up waiting for the drive to become
ready, even if it's empty.

If there's no CD drive, there's nothing to wait for, so nothing would
happen. And if there's something in the drive, we can detect that
easily. That's why putting an audio CD in the drive skips the delay.

This is https://bugzilla.redhat.com/456327 I believe.

-w




More information about the fedora-test-list mailing list