-
-
Notifications
You must be signed in to change notification settings - Fork 436
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I found that with 5.10, 6.12 and 6.17 my Crucial P310 NVMe M.2 SSD appears under lsblk, but with the 6.1 kernel such as your 24.04 images, it does not.
echo 1 | sudo tee /sys/class/nvme/nvme0/rescan_controller results in it appearing, but adjusting the kernel boot parameters to account for the known timing issues does not fix it.
To fix it, I created a new system service:
[Unit]
Description=Rescan NVMe controller for P310 namespace detection
After=local-fs-pre.target
Before=local-fs.target
DefaultDependencies=no
[Service]
Type=oneshot
ExecStartPre=/bin/sleep 1
ExecStart=/bin/sh -c 'echo 1 > /sys/class/nvme/nvme0/rescan_controller'
ExecStartPost=/bin/sleep 1
RemainAfterExit=yes
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=local-fs-pre.target
Kernel version
6.1.0-1025-rockchip
SBC model
ArmSoM Sige7
What operating system are you seeing this problem on?
Ubuntu 24.04 LTS (Noble Nombat)
Relevant logs
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working