LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   usb-storage messages flood /var/log/messages (https://www.linuxquestions.org/questions/gentoo-87/usb-storage-messages-flood-var-log-messages-938058/)

CollieJim 04-04-2012 07:10 AM

usb-storage messages flood /var/log/messages
 
I am getting great masses of usb-storage messages in /var/log/messages. I do not have CONFIG_USB_STORAGE_DEBUG set. I have not recompiled the kernel for several days, and the problem has only just started.

The problem is intermittent. If I insert an SD card in the netbook's slot, the messages start, and stop when the card is removed. If re-inserted, the message may or may not continue.

The only change I'm aware of is I installed usb-modeswitch to deal with a Telstra USB wireless modem. It did not work. I removed the .rules file but not the programs.
Code:

Apr  4 19:25:33 home kernel: [  169.003061] usb-storage: queuecommand_lck called
Apr  4 19:25:33 home kernel: [  169.003104] usb-storage: *** thread awakened.
Apr  4 19:25:33 home kernel: [  169.003111] usb-storage: Command TEST_UNIT_READY (6 bytes)
Apr  4 19:25:33 home kernel: [  169.003115] usb-storage:  00 00 00 00 00 00
Apr  4 19:25:33 home kernel: [  169.003130] usb-storage: Bulk Command S 0x43425355 T 0xe3 L 0 F 0 Trg 0 LUN 0 CL 6
Apr  4 19:25:33 home kernel: [  169.003136] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Apr  4 19:25:33 home kernel: [  169.003570] usb-storage: Status code 0; transferred 31/31
Apr  4 19:25:33 home kernel: [  169.003574] usb-storage: -- transfer complete
Apr  4 19:25:33 home kernel: [  169.003578] usb-storage: Bulk command transfer result=0
Apr  4 19:25:33 home kernel: [  169.003582] usb-storage: Attempting to get CSW...
Apr  4 19:25:33 home kernel: [  169.003587] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Apr  4 19:25:33 home kernel: [  169.003800] usb-storage: Status code 0; transferred 13/13
Apr  4 19:25:33 home kernel: [  169.003807] usb-storage: -- transfer complete
Apr  4 19:25:33 home kernel: [  169.003813] usb-storage: Bulk status result = 0
Apr  4 19:25:33 home kernel: [  169.003822] usb-storage: Bulk Status S 0x53425355 T 0xe3 R 0 Stat 0x0
Apr  4 19:25:33 home kernel: [  169.003840] usb-storage: scsi cmd done, result=0x0
Apr  4 19:25:33 home kernel: [  169.003849] usb-storage: *** thread sleeping.

What's happening here?

Jim

CollieJim 04-05-2012 03:23 AM

I think installing usb-modeswitch must have corrupted a file or replaced one with an incompatible copy.

I ran
Code:

emerge -av `qlist -I -C | grep usb -`
and the problem is gone.


All times are GMT -5. The time now is 08:28 AM.