On 08/17/2010 02:45 AM, Florian CROUZAT wrote: > > 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. / >
Yes, I have it turned on in the kernel. # grep CONFIG_USB_STORAGE_DEBUG /etc/kernels/kernel-config-x86_64-2.6.32-gentoo-r7 CONFIG_USB_STORAGE_DEBUG=y I don't understand why it just started to be a problem. I've had this kernel for almost four months. Shouldn't the log's be rotated and purged? I've been using the default kernel config from the install. I'll make a new kernel with it turned off. Thanks, dhk