Just got my new raspberry pi in the post and everything works fine with the bundled SD card, but as soon as I image HA to the raspikey, the SD card isn’t recognised on boot up.
There’s a working solution here but not for HA OS:
opened 01:05PM - 03 Dec 23 UTC
closed 01:12PM - 15 Mar 24 UTC
**Describe the bug**
When i replace the SDCard with the RaspiKey (32GB) the Sys… tem will not work.
It comes to CQE Recovery and root gets read only.
The RaspiKey itself works fine in a RPI4 8GB.
**System**
Raspberry Pi5 8GB fully updated Raspberry Pi OS
eeprom 2023/11/20 19:40:17
version 361205c6 (release) (embedded)
6.1.64-v8-16k+ raspberrypi/firmware#1702 SMP PREEMPT Wed Nov 29 14:26:42 GMT 2023 aarch64 GNU/Linux
**Logs**
```
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] ------------[ cut here ]------------
[Do Nov 30 20:19:26 2023] mmc0: cqhci: spurious TCN for tag 10
[Do Nov 30 20:19:26 2023] WARNING: CPU: 0 PID: 98 at drivers/mmc/host/cqhci-core.c:787 cqhci_irq+0x394/0x598
[Do Nov 30 20:19:26 2023] Modules linked in: vhost_net tun vhost vhost_iotlb tap drm fuse drm_panel_orientation_quirks backlight dm_mod ip_tables x_tables ipv6
[Do Nov 30 20:19:26 2023] CPU: 0 PID: 98 Comm: kworker/0:1H Not tainted 6.1.63-v8-16k+ raspberrypi/firmware#1700
[Do Nov 30 20:19:26 2023] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
[Do Nov 30 20:19:26 2023] Workqueue: kblockd blk_mq_run_work_fn
[Do Nov 30 20:19:26 2023] pstate: 404000c9 (nZcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[Do Nov 30 20:19:26 2023] pc : cqhci_irq+0x394/0x598
[Do Nov 30 20:19:26 2023] lr : cqhci_irq+0x394/0x598
[Do Nov 30 20:19:26 2023] sp : ffffc00008003d60
[Do Nov 30 20:19:26 2023] x29: ffffc00008003d60 x28: ffff8001001b6540 x27: 0000000000000001
[Do Nov 30 20:19:26 2023] x26: ffff80010075c298 x25: ffffd0000cf79698 x24: ffffd0000d69b132
[Do Nov 30 20:19:26 2023] x23: ffffd0000cf99d98 x22: ffff8001001b6000 x21: ffff80010075c280
[Do Nov 30 20:19:26 2023] x20: 0000000000000002 x19: 000000000000000a x18: 0000000000000001
[Do Nov 30 20:19:26 2023] x17: ffffb001f2928000 x16: ffffc00008000000 x15: ffffffffffffffff
[Do Nov 30 20:19:26 2023] x14: 0000000000000000 x13: 3031206761742072 x12: ffffd0000d54f7d0
[Do Nov 30 20:19:26 2023] x11: 0000000000000003 x10: 0000000000000001 x9 : ffffd0000c0f590c
[Do Nov 30 20:19:26 2023] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : ffffd0000d537790
[Do Nov 30 20:19:26 2023] x5 : ffff8001ffa9aa10 x4 : 0000000000000000 x3 : ffffb001f2928000
[Do Nov 30 20:19:26 2023] x2 : ffff800101313600 x1 : a8b37fea2d466800 x0 : 0000000000000000
[Do Nov 30 20:19:26 2023] Call trace:
[Do Nov 30 20:19:26 2023] cqhci_irq+0x394/0x598
[Do Nov 30 20:19:26 2023] sdhci_brcmstb_cqhci_irq+0x64/0x90
[Do Nov 30 20:19:26 2023] sdhci_irq+0xb8/0x1018
[Do Nov 30 20:19:26 2023] __handle_irq_event_percpu+0x88/0x280
[Do Nov 30 20:19:26 2023] handle_irq_event_percpu+0x20/0x68
[Do Nov 30 20:19:26 2023] handle_irq_event+0x50/0xa8
[Do Nov 30 20:19:26 2023] handle_fasteoi_irq+0xd0/0x180
[Do Nov 30 20:19:26 2023] generic_handle_domain_irq+0x34/0x50
[Do Nov 30 20:19:26 2023] gic_handle_irq+0xa0/0xd8
[Do Nov 30 20:19:26 2023] call_on_irq_stack+0x24/0x4c
[Do Nov 30 20:19:26 2023] do_interrupt_handler+0x8c/0x90
[Do Nov 30 20:19:26 2023] el1_interrupt+0x38/0x70
[Do Nov 30 20:19:26 2023] el1h_64_irq_handler+0x18/0x28
[Do Nov 30 20:19:26 2023] el1h_64_irq+0x64/0x68
[Do Nov 30 20:19:26 2023] _raw_spin_unlock_irqrestore+0x30/0x70
[Do Nov 30 20:19:26 2023] sdhci_cqe_enable+0x130/0x1a8
[Do Nov 30 20:19:26 2023] sdhci_brcmstb_cqe_enable+0x9c/0xc0
[Do Nov 30 20:19:26 2023] cqhci_request+0xd4/0x508
[Do Nov 30 20:19:26 2023] mmc_cqe_start_req+0x74/0x118
[Do Nov 30 20:19:26 2023] mmc_blk_mq_issue_rq+0x418/0x7f8
[Do Nov 30 20:19:26 2023] mmc_mq_queue_rq+0x118/0x2b0
[Do Nov 30 20:19:26 2023] blk_mq_dispatch_rq_list+0x324/0x8f8
[Do Nov 30 20:19:26 2023] __blk_mq_sched_dispatch_requests+0xc8/0x178
[Do Nov 30 20:19:26 2023] blk_mq_sched_dispatch_requests+0x40/0x80
[Do Nov 30 20:19:26 2023] __blk_mq_run_hw_queue+0x84/0xc0
[Do Nov 30 20:19:26 2023] blk_mq_run_work_fn+0x28/0x38
[Do Nov 30 20:19:26 2023] process_one_work+0x208/0x480
[Do Nov 30 20:19:26 2023] worker_thread+0x50/0x428
[Do Nov 30 20:19:26 2023] kthread+0x114/0x120
[Do Nov 30 20:19:26 2023] ret_from_fork+0x10/0x20
[Do Nov 30 20:19:26 2023] ---[ end trace 0000000000000000 ]---
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] I/O error, dev mmcblk0, sector 1581064 op 0x1:(WRITE) flags 0x800 phys_seg 3 prio class 2
[Do Nov 30 20:19:26 2023] Aborting journal on device mmcblk0p2-8.
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] mmc0: running CQE recovery
[Do Nov 30 20:19:26 2023] systemd-journald[153]: File /var/log/journal/b0d9f83665a145d68a3f5b5b12bfed5e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[Do Nov 30 20:19:26 2023] I/O error, dev mmcblk0, sector 1581056 op 0x1:(WRITE) flags 0x20800 phys_seg 1 prio class 2
[Do Nov 30 20:19:26 2023] Buffer I/O error on dev mmcblk0p2, logical block 131072, lost sync page write
[Do Nov 30 20:19:26 2023] JBD2: I/O error when updating journal superblock for mmcblk0p2-8.
[Do Nov 30 20:19:26 2023] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:83: comm systemd-random-: Detected aborted journal
[Do Nov 30 20:19:26 2023] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:83: comm systemd-journal: Detected aborted journal
[Do Nov 30 20:19:26 2023] EXT4-fs (mmcblk0p2): Remounting filesystem read-only
```
Has anyone got this working? If I need to give up then what are my alternatives for a more reliable storage/memory option…
Thx
MaxK
(Mark)
July 21, 2024, 10:10pm
2
I am not familiar with the RaspiKey so I can’t speak to that. But I believe a high quality SD card is ok provided you have a well tested backup process. See my thoughts here:
SD Card Reliability .
Actually, you should have a well tested backup process regardless of the hardware used.
1 Like