I/O errors from SD card slot? (Manjaro, kernel 5.7)
#1
I'm getting I/O errors from some, but not all, attempts to use the SD card slot in my PBP.  `badblocks -w /dev/mmcblk1` completes without error, and `fdisk` is also happy, but when I attempt to run `mkfs.ext4` or `cryptsetup luksFormat` on the (single, whole-disk) partition, the operation fails and I see errors like this in dmesg:

Code:
blk_update_request: I/O error, dev mmcblk1, sector 2120 op 0x1:(WRITE) flags 0x8800 phys_seg 255 prio class 0
blk_update_request: I/O error, dev mmcblk1, sector 2128 op 0x1:(WRITE) flags 0x8800 phys_seg 254 prio class 0
blk_update_request: I/O error, dev mmcblk1, sector 2117 op 0x1:(WRITE) flags 0x8800 phys_seg 255 prio class 0
blk_update_request: I/O error, dev mmcblk1, sector 2127 op 0x1:(WRITE) flags 0x8800 phys_seg 255 prio class 0

(Only one error occurred per attempt to format the partition.)

I put the card into a different computer and was able to create a filesystem successfully, so I don't think the card itself is at fault. However, when I put the formatted card back into the PBP and tried to mount the filesystem or to run e2fsck on it, I got more of the same errors, just with different sector numbers and flags:

Code:
blk_update_request: I/O error, dev mmcblk1, sector 8301 op 0x1:(WRITE) flags 0x8800 phys_seg 251 prio class 0
blk_update_request: I/O error, dev mmcblk1, sector 40960 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
blk_update_request: I/O error, dev mmcblk1, sector 59023360 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0

This is a 2019-batch PBP, so it shipped with MrFixit's modified Debian, and the card slot was working fine with that kernel; I only started seeing problems after I reflashed the internal storage with Manjaro. So right now I'm inclined to suspect a kernel bug. Anyone else seeing similar problems? Workarounds? Debugging advice?


Messages In This Thread
I/O errors from SD card slot? (Manjaro, kernel 5.7) - by zackw - 07-16-2020, 07:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  minimal kernel .config? alchemist 5 3,485 08-15-2022, 06:28 PM
Last Post: svmhdvn
Big Grin EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure Zoroaster-Z 0 36 08-14-2022, 09:01 PM
Last Post: Zoroaster-Z
  Manjaro ARM new version? And hibernate/ sleep mode regretfulpineuser 0 194 06-20-2022, 02:48 PM
Last Post: regretfulpineuser
  MAC Spoofing failing in manjaro slow_motion 7 5,324 06-07-2022, 05:51 PM
Last Post: regretfulpineuser
  Problem SD card willahughes 1 507 03-22-2022, 09:27 AM
Last Post: jiyong
  Manjaro I3 james64 1 557 03-20-2022, 03:45 PM
Last Post: jiyong
  Kali Linux on SD card boot wils91 5 1,575 03-08-2022, 04:39 AM
Last Post: Tazdevl
  Updated stock Manjaro, now won't boot (brick?) pineymousepad 17 4,558 02-18-2022, 02:29 PM
Last Post: jiyong
  PinebookPro Build Errors mexsudo 3 1,303 01-30-2022, 08:36 AM
Last Post: mexsudo
  Kernel panics on Youtube solostian 1 1,090 12-26-2021, 11:45 AM
Last Post: sirspate

Forum Jump:


Users browsing this thread: 1 Guest(s)