linux-cachyos icon indicating copy to clipboard operation
linux-cachyos copied to clipboard

microsd card reader instability (eevdf)

Open ironswordX opened this issue 1 month ago • 1 comments

when using the kernel linux-cachyos-eevdf, im running into instability issues with my microsd card reader. its a genesys reader (i know theyre crap but its built-in) that i have an sd card, and my home directory on. when using the eevdf kernel variant i run into instability issues with the reader, as it will occasionally randomly disconnect itself and then re-connect (or at least thats what dmesg says).

ive tried forcing udev rules and kernel flags to try and make it use usb2 (more stable), but so far nothing has worked.

dmesg log when the instability im describing occurs:

[ 300.523045] xhci_hcd 0000:00:15.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 300.523083] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[ 300.523088] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 19 e4 f8 00 00 08 00
[ 300.523091] I/O error, dev sda, sector 1697016 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 300.523153] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s 
[ 300.523156] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 03 c8 49 58 00 00 08 00 
[ 300.523158] I/O error, dev sda, sector 63457624 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 [ 300.524955] device offline error, dev sda, sector 63457624 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 
[ 300.525005] device offline error, dev sda, sector 1527144 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2 [ 300.525020] CPU: 1 UID: 1000 PID: 1328 Comm: ThreadPoolForeg Not tainted 6.17.5-1-cachyos-eevdf #1 PREEMPT(full) b0a3d7d7cd37986eafa3a18f2af722e7e98ffde3 
[ 300.525025] Hardware name: Google Bluebird/Bluebird, BIOS MrChromebox-2509.1 10/13/2025 
[ 300.525027] Call Trace:
[ 300.525031] <TASK> 
[ 300.525035] dump_stack_lvl+0x5d/0x80 
[ 300.525047] f2fs_handle_critical_error+0x156/0x1c0 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1] 
[ 300.525111] f2fs_write_end_io+0x4b1/0x4d0 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1]
[ 300.525162] blk_update_request+0x4a0/0x670
[ 300.525169] blk_mq_end_request+0x20/0x320
[ 300.525172] blk_mq_dispatch_rq_list+0x1c7/0x740
[ 300.525176] __blk_mq_sched_dispatch_requests+0x433/0x650
[ 300.525182] blk_mq_sched_dispatch_requests+0x2d/0x70
[ 300.525185] blk_mq_run_hw_queue+0x210/0x4b0
[ 300.525189] blk_mq_get_tag+0x1db/0x290
[ 300.525192] ? __pfx_autoremove_wake_function+0x10/0x10
[ 300.525196] __blk_mq_alloc_requests+0x1c9/0x410
[ 300.525200] blk_mq_submit_bio+0x2f9/0xa80
[ 300.525204] __submit_bio+0xc2/0x260
[ 300.525208] submit_bio_noacct_nocheck+0x267/0x350 
[ 300.525211] f2fs_submit_page_bio+0x122/0x2b0 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1] [ 300.525262] read_node_folio+0xa3/0x120 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1] 
[ 300.525315] f2fs_ra_node_page+0x93/0x100 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1]
[ 300.525366] f2fs_fill_dentries+0x375/0x420 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1]
[ 300.525410] f2fs_readdir+0x1dc/0x390 [f2fs 31149e93384ac2893d3cb837b48e186290834cd1]
[ 300.525452] __x64_sys_getdents64+0x172/0x330
[ 300.525456] ? __pfx_filldir64+0x10/0x10
[ 300.525461] do_syscall_64+0x81/0x970
[ 300.525468] ? __do_sys_newfstatat+0xf5/0x170 
[ 300.525474] ? do_syscall_64+0x81/0x970 
[ 300.525476] ? clear_bhb_loop+0x50/0xa0 
[ 300.525479] ? clear_bhb_loop+0x50/0xa0 
[ 300.525481] ? clear_bhb_loop+0x50/0xa0 
[ 300.525483] entry_SYSCALL_64_after_hwframe+0x76/0x7e 
[ 300.525487] RIP: 0033:0x7fcf280e45d7 
[ 300.525546] Code: 12 00 64 c7 00 16 00 00 00 31 c0 eb 9f 67 e8 c0 30 04 00 f3 0f 1e fa b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 09 37 12 00 f7 d8 64 89 02 48 
[ 300.525548] RSP: 002b:00007fcf1fffa808 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
[ 300.525551] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcf280e45d7 
[ 300.525553] RDX: 0000000000008000 RSI: 000015ac002a8030 RDI: 0000000000000014
[ 300.525554] RBP: 00007fcf1fffa840 R08: 000015ac002a8004 R09: 0000000000000010
[ 300.525556] R10: 0000000000001fff R11: 0000000000000293 R12: aaaaaaaaaaaaaaaa
[ 300.525557] R13: 000015ac001f0248 R14: 00007fcf1fffab50 R15: 000015ac001f0348 
[ 300.525562] </TASK> 
[ 300.526927] F2FS-fs (sda1): Stopped filesystem due to reason: 3
[ 300.527960] device offline error, dev sda, sector 1697128 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 
[ 300.527996] device offline error, dev sda, sector 2056 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 300.528012] F2FS-fs (sda1): f2fs_commit_super fails to record stop_reason, err:-19 
[ 300.548031] device offline error, dev sda, sector 1697888 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 300.548960] device offline error, dev sda, sector 1698688 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 300.548994] device offline error, dev sda, sector 1699288 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 300.549019] device offline error, dev sda, sector 1700448 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[ 300.635719] F2FS-fs (sda1): Stopped filesystem due to reason: 0
[ 300.635775] F2FS-fs (sda1): f2fs_commit_super fails to record stop_reason, err:-19
[ 300.877085] usb 2-6: new SuperSpeed USB device number 3 using xhci_hcd
[ 300.891249] usb 2-6: New USB device found, idVendor=05e3, idProduct=0747, bcdDevice= 8.19
[ 300.891260] usb 2-6: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[ 300.891262] usb 2-6: Product: USB Storage
[ 300.891264] usb 2-6: Manufacturer: Generic
[ 300.891266] usb 2-6: SerialNumber: 000000000819
[ 300.898538] usb-storage 2-6:1.0: USB Mass Storage device detected
[ 300.898919] scsi host1: usb-storage 2-6:1.0
[ 301.914666] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 0819 PQ: 0 ANSI: 6
[ 302.237792] sd 1:0:0:0: [sdb] 122880000 512-byte logical blocks: (62.9 GB/58.6 GiB) 
[ 302.239219] sd 1:0:0:0: [sdb] Write Protect is off 
[ 302.239225] sd 1:0:0:0: [sdb] Mode Sense: 87 00 00 00
[ 302.239764] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA 
[ 302.260891] sdb: sdb1 [ 302.261143] sd 1:0:0:0: [sdb] Attached SCSI removable disk

ironswordX avatar Nov 18 '25 20:11 ironswordX

Can you reproduce this on arch kernel? Make sure to also test on the latest cachyos kernel too.

1Naim avatar Dec 18 '25 05:12 1Naim