戻る

PM-A890 電源 投入切断 log

USB 接続 ですし スキャーナー 機能も有るのですが 当面 プリンターとして 使えるように という段階です。

電源投入時

”/var/log/messages” と ”/var/log/syslog”の 一例です。

投入前に log を クリヤー しておきます。

# ls -l messages syslog 
-rw-r-----    1 root     root            0 Oct 30 21:00 messages
-rw-r-----    1 root     root            0 Oct 30 21:00 syslog

PM-A890 の 電源 を 投入します。

# ls -l messages syslog 
-rw-r-----    1 root     root         2803 Oct 30 21:06 messages
-rw-r-----    1 root     root         1179 Oct 30 21:06 syslog

なにか 書き込まれます。

/var/log/messages

”/var/log/messages”は 以下のようになります。

# cat messages 
Oct 30 21:28:12 keisannki kernel: hub.c: new USB device 00:14.2-2, assigned address 3
Oct 30 21:28:12 keisannki murasaki.usb[652]: usb device is added
Oct 30 21:28:12 keisannki murasaki.usb[652]: vendor:0x4b8 product:0x81c Dclass:0x0 Dsub
class:0x0 Dprotocol:0x0 Iclass:0xff Isubclass:0xff Iprotocol:0xff
Oct 30 21:28:12 keisannki murasaki.usb[652]: The device match nothing in mapfile
Oct 30 21:28:12 keisannki murasaki.usb[652]: Please change MODULE in following line to 
the appropriate module name, add it to /etc/murasaki/murasaki.usbmap
Oct 30 21:28:12 keisannki murasaki.usb[652]: MODULE 0x0383 0x4b8 0x81c 0 0 0x0 0x0 0x0 
0xff 0xff 0xff 0x00000000
Oct 30 21:28:12 keisannki murasaki.usb[653]: usb device is added
Oct 30 21:28:12 keisannki murasaki.usb[653]: vendor:0x4b8 product:0x81c Dclass:0x0 Dsub
class:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2
Oct 30 21:28:12 keisannki murasaki.usb[653]: MATCH(printer) -> match_flags:0x80 vendor:
0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x0 
Iprotocol:0x0
Oct 30 21:28:12 keisannki murasaki.usb[653]: MATCH(printer) -> match_flags:0x380 vendor
:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1
 Iprotocol:0x2
Oct 30 21:28:12 keisannki murasaki.usb[653]: Loading printer
Oct 30 21:28:12 keisannki murasaki.usb[654]: usb device is added
Oct 30 21:28:12 keisannki murasaki.usb[654]: vendor:0x4b8 product:0x81c Dclass:0x0 Dsub
class:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50
Oct 30 21:28:12 keisannki murasaki.usb[654]: MATCH(alias-sd) -> match_flags:0x180 vendo
r:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x
6 Iprotocol:0x0
Oct 30 21:28:12 keisannki murasaki.usb[654]: MATCH(usb-storage) -> match_flags:0x380 ve
ndor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass
:0x6 Iprotocol:0x50
Oct 30 21:28:12 keisannki murasaki.usb[654]: Dependence(usb-storage) was found
Oct 30 21:28:12 keisannki murasaki.usb[654]: Dependence(sd_mod) was found
Oct 30 21:28:12 keisannki murasaki.usb[654]: Dependence(scsi_mod) was found
Oct 30 21:28:12 keisannki murasaki.usb[654]: Loading usb-storage
Oct 30 21:28:12 keisannki murasaki.usb[654]: Loading sd_mod
Oct 30 21:28:12 keisannki murasaki.usb[654]: Loading scsi_mod
Oct 30 21:28:12 keisannki kernel: usb.c: registered new driver usblp
Oct 30 21:28:12 keisannki kernel: printer.c: usblp0: USB Bidirectional printer dev 3 if
 1 alt 0 proto 2 vid 0x04B8 pid 0x081C
Oct 30 21:28:12 keisannki kernel: printer.c: v0.13: USB Printer Device Class driver
Oct 30 21:28:12 keisannki kernel: Initializing USB Mass Storage driver...
Oct 30 21:28:12 keisannki kernel: usb.c: registered new driver usb-storage
Oct 30 21:28:12 keisannki kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Oct 30 21:28:12 keisannki kernel: sda: Unit Not Ready, sense:
Oct 30 21:28:13 keisannki kernel:  sda: I/O error: dev 08:00, sector 0
Oct 30 21:28:13 keisannki kernel: USB Mass Storage support registered.

/var/log/syslog

”/var/log/syslog”は 以下のようになります。

# cat syslog 
Oct 30 21:28:12 keisannki kernel: usb.c: USB device 3 (vend/prod 0x4b8/0x81c) is not claimed by any active driver.
Oct 30 21:28:12 keisannki kernel:   Vendor: EPSON     Model: PM Storage        Rev: 1.00
Oct 30 21:28:12 keisannki kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 30 21:28:12 keisannki kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Oct 30 21:28:12 keisannki kernel: Current 00:00: sns = 70  2
Oct 30 21:28:12 keisannki kernel: ASC=3a ASCQ= 0
Oct 30 21:28:12 keisannki kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 
Oct 30 21:28:13 keisannki kernel: sda : READ CAPACITY failed.
Oct 30 21:28:13 keisannki kernel: sda : status = 1, message = 00, host = 0, driver = 08 
Oct 30 21:28:13 keisannki kernel: Current sd00:00: sns = 70  2
Oct 30 21:28:13 keisannki kernel: ASC=3a ASCQ= 0
Oct 30 21:28:13 keisannki kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 
Oct 30 21:28:13 keisannki kernel: sda : block size assumed to be 512 bytes, disk size 1GB.  
Oct 30 21:28:13 keisannki kernel:  I/O error: dev 08:00, sector 0
Oct 30 21:28:13 keisannki kernel:  unable to read partition table

電源切断時

では の電源を 切った時は、log をクリヤーして

# :>messages 
# :>syslog 
# ls -l messages syslog 
-rw-r-----    1 root     root            0 Oct 30 21:36 messages
-rw-r-----    1 root     root            0 Oct 30 21:36 syslog
# pwd
/var/log

PM-A890 の電源を 切ります。

# ls -l messages syslog 
-rw-r-----    1 root     root         2997 Oct 30 21:36 messages
-rw-r-----    1 root     root            0 Oct 30 21:36 syslog

syslog には何もきろくされません。

/var/log/messages

messages は以下のようになります。

# cat messages 
Oct 30 21:36:54 keisannki kernel: usb.c: USB disconnect on device 00:14.2-2 address 4
Oct 30 21:36:54 keisannki kernel: printer.c: usblp0: removed
Oct 30 21:36:54 keisannki murasaki.usb[687]: usb device is removed
Oct 30 21:36:54 keisannki murasaki.usb[687]: vendor:0x4b8 product:0x81c Dclass:0x0 Ds
ubclass:0x0 Dprotocol:0x0 Iclass:0xff Isubclass:0xff Iprotocol:0xff
Oct 30 21:36:54 keisannki murasaki.usb[687]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[687]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[687]: hid was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[687]: The device match nothing in mapfile
Oct 30 21:36:54 keisannki murasaki.usb[687]: Please change MODULE in following line t
o the appropriate module name, add it to /etc/murasaki/murasaki.usbmap
Oct 30 21:36:54 keisannki murasaki.usb[687]: MODULE 0x0383 0x4b8 0x81c 0 0 0x0 0x0 0x
0 0xff 0xff 0xff 0x00000000
Oct 30 21:36:54 keisannki murasaki.usb[688]: usb device is removed
Oct 30 21:36:54 keisannki murasaki.usb[689]: usb device is removed
Oct 30 21:36:54 keisannki murasaki.usb[689]: vendor:0x4b8 product:0x81c Dclass:0x0 Ds
ubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50
Oct 30 21:36:54 keisannki murasaki.usb[689]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[689]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[689]: MATCH(alias-sd) -> match_flags:0x180 ven
dor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclas
s:0x6 Iprotocol:0x0
Oct 30 21:36:54 keisannki murasaki.usb[689]: hid was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[689]: MATCH(usb-storage) -> match_flags:0x380 
vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubc
lass:0x6 Iprotocol:0x50
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(usb-storage) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(sd_mod) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(scsi_mod) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading usb-storage
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading sd_mod
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading scsi_mod
Oct 30 21:36:54 keisannki murasaki.usb[688]: vendor:0x4b8 product:0x81c Dclass:0x0 Ds
ubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2
Oct 30 21:36:54 keisannki murasaki.usb[688]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: MATCH(printer) -> match_flags:0x80 vendo
r:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:
0x0 Iprotocol:0x0
Oct 30 21:36:54 keisannki murasaki.usb[688]: hid was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: MATCH(printer) -> match_flags:0x380 vend
or:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass
:0x1 Iprotocol:0x2
Oct 30 21:36:54 keisannki murasaki.usb[688]: Unloading printer
Oct 30 21:36:54 keisannki kernel: usb.c: deregistering driver usb-storage
Oct 30 21:36:54 keisannki kernel: scsi : 1 host left.
Oct 30 21:36:54 keisannki kernel: usb.c: deregistering driver usblp
Oct 30 21:36:54 keisannki murasaki.usb[689]: MATCH(usb-storage) -> match_flags:0x380 
vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubc
lass:0x6 Iprotocol:0x50
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(usb-storage) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(sd_mod) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Dependence(scsi_mod) was found
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading usb-storage
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading sd_mod
Oct 30 21:36:54 keisannki murasaki.usb[689]: Unloading scsi_mod
Oct 30 21:36:54 keisannki murasaki.usb[688]: vendor:0x4b8 product:0x81c Dclass:0x0 Ds
ubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2
Oct 30 21:36:54 keisannki murasaki.usb[688]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: mousedev was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: MATCH(printer) -> match_flags:0x80 vendo
r:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:
0x0 Iprotocol:0x0
Oct 30 21:36:54 keisannki murasaki.usb[688]: hid was skipped in usbmap
Oct 30 21:36:54 keisannki murasaki.usb[688]: MATCH(printer) -> match_flags:0x380 vend
or:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass
:0x1 Iprotocol:0x2
Oct 30 21:36:54 keisannki murasaki.usb[688]: Unloading printer
Oct 30 21:36:54 keisannki kernel: usb.c: deregistering driver usb-storage
Oct 30 21:36:54 keisannki kernel: scsi : 1 host left.
Oct 30 21:36:54 keisannki kernel: usb.c: deregistering driver usblp

にゃんたろう 拝!

2008年10月30日 (木) 21:42:13 JST 作成


戻る

Copyright © 2006.-2008. nyantarou All Rights Reserved.