Combination
-
Host Raspberry Pi Raspberry Pi 5
8GB -
Adapter / HAT
Waveshare PCIe TO M.2 MINI
-
Storage
KIOXIA EG6
1TB M.2 2230FW11600106
Symptom
When PCIe was set to Gen3, the SSD was sometimes recognized and sometimes not on each boot. After repeating the restart 10 times: it was recognized and usable 6 times; it was not recognized (dmesg showed "brcm-pcie 1000110000.pcie: link down") 3 times; and the link was established but /mnt/storage was not mounted 1 time.
Machine translation / Original
PCIe を Gen3 にすると、起動のたびに SSD を認識したりしなかったりした。再起動を10回繰り返した結果: 認識して使えたのは6回。認識しなかった(dmesg に「brcm-pcie 1000110000.pcie: link down」)のが3回、リンクは確立したのに /mnt/storage がマウントされていなかったのが1回。
What was changed to make it work / fix
When downgraded to Gen2, 10 consecutive reboots all succeeded (see another rig log).
Machine translation / Original
Gen2 に下げると、同じ再起動10回が10回とも成功した(別のリグログを参照)。
Conditions
| OS | Raspberry Pi OS (Debian GNU/Linux 13 trixie) |
|---|---|
| Kernel / EEPROM / driver | Kernel 6.18.50+rpt-rpi-2712 / EEPROM 2026-05-26 |
| Settings | dtparam=pciex1 dtparam=pciex1_gen=3 |
Notes
In the boot recognized by Gen3, write speed was approximately 814MB/s and read speed approximately 913MB/s (dd, 2GB, direct). Write and read-back operations of 4GB were performed twice, with checksums matching in both cases. No errors occurred during monitoring for approximately 11 minutes. In other words, operation is stable once recognized; the issue lies in recognition at boot time. The number of "unsafe shutdowns" in SSD diagnostics (SMART) increased from 22 to 33 during repeated reboots on Gen3. It did not increase after 10 reboots on Gen2. The power source was a mobile battery (approximately 5V 3A). Whether insufficient power at the moment of boot is the cause remains unconfirmed. A 5V 5A power supply (UPS) will be used to test the same 10 reboots. PCIe Gen3 is not an official setting on Raspberry Pi 5 (Gen2 is the official limit).
Machine translation / Original
Gen3 で認識できた起動では、速度は書き込み約 814MB/s、読み込み約 913MB/s(dd、2GB、direct)。4GBの書き込み・読み戻しを2回行い、どちらもチェックサムが一致した。約11分間の監視でもエラーはなかった。つまり、認識さえすれば動作は安定していて、問題は起動時の認識。 SSD の診断(SMART)の「安全でないシャットダウン」の回数が、Gen3 での再起動を繰り返す間に 22 から 33 に増えた。Gen2 での再起動10回では増えなかった。 電源はモバイルバッテリー(約 5V3A)。起動の瞬間の電力不足が原因かどうかは未確認。5V5A の電源(UPS)で同じ10回の再起動を試す予定。 PCIe の Gen3 は、Raspberry Pi 5 では公式の設定ではない(Gen2 までが公式)。
Sources
- CompatRigs user Rig Log #2272(2026-10-20)
- User reports (external) Waveshare Wiki: PCIe TO M.2 MINI (2230/2242, Gen2/Gen3) (checked 2026-10-20)
Reported: 2026-10-20 / CC-BY-4.0