Activity log for bug #1838886

Date Who What changed Old value New value Message
2019-08-04 16:21:10 Uwe Schindler bug added bug
2019-08-04 16:30:06 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2019-08-04 17:10:26 Uwe Schindler tags apport-collected bionic
2019-08-04 17:10:27 Uwe Schindler description When installing the latest HWE stack (Linux 5.0) to Ubuntu 18.04, the Realtek cardreader in my ZOTAC ZBOX-CI323NANO stops working correctly. Previously it accepted SD cards all the time. Now it looks like you have to insert the card on booting or shortly after booting to access it. If you wait longer, it no longer detects the card. The reason for this can be found in the kernel log (dmes). On boot it seems to detect a card in the reader, although there is none. After a while it says "Read capacity failed" and "scsi 2:0:0:0: rejecting I/O to dead device" and then resets the device. It tries this 3 times and then gives up completely. After that any real device plugged is no longer detected. The device is: idVendor=0bda, idProduct=0153, bcdDevice=57.13 Support for this was added in mainline kernel: https://github.com/torvalds/linux/commit/1a6dd3fea131276a4fc44ae77b0f471b0b473577 And this seems to be backported to 5.0 kernel in Ubuntu 18.04 HWE stack. Full log on boot (no card inserted): [ 3.689559] usb 1-5.1: new high-speed USB device number 4 using xhci_hcd [ 3.898312] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 3.898316] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.898319] usb 1-5.1: Product: USB2.0-CRW [ 3.898322] usb 1-5.1: Manufacturer: Generic [ 3.898324] usb 1-5.1: SerialNumber: 20120926571200000 [ 3.911571] usbcore: registered new interface driver usb-storage [ 3.914796] usbcore: registered new interface driver uas [ 3.917676] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 3.924478] scsi host2: usb-storage 1-5.1:1.0 [ 3.924649] usbcore: registered new interface driver ums-realtek [...] [ 13.477360] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 13.509592] scsi host2: usb-storage 1-5.1:1.0 [ 14.544213] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 14.545237] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 14.549430] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 170.961728] scsi 2:0:0:0: rejecting I/O to dead device [ 170.962069] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 170.962073] scsi 2:0:0:0: [sdb] Sense not available. [ 171.985846] usb 1-5.1: new high-speed USB device number 8 using xhci_hcd [ 172.194299] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 172.194317] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 172.194327] usb 1-5.1: Product: USB2.0-CRW [ 172.194338] usb 1-5.1: Manufacturer: Generic [ 172.194346] usb 1-5.1: SerialNumber: 20120926571200000 [ 172.200625] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 172.212503] scsi host2: usb-storage 1-5.1:1.0 [ 173.233036] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 173.233796] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 173.239620] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 329.654468] usb 1-5.1: USB disconnect, device number 8 [ 329.665905] scsi 2:0:0:0: rejecting I/O to dead device [ 329.665970] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 329.665976] scsi 2:0:0:0: [sdb] Sense not available. [ 330.701685] usb 1-5.1: new high-speed USB device number 9 using xhci_hcd [ 330.910415] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 330.910433] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 330.910444] usb 1-5.1: Product: USB2.0-CRW [ 330.910455] usb 1-5.1: Manufacturer: Generic [ 330.910463] usb 1-5.1: SerialNumber: 20120926571200000 [ 330.917013] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 330.932295] scsi host2: usb-storage 1-5.1:1.0 [ 331.952829] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 331.953686] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 331.960126] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 488.343981] usb 1-5.1: USB disconnect, device number 9 [ 488.354292] scsi 2:0:0:0: rejecting I/O to dead device [ 488.356453] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 488.356458] scsi 2:0:0:0: [sdb] Sense not available. After time 488, any SD card inserted is no longer detected, because driver gave up. Please revert adding the device with idVendor=0bda, idProduct=0153 to ums-realtek and let it be handled by default driver and please also report this bug upstream. After this change it's unfortunately no longet possible to force the kernel to use the default driver, or is there a module option? When installing the latest HWE stack (Linux 5.0) to Ubuntu 18.04, the Realtek cardreader in my ZOTAC ZBOX-CI323NANO stops working correctly. Previously it accepted SD cards all the time. Now it looks like you have to insert the card on booting or shortly after booting to access it. If you wait longer, it no longer detects the card. The reason for this can be found in the kernel log (dmes). On boot it seems to detect a card in the reader, although there is none. After a while it says "Read capacity failed" and "scsi 2:0:0:0: rejecting I/O to dead device" and then resets the device. It tries this 3 times and then gives up completely. After that any real device plugged is no longer detected. The device is: idVendor=0bda, idProduct=0153, bcdDevice=57.13 Support for this was added in mainline kernel: https://github.com/torvalds/linux/commit/1a6dd3fea131276a4fc44ae77b0f471b0b473577 And this seems to be backported to 5.0 kernel in Ubuntu 18.04 HWE stack. Full log on boot (no card inserted): [ 3.689559] usb 1-5.1: new high-speed USB device number 4 using xhci_hcd [ 3.898312] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 3.898316] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.898319] usb 1-5.1: Product: USB2.0-CRW [ 3.898322] usb 1-5.1: Manufacturer: Generic [ 3.898324] usb 1-5.1: SerialNumber: 20120926571200000 [ 3.911571] usbcore: registered new interface driver usb-storage [ 3.914796] usbcore: registered new interface driver uas [ 3.917676] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 3.924478] scsi host2: usb-storage 1-5.1:1.0 [ 3.924649] usbcore: registered new interface driver ums-realtek [...] [ 13.477360] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 13.509592] scsi host2: usb-storage 1-5.1:1.0 [ 14.544213] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 14.545237] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 14.549430] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 170.961728] scsi 2:0:0:0: rejecting I/O to dead device [ 170.962069] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 170.962073] scsi 2:0:0:0: [sdb] Sense not available. [ 171.985846] usb 1-5.1: new high-speed USB device number 8 using xhci_hcd [ 172.194299] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 172.194317] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 172.194327] usb 1-5.1: Product: USB2.0-CRW [ 172.194338] usb 1-5.1: Manufacturer: Generic [ 172.194346] usb 1-5.1: SerialNumber: 20120926571200000 [ 172.200625] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 172.212503] scsi host2: usb-storage 1-5.1:1.0 [ 173.233036] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 173.233796] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 173.239620] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 329.654468] usb 1-5.1: USB disconnect, device number 8 [ 329.665905] scsi 2:0:0:0: rejecting I/O to dead device [ 329.665970] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 329.665976] scsi 2:0:0:0: [sdb] Sense not available. [ 330.701685] usb 1-5.1: new high-speed USB device number 9 using xhci_hcd [ 330.910415] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 330.910433] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 330.910444] usb 1-5.1: Product: USB2.0-CRW [ 330.910455] usb 1-5.1: Manufacturer: Generic [ 330.910463] usb 1-5.1: SerialNumber: 20120926571200000 [ 330.917013] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 330.932295] scsi host2: usb-storage 1-5.1:1.0 [ 331.952829] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 331.953686] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 331.960126] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 488.343981] usb 1-5.1: USB disconnect, device number 9 [ 488.354292] scsi 2:0:0:0: rejecting I/O to dead device [ 488.356453] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 488.356458] scsi 2:0:0:0: [sdb] Sense not available. After time 488, any SD card inserted is no longer detected, because driver gave up. Please revert adding the device with idVendor=0bda, idProduct=0153 to ums-realtek and let it be handled by default driver and please also report this bug upstream. After this change it's unfortunately no longet possible to force the kernel to use the default driver, or is there a module option? --- ProblemType: Bug AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.0.0-23-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2017-09-12 (690 days ago) InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T Bus 001 Device 005: ID 8087:0a2a Intel Corp. Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: ZOTAC ZBOX-CI323NANO Package: linux (not installed) ProcEnviron: TERM=cygwin PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e5aafb31-5d5d-4f35-bd44-b3965316331a ro net.ifnames=0 ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15 RelatedPackageVersions: linux-restricted-modules-5.0.0-23-generic N/A linux-backports-modules-5.0.0-23-generic N/A linux-firmware 1.173.9 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' Tags: bionic Uname: Linux 5.0.0-23-generic x86_64 UpgradeStatus: Upgraded to bionic on 2018-08-15 (353 days ago) UserGroups: _MarkForUpload: True dmi.bios.date: 03/07/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: B301P021 dmi.board.asset.tag: N/A dmi.board.name: ZBOX-CI323NANO dmi.board.vendor: ZOTAC dmi.board.version: XX dmi.chassis.asset.tag: Default string dmi.chassis.type: 2 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrB301P021:bd03/07/2017:svnZOTAC:pnZBOX-CI323NANO:pvrXX:rvnZOTAC:rnZBOX-CI323NANO:rvrXX:cvnDefaultstring:ct2:cvrDefaultstring: dmi.product.family: N/A dmi.product.name: ZBOX-CI323NANO dmi.product.sku: N/A dmi.product.version: XX dmi.sys.vendor: ZOTAC
2019-08-04 17:10:28 Uwe Schindler attachment added AlsaDevices.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280755/+files/AlsaDevices.txt
2019-08-04 17:10:29 Uwe Schindler attachment added CRDA.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280756/+files/CRDA.txt
2019-08-04 17:10:30 Uwe Schindler attachment added Card0.Codecs.codec.0.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280757/+files/Card0.Codecs.codec.0.txt
2019-08-04 17:10:31 Uwe Schindler attachment added Card0.Codecs.codec.2.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280758/+files/Card0.Codecs.codec.2.txt
2019-08-04 17:10:32 Uwe Schindler attachment added CurrentDmesg.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280759/+files/CurrentDmesg.txt
2019-08-04 17:10:34 Uwe Schindler attachment added IwConfig.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280760/+files/IwConfig.txt
2019-08-04 17:10:35 Uwe Schindler attachment added Lspci.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280761/+files/Lspci.txt
2019-08-04 17:10:37 Uwe Schindler attachment added PciMultimedia.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280762/+files/PciMultimedia.txt
2019-08-04 17:10:38 Uwe Schindler attachment added ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280763/+files/ProcCpuinfo.txt
2019-08-04 17:10:39 Uwe Schindler attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280764/+files/ProcCpuinfoMinimal.txt
2019-08-04 17:10:40 Uwe Schindler attachment added ProcInterrupts.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280765/+files/ProcInterrupts.txt
2019-08-04 17:10:42 Uwe Schindler attachment added ProcModules.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280766/+files/ProcModules.txt
2019-08-04 17:10:44 Uwe Schindler attachment added UdevDb.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280767/+files/UdevDb.txt
2019-08-04 17:10:46 Uwe Schindler attachment added WifiSyslog.txt https://bugs.launchpad.net/bugs/1838886/+attachment/5280768/+files/WifiSyslog.txt
2019-08-04 17:12:17 Uwe Schindler linux (Ubuntu): status Incomplete Confirmed
2019-08-04 18:11:40 Kai-Heng Feng linux (Ubuntu): assignee Kai-Heng Feng (kaihengfeng)
2019-08-05 06:31:16 Tiffany bug added subscriber Tiffany
2019-08-14 07:49:02 Uwe Schindler attachment added dmesg.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838886/+attachment/5282471/+files/dmesg.txt
2019-09-02 09:08:41 Kai-Heng Feng description When installing the latest HWE stack (Linux 5.0) to Ubuntu 18.04, the Realtek cardreader in my ZOTAC ZBOX-CI323NANO stops working correctly. Previously it accepted SD cards all the time. Now it looks like you have to insert the card on booting or shortly after booting to access it. If you wait longer, it no longer detects the card. The reason for this can be found in the kernel log (dmes). On boot it seems to detect a card in the reader, although there is none. After a while it says "Read capacity failed" and "scsi 2:0:0:0: rejecting I/O to dead device" and then resets the device. It tries this 3 times and then gives up completely. After that any real device plugged is no longer detected. The device is: idVendor=0bda, idProduct=0153, bcdDevice=57.13 Support for this was added in mainline kernel: https://github.com/torvalds/linux/commit/1a6dd3fea131276a4fc44ae77b0f471b0b473577 And this seems to be backported to 5.0 kernel in Ubuntu 18.04 HWE stack. Full log on boot (no card inserted): [ 3.689559] usb 1-5.1: new high-speed USB device number 4 using xhci_hcd [ 3.898312] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 3.898316] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.898319] usb 1-5.1: Product: USB2.0-CRW [ 3.898322] usb 1-5.1: Manufacturer: Generic [ 3.898324] usb 1-5.1: SerialNumber: 20120926571200000 [ 3.911571] usbcore: registered new interface driver usb-storage [ 3.914796] usbcore: registered new interface driver uas [ 3.917676] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 3.924478] scsi host2: usb-storage 1-5.1:1.0 [ 3.924649] usbcore: registered new interface driver ums-realtek [...] [ 13.477360] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 13.509592] scsi host2: usb-storage 1-5.1:1.0 [ 14.544213] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 14.545237] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 14.549430] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 170.961728] scsi 2:0:0:0: rejecting I/O to dead device [ 170.962069] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 170.962073] scsi 2:0:0:0: [sdb] Sense not available. [ 171.985846] usb 1-5.1: new high-speed USB device number 8 using xhci_hcd [ 172.194299] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 172.194317] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 172.194327] usb 1-5.1: Product: USB2.0-CRW [ 172.194338] usb 1-5.1: Manufacturer: Generic [ 172.194346] usb 1-5.1: SerialNumber: 20120926571200000 [ 172.200625] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 172.212503] scsi host2: usb-storage 1-5.1:1.0 [ 173.233036] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 173.233796] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 173.239620] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 329.654468] usb 1-5.1: USB disconnect, device number 8 [ 329.665905] scsi 2:0:0:0: rejecting I/O to dead device [ 329.665970] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 329.665976] scsi 2:0:0:0: [sdb] Sense not available. [ 330.701685] usb 1-5.1: new high-speed USB device number 9 using xhci_hcd [ 330.910415] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 330.910433] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 330.910444] usb 1-5.1: Product: USB2.0-CRW [ 330.910455] usb 1-5.1: Manufacturer: Generic [ 330.910463] usb 1-5.1: SerialNumber: 20120926571200000 [ 330.917013] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 330.932295] scsi host2: usb-storage 1-5.1:1.0 [ 331.952829] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 331.953686] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 331.960126] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 488.343981] usb 1-5.1: USB disconnect, device number 9 [ 488.354292] scsi 2:0:0:0: rejecting I/O to dead device [ 488.356453] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 488.356458] scsi 2:0:0:0: [sdb] Sense not available. After time 488, any SD card inserted is no longer detected, because driver gave up. Please revert adding the device with idVendor=0bda, idProduct=0153 to ums-realtek and let it be handled by default driver and please also report this bug upstream. After this change it's unfortunately no longet possible to force the kernel to use the default driver, or is there a module option? --- ProblemType: Bug AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.0.0-23-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2017-09-12 (690 days ago) InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T Bus 001 Device 005: ID 8087:0a2a Intel Corp. Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: ZOTAC ZBOX-CI323NANO Package: linux (not installed) ProcEnviron: TERM=cygwin PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e5aafb31-5d5d-4f35-bd44-b3965316331a ro net.ifnames=0 ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15 RelatedPackageVersions: linux-restricted-modules-5.0.0-23-generic N/A linux-backports-modules-5.0.0-23-generic N/A linux-firmware 1.173.9 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' Tags: bionic Uname: Linux 5.0.0-23-generic x86_64 UpgradeStatus: Upgraded to bionic on 2018-08-15 (353 days ago) UserGroups: _MarkForUpload: True dmi.bios.date: 03/07/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: B301P021 dmi.board.asset.tag: N/A dmi.board.name: ZBOX-CI323NANO dmi.board.vendor: ZOTAC dmi.board.version: XX dmi.chassis.asset.tag: Default string dmi.chassis.type: 2 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrB301P021:bd03/07/2017:svnZOTAC:pnZBOX-CI323NANO:pvrXX:rvnZOTAC:rnZBOX-CI323NANO:rvrXX:cvnDefaultstring:ct2:cvrDefaultstring: dmi.product.family: N/A dmi.product.name: ZBOX-CI323NANO dmi.product.sku: N/A dmi.product.version: XX dmi.sys.vendor: ZOTAC === SRU Justification === [Impact] Some ums-realtek card readers may dropped from USB bus after using ums-realtek driver instead of usb-storage generic driver. [Fix] Disable auto-delink on new ums-realtek devices, only whitelist three oldest IDs. [Test] Affected user and myself confirmed disabling auto-delink works. [Regression Potential] Minimal. Limited to one specific driver and this also restore the old behavior. === Original Bug Report === When installing the latest HWE stack (Linux 5.0) to Ubuntu 18.04, the Realtek cardreader in my ZOTAC ZBOX-CI323NANO stops working correctly. Previously it accepted SD cards all the time. Now it looks like you have to insert the card on booting or shortly after booting to access it. If you wait longer, it no longer detects the card. The reason for this can be found in the kernel log (dmes). On boot it seems to detect a card in the reader, although there is none. After a while it says "Read capacity failed" and "scsi 2:0:0:0: rejecting I/O to dead device" and then resets the device. It tries this 3 times and then gives up completely. After that any real device plugged is no longer detected. The device is: idVendor=0bda, idProduct=0153, bcdDevice=57.13 Support for this was added in mainline kernel: https://github.com/torvalds/linux/commit/1a6dd3fea131276a4fc44ae77b0f471b0b473577 And this seems to be backported to 5.0 kernel in Ubuntu 18.04 HWE stack. Full log on boot (no card inserted): [ 3.689559] usb 1-5.1: new high-speed USB device number 4 using xhci_hcd [ 3.898312] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 3.898316] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.898319] usb 1-5.1: Product: USB2.0-CRW [ 3.898322] usb 1-5.1: Manufacturer: Generic [ 3.898324] usb 1-5.1: SerialNumber: 20120926571200000 [ 3.911571] usbcore: registered new interface driver usb-storage [ 3.914796] usbcore: registered new interface driver uas [ 3.917676] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 3.924478] scsi host2: usb-storage 1-5.1:1.0 [ 3.924649] usbcore: registered new interface driver ums-realtek [...] [ 13.477360] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 13.509592] scsi host2: usb-storage 1-5.1:1.0 [ 14.544213] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 14.545237] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 14.549430] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 170.961728] scsi 2:0:0:0: rejecting I/O to dead device [ 170.962069] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 170.962073] scsi 2:0:0:0: [sdb] Sense not available. [ 171.985846] usb 1-5.1: new high-speed USB device number 8 using xhci_hcd [ 172.194299] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 172.194317] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 172.194327] usb 1-5.1: Product: USB2.0-CRW [ 172.194338] usb 1-5.1: Manufacturer: Generic [ 172.194346] usb 1-5.1: SerialNumber: 20120926571200000 [ 172.200625] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 172.212503] scsi host2: usb-storage 1-5.1:1.0 [ 173.233036] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 173.233796] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 173.239620] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 329.654468] usb 1-5.1: USB disconnect, device number 8 [ 329.665905] scsi 2:0:0:0: rejecting I/O to dead device [ 329.665970] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 329.665976] scsi 2:0:0:0: [sdb] Sense not available. [ 330.701685] usb 1-5.1: new high-speed USB device number 9 using xhci_hcd [ 330.910415] usb 1-5.1: New USB device found, idVendor=0bda, idProduct=0153, bcdDevice=57.13 [ 330.910433] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 330.910444] usb 1-5.1: Product: USB2.0-CRW [ 330.910455] usb 1-5.1: Manufacturer: Generic [ 330.910463] usb 1-5.1: SerialNumber: 20120926571200000 [ 330.917013] ums-realtek 1-5.1:1.0: USB Mass Storage device detected [ 330.932295] scsi host2: usb-storage 1-5.1:1.0 [ 331.952829] scsi 2:0:0:0: Direct-Access Generic- SD/MMC/MS PRO 1.00 PQ: 0 ANSI: 4 [ 331.953686] sd 2:0:0:0: Attached scsi generic sg1 type 0 [ 331.960126] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 488.343981] usb 1-5.1: USB disconnect, device number 9 [ 488.354292] scsi 2:0:0:0: rejecting I/O to dead device [ 488.356453] scsi 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_ERROR [ 488.356458] scsi 2:0:0:0: [sdb] Sense not available. After time 488, any SD card inserted is no longer detected, because driver gave up. Please revert adding the device with idVendor=0bda, idProduct=0153 to ums-realtek and let it be handled by default driver and please also report this bug upstream. After this change it's unfortunately no longet possible to force the kernel to use the default driver, or is there a module option? --- ProblemType: Bug AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.0.0-23-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer': 'amixer' DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2017-09-12 (690 days ago) InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) Lsusb:  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  Bus 001 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T  Bus 001 Device 005: ID 8087:0a2a Intel Corp.  Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: ZOTAC ZBOX-CI323NANO Package: linux (not installed) ProcEnviron:  TERM=cygwin  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=en_US.UTF-8  SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e5aafb31-5d5d-4f35-bd44-b3965316331a ro net.ifnames=0 ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15 RelatedPackageVersions:  linux-restricted-modules-5.0.0-23-generic N/A  linux-backports-modules-5.0.0-23-generic N/A  linux-firmware 1.173.9 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' Tags: bionic Uname: Linux 5.0.0-23-generic x86_64 UpgradeStatus: Upgraded to bionic on 2018-08-15 (353 days ago) UserGroups: _MarkForUpload: True dmi.bios.date: 03/07/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: B301P021 dmi.board.asset.tag: N/A dmi.board.name: ZBOX-CI323NANO dmi.board.vendor: ZOTAC dmi.board.version: XX dmi.chassis.asset.tag: Default string dmi.chassis.type: 2 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrB301P021:bd03/07/2017:svnZOTAC:pnZBOX-CI323NANO:pvrXX:rvnZOTAC:rnZBOX-CI323NANO:rvrXX:cvnDefaultstring:ct2:cvrDefaultstring: dmi.product.family: N/A dmi.product.name: ZBOX-CI323NANO dmi.product.sku: N/A dmi.product.version: XX dmi.sys.vendor: ZOTAC
2019-09-02 09:08:49 Kai-Heng Feng nominated for series Ubuntu Eoan
2019-09-02 09:08:49 Kai-Heng Feng bug task added linux (Ubuntu Eoan)
2019-09-02 09:08:49 Kai-Heng Feng nominated for series Ubuntu Disco
2019-09-02 09:08:49 Kai-Heng Feng bug task added linux (Ubuntu Disco)
2019-09-02 09:08:49 Kai-Heng Feng nominated for series Ubuntu Bionic
2019-09-02 09:08:49 Kai-Heng Feng bug task added linux (Ubuntu Bionic)
2019-09-02 09:08:54 Kai-Heng Feng linux (Ubuntu Eoan): assignee Kai-Heng Feng (kaihengfeng)
2019-09-25 08:21:58 Stefan Bader linux (Ubuntu Bionic): importance Undecided Medium
2019-09-25 08:22:03 Stefan Bader linux (Ubuntu Disco): importance Undecided Medium
2019-09-27 12:38:21 Kleber Sacilotto de Souza linux (Ubuntu Bionic): status New Fix Committed
2019-09-27 12:39:40 Kleber Sacilotto de Souza linux (Ubuntu Disco): status New Fix Committed
2019-10-02 21:38:08 Ubuntu Kernel Bot tags apport-collected bionic apport-collected bionic verification-needed-bionic
2019-10-03 09:09:26 Uwe Schindler tags apport-collected bionic verification-needed-bionic apport-collected bionic verification-failed-bionic
2019-10-03 14:53:32 Ubuntu Kernel Bot tags apport-collected bionic verification-failed-bionic apport-collected bionic verification-failed-bionic verification-needed-xenial
2019-10-04 15:57:06 Ubuntu Kernel Bot tags apport-collected bionic verification-failed-bionic verification-needed-xenial apport-collected bionic verification-failed-bionic verification-needed-disco verification-needed-xenial
2019-10-05 10:26:05 Uwe Schindler tags apport-collected bionic verification-failed-bionic verification-needed-disco verification-needed-xenial apport-collected bionic verification-done-disco verification-needed-xenial
2019-10-16 06:45:16 Launchpad Janitor linux (Ubuntu Disco): status Fix Committed Fix Released
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-14814
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-14815
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-14816
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-14821
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-15505
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-16714
2019-10-16 06:45:16 Launchpad Janitor cve linked 2019-2181
2019-10-17 15:33:07 Khaled El Mously tags apport-collected bionic verification-done-disco verification-needed-xenial apport-collected bionic verification-done-bionic verification-done-disco verification-needed-xenial
2019-10-18 04:26:42 Khaled El Mously tags apport-collected bionic verification-done-bionic verification-done-disco verification-needed-xenial apport-collected bionic verification-done-bionic verification-done-disco verification-done-xenial
2019-10-21 10:46:33 Launchpad Janitor linux (Ubuntu Bionic): status Fix Committed Fix Released
2019-10-21 10:46:33 Launchpad Janitor cve linked 2018-21008
2019-10-21 12:58:28 Launchpad Janitor linux (Ubuntu): status Confirmed Fix Released
2019-10-21 12:58:28 Launchpad Janitor cve linked 2017-18232