Oops in usb core devio.c

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

 



I have a situation where I get an Oops from processcompl() in
usb/core/devio.c running with a 2.6.28.4 kernel on an embedded mips
platform.

I have a (libusb) read thread that constantly calls
libusb_bulk_transfer() on the IN endpoint. libusb_bulk_transfer() calls
op_handle_events()which eventually calls the IOCTL_USBFS_REAPURBNDELAY
ioctl. This ioctl calls
proc_reapurbnonblock() which calls async_getcompleted() in devio.c which
returns a pointer to an async struct which contains a completed urb. 

This urb seems to be corrupted occasionally when I send/receive a lot of
packets.

In particular, in processcompl(), the urb->ep pointer is garbage as is
the urb->transfer_buffer_length and urb->actual_length.

Is this a known issue? I'm still in the process of understanding the USB
driver framework to understand this better so any tips would be
appreciated.

Thanks,
chuck fossen
--
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