xhci locks up kernel with NULL pointer dereference when waking external USB3 hard drive from standby

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

 



Since kernel 3.15-rc5 (rc4 is good), my laptop locks up completely
when trying to wake my WD 1230 USB3 external hard drive from its
default 10-minute standby. The bug is still present in 3.17.

The system tries to wake up the drive, which is unsuccessful, and
after a few seconds uas_eh_abort_handler gets called. Shortly after
this the NULL pointer dereference occurs in xhci_alloc_streams or
xhci_check_streams_endpoint (most times the NULL pointer dereference
error doesn't even get persisted to disk, so there may be other points
where it occurs). Not long after this the laptop locks up completely
and both it and the hard drive have to be power-cycled.

I can put the drive manually into and out of standby using hdparm, so
I guess there are two problems: one which makes the drive crash (ie it
must crash because it needs to be power cycled) and the other being
the NULL pointer dereference and complete kernel lockup.

A git bisect says: The merge base
6d4596905b65bf4c63c1a008f50bf385fa49f19b is bad.
 This means the bug has been fixed between
6d4596905b65bf4c63c1a008f50bf385fa49f19b and
[89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd]

I have put more details including the NULL pointer logs at:
https://bugzilla.kernel.org/show_bug.cgi?id=85741

Thanks.
--
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