Ok, I will try newer kernel on the weekend. Until then I can't check it. Sorry.
Uwe Am August 5, 2019 12:55:30 PM UTC schrieb Kai-Heng Feng <[email protected]>: >I asked that because I've observed that on my machine if I reboot the >system from older kernel. >New kernels have a fix for USB2 LPM shutdown, exactly for issues like >this one. > >-- >You received this bug notification because you are subscribed to the >bug >report. >https://bugs.launchpad.net/bugs/1838886 > >Title: > New ID in ums-realtek module breaks cardreader > >Status in linux package in Ubuntu: > Confirmed > >Bug 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 > >To manage notifications about this bug go to: >https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838886/+subscriptions -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838886 Title: New ID in ums-realtek module breaks cardreader To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1838886/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
