-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 août 2010, at 02:58, Adam Carter wrote:

>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
>> Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
>> Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
>> xfer 13 bytes
>> Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
>> Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
>> 0x5c33 R 0 Stat 0x0
>> Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
>> Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.
>> 
>> What's going on here?  Why all these usb-storage messages?
> 
> You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the 
> kernel

Yeah and not only it makes your logs huge, but it also slows down your box 
using your CPU to flood while doing USB transfer.
On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU 
when doing ntfs3g.
Totally something you want to turn off, unless you have serious issues with USB.

- ----
Florian
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJMai/3AAoJEI54KfPdrpQaiwIH/RC+6gjvSLzTbZE42A+GZWIb
jHljx/e/d9vCmV/65QxrhCUaFfUR4SlTCBvnmxBQxohDDtSzE6S6JbTxzk22obn+
tqqTOwb62HFBOs4TVNyPfNsjlhR+7BAcmRcff7d6XOJiiiak3gTXe8cnu2hnaAma
3Mq4GSE8LvokTaFvxCx0R9/NBkm7olZAl8UT73ibbIwxSfW+nkl2qlTv2xIVLMd2
u7nLycPd26cUHXFTH/FYFERg9tfXQ+VeKc3e5IoQIS7gkIQGLdUFOrzI2UkzhwrV
RbHBFn2BM7o3i40ImzIqHTEBdDT4AmZ2skKbhQy/U6W1xhczqW6XBQ5SLm4buIY=
=wVf4
-----END PGP SIGNATURE-----

Reply via email to