Re: USB driver hangs up on data transfer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 1 Sep 2009, Saurabh Kadekodi wrote:

> Hi,
> 
> I'm working on a PXA320 board. I have linux kernel 2.6.25 runnung on
> it. I have a problem with my USB driver. Whenever I mount it and try
> to do any kind of data transfer (say about even 12 - 16K) the driver
> gives me the following dump:
> 
> <3>BUG: scheduling while atomic: usb-storage/753/0x00000002
> [ 3221.785285] [<c0028454>] (dump_stack+0x0/0x14) from [<c00372c0>]
> (__schedule_bug+0x50/0x5c)
> [ 3221.795901] [<c0037270>] (__schedule_bug+0x0/0x5c) from
> [<c0267354>] (schedule+0x2dc/0x348)
> [ 3221.803652]  r4:00000000
> [ 3221.806167] [<c0267078>] (schedule+0x0/0x348) from [<bf038a84>]
> (oxu_urb_enqueue+0xb8/0x1a4 [oxu210hp_hcd])

This is clearly a bug in the oxu210hp-hcd driver.  It must not call 
schedule() from within its enqueue method.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux