Trixie Pi Diagnostics not passing A2 cards [SOLVED]
Trixie with all updates. I ran Raspberry Pi diagnostics speed test on an A2 card that passed A2 back when first using Bookworm. I tested today with Trixie and it reports PASSED but for A1 speeds, not A2. Is there a change in the code test code or to the microSD driver?
I will retest a few cards and I am about to switch on PCIe then PCIe 3 so I can test my NVMe setup.
I will retest a few cards and I am about to switch on PCIe then PCIe 3 so I can test my NVMe setup.
Last edited by peterlite on Sat Nov 08, 2025 6:41 am, edited 2 times in total.
Re: Trixie Pi Diagnostics not passing A2 cards
The following is a test with the Raspberry Pi 32 GB A2 card and appears to report accurately.
I am looking through old cards across several brands. Some have more than double the sequential write speed and had good random writes back when first tested. I threw out the one card labelled A2 that did not pass as A2.
Some cards now appear to now have lower random writes, passing as A1 but not A2. The test conditions are the same. Same old Pi 5. Same 16 GB image with all updates. Just using Trixie as the base instead of Bookworm.
Matching the exact tests is difficult as I did not keep many. Some of the cards have the same name but different batch numbers on the card.
Code: Select all
Raspberry Pi Diagnostics - version 1.4
Fri Nov 7 18:23:07 2025
Test : SD Card Speed Test
Run 1
prepare-file;0;0;32961;64
seq-write;0;0;33044;8
seq-read;92499;22;0;0
rand-4k-write;0;0;8431;2107
rand-4k-read;22816;5704;0;0
Sequential write speed 33044 KB/sec (target 10000) - PASS
Random write speed 2107 IOPS (target 500) - PASS
Random read speed 5704 IOPS (target 1500) - PASS
Test PASSSome cards now appear to now have lower random writes, passing as A1 but not A2. The test conditions are the same. Same old Pi 5. Same 16 GB image with all updates. Just using Trixie as the base instead of Bookworm.
Matching the exact tests is difficult as I did not keep many. Some of the cards have the same name but different batch numbers on the card.
- jdb
- Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator - Posts: 3576
- Joined: Thu Jul 11, 2013 2:37 pm
Re: Trixie Pi Diagnostics not passing A2 cards
What's the kernel version (uname -a) on the older install?
Soon after the release of our own A2 cards, it became apparent that non-vetted A2 cards were sufficiently variable in quality (even within brands) that A2 mode was made opt-in.
To bypass the allow-list you can add dtparam=sd_cqe=2 in /boot/firmware/config.txt - see /boot/firmware/overlays/README
Soon after the release of our own A2 cards, it became apparent that non-vetted A2 cards were sufficiently variable in quality (even within brands) that A2 mode was made opt-in.
To bypass the allow-list you can add dtparam=sd_cqe=2 in /boot/firmware/config.txt - see /boot/firmware/overlays/README
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
Re: Trixie Pi Diagnostics not passing A2 cards
Sandisk Extreme Pro microSDXC 64 GB UHS-I U3 V30 A2 1516DFGJ220A
Without dtparam=sd_cqe=2:
Without dtparam=sd_cqe=2:
With dtparam=sd_cqe=2: :shock: :o :DRaspberry Pi Diagnostics - version 1.4
Sequential write speed 21469 KB/sec (target 10000) - PASS
Random write speed 881 IOPS (target 500) - PASS
Random read speed 2199 IOPS (target 1500) - PASS
Test PASS
Raspberry Pi Diagnostics - version 1.4
Sequential write speed 35149 KB/sec (target 10000) - PASS
Random write speed 2372 IOPS (target 500) - PASS
Random read speed 5615 IOPS (target 1500) - PASS
Test PASS
Re: Trixie Pi Diagnostics not passing A2 cards [SOLVED]
A note on variability in speed tests and identifying cards.
Here is the Pi diagnostics on a card:
Below is my version of the same test. Some parts are bloated because I dump a file instead of the relevant lines. One thing is noticeable. Every test is slightly different but not enough to change decisions about a card. Perhaps the Raspberry Pi Diagnostics could add the following items.
Here is the Pi diagnostics on a card:
Code: Select all
Raspberry Pi Diagnostics - version 1.4
Sun Nov 9 18:06:24 2025
Test : SD Card Speed Test
Run 1
prepare-file;0;0;72656;141
seq-write;0;0;71663;17
seq-read;89806;21;0;0
rand-4k-write;0;0;11720;2930
rand-4k-read;23636;5909;0;0
Sequential write speed 71663 KB/sec (target 10000) - PASS
Random write speed 2930 IOPS (target 500) - PASS
Random read speed 5909 IOPS (target 1500) - PASS
Test PASS- The CPU is identified to allow for tests across different models. Almost anything with Linux.
- The card is identified so there is no confusion when testing several cards.
Code: Select all
sdtest start.
Perform a storage speed test on a Raspberry Pi or Linux Mint.
SD Card Speed Test from the Raspberry Pi diagnostics program.
Plus enhancements.
OS from /etc/os-release:
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.1
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
fio installed.
CPU information from /proc/cpuinfo:
39:Model : Raspberry Pi 5 Model B Rev 1.0
37:Revision : d04170
Memory usage:
total used free shared buff/cache available
Mem: 8252416 542256 7017328 40544 809616 7710160
Swap: 2097136 0 2097136
NVMe:
Model: WDC PC SN520 SDAPNUW-512G-1014
Size: 1000215216
Firmware revision: 20110000
Serial number: 192088453413
microSD:Model: SR64G
Date: 12/2021
OEM ID: 0x5344
Create job file in ./sdtest.tmp.job:
Run 1
RES: prepare-file;0;0;72979;142
seq-write;0;0;72616;17
seq-read;91787;22;0;0
rand-4k-write;0;0;11643;2910
rand-4k-read;23438;5859;0;0
Sequential write speed 72616 KB/sec (target 10000) - PASS
Sequential read speed 91787 KB/sec (target 10000) - PASS
Random write speed 2910 IOPS (A2 target 2000) - PASS
Random read speed 5859 IOPS (A2 target 4000) - PASS
Run 2
RES: prepare-file;0;0;68985;134
seq-write;0;0;73635;17
seq-read;92044;22;0;0
rand-4k-write;0;0;11815;2953
rand-4k-read;24393;6098;0;0
Sequential write speed 73635 KB/sec (target 10000) - PASS
Sequential read speed 92044 KB/sec (target 10000) - PASS
Random write speed 2953 IOPS (A2 target 2000) - PASS
Random read speed 6098 IOPS (A2 target 4000) - PASS
Run 3
RES: prepare-file;0;0;69149;135
seq-write;0;0;73000;17
seq-read;92109;22;0;0
rand-4k-write;0;0;11594;2898
rand-4k-read;24659;6164;0;0
Sequential write speed 73000 KB/sec (target 10000) - PASS
Sequential read speed 92109 KB/sec (target 10000) - PASS
Random write speed 2898 IOPS (A2 target 2000) - PASS
Random read speed 6164 IOPS (A2 target 4000) - PASS
List disk space.
df -hT -x tmpfs -x efivarfs
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
/dev/mmcblk0p2 ext4 58G 8.1G 48G 15% /
/dev/mmcblk0p1 vfat 510M 78M 433M 16% /boot/firmware
sdtest end. Used 96 seconds.
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Media centres
- Gaming
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion