Temat: automatyczne montowanie pendrive
Witam, nie wiem co się dzieje, ale jets to dziwne. Router ma jeden dzień uptime, a zdążył już automatycznie podmontować pendrive usb 5 razy.
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /dev type tmpfs (rw,size=512k)
devpts on /dev/pts type devpts (rw,mode=600)
/dev/mtdblock3 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /home type ext3 (ro,errors=continue,data=ordered)
/dev/sdb1 on /mnt/usbdrive type ext3 (rw,errors=continue,data=ordered)
/dev/sdc1 on /mnt/usbdrive type ext3 (rw,errors=continue,data=ordered)
/dev/sdd1 on /mnt/usbdrive type ext3 (rw,errors=continue,data=ordered)
/dev/sde1 on /mnt/usbdrive type ext3 (rw,errors=continue,data=ordered)
root@OpenWrt:~#logread
Feb 7 10:58:43 OpenWrt user.info kernel: usb 3-1.1: USB disconnect, address 10
Feb 7 10:58:44 OpenWrt user.info kernel: usb 3-1.1: new high speed USB device using ehci_hcd and address 11
Feb 7 10:58:44 OpenWrt user.info kernel: usb 3-1.1: configuration #1 chosen from 1 choice
Feb 7 10:58:44 OpenWrt user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Feb 7 10:58:44 OpenWrt user.debug kernel: usb-storage: device found at 11
Feb 7 10:58:44 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Feb 7 10:58:45 OpenWrt user.notice root: usb device is mass storage
Feb 7 10:58:45 OpenWrt user.notice root: waiting on usb drive 0 ...
Feb 7 10:58:46 OpenWrt user.notice root: waiting on usb drive 1 ...
Feb 7 10:58:47 OpenWrt user.notice root: waiting on usb drive 2 ...
Feb 7 10:58:48 OpenWrt user.notice root: waiting on usb drive 3 ...
Feb 7 10:58:49 OpenWrt user.notice kernel: scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
Feb 7 10:58:49 OpenWrt user.notice kernel: sd 3:0:0:0: [sdd] 15646656 512-byte hardware sectors (8011 MB)
Feb 7 10:58:49 OpenWrt user.notice kernel: sd 3:0:0:0: [sdd] Write Protect is off
Feb 7 10:58:49 OpenWrt user.debug kernel: sd 3:0:0:0: [sdd] Mode Sense: 65 44 09 30
Feb 7 10:58:49 OpenWrt user.err kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through
Feb 7 10:58:49 OpenWrt user.notice kernel: sd 3:0:0:0: [sdd] 15646656 512-byte hardware sectors (8011 MB)
Feb 7 10:58:49 OpenWrt user.notice kernel: sd 3:0:0:0: [sdd] Write Protect is off
Feb 7 10:58:49 OpenWrt user.debug kernel: sd 3:0:0:0: [sdd] Mode Sense: 65 44 09 30
Feb 7 10:58:49 OpenWrt user.err kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through
Feb 7 10:58:49 OpenWrt user.info kernel: sdd:
Feb 7 10:58:49 OpenWrt user.info kernel: sdd1
Feb 7 10:58:49 OpenWrt user.notice kernel: sd 3:0:0:0: [sdd] Attached SCSI removable disk
Feb 7 10:58:49 OpenWrt user.debug kernel: usb-storage: device scan complete
Feb 7 10:58:49 OpenWrt user.notice root: waiting on usb drive 4 ...
Feb 7 10:58:51 OpenWrt user.info : mounting /dev/sdd1 on /mnt/usbdrive
Feb 7 10:58:51 OpenWrt user.info kernel: kjournald starting. Commit interval 5 seconds
Feb 7 10:58:51 OpenWrt user.info kernel: EXT3 FS on sdd1, internal journal
Feb 7 10:58:51 OpenWrt user.info kernel: EXT3-fs: recovery complete.
Feb 7 10:58:51 OpenWrt user.info kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 7 10:59:09 OpenWrt user.info kernel: usb 3-1.1: USB disconnect, address 11
Feb 7 10:59:09 OpenWrt user.err kernel: hub 3-1:1.0: unable to enumerate USB device on port 1
Feb 7 10:59:09 OpenWrt lpr.notice p9100d[994]: Finished job: 132965 bytes received, 0 bytes sent
Feb 7 10:59:09 OpenWrt user.info kernel: usb 3-1.1: new high speed USB device using ehci_hcd and address 13
Feb 7 10:59:09 OpenWrt user.info kernel: usb 3-1.1: configuration #1 chosen from 1 choice
Feb 7 10:59:09 OpenWrt user.info kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Feb 7 10:59:09 OpenWrt user.debug kernel: usb-storage: device found at 13
Feb 7 10:59:09 OpenWrt user.debug kernel: usb-storage: waiting for device to settle before scanning
Feb 7 10:59:10 OpenWrt user.notice root: usb device is mass storage
Feb 7 10:59:10 OpenWrt user.notice root: waiting on usb drive 0 ...
Feb 7 10:59:11 OpenWrt user.notice root: waiting on usb drive 1 ...
Feb 7 10:59:13 OpenWrt user.notice root: waiting on usb drive 2 ...
Feb 7 10:59:14 OpenWrt user.notice root: waiting on usb drive 3 ...
Feb 7 10:59:14 OpenWrt user.notice kernel: scsi 4:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
Feb 7 10:59:14 OpenWrt user.notice kernel: sd 4:0:0:0: [sde] 15646656 512-byte hardware sectors (8011 MB)
Feb 7 10:59:14 OpenWrt user.notice kernel: sd 4:0:0:0: [sde] Write Protect is off
Feb 7 10:59:14 OpenWrt user.debug kernel: sd 4:0:0:0: [sde] Mode Sense: 65 44 09 30
Feb 7 10:59:14 OpenWrt user.err kernel: sd 4:0:0:0: [sde] Assuming drive cache: write through
Feb 7 10:59:15 OpenWrt user.notice kernel: sd 4:0:0:0: [sde] 15646656 512-byte hardware sectors (8011 MB)
Feb 7 10:59:15 OpenWrt user.notice kernel: sd 4:0:0:0: [sde] Write Protect is off
Feb 7 10:59:15 OpenWrt user.debug kernel: sd 4:0:0:0: [sde] Mode Sense: 65 44 09 30
Feb 7 10:59:15 OpenWrt user.err kernel: sd 4:0:0:0: [sde] Assuming drive cache: write through
Feb 7 10:59:15 OpenWrt user.info kernel: sde:
Feb 7 10:59:15 OpenWrt user.info kernel: sde1
Feb 7 10:59:15 OpenWrt user.notice kernel: sd 4:0:0:0: [sde] Attached SCSI removable disk
Feb 7 10:59:15 OpenWrt user.debug kernel: usb-storage: device scan complete
Feb 7 10:59:15 OpenWrt user.notice root: waiting on usb drive 4 ...
Feb 7 10:59:17 OpenWrt user.info : mounting /dev/sde1 on /mnt/usbdrive
Feb 7 10:59:17 OpenWrt user.info kernel: kjournald starting. Commit interval 5 seconds
Feb 7 10:59:17 OpenWrt user.info kernel: EXT3 FS on sde1, internal journal
Feb 7 10:59:17 OpenWrt user.info kernel: EXT3-fs: recovery complete.
Feb 7 10:59:17 OpenWrt user.info kernel: EXT3-fs: mounted filesystem with ordered data mode.Pendrive razem z drukarką mam podpięte przez hub usb.