I'm not sure why, but my /var/log/messages has nothing but messages about usb-storage and hundreds of these messages post each second, endlessly. Here's a snippet:
Code:
root@localhost:/var/log>dmesg | tail -n 25
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1fc849 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk Command S 0x43425355 T 0x1fc84a L 18 F 128 Trg 0 LUN 3 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 18 bytes, 1 entries
usb-storage: Status code 0; transferred 18/18
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1fc84a R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: Medium not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
Having done various "tail" commands, I've been able to determine that about 250-300 usb-storage lines post every second to /var/log/messages. This has resulted in log files several gigabytes long in only a few days, and makes it virtually impossible to see the other issues that get logged. I don't know what's causing it or even where to start to narrow it down.
I've searched Google and LQ but apparently not with the right keywords because I get articles that are completely irrelevant.
I run Gentoo Linux on a 64-bit Gateway GM5424 PC with the 2.6.31-gentoo-r6 kernel built by genkernel from the instructions provided in the Gentoo 10.1 handbook for amd64. The system has 6GB of RAM, and on the USB bus I have a Samsung color laser printer, an APC UPS, a card reader, my mouse, and occasionally (but not as I wrote this post) my HTC Snap cell phone. I have not had any problems with the USB devices working in Linux.
Please let me know if there's any commands or troubleshooting ideas you have to resolve this problem. Thanks!