You are not logged in.

#1 2024-02-28 10:47:38

domingo
Member
Registered: 2023-06-08
Posts: 10

SD Card reader disconnects by itself (Laptop)

Each time I connect an SD card to the laptop's internal socket and reading activity increases, the card disconnects automatically. This happens under Arch, but not under OSX, so I presume the hardware is fine. The SD card I'm using (256GB UHS-II) contains large sized videos and the card disconnects after playing 4 or 5 clips consecutively, or while generating thumbnails, for example. Different file browsers and desktop environments do the same, so I guess it has to do with the card reader's kernel/driver.

Maybe the driver is reading too fast?

The laptop is a Macbook Pro 2015 11,5. There is a SD Card section in the Macbook wiki, but it refers to a similar failure in a different context (after suspending).

journalctl -f (at failure)

Feb 28 11:17:41 chuma kernel: usb 2-4: USB disconnect, device number 3
Feb 28 11:17:41 chuma kernel: sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
Feb 28 11:17:41 chuma kernel: sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 03 4d 27 d0 00 01 00 00
Feb 28 11:17:41 chuma kernel: I/O error, dev sdb, sector 55388112 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 55388368 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 55388112 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 55388112 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 55388472 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 55388472 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 15908864 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 15908864 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 16039936 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 2
Feb 28 11:17:41 chuma kernel: device offline error, dev sdb, sector 16039936 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Feb 28 11:17:41 chuma kernel: usb 2-4: new SuperSpeed USB device number 4 using xhci_hcd
Feb 28 11:17:41 chuma kernel: usb 2-4: New USB device found, idVendor=05ac, idProduct=8406, bcdDevice= 8.20
Feb 28 11:17:41 chuma kernel: usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
Feb 28 11:17:41 chuma kernel: usb 2-4: Product: Card Reader
Feb 28 11:17:41 chuma kernel: usb 2-4: Manufacturer: Apple
Feb 28 11:17:41 chuma kernel: usb 2-4: SerialNumber: 000000000820
Feb 28 11:17:41 chuma kernel: usb-storage 2-4:1.0: USB Mass Storage device detected
Feb 28 11:17:41 chuma kernel: scsi host2: usb-storage 2-4:1.0
Feb 28 11:17:41 chuma udisksd[673]: Couldn't find existing drive object for device /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host1/target1:0:0/1:0:0:0/block/sdb (uevent action 'change', VPD 'pci-0000:00:14.0-usb-0:4')
Feb 28 11:17:41 chuma udisksd[673]: Cleaning up mount point /run/media/chuma/disk (device 8:17 no longer exists)
Feb 28 11:17:41 chuma org_kde_powerdevil[806]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma baloo_file[661]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma plasmashell[760]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma kded5[700]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma plasmashell[760]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma kded5[700]: kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/block_devices/sdb”" for "/org/freedesktop/UDisks2/block_devices/sdb"
Feb 28 11:17:41 chuma systemd[1]: run-media-chuma-disk.mount: Deactivated successfully.
Feb 28 11:17:41 chuma mtp-probe[6073]: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
Feb 28 11:17:41 chuma mtp-probe[6073]: bus: 2, device: 4 was not an MTP device
Feb 28 11:17:41 chuma mtp-probe[6074]: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
Feb 28 11:17:41 chuma mtp-probe[6074]: bus: 2, device: 4 was not an MTP device
Feb 28 11:17:42 chuma kernel: scsi 2:0:0:0: Direct-Access     APPLE    SD Card Reader   3.00 PQ: 0 ANSI: 6
Feb 28 11:17:43 chuma kernel: sd 2:0:0:0: [sdb] 494403584 512-byte logical blocks: (253 GB/236 GiB)
Feb 28 11:17:43 chuma kernel: sd 2:0:0:0: [sdb] Write Protect is off
Feb 28 11:17:43 chuma kernel: sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
Feb 28 11:17:43 chuma kernel: sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Feb 28 11:17:43 chuma kernel:  sdb: sdb1
Feb 28 11:17:43 chuma kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk

Any hints or help will be very much welcome!

Offline

Board footer

Powered by FluxBB