Raspberry Pi 5 NVMe using PCIe not working with kernel 6.6.x

Open
#5,873 24 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
arch-linux, c, linux

Research direction

Start by reproducing the reported regression on the Raspberry Pi 5 with the Pimoroni NVMe Base, comparing lsblk under the listed 6.1.61, 6.1.70, and 6.6.x kernels. Review the linked Arch Linux ARM forum discussion and collect kernel logs, since the issue provides no source file or test entry point. Done means the NVMe SSD is detected on the affected 6.6.x kernels or the regression is narrowed to a documented kernel change.

Written by the indexing model from the issue text.

Description

Describe the bug

Connecting an NVMe SSD using the Pimoroni "NVMe Base for Raspberry Pi 5" on Arch Linux ARM with kernel versions prior to 6.6.x not on versions 6.6.9 and higher.

Steps to reproduce the behaviour

Using Arch Linux (in my case AstroArch) with connected a PCIe extension board with NVMe SSD connected.

  1. Boot from release 1.7 with kernel 6.1.61-1-rpi-ARCH
  2. with command lsblk I can see the SSD
  3. update the system with update-astroarch with kernel 6.6.12-1-rpi and reboot
  4. with command lsblk I can’t see the SSD
  5. downgrade the kernel with sudo pacman -U https://alaa.ad24.cz/packages/l/linux-rpi/linux-rpi-6.1.70-1-aarch64.pkg.tar.xz and reboot
  6. with command lsblk I can see the SSD
Device (s)

Raspberry Pi 5

System

OS: Arch Linux ARM aarch64
Host: Raspberry Pi 5 Model B Rev 1.0
vcgencmd not available
Kernel: Linux astroarch 6.6.12-1-rpi #1 SMP PREEMPT Wed Jan 17 19:05:39 MST 2024 aarch64 GNU/Linux

Logs

No response

Additional context

I’ve tried with different kernels and with kernels after 6.6.x (linux-rpi-16k too) can’t see the SSD.
Asking on Arch Linux ARM forum don’t seems to be a modules issue.

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.