All of lore.kernel.org
 help / color / mirror / Atom feed
From: Parag Warudkar <kernel-stuff@comcast.net>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: USB development list <linux-usb-devel@lists.sourceforge.net>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [linux-usb-devel] 2.6: USB Storage hangs machine on bootup for ~2 minutes
Date: Tue, 22 Feb 2005 13:44:58 -0500	[thread overview]
Message-ID: <200502221344.58420.kernel-stuff@comcast.net> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0502071115130.2261-100000@ida.rowland.org>

On Monday 07 February 2005 11:18 am, Alan Stern wrote:
> > I am already running 2.6.11-rc3 and the problem has not gone away. Are
> > there any relevant fixes in -bk?
>
> No.
>
> > Attached is the bootup log after enabling CONFIG_USB_STORAGE_DEBUG.
>
> You said that the system hangs during bootup.  Where in the log does that
> hang occur?  The log itself looks perfectly normal.  The Maxtor drive is
> scanned, the partitions detected, and then apparently one or two
> partitions are mounted.  There's no indication of any problem.

I have tracked down the reason for this hang  - it seems that kudzu gets stuck 
in D state on usb_device_read - Below SysRQ+T from 2.6.11-rc4 - always 
reproducible.

kudzu         D 00000000ffffffff     0  4424   4472                     
(NOTLB)
ffff81002bebfd98 0000000000000086 ffff81002c538150 ffff81002f21d00e
       000000078847ce40 ffff81002b5977c0 000000000000fd38 ffffffff803defc0
       ffff81002bebfd88 ffffffff80219b32
Call Trace:
<ffffffff80219b32>{_atomic_dec_and_lock+290} <ffffffff80383835>{__down+421}
       <ffffffff80133e30>{default_wake_function+0} 
<ffffffff803868ae>{__down_failed+53}
       <ffffffff802db9f1>{.text.lock.usb+5} 
<ffffffff802edb35>{usb_device_read+229}
       <ffffffff801998d1>{vfs_read+225} <ffffffff80199bd0>{sys_read+80}
       <ffffffff8010ed1e>{system_call+126}

Thereafter, if I try to mount the USB drive, even mount gets stuck.

Parag

       reply	other threads:[~2005-02-22 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44L0.0502071115130.2261-100000@ida.rowland.org>
2005-02-22 18:44 ` Parag Warudkar [this message]
2005-02-22 20:41   ` [linux-usb-devel] 2.6: USB Storage hangs machine on bootup for ~2 minutes Alan Stern
2005-02-22 22:49     ` Parag Warudkar
2005-02-23 15:51       ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502221344.58420.kernel-stuff@comcast.net \
    --to=kernel-stuff@comcast.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.