Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but "df" didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is: 

    KERNEL=="sd*1", ATTRS{manufacturer}=="PNY", SYMLINK+="PNY", 
RUN+="/bin/mount -a"

and in /etc/fstab is:

    /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).

Any thoughts on why it takes so long and how I can speed up
recognition?

Ideas for enabling more messages (from udev, the kernel, etc) to see
what's happening would also be helpful.

TIA,

David

Feb 20 10:18:22 osage kernel: usb 1-4.1: new high speed USB device using 
ehci_hcd and address 25
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device found, idVendor=154b, 
idProduct=0016
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Feb 20 10:18:22 osage kernel: usb 1-4.1: Product: USB 2.0 FD      
Feb 20 10:18:22 osage kernel: usb 1-4.1: Manufacturer: PNY     
Feb 20 10:18:22 osage kernel: usb 1-4.1: SerialNumber: 6E821D1300DE
Feb 20 10:18:22 osage kernel: scsi26 : usb-storage 1-4.1:1.0
Feb 20 10:18:23 osage kernel: scsi 26:0:0:0: Direct-Access     PNY      USB 2.0 
FD       PMAP PQ: 0 ANSI: 0 CCS
Feb 20 10:18:23 osage kernel: sd 26:0:0:0: Attached scsi generic sg2 type 0
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] 15663104 512-byte logical 
blocks: (8.01 GB/7.46 GiB)
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Write Protect is off
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Mode Sense: 23 00 00 00
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sdc: sdc1
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Attached SCSI removable disk
Feb 20 10:18:38 osage usb_id[16872]: unable to access 
'/devices/pci0000:00/0000:00:13.5/usb1/1-4/1-4.1/1-4.1:1.0/host25/target25:0:0/25:0:0:0/block/sdc'

Feb 20 10:20:01 osage cron[17659]: (root) CMD (test -x /usr/sbin/run-crons && 
/usr/sbin/run-crons )
Feb 20 10:20:01 osage cron[17660]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Feb 20 10:25:01 osage cron[18431]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)

Reply via email to