Re: Large USB storage devices cause df to hang and cpu load reaches 100%

Matthew Dharm <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization One Eyed Alien Networks
Message-ID <[email protected]>
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

On Mon, Jul 30, 2007 at 11:24:27PM +0100, Kostas Peletidis wrote:
> Hi all,
> 
> I would like to report a problem I have noticed since linux-2.6.22 that 
> most likely has to do with the USB subsystem.
> 
> I have tried both kernel versions 2.6.22 and 2.6.22.1(configured with 
> make oldconfig) and in both cases whenever I plug in a fairly 
> large(500GB) MyBook usb2 hard disk df stops producing output and hangs 
> for about a minute when it reaches the usb disk. Interestingly enough 
> the disk's directory tree can be accessed immediately. It is only df and 
> Thunar, the xfce window manager, that slow down. During this temporary 
> hang the cpu load fluctuates and reaches 100% several times.
> 
> When I plugged in a small(512MB) usb2 memory stick, instead of the disk, 
> df paused only momentarily before terminating normally. This suggests to 
> me that the size of the device affects the duration of the delay.
> 
> The modules I use, apart from usb_storage, are ehci_hcd and uhci_hcd. 
> With linux-2.6.21.5 both usb devices work fine.
> 
> I don't know how to proceed from here. Please let me know if you need 
> additional information or if I need to contact someone else. Thank you.
> 
> 
> Regards,
> Kostas Peletidis
> 
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> [email protected]
> 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

-------------------------------------------------------------------------
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/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGrmuiHL9iwnUZqnkRAibLAJ9dzV/EwE7Iwx3Iw7q+To8B8g7zfgCgiMeX
Yekm+qCi8sFeEWIi+/qMefs=
=R9fx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.