This issue persists in Ubuntu 21.10.
My external USB drives get disconnected randomly.
Setting "XHCI Hand-off" in BIOS to Disabled *SOLVED* this problem for me.
It seems kernel/Ubuntu fails to handle USB properly when given control over it
by BIOS.
My kernel log:
Apr 22 23:57:43 phd kernel: usb 2-4: USB disconnect, device number 4
Apr 22 23:57:43 phd kernel: sd 7:0:0:0: [sde] Synchronizing SCSI cache
Apr 22 23:57:43 phd kernel: sd 7:0:0:0: [sde] Synchronize Cache(10) failed:
Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Apr 22 23:57:44 phd kernel: usb 2-4: new SuperSpeed USB device number 5 using
xhci_hcd
Apr 22 23:57:44 phd kernel: usb 2-4: New USB device found, idVendor=0000,
idProduct=0000, bcdDevice= 1.44
Apr 22 23:57:44 phd kernel: usb 2-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
Apr 22 23:57:44 phd kernel: usb 2-4: Product: USB 3.0
Apr 22 23:57:44 phd kernel: usb 2-4: Manufacturer: KESU
Apr 22 23:57:44 phd kernel: usb 2-4: SerialNumber: 000000128453
Apr 22 23:57:44 phd kernel: usb-storage 2-4:1.0: USB Mass Storage device
detected
Apr 22 23:57:44 phd kernel: scsi host8: usb-storage 2-4:1.0
Apr 22 23:57:45 phd kernel: scsi 8:0:0:0: Direct-Access KESU USB 3.0
2210 PQ: 0 ANSI: 6
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: Attached scsi generic sg5 type 0
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: [sdf] 976773164 512-byte logical
blocks: (500 GB/466 GiB)
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: [sdf] Write Protect is off
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: [sdf] Mode Sense: 2f 00 00 00
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: [sdf] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
Apr 22 23:57:45 phd kernel: sdf: sdf1
Apr 22 23:57:45 phd kernel: sd 8:0:0:0: [sdf] Attached SCSI disk
--
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/1908894
Title:
USB controllers disconnects after random time
Status in linux package in Ubuntu:
Confirmed
Bug description:
Since I installed Ubuntu on my new convertible laptop, I got issues with the
USB. Just after boot my USB controller is working properly (I can connect usb
sticks, mices, and my internal camera works) and at some point long after it
suddenly stop working (mices suddenly stop moving even when used, webcam and
sticks no more detected).
This can happend few minuts after boot, or several days after.
Yet I have not been able to find what triggers the failure. It happends at
any time during normal usage of the computer, including during the usb usage.
more concrete infos:
after failure, I get
$ dmesg
[ 2671.894099] perf: interrupt took too long (2512 > 2500), lowering
kernel.perf_event_max_sample_rate to 79500
[ 3262.197917] xhci_hcd 0000:03:00.3: Mismatch between completed Set TR Deq
Ptr command & xHCI internal state.
[ 3262.197927] xhci_hcd 0000:03:00.3: ep deq seg = 000000008dafef36, deq ptr
= 000000005f96ce32
[ 3262.198052] xhci_hcd 0000:03:00.3: AMD-Vi: Event logged [IO_PAGE_FAULT
domain=0x000a address=0x0 flags=0x0000]
[ 3267.250397] xhci_hcd 0000:03:00.3: xHCI host not responding to stop
endpoint command.
[ 3267.250428] xhci_hcd 0000:03:00.3: xHCI host controller not responding,
assume dead
[ 3267.250463] xhci_hcd 0000:03:00.3: HC died; cleaning up
[ 3267.250499] usb 1-3: USB disconnect, device number 2
[ 3267.311251] usb 1-4: USB disconnect, device number 3
and lsusb doesn't show my devices anymore, even the newly inserted
ones
config: Asus Zenbook flip 14 UM462DA
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-58-generic 5.4.0-58.64
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Uname: Linux 5.4.0-58-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: jimy 1523 F.... pulseaudio
/dev/snd/controlC0: jimy 1523 F.... pulseaudio
/dev/snd/pcmC1D0p: jimy 1523 F...m pulseaudio
/dev/snd/timer: jimy 1523 f.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Mon Dec 21 11:51:08 2020
InstallationDate: Installed on 2020-07-28 (146 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 8087:0a2b Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. ZenBook UX462DA
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-58-generic
root=UUID=ba0f4ac4-b614-4882-83d6-485690f9a61a ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-5.4.0-58-generic N/A
linux-backports-modules-5.4.0-58-generic N/A
linux-firmware 1.187.6
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/28/2020
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX462DA.307
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX462DA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 31
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvrUX462DA.307:bd09/28/2020:svnASUSTeKCOMPUTERINC.:pnZenBookUX462DA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX462DA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct31:cvr1.0:
dmi.product.family: ZenBook Flip
dmi.product.name: ZenBook UX462DA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1908894/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp