[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335093: marked as done (debian-installer: misses ISO that resides on USB memory stick on fast hardware)



Your message dated Thu, 15 Jun 2006 16:02:15 -0700
with message-id <E1Fr0qt-0004gA-PB@spohr.debian.org>
and subject line Bug#335093: fixed in iso-scan 1.15
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debian-installer
Severity: normal
Tags: patch



I followed the instructions that are in the Debian Installer Manual about preparing files for booting from USB.

After booting my new PowerEdge 850 (dual Opteron 3GHz HT), the debian-installer boots, but is unable to find the ISO that resides on the USB stick. After retrying the search, the installer finds /dev/discs/disc1/part1 (the SATA disk is disc0) and identifies the ISO.

I have tracked this to the iso-scan package and the iso-scan.postinst file in that package. 

It seems iso-scan runs hw-detect and then continues to run block_devices. The time it needs to complete both is too short to allow the USB host to register the USB devices attached. The problem is fixed with the following patch:

------------- begin patch ---------------
--- iso-scan.postinst.orig      2005-10-21 20:19:55.000000000 +0000
+++ iso-scan.postinst   2005-10-21 20:43:25.122242688 +0000
@@ -88,6 +88,9 @@
 # Hopefully this will find the drive.
 hw-detect iso-scan/detect_progress_title || true

+# Allow the USB host to register devices
+sleep 5;
+
 # Find all block devices, and get a count of them, for use in progress bar.
 DEVS=$(block_devices)
 DEV_COUNT=0
-------------- end patch ----------------

This delay would allow the USB host to complete a scan of the bus and register attached devices. A delay of five seconds should be acceptable on other hardware. (Installing on older hardware takes a lot of time anyway ;)

Perhaps the delay could be a bit shorter, but I haven't played around with this yet. 5 seconds is confirmed to work though.

Please apply the patch. It would help a lot of people on newer hardware.

Regards,

Allard Hoeve


-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (600, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac10-byte
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


--- End Message ---
--- Begin Message ---
Source: iso-scan
Source-Version: 1.15

We believe that the bug you reported is fixed in the latest version of
iso-scan, which is due to be installed in the Debian FTP archive:

iso-scan_1.15.dsc
  to pool/main/i/iso-scan/iso-scan_1.15.dsc
iso-scan_1.15.tar.gz
  to pool/main/i/iso-scan/iso-scan_1.15.tar.gz
iso-scan_1.15_all.udeb
  to pool/main/i/iso-scan/iso-scan_1.15_all.udeb
load-iso_1.15_all.udeb
  to pool/main/i/iso-scan/load-iso_1.15_all.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335093@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated iso-scan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 15 Jun 2006 18:52:52 -0400
Source: iso-scan
Binary: load-iso iso-scan
Architecture: source all
Version: 1.15
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 iso-scan   - Scan hard drives for an installer ISO image (udeb)
 load-iso   - Load installer components from an installer ISO (udeb)
Closes: 335093 337316
Changes: 
 iso-scan (1.15) unstable; urgency=low
 .
   * Deal with the case where the machine is so fast that iso-scan
     scans for new devices before the USB disks become ready. Add a possible
     second pass in the quick scan that sleepds, looks for new devices and,
     if any new devices are found, rescans them all. Closes: #335093
     (Note that rather than complex code to keep track of what devices are new,
     I just rescan them all because this is supposed to happen only on very
     fast machines anyway. KISS)
   * Load hfsplus before hfs, since hfsplus filesystems show as an empty hfs
     filesystem, which hides any iso on them. Loading hdsplus first should make
     mount try it first. Closes: #337316
Files: 
 19b3519efc3dfee0ad6f11689182cd45 565 debian-installer optional iso-scan_1.15.dsc
 9eb24b688e7c8a1ea8c8731b85ae8a92 61813 debian-installer optional iso-scan_1.15.tar.gz
 a56a3592fccfd174150a153e14f01212 38918 debian-installer optional iso-scan_1.15_all.udeb
 c3974973c7dc078ceddacf320111524a 3282 debian-installer extra load-iso_1.15_all.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEkeTd2tp5zXiKP0wRApnhAJ0V09p0J60XUMweX8FjEhh5SmhK0gCgmo8y
QUaknjw8KgxN5DHq9gn2Ka4=
=qP++
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: