Bug 112311 - System hangs with weak USB cable
Summary: System hangs with weak USB cable
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 10:40 UTC by Radoslaw Warowny
Modified: 2021-06-15 19:36 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.19, 4.2.0, 4.4.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Syslog output (102.39 KB, text/plain)
2016-02-11 10:40 UTC, Radoslaw Warowny
Details

Description Radoslaw Warowny 2016-02-11 10:40:56 UTC
Created attachment 203481 [details]
Syslog output

Trying to play Need For Speed Most Wanted Demo using dualshock 4 with weak usb cable connected. When rumble option is set to on it couses system hang after first vibration effect. The cable is 1.8 m long and seems to be somewhat low quality. It's not possible to charge devices with the USB cable, tested with smartphone. It seems it has too high resistance. Tested with two new cables with the same effect.

The first symptom while playing is you loose steering control over car - no reaction on gamepad movements. Shortly after that all system freezes completly. It is not possible even to ssh from another computer. Sound actually played by game still plays in loop. Sometimes two diodes on keyboard are blinking: Caps and Scroll. Sometimes you are able to exit game and the hang is deleyed by few minutes.

In kernel log you see messages like this:

Feb 11 01:19:44 tiger kernel: [41423.015201] usb usb4-port3: disabled by hub (EMI?), re-enabling..
...
Feb 11 01:19:45 tiger kernel: [41423.643404] BUG: unable to handle kernel paging request at 000000000000ff05
Feb 11 01:19:45 tiger kernel: [41423.643451] IP: [<ffffffff811e527b>] kmem_cache_alloc_trace+0x7b/0x1d0
Feb 11 01:19:45 tiger kernel: [41423.643491] PGD 155b8b067 PUD 1c45c3067 PMD 0 
Feb 11 01:19:45 tiger kernel: [41423.643518] Oops: 0000 [#1] SMP
...

Full logs added as attachement - two versions, with and without apparmor (apparmor=0 kernel parameter).
Comment 1 Greg Kroah-Hartman 2016-02-11 16:38:47 UTC
On Thu, Feb 11, 2016 at 10:40:56AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=112311
> 
>             Bug ID: 112311
>            Summary: System hangs with weak USB cable
>            Product: Drivers
>            Version: 2.5
>     Kernel Version: 3.19, 4.2.0, 4.4.1

Please send to the linux-usb@vger.kernel.org mailing list.

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