sd card problems
#1
TL;DR: See the attached picture. Has anybody got a this Micro SDXC class 10 with 1 TB working in a PinePhone or PineBook? Could this be a PAGHY card?

I bought this card around May 2021 after I got the PinePhone in April 2021. My intention is to have a multi-distribution card as described on https://wiki.pine64.org/wiki/PinePhone_P...sing_rk2aw for the PinePhone Pro. In the time before last week I was busy with other things so the card wasn't really used much.

During the preparations several problems occured.
The first hint is "Alternate GPT is invalid, using primary GPT".

[Fr Nov 28 11:11:37 2025] mmc0: new high speed SDXC card at address 215d
[Fr Nov 28 11:11:37 2025] mmcblk0: mmc0:215d APPSD 999 GiB
[Fr Nov 28 11:11:37 2025] Alternate GPT is invalid, using primary GPT.
[Fr Nov 28 11:11:37 2025]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[Fr Nov 28 11:11:37 2025] mmc2: new DDR MMC card at address 0001
[Fr Nov 28 11:11:37 2025] mmcblk2: mmc2:0001 DA4032 29.1 GiB
[Fr Nov 28 11:11:37 2025] mmcblk2boot0: mmc2:0001 DA4032 partition 1 4.00 MiB
[Fr Nov 28 11:11:37 2025] mmcblk2boot1: mmc2:0001 DA4032 partition 2 4.00 MiB
[Fr Nov 28 11:11:37 2025]  mmcblk2: p1 p2

mobian@mobian:~ $ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0      179:0    0  999G  0 disk
├─mmcblk0p1  179:1    0    1G  0 part
├─mmcblk0p2  179:2    0  16G  0 part
├─mmcblk0p3  179:3    0  64G  0 part
├─mmcblk0p4  179:4    0  64G  0 part
├─mmcblk0p5  179:5    0  64G  0 part
├─mmcblk0p6  179:6    0  64G  0 part
├─mmcblk0p7  179:7    0  64G  0 part
└─mmcblk0p8  179:8    0  128G  0 part
mmcblk2      179:32  0 29,1G  0 disk
├─mmcblk2p1  179:33  0  504M  0 part /boot
└─mmcblk2p2  179:34  0 28,6G  0 part /
mmcblk2boot0 179:64  0    4M  1 disk
mmcblk2boot1 179:96  0    4M  1 disk
zram0        254:0    0  1,5G  0 disk [SWAP]
mobian@mobian:~ $

The second problem occured when I tried to make a F2FS on /dev/mmcblk0p8

mobian@mobian:~ $ sudo mkfs.f2fs -f /dev/mmcblk0p8

F2FS-tools: mkfs.f2fs Ver: 1.14.0 (2020-08-24)

Info: Disable heap-based policy
Info: Debug level = 0
Info: Trim is enabled
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 268435456 (131072 MB)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
  "Linux version 5.10-sunxi64 (builder@mobian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT Fri Jul 23 10:30:36 UTC 2021"
Info: [/dev/mmcblk0p8] Discarding device
Info: This device doesn't support BLKSECDISCARD
Info: This device doesn't support BLKDISCARD
Error: Failed to create the root directory!!!
Error: Could not format the device!!!

The card war removed after the errors.

mobian@mobian:~ $ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk2      179:32  0 29,1G  0 disk
├─mmcblk2p1  179:33  0  504M  0 part /boot
└─mmcblk2p2  179:34  0 28,6G  0 part /
mmcblk2boot0 179:64  0    4M  1 disk
mmcblk2boot1 179:96  0    4M  1 disk
zram0        254:0    0  1,5G  0 disk [SWAP]
mobian@mobian:~ $

[Fr Nov 28 11:15:28 2025] ov5640 4-004c: firmware upload success
[Fr Nov 28 11:15:28 2025] ov5640 4-004c: uploaded firmware didn't start, got to 0x7f, retrying...
[Fr Nov 28 11:15:28 2025] ov5640 4-004c: uploaded firmware didn't start, got to 0x7f
[Fr Nov 28 11:15:28 2025] ov5640 4-004c: ov5640_set_ctrl_focus: no autofocus firmware loaded
[Fr Nov 28 11:26:15 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:26:15 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:26:15 2025] mmc_erase: group start error -110, status 0x0
...
[Fr Nov 28 11:26:32 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:26:32 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[Fr Nov 28 11:27:14 2025] sunxi-mmc 1c0f000.mmc: send stop command failed
[Fr Nov 28 11:27:14 2025] mmc0: tried to HW reset card, got error -110
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 774187008 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 774359040 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 774531072 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 774703104 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 774875136 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 775047168 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 775219200 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 775391232 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 775563264 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] blk_update_request: I/O error, dev mmcblk0, sector 775735296 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:14 2025] mmc_erase: group start error -110, status 0x0
...
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] print_req_error: 767 callbacks suppressed
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 907226112 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 907398144 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 907570176 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 907742208 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 907914240 op 0x3 (DISCARD) flags 0x0 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 908044288 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 908216320 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 908388352 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 908560384 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] blk_update_request: I/O error, dev mmcblk0, sector 908732416 op 0x3 (DISCARD) flags 0x4000 phys_seg 1 prio class 0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:19 2025] mmc_erase: group start error -110, status 0x0
...
[Fr Nov 28 11:27:21 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:21 2025] mmc_erase: group start error -110, status 0x0
[Fr Nov 28 11:27:22 2025] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[Fr Nov 28 11:27:22 2025] sunxi-mmc 1c0f000.mmc: send stop command failed
[Fr Nov 28 11:27:22 2025] sunxi-mmc 1c0f000.mmc: Card stuck in wrong state! card_busy_detect status: 0x700
[Fr Nov 28 11:27:22 2025] mmc0: tried to HW reset card, got error -110
[Fr Nov 28 11:27:22 2025] mmcblk0: recovery failed!
[Fr Nov 28 11:27:22 2025] mmc0: card 215d removed

After a reboot I tried an ext4 fs. Is ext4 on a sd-card a bad idea anyway?

mobian@mobian:~ $ sudo mkfs.ext4 /dev/mmcblk0p8
[sudo] Passwort für mobian:
mke2fs 1.46.2 (28-Feb-2021)
Discarding device blocks: done                           
Creating filesystem with 33554432 4k blocks and 8388608 inodes
Filesystem UUID: a8faee30-82dd-4121-96a9-ce4955c3f06f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done   

Fine so far.

mobian@mobian:~ $ sudo mount /dev/mmcblk0p8 /media/Images/
mount: /media/Images: wrong fs type, bad option, bad superblock on /dev/mmcblk0p8, missing codepage or helper program, or other error.

No hints in the dmesg output.


Attached Files Thumbnail(s)
   
  Reply


Messages In This Thread
sd card problems - by ottahe - 1 hour ago

Forum Jump:


Users browsing this thread: 3 Guest(s)