It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the
debugging output.

Matt

On Tue, Jul 31, 2007 at 08:37:31PM +0100, Kostas Peletidis wrote:
> Matthew Dharm wrote:
> >Did you change any USB-related compile options between the two builds?
> >
> >Do you have usb device suspend enabled?
> >
> >Can you tell (via top) where the 100% CPU usage is coming from (i.e. df,
> >usb-storage thread, syswait, etc)?
> >
> >Matt
> >
> >  
> Hi Matt,
> 
> The most relevant USB configuration option I changed seems to be 
> "CONFIG_USB_DEVICE_CLASS=y". I have also added module support for 
> CONFIG_USB_USBNET but I don't think this is related. Please find 
> attached the kernel configuration.
> 
> USB suspend is disabled (# CONFIG_USB_SUSPEND is not set) and when I run 
> top and press Shift+P I see that df is at the top of the list, followed 
> by Xorg and  usb-storage. The load average reaches 1.17. Interestingly 
> enough, when df is at the top of the list I see roughly "90%wa" which I 
> presume means the CPU spends most of the time waiting. Here are the 
> times derived from "time df":
> 
> real    1m4.612s
> user    0m0.006s
> sys     0m2.867s
> 
> It is worth mentioning that the problem happens only the first time I 
> run df. Subsequent runs of df work normally. If I unmount the disk and 
> remount it I see the same problem.
> 
> Regards,
> Kostas


> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> linux-usb-devel@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

NYET! The evil stops here!
                                        -- Pitr
User Friendly, 6/22/1998

Attachment: pgpt1Fk7SqFOo.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to