USBフラッシュメモリ ( TRANS-IT )を 挿入した場合 の /var/log/messages
# cat messages Nov 29 21:59:15 sv kernel: hub.c: new USB device 00:07.2-2, assigned address 2 Nov 29 21:59:15 sv murasaki.usb[371]: usb device is added Nov 29 21:59:15 sv murasaki.usb[371]: vendor:0x718 \ product:0x671 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 \ Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 29 21:59:15 sv murasaki.usb[371]: MATCH(alias-sd) -> \ match_flags:0x180 vendor:0x0 product:0x0 Dclass:0x0 \ Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x0 Nov 29 21:59:15 sv murasaki.usb[371]: MATCH(usb-storage) -> \ match_flags:0x380 vendor:0x0 product:0x0 \ Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 29 21:59:15 sv murasaki.usb[371]: Dependence(usb-storage) was found Nov 29 21:59:15 sv murasaki.usb[371]: Dependence(sd_mod) was found Nov 29 21:59:15 sv murasaki.usb[371]: Dependence(scsi_mod) was found Nov 29 21:59:15 sv murasaki.usb[371]: Loading usb-storage Nov 29 21:59:15 sv murasaki.usb[371]: Loading sd_mod Nov 29 21:59:15 sv murasaki.usb[371]: Loading scsi_mod Nov 29 21:59:15 sv kernel: Initializing USB Mass Storage driver... Nov 29 21:59:15 sv kernel: usb.c: registered new driver usb-storage Nov 29 21:59:15 sv kernel: scsi0 : SCSI emulation for USB Mass Storage devices Nov 29 21:59:16 sv kernel: sda:<7>usb-storage: queuecommand() called Nov 29 21:59:16 sv kernel: USB Mass Storage support registered.
USBフラッシュメモリ ( TRANS-IT )を抜いた時
Nov 29 22:17:22 sv kernel: usb.c: USB disconnect on device 00:07.2-2 address 2 Nov 29 22:17:22 sv murasaki.usb[393]: usb device is removed Nov 29 22:17:22 sv murasaki.usb[393]: vendor:0x718 product:0x671 \ Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 29 22:17:22 sv murasaki.usb[393]: mousedev was skipped in usbmap Nov 29 22:17:22 sv murasaki.usb[393]: mousedev was skipped in usbmap Nov 29 22:17:22 sv murasaki.usb[393]: MATCH(alias-sd) -> \ match_flags:0x180 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 \ Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x0 Nov 29 22:17:22 sv murasaki.usb[393]: hid was skipped in usbmap Nov 29 22:17:22 sv murasaki.usb[393]: MATCH(usb-storage) -> \ match_flags:0x380 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 \ Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 29 22:17:22 sv murasaki.usb[393]: Dependence(usb-storage) was found Nov 29 22:17:22 sv murasaki.usb[393]: Dependence(sd_mod) was found Nov 29 22:17:22 sv murasaki.usb[393]: Dependence(scsi_mod) was found Nov 29 22:17:22 sv murasaki.usb[393]: Unloading usb-storage Nov 29 22:17:22 sv murasaki.usb[393]: Unloading sd_mod Nov 29 22:17:22 sv murasaki.usb[393]: Unloading scsi_mod Nov 29 22:17:22 sv kernel: usb.c: deregistering driver usb-storage Nov 29 22:17:22 sv kernel: scsi : 0 hosts left.
# cat syslog Nov 29 21:59:15 sv kernel: usb.c: USB device 2 (vend/prod 0x718/0x671) is not claimed by any active driver. Nov 29 21:59:15 sv kernel: Vendor: TDKMedia Model: Transit Rev: PMAP Nov 29 21:59:15 sv kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 29 21:59:15 sv kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Nov 29 21:59:16 sv kernel: SCSI device sda: 7806976 512-byte hdwr sectors (3997 MB) Nov 29 21:59:16 sv kernel: sda: Write Protect is off Nov 29 21:59:16 sv kernel: sda1
USBフラッシュメモリ ( TRANS-IT )を 挿入した 時 追加されてあると 思われ る場所。
# dmesg hub.c: new USB device 00:07.2-2, assigned address 2 usb.c: USB device 2 (vend/prod 0x718/0x671) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage usb-storage: act_altsettting is 0 usb-storage: id_index calculated to be: 101 usb-storage: Array length appears to be: 103 usb-storage: USB Mass Storage device detected usb-storage: Endpoints: In: 0xc0fcb460 Out: 0xc0fcb474 Int: 0x00000000 (Period 0) usb-storage: New GUID 0718067107b41607c5a0ebaa usb-storage: GetMaxLUN command result is 1, data is 0 usb-storage: Transport: Bulk usb-storage: Protocol: Transparent SCSI usb-storage: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 ff 00 d7 c0 60 fe d7 c0 usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 255 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 44/255 usb-storage: Bulk data transfer result 0x1 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x1 R 211 Stat 0x0 usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Vendor: TDKMedia Model: Transit Rev: PMAP Type: Direct-Access ANSI SCSI revision: 02 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad LUN (0/1) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (1/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (2/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (3/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (4/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (5/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (6/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (7/0) usb-storage: *** thread sleeping. Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x2 Trg 0 LUN 0 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x2 R 0 Stat 0x1 usb-storage: -- transport indicates command failure usb-storage: Issuing auto-REQUEST_SENSE usb-storage: Bulk command S 0x43425355 T 0x3 Trg 0 LUN 0 L 18 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 18 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x3 R 0 Stat 0x0 usb-storage: -- Result from auto-sense is 0 usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 usb-storage: Unit Attention: not ready to ready transition usb-storage: scsi cmd done, result=0x2 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x4 Trg 0 LUN 0 L 0 F 0 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x4 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x5 Trg 0 LUN 0 L 8 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 8 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 8/8 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x5 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. SCSI device sda: 7806976 512-byte hdwr sectors (3997 MB) usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command MODE_SENSE (6 bytes) usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x6 Trg 0 LUN 0 L 255 F 128 CL 6 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 255 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255 usb-storage: Bulk data transfer result 0x1 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x6 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda: Write Protect is off sda:<7>usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 00 00 usb-storage: Bulk command S 0x43425355 T 0x7 Trg 0 LUN 0 L 4096 F 128 CL 10 usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096 usb-storage: usb_stor_transfer_partial(): transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: Bulk status result = 0 usb-storage: Bulk status Sig 0x53425355 T 0x7 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered.
USBフラッシュメモリ ( TRANS-IT )を 抜いた時 追加されてあると 思われ る場所。
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
usb.c: USB disconnect on device 00:07.2-2 address 2
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: usb_stor_exit() called
usb-storage: -- calling usb_deregister()
usb.c: deregistering driver usb-storage
usb-storage: -- calling scsi_unregister_module()
usb-storage: release() called for host usb-storage
usb-storage: -- sending US_ACT_EXIT command to thread
usb-storage: *** thread awakened.
usb-storage: -- US_ACT_EXIT command received
scsi : 0 hosts left.
にゃんたろう 拝!
2011年12月 2日 (金) 21:01:28 JST 作成