1 |
On 08/17/2010 02:45 AM, Florian CROUZAT wrote: |
2 |
> |
3 |
> On 17 août 2010, at 02:58, Adam Carter wrote: |
4 |
> |
5 |
>>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete |
6 |
>>> Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0 |
7 |
>>> Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW... |
8 |
>>> Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf: |
9 |
>>> xfer 13 bytes |
10 |
>>> Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13 |
11 |
>>> Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete |
12 |
>>> Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0 |
13 |
>>> Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T |
14 |
>>> 0x5c33 R 0 Stat 0x0 |
15 |
>>> Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0 |
16 |
>>> Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping. |
17 |
>>> |
18 |
>>> What's going on here? Why all these usb-storage messages? |
19 |
> |
20 |
>> You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the kernel |
21 |
> |
22 |
> 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. |
23 |
> On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU when doing ntfs3g. |
24 |
> Totally something you want to turn off, unless you have serious issues with USB. |
25 |
> |
26 |
> ---- |
27 |
> Florian |
28 |
> / For security reasons, all text in this mail |
29 |
> is double-rot13 encrypted. / |
30 |
> |
31 |
|
32 |
Yes, I have it turned on in the kernel. |
33 |
# grep CONFIG_USB_STORAGE_DEBUG |
34 |
/etc/kernels/kernel-config-x86_64-2.6.32-gentoo-r7 |
35 |
CONFIG_USB_STORAGE_DEBUG=y |
36 |
|
37 |
I don't understand why it just started to be a problem. I've had this |
38 |
kernel for almost four months. Shouldn't the log's be rotated and purged? |
39 |
|
40 |
I've been using the default kernel config from the install. I'll make a |
41 |
new kernel with it turned off. |
42 |
|
43 |
Thanks, |
44 |
|
45 |
dhk |