kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #84470
[Bug 1380444] [NEW] xhci locks up computer with NULL pointer dereference trying to wake up external USB3 disk
Public bug reported:
In Ubuntu 14.10, my laptop locks up completely when trying to wake my WD
1230 USB3 external hard drive from its default 10-minute standby.
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.
The last good kernel was 3.15-rc4. All kernels since since have this
problem, including the latest upstream kernel. I did a git bisect, which
says:
The merge base 6d4596905b65bf4c63c1a008f50bf385fa49f19b is bad. This
means the bug has been fixed between
6d4596905b65bf4c63c1a008f50bf385fa49f19b and
[89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd]
I have reported this upstream at
https://bugzilla.kernel.org/show_bug.cgi?id=85741. More details
including the logs showing the error ocurring are there.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-22-generic 3.16.0-22.29
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: rocko 3333 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Oct 13 10:15:41 2014
HibernationDevice: RESUME=UUID=ca164267-edcd-4d3c-b325-acbd60802e7a
InstallationDate: Installed on 2014-02-08 (246 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140207)
MachineType: Dell Inc. Dell System XPS L502X
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.16.0-22-generic root=UUID=3e785733-7f93-4ea8-8cdd-c42606029905 ro rootflags=subvol=@ quiet splash init=/lib/systemd/systemd vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.16.0-22-generic N/A
linux-backports-modules-3.16.0-22-generic N/A
linux-firmware 1.135
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-10-04 (8 days ago)
dmi.bios.date: 05/29/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0NJT03
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd05/29/2012:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0NJT03:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug utopic
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1380444
Title:
xhci locks up computer with NULL pointer dereference trying to wake up
external USB3 disk
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
In Ubuntu 14.10, my laptop locks up completely when trying to wake my
WD 1230 USB3 external hard drive from its default 10-minute standby.
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.
The last good kernel was 3.15-rc4. All kernels since since have this
problem, including the latest upstream kernel. I did a git bisect,
which says:
The merge base 6d4596905b65bf4c63c1a008f50bf385fa49f19b is bad. This
means the bug has been fixed between
6d4596905b65bf4c63c1a008f50bf385fa49f19b and
[89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd]
I have reported this upstream at
https://bugzilla.kernel.org/show_bug.cgi?id=85741. More details
including the logs showing the error ocurring are there.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-22-generic 3.16.0-22.29
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: rocko 3333 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Oct 13 10:15:41 2014
HibernationDevice: RESUME=UUID=ca164267-edcd-4d3c-b325-acbd60802e7a
InstallationDate: Installed on 2014-02-08 (246 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140207)
MachineType: Dell Inc. Dell System XPS L502X
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.16.0-22-generic root=UUID=3e785733-7f93-4ea8-8cdd-c42606029905 ro rootflags=subvol=@ quiet splash init=/lib/systemd/systemd vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.16.0-22-generic N/A
linux-backports-modules-3.16.0-22-generic N/A
linux-firmware 1.135
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-10-04 (8 days ago)
dmi.bios.date: 05/29/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0NJT03
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd05/29/2012:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0NJT03:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1380444/+subscriptions
Follow ups
References