Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-22 Thread Christian PERRIER
Quoting Anthony L. Awtrey (t...@awtrey.com): > I am not proud of this code and I sincerely hope someone else can think > of a better way to do this... Ah, this is code I could have produced but don't be ashamed: you find a problem and you propose a solution, as hackish as it is. I'm considering

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-21 Thread Anthony L. Awtrey
Okay, I've got some more info now. It looks like the initial call to "list-devices cd" occurs before the usb-storage device scan is complete or at least before the sysfs files have settled. This device scan can take much longer if the CD/DVD drive is completely spun down. I am not proud of this co

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-20 Thread Anthony L. Awtrey
I spoke too soon. If I let the drive completely stop and then wait a minute or two on the isolinux boot screen, the issue appears again. I'll try a few other things to see if I can wake up the device before mount is called. Tony -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-20 Thread Manuel Sánchez
http://devinte.com http://vallarta.devinte.com De: Anthony L. Awtrey Para: sub...@bugs.debian.org Enviado: lun, septiembre 20, 2010 1:50:26 PM Asunto: Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs Package: cdrom-detect

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-20 Thread Christian PERRIER
Quoting Anthony L. Awtrey (t...@awtrey.com): > For what it's worth, doing the following made the issue go away for us: > > > Index: packages/cdrom-detect/debian/cdrom-detect.postinst > === > --- packages/cdrom-detect/debian/cdrom-det

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-20 Thread Anthony L. Awtrey
For what it's worth, doing the following made the issue go away for us: Index: packages/cdrom-detect/debian/cdrom-detect.postinst === --- packages/cdrom-detect/debian/cdrom-detect.postinst (revision 64821) +++ packages/cdrom-detect/d

Bug#597553: cdrom-detect: Need a simple retry or delay to mount USB CD-ROMs

2010-09-20 Thread Anthony L. Awtrey
Package: cdrom-detect Version: 1.33 I'm doing some testing on the squeeze debian-installer package from svn. In the Lenny release, when installing from a USB CD-ROM it sometimes took longer to load the modules, spin up the drive and get a response before the mount command would fail. This meant th