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

"Branden Sletteland" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
I have also noticed this delay and have through instrumenting code
have found that every block in the device gets read in.  I never
checked if it was something in the df, filesystem, SCSI, or USB
subsystems that was causing this.  I am usually doing df on USB
storage devices formated as FAT 32 w/ and w/o LBA.

Branden

On 7/31/07, Alan Stern <[email protected]> wrote:
> On Tue, 31 Jul 2007, Kostas Peletidis wrote:
>
> > Hi Alan,
> >
> > I enabled CONFIG_USB_DEBUG and reproduced the problem but didn't see any
> > messages in the dmesg output. To ensure that the debug code was indeed
> > built in I unplugged the disk then plugged it back in. I got quite a few
> > messages, here are the last of them:
>
> > I see most of these messages at boot time even with older 2.6 kernels.
>
> Yes, they are normal.
>
> > The problem appears after the "device scan complete" message is traced.
> >
> > The patch that caused this issue was added between the 2.6.21.5 and
> > 2.6.22 releases. The only patch that led to 2.6.21.6 had to do with
> > nf_conntrack_h323 so this leaves us with the patches between 2.6.21.6
> > and 2.6.22. There are quite a few usb changes in that changelog so I was
> > hoping that someone might recognise/remember something relevant.
>
> I'd guess that this was caused by a change somewhere else in the
> kernel, not in the USB stack.  My advice now is the same as Matt's was:
> turn on CONFIG_USB_STORAGE_DEBUG and see what you get.
>
> Alan Stern
>
>
> -------------------------------------------------------------------------
> 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
>

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