Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc2/

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Tags added: kernel-da-key

-- 
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/1720157

Title:
  usb device changes lead to system hangs eventually

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 17.10
  Linux mbpr13b 4.13.0-12-generic #13-Ubuntu SMP Sat Sep 23 03:40:16 UTC 2017 
x86_64 x86_64 x86_64 GNU/Linux

  I have to change USB devices regularly (from HD to USB flash and to
  flash emulating devices - MicroPython board - which also emulates an
  input controller).

  After a reboot a HD is recognised perfectly as well as USB storage
  sticks or the uPython board.

  After a few swaps the system seems to get confused with what got
  connected. Mount times increase (with the HD mounting fastest) and the
  uPython board the slowest.

  In the syslog after a fresh boot the devices seem to be recognized as
  sdx devices but after the swaps the syslog reveals more attempts to
  add xhci devices. In these cases the syslog gets flushed by messages
  of the same type:

  Sep 28 16:20:57 mbpr13b kernel: [ 4415.337728] usb 2-1: Disable of 
device-initia
  ted U1 failed.
  Sep 28 16:21:02 mbpr13b kernel: [ 4420.349300] usb 2-1: Disable of 
device-initia
  ted U2 failed.
  Sep 28 16:21:07 mbpr13b kernel: [ 4425.735038] xhci_hcd 0000:00:14.0: Timeout 
while waiting for setup device command
  Sep 28 16:21:13 mbpr13b kernel: [ 4431.123885] xhci_hcd 0000:00:14.0: Timeout 
while waiting for setup device command
  Sep 28 16:21:13 mbpr13b kernel: [ 4431.332214] usb 2-1: device not accepting 
address 10, error -62
  Sep 28 16:21:13 mbpr13b kernel: [ 4431.540801] usb 2-1: reset SuperSpeed USB 
device number 10 using xhci_hcd
  Sep 28 16:21:18 mbpr13b kernel: [ 4436.768240] usb 2-1: device descriptor 
read/8, error -110
  Sep 28 16:21:19 mbpr13b kernel: [ 4436.876315] usb 2-1: reset SuperSpeed USB 
device number 10 using xhci_hcd
  Sep 28 16:21:20 mbpr13b systemd-udevd[422]: seq 3859 
'/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/host3/target3:0:0/3:0:0:0/block/sdc'
 is taking a long time
  Sep 28 16:21:24 mbpr13b kernel: [ 4442.154949] usb 2-1: device descriptor 
read/8, error -110
  Sep 28 16:21:24 mbpr13b kernel: [ 4442.471877] usb 2-1: reset SuperSpeed USB 
device number 10 using xhci_hcd
  Sep 28 16:21:28 mbpr13b kernel: [ 4446.611171] Bluetooth: hci0 command 0x0804 
tx timeout
  Sep 28 16:21:29 mbpr13b kernel: [ 4447.540966] usb 2-1: device descriptor 
read/8, error -110
  Sep 28 16:21:29 mbpr13b kernel: [ 4447.649043] usb 2-1: reset SuperSpeed USB 
device number 10 using xhci_hcd
  Sep 28 16:21:29 mbpr13b kernel: [ 4447.797311] usb 2-3: Disable of 
device-initiated U1 failed.
  Sep 28 16:21:35 mbpr13b kernel: [ 4452.926126] usb 2-1: device descriptor 
read/8, error -110
  Sep 28 16:21:35 mbpr13b kernel: [ 4452.926131] usb 2-3: Disable of 
device-initiated U2 failed.
  Sep 28 16:21:35 mbpr13b kernel: [ 4453.242771] usb 2-1: reset SuperSpeed USB 
dev
  ice number 10 using xhci_hcd
  Sep 28 16:21:40 mbpr13b kernel: [ 4458.054207] usb 2-3: 
usb_reset_and_verify_dev
  ice Failed to disable LTM
  Sep 28 16:21:40 mbpr13b kernel: [ 4458.054207] .
  Sep 28 16:21:40 mbpr13b kernel: [ 4458.086102] usb 2-3: USB disconnect, 
device n
  umber 2
  Sep 28 16:21:40 mbpr13b fwupd[1857]: fu_plugin_device_remove: assertion 
'FU_IS_D
  EVICE (device)' failed
  Sep 28 16:21:40 mbpr13b fwupd[1857]: g_object_unref: assertion 'G_IS_OBJECT 
(obj
  ect)' failed
  Sep 28 16:21:40 mbpr13b kernel: [ 4458.310544] usb 2-1: device descriptor 
read/8
  , error -110
  Sep 28 16:21:40 mbpr13b kernel: [ 4458.418623] usb 2-1: reset SuperSpeed USB 
dev
  ice number 10 using xhci_hcd
  Sep 28 16:21:45 mbpr13b kernel: [ 4463.694406] usb 2-1: device descriptor 
read/8
  , error -110
  Sep 28 16:21:46 mbpr13b kernel: [ 4463.938745] sd 3:0:0:0: [sdc] tag#0 FAILED 
Re
  sult: hostbyte=DID_ERROR driverbyte=DRIVER_OK
  Sep 28 16:21:46 mbpr13b kernel: [ 4463.938754] sd 3:0:0:0: [sdc] tag#0 CDB: 
Read(10) 28 00 00 00 00 40 00 00 38 00
  Sep 28 16:21:46 mbpr13b kernel: [ 4463.938758] print_req_error: I/O error, 
dev sdc, sector 64
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.010890] usb 2-3: new SuperSpeed USB 
device number 11 using xhci_hcd
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.102914] sd 3:0:0:0: [sdc] tag#0 FAILED 
Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.102919] sd 3:0:0:0: [sdc] tag#0 CDB: 
Read(10) 28 00 00 00 00 80 00 01 80 00
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.102922] print_req_error: I/O error, 
dev sdc, sector 128
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.183017] sd 3:0:0:0: [sdc] tag#0 FAILED 
Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.183021] sd 3:0:0:0: [sdc] tag#0 CDB: 
Read(10) 28 00 00 00 00 40 00 00 08 00
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.415377] print_req_error: I/O error, 
dev s
  dc, sector 132
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.415384] Buffer I/O error on dev sdc, 
logi
  cal block 66, async page read
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.415388] Buffer I/O error on dev sdc, 
logi
  cal block 67, async page read
  Sep 28 16:21:46 mbpr13b kernel: [ 4464.660189] sdc: detected capacity change 
fro
  m 15376000000 to 0
  Sep 28 16:21:51 mbpr13b kernel: [ 4469.077710] usb 2-3: device descriptor 
read/8
  , error -110
  Sep 28 16:21:51 mbpr13b kernel: [ 4469.185593] usb 2-3: new SuperSpeed USB 
devic
  e number 11 using xhci_hcd
  Sep 28 16:21:56 mbpr13b kernel: [ 4474.460322] usb 2-3: device descriptor 
read/8
  , error -110
  Sep 28 16:21:56 mbpr13b kernel: [ 4474.776767] usb 2-3: new SuperSpeed USB 
device number 12 using xhci_hcd
  Sep 28 16:22:07 mbpr13b kernel: [ 4485.224171] usb 2-3: device descriptor 
read/8
  , error -110
  Sep 28 16:22:07 mbpr13b kernel: [ 4485.540482] usb 2-3: new SuperSpeed USB 
devic
  e number 13 using xhci_hcd
  Sep 28 16:22:12 mbpr13b kernel: [ 4490.605375] usb 2-3: device descriptor 
read/8, error -110
  Sep 28 16:22:12 mbpr13b kernel: [ 4490.713358] usb 2-3: new SuperSpeed USB 
device number 13 using xhci_hcd
  Sep 28 16:22:18 mbpr13b kernel: [ 4495.986298] usb 2-3: device descriptor 
read/8, error -110
  Sep 28 16:22:18 mbpr13b kernel: [ 4496.302638] usb 2-3: new SuperSpeed USB 
device number 14 using xhci_hcd
  Sep 28 16:22:23 mbpr13b kernel: [ 4501.366750] usb 2-3: device descriptor 
read/8, error -110
  Sep 28 16:22:23 mbpr13b kernel: [ 4501.474694] usb 2-3: new SuperSpeed USB 
device number 14 using xhci_hcd
  Sep 28 16:22:28 mbpr13b kernel: [ 4506.747007] usb 2-3: device descriptor 
read/8, error -110
  Sep 28 16:22:28 mbpr13b kernel: [ 4506.882895] usb usb2-port3: unable to 
enumerate USB device
  ...

  counting up the device numbers

  Checking the USB stick manually does not reveal bad blocks or device
  errors.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-12-generic 4.13.0-12.13
  ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
  Uname: Linux 4.13.0-12-generic x86_64
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  wolf       1549 F.... pulseaudio
   /dev/snd/controlC0:  wolf       1549 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Sep 28 16:26:17 2017
  HibernationDevice: RESUME=UUID=88d69bc7-ac96-42c6-bf6d-5c912964a63b
  InstallationDate: Installed on 2017-09-05 (23 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170902)
  MachineType: Apple Inc. MacBookPro12,1
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-12-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-12-generic N/A
   linux-backports-modules-4.13.0-12-generic  N/A
   linux-firmware                             1.168
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/18/2017
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0167.B33.1706181928
  dmi.board.name: Mac-E43C1C25D4880AD6
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro12,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-E43C1C25D4880AD6
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B33.1706181928:bd06/18/2017:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  dmi.product.family: MacBook Pro
  dmi.product.name: MacBookPro12,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1720157/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to