Bug 60810 - Kernel oops with controller XHCI while wait usb packet
Summary: Kernel oops with controller XHCI while wait usb packet
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Sarah Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 19:30 UTC by giovanni.nervi
Modified: 2013-09-05 17:50 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.10.9
Subsystem:
Regression: No
Bisected commit-id:


Attachments
log of crash (2.30 KB, application/x-gzip)
2013-08-28 19:30 UTC, giovanni.nervi
Details
Kernel oops after patch proposed by Sarah (6.62 KB, application/octet-stream)
2013-08-29 20:36 UTC, giovanni.nervi
Details
Config file (33.39 KB, application/octet-stream)
2013-08-30 06:25 UTC, giovanni.nervi
Details
log crash after Rui's patch (2.38 KB, application/x-gzip)
2013-09-02 18:06 UTC, giovanni.nervi
Details
log after Rui's patch second capture (2.65 KB, application/x-gzip)
2013-09-02 18:42 UTC, giovanni.nervi
Details
log crash with usb debug (10.93 KB, application/x-gzip)
2013-09-03 16:19 UTC, giovanni.nervi
Details
log crash after Mathias's patch (12.00 KB, application/x-gzip)
2013-09-04 14:09 UTC, giovanni.nervi
Details
patch which fix the issue. Release by Mathias Nyman. (1.20 KB, patch)
2013-09-04 18:26 UTC, giovanni.nervi
Details | Diff

Description giovanni.nervi 2013-08-28 19:30:10 UTC
Created attachment 107344 [details]
log of crash

I have a device USB which implement with a microcontroller ARM a USB CDC-ACM.
The implementation is not perfect, but with kernel 2.6 don't make me problem, with kernel 3.10 (I tried also 3.9 and 3.8 without success), I got a kernel panic, when the device is detached or I do a reset of the microcontroller.
I attached the kernel panic in function handle_cmd_completion+0x502/0x95a module xhci_hcd.

Thank you
Giovanni
Comment 1 Greg Kroah-Hartman 2013-08-28 20:59:06 UTC
On Wed, Aug 28, 2013 at 07:30:10PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=60810
> 
>             Bug ID: 60810
>            Summary: Kernel oops with controller XHCI while wait usb packet

Please send this to the linux-usb@vger.kernel.org mailing list.
Comment 2 giovanni.nervi 2013-08-29 20:36:26 UTC
Created attachment 107363 [details]
Kernel oops after patch proposed by Sarah
Comment 3 giovanni.nervi 2013-08-30 06:25:20 UTC
Created attachment 107368 [details]
Config file
Comment 4 giovanni.nervi 2013-09-02 18:06:05 UTC
Created attachment 107386 [details]
log crash after Rui's patch
Comment 5 giovanni.nervi 2013-09-02 18:42:13 UTC
Created attachment 107387 [details]
log after Rui's patch second capture
Comment 6 giovanni.nervi 2013-09-03 16:19:00 UTC
Created attachment 107400 [details]
log crash with usb debug
Comment 7 giovanni.nervi 2013-09-04 14:09:28 UTC
Created attachment 107415 [details]
log crash after Mathias's patch
Comment 8 giovanni.nervi 2013-09-04 18:25:48 UTC
With patch released by Mathias http://article.gmane.org/gmane.linux.usb.general/94088 the issued is now solved.
Comment 9 giovanni.nervi 2013-09-04 18:26:50 UTC
Created attachment 107418 [details]
patch which fix the issue. Release by Mathias Nyman.
Comment 10 Mathias Nyman 2013-09-05 08:04:23 UTC
Patch sent to xHCI maintainer and linux-usb mailing list:

http://marc.info/?l=linux-usb&m=137836781022404&w=2

Note You need to log in before you can comment on or make changes to this bug.