Package: usbmount Version: 0.0.21 Severity: wishlist With VERBOSE=yes in /etc/usbmount/usbmount.conf, one will see messages in /var/log/syslog like
Aug 8 02:01:17 jidanni1 usbmount[1612]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1618]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1615]: trying to acquire lock /var/run/usbmount/.mount.lock and Aug 8 02:01:22 jidanni1 usbmount[1618]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:32 jidanni1 usbmount[1612]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:47 jidanni1 usbmount[1615]: acquired lock /var/run/usbmount/.mount.lock causing the reader to scratch his head: "why on earth are these messages repeating?" Well it is probably because he plugged in a multi-card reader. And the usbmount author never considered that there would be more plugged in at the same time. Therefore these messages should be labeled Aug 8 02:01:22 jidanni1 usbmount[1618]: acquired lock /var/run/usbmount/.mount.lock for sdi Aug 8 02:01:32 jidanni1 usbmount[1612]: acquired lock /var/run/usbmount/.mount.lock for sdj Aug 8 02:01:47 jidanni1 usbmount[1615]: acquired lock /var/run/usbmount/.mount.lock for sdk to make sense. (If indeed that is what is going on.) Here's the complete log Aug 8 02:00:38 jidanni1 usbmount[744]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:11 jidanni1 kernel: [ 59.057625] usb 2-1.1.3: new full speed USB device using ohci_hcd and address 6 Aug 8 02:01:11 jidanni1 kernel: [ 59.172617] usb 2-1.1.3: not running at top speed; connect to a high speed hub Aug 8 02:01:11 jidanni1 kernel: [ 59.187618] usb 2-1.1.3: New USB device found, idVendor=05e3, idProduct=0716 Aug 8 02:01:11 jidanni1 kernel: [ 59.187625] usb 2-1.1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=2 Aug 8 02:01:11 jidanni1 kernel: [ 59.187629] usb 2-1.1.3: Product: USB Storage Aug 8 02:01:11 jidanni1 kernel: [ 59.187632] usb 2-1.1.3: SerialNumber: 000000009722 Aug 8 02:01:11 jidanni1 kernel: [ 59.190516] usb 2-1.1.3: configuration #1 chosen from 1 choice Aug 8 02:01:11 jidanni1 kernel: [ 59.196162] scsi3 : SCSI emulation for USB Mass Storage devices Aug 8 02:01:11 jidanni1 kernel: [ 59.197747] usb-storage: device found at 6 Aug 8 02:01:11 jidanni1 kernel: [ 59.197752] usb-storage: waiting for device to settle before scanning Aug 8 02:01:16 jidanni1 kernel: [ 64.197472] usb-storage: device scan complete Aug 8 02:01:16 jidanni1 kernel: [ 64.201483] scsi 3:0:0:0: Direct-Access Generic STORAGE DEVICE 9722 PQ: 0 ANSI: 0 Aug 8 02:01:16 jidanni1 kernel: [ 64.299462] scsi 3:0:0:1: Direct-Access Generic STORAGE DEVICE 9722 PQ: 0 ANSI: 0 Aug 8 02:01:16 jidanni1 kernel: [ 64.303464] scsi 3:0:0:2: Direct-Access Generic STORAGE DEVICE 9722 PQ: 0 ANSI: 0 Aug 8 02:01:16 jidanni1 kernel: [ 64.307456] scsi 3:0:0:3: Direct-Access Generic STORAGE DEVICE 9722 PQ: 0 ANSI: 0 Aug 8 02:01:16 jidanni1 kernel: [ 64.311460] scsi 3:0:0:4: Direct-Access Generic STORAGE DEVICE 9722 PQ: 0 ANSI: 0 Aug 8 02:01:16 jidanni1 kernel: [ 64.334501] sd 3:0:0:0: [sdf] Attached SCSI removable disk Aug 8 02:01:16 jidanni1 kernel: [ 64.362533] sd 3:0:0:1: [sdg] Attached SCSI removable disk Aug 8 02:01:16 jidanni1 kernel: [ 64.382488] sd 3:0:0:3: [sdi] Attached SCSI removable disk Aug 8 02:01:16 jidanni1 kernel: [ 64.387207] sd 3:0:0:2: [sdh] 499712 512-byte logical blocks: (255 MB/244 MiB) Aug 8 02:01:16 jidanni1 kernel: [ 64.392491] sd 3:0:0:4: [sdj] Attached SCSI removable disk Aug 8 02:01:16 jidanni1 kernel: [ 64.400481] sd 3:0:0:2: [sdh] Write Protect is off Aug 8 02:01:16 jidanni1 kernel: [ 64.400489] sd 3:0:0:2: [sdh] Mode Sense: 03 00 00 00 Aug 8 02:01:16 jidanni1 kernel: [ 64.400493] sd 3:0:0:2: [sdh] Assuming drive cache: write through Aug 8 02:01:16 jidanni1 kernel: [ 64.422476] sd 3:0:0:2: [sdh] Assuming drive cache: write through Aug 8 02:01:16 jidanni1 kernel: [ 64.422536] sdh: sdh1 Aug 8 02:01:16 jidanni1 kernel: [ 64.448481] sd 3:0:0:2: [sdh] Assuming drive cache: write through Aug 8 02:01:16 jidanni1 kernel: [ 64.448537] sd 3:0:0:2: [sdh] Attached SCSI removable disk Aug 8 02:01:16 jidanni1 usbmount[1609]: loaded usbmount configurations Aug 8 02:01:17 jidanni1 usbmount[1609]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1612]: loaded usbmount configurations Aug 8 02:01:17 jidanni1 usbmount[1615]: loaded usbmount configurations Aug 8 02:01:17 jidanni1 usbmount[1618]: loaded usbmount configurations Aug 8 02:01:17 jidanni1 usbmount[1609]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1612]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1618]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1615]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1648]: loaded usbmount configurations Aug 8 02:01:17 jidanni1 usbmount[1648]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1648]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:17 jidanni1 usbmount[1648]: /dev/sdh does not contain a filesystem or disklabel Aug 8 02:01:18 jidanni1 usbmount[1675]: loaded usbmount configurations Aug 8 02:01:18 jidanni1 usbmount[1675]: trying to acquire lock /var/run/usbmount/.mount.lock Aug 8 02:01:18 jidanni1 usbmount[1675]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:18 jidanni1 usbmount[1675]: /dev/sdh1 contains filesystem type vfat Aug 8 02:01:18 jidanni1 usbmount[1675]: mountpoint /media/usb0 is available for /dev/sdh1 Aug 8 02:01:18 jidanni1 usbmount[1675]: executing command: mount -tvfat -onoexec,nodev,noatime,nodiratime,shortname=mixed,noauto,user,fmask=133,uid=jidanni,gid=jidanni,iocharset=ascii /dev/sdh1 /media/usb0 Aug 8 02:01:18 jidanni1 usbmount[1675]: executing command: run-parts /etc/usbmount/mount.d Aug 8 02:01:18 jidanni1 usbmount[1675]: usbmount execution finished Aug 8 02:01:22 jidanni1 usbmount[1618]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:32 jidanni1 usbmount[1612]: acquired lock /var/run/usbmount/.mount.lock Aug 8 02:01:47 jidanni1 usbmount[1615]: acquired lock /var/run/usbmount/.mount.lock Wait, could this be related to the three repeated kernel messages?: Aug 8 02:01:16 jidanni1 kernel: [ 64.400493] sd 3:0:0:2: [sdh] Assuming drive cache: write through Aug 8 02:01:16 jidanni1 kernel: [ 64.422476] sd 3:0:0:2: [sdh] Assuming drive cache: write through Aug 8 02:01:16 jidanni1 kernel: [ 64.422536] sdh: sdh1 Aug 8 02:01:16 jidanni1 kernel: [ 64.448481] sd 3:0:0:2: [sdh] Assuming drive cache: write through By the way, if you know what is going on with those three repeated kernel messages, perhaps you could report a similar bug as this one to the kernel team. Thanks. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

