NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPi4 died SD card weirdness?





El 23/8/26 a las 13:20, Michael van Elst escribió:
On Sun, Aug 23, 2026 at 10:50:38AM +0200, Ramiro Aceves wrote:

netbsd-acer# cat test
cat: test: No such file or directory


Do you see any error messages on console ?

This looks like the SD card is read-only. Some cards do that when
weared out, but I would expect they report at least a write error.

The filesystem ignores write errors. Before umount, you still see
the buffered data, but after remount the data is gone as it has
never been written successfully.


Greetings,

Hi Michael,

Thanks for your help.

It normally gives no errors in dmesg. I only have recalled the following errors from /var/log/messages at the very early tests yesterday (they never repeated) :



Aug 22 22:34:33 netbsd-acer /netbsd: [ 307.7335037] /dev/dk3: file system not clean (fs_clean=0); please fsck(8) Aug 22 22:34:33 netbsd-acer /netbsd: [ 1263.9497800] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 01 04 6e 80 00 00 80 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1263.9497800] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1263.9497800] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1270.6598940] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 01 04 6e 80 00 00 80 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1270.6598940] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1270.6598940] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1549.4646405] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 10 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1549.4646405] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1549.4646405] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1556.1647546] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 10 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1556.1647546] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1556.1647546] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1562.8648687] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 10 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1562.8648687] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1562.8648687] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1569.5649827] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 10 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1569.5649827] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1569.5649827] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1576.2750971] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 10 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1576.2750971] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1576.2750971] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1576.2750971] sd0d: error reading fsbn 15335424 of 15335424-15335439 (sd0 bn 15335424; cn 7488 tn 0 sn 0) Aug 22 22:34:33 netbsd-acer /netbsd: [ 1582.9752110] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 01 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1582.9752110] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1582.9752110] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1589.6753251] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 01 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1589.6753251] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1589.6753251] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1596.3754394] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 01 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1596.3754394] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1596.3754394] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 1603.0855531] sd0(umass0:0:0:0): Check Condition on CDB: 0x28 00 00 ea 00 00 00 00 01 00 Aug 22 22:34:33 netbsd-acer /netbsd: [ 1603.0855531] SENSE KEY: Aborted Command Aug 22 22:34:33 netbsd-acer /netbsd: [ 1603.0855531] ASC/ASCQ: Incompatible Medium Installed Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] dk3 at sd0 (netbsd-root) deleted Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] dk2 at sd0 (EFI) deleted
Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] sd0: detached
Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] scsibus0: detached
Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] umass0: detached
Aug 22 22:34:33 netbsd-acer /netbsd: [ 6578.8702632] umass0: at uhub4 port 2 (addr 3) disconnected


I will reinstall NetBSD in a new card.

Regards.
Ramiro.




Home | Main Index | Thread Index | Old Index