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

Bug#667701: cdrom-detect: Need a simple retry or delay to mount USB flash drives



Package: cdrom-detect
Version: 1.38
Severity: normal
Tags: d-i

*** Please type your report below this line ***
We install Debian from USB flash drive. After loading of the Linux kernel we immediately get an error saying no CD-ROM could be found. When we abort the CD-ROM detection, go back to the Debian Installer menu and try again it works without any problem.

The syslog shows that cdrom-detect finishes before the USB flash drive is initialized by the kernel:

Apr  5 21:46:23 cdrom-detect: Searching for Debian installation media...
Apr  5 21:46:23 cdrom-detect: Devices: '/dev/sr0'
Apr 5 21:46:23 cdrom-detect: CD-ROM mount failed: device=/dev/sr0 fstype=iso9660
Apr  5 21:46:26 kernel: [    8.161655] usb-storage: device scan complete
Apr 5 21:46:26 kernel: [ 8.163255] scsi 4:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 0 CCS Apr 5 21:46:26 kernel: [ 8.163571] sd 4:0:0:0: Attached scsi generic sg3 type 0 Apr 5 21:46:26 kernel: [ 8.164354] sd 4:0:0:0: [sdc] 7612032 512-byte logical blocks: (3.89 GB/3.62 GiB) Apr 5 21:46:26 kernel: [ 8.164856] sd 4:0:0:0: [sdc] Write Protect is off Apr 5 21:46:26 kernel: [ 8.164861] sd 4:0:0:0: [sdc] Mode Sense: 23 00 00 00 Apr 5 21:46:26 kernel: [ 8.164864] sd 4:0:0:0: [sdc] Assuming drive cache: write through Apr 5 21:46:26 kernel: [ 8.167472] sd 4:0:0:0: [sdc] Assuming drive cache: write through
Apr  5 21:46:26 kernel: [    8.167477]  sdc: sdc1
Apr 5 21:46:26 kernel: [ 8.169955] sd 4:0:0:0: [sdc] Assuming drive cache: write through Apr 5 21:46:26 kernel: [ 8.169957] sd 4:0:0:0: [sdc] Attached SCSI removable disk


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: