Nvme base not working

Just got this and hooked it up, have tried 2 different nvme cards and nothing shows up in lsblk.
I also tried lspci and there is nothing in there either. Should this not show something even if the nvme card is sulking?
I’ve tried a Gigabyte GSM2NE3512GNTD
the other was one I swapped out of a laptop, and has no identification on it (it came from an Asus vivobook)

Generally most drives show up, but here a a reported number that show nothing at all.
The first time I assembled one of these, I had issues with getting the flex cable the correct way around an fully home. Its worth checking this again. My advice would be to get a drive from Pimoromi’s list of working drives.

Regards

And always check what the kernel has to say:

sudo journalctl -b -g pcie

This gives you all PCIe related messages since the last boot.

That was useful, I can see extra info in there when the board is connected, but nothing changes if the drive is added. Looks like time for a new one

Just got a new Crucial P3 plus and still nothing - well not nothing - I can see the board in lspci, but only the microsd card shows up in lsblk. I’m on Firmware 5/1/24.

It would be useful to attach the output since last boot & config.txt. Pls don’t inline it as it may have much data, also anonymize any info you deem PII.

Eh! I have the last boot journal, but I can only upload images here it seems, so it’s on pastebin

https://pastebin.com/UqzMxCky

I am still researching what nvme to buy, so I compared your boot log to mine & I can’t find anything that a drive was recognized. The first many pcie mentions are even in my rpi5 bootlog. You mentioned above that you saw some msgs related to your nvme drive when you powered up your rpi5, those below ?

These logs contain 0xDEADDEAD which isn’t usually a good thing (followed by ignoring device), though unsure if it’s relevant or related.

Your pi also have a bunch of connected devices, for fun, disconnect them & reboot without any peripherals & check (oc ssh is required).

PS: Did you modify anything in your config.txt ?

Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie:   No bus range found for /axi/pcie@110000, using [bus 00-ff]
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie:      MEM 0x1b00000000..0x1bfffffffb -> 0x0000000000
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie:      MEM 0x1800000000..0x1affffffff -> 0x0400000000
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie: Forcing gen 2
Nov 10 00:25:41 pi5test kernel: brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00
Nov 10 00:25:41 pi5test kernel: pci_bus 0000:00: root bus resource [bus 00-ff]
Nov 10 00:25:41 pi5test kernel: pci_bus 0000:00: root bus resource [mem 0x1b00000000-0x1bfffffffb] (bus address [0x00000000-0xfffffffb])
Nov 10 00:25:41 pi5test kernel: pci_bus 0000:00: root bus resource [mem 0x1800000000-0x1affffffff pref] (bus address [0x400000000-0x6ffffffff])
Nov 10 00:25:41 pi5test kernel: pci 0000:00:00.0: [dead:dead] type 2d class 0xdeadde
Nov 10 00:25:41 pi5test kernel: pci 0000:00:00.0: unknown header type 2d, ignoring device
Nov 10 00:25:41 pi5test kernel: pci_bus 0000:00: busn_res: [bus 00-ff] is released

config.txt run with and without

dtparam=pciex1_gen=3

If the board is not connected all the

brcm-pcie 1000110000.pcie

lines are nor present, just the 100012 lines remain (the ethernet adapter I believe

Hi
FYI this is mu log of sucessfull NVMe boot

sudo dmesg -T | grep -E "nvme|pci"
[Wed Jan 24 12:44:59 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=D8:3A:DD:9F:2A:02 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=3d724760-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=GB
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie:   No bus range found for /axi/pcie@110000, using [bus 00-ff]
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie:      MEM 0x1b00000000..0x1bfffffffb -> 0x0000000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie:      MEM 0x1800000000..0x1affffffff -> 0x0400000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: Forcing gen 3
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00
[Wed Jan 24 12:44:59 2024] pci_bus 0000:00: root bus resource [bus 00-ff]
[Wed Jan 24 12:44:59 2024] pci_bus 0000:00: root bus resource [mem 0x1b00000000-0x1bfffffffb] (bus address [0x00000000-0xfffffffb])
[Wed Jan 24 12:44:59 2024] pci_bus 0000:00: root bus resource [mem 0x1800000000-0x1affffffff pref] (bus address [0x400000000-0x6ffffffff])
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: PME# supported from D0 D3hot
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: link up, 8.0 GT/s PCIe x1 (!SSC)
[Wed Jan 24 12:44:59 2024] pci 0000:01:00.0: [144d:a808] type 00 class 0x010802
[Wed Jan 24 12:44:59 2024] pci 0000:01:00.0: reg 0x10: [mem 0x1b00000000-0x1b00003fff 64bit]
[Wed Jan 24 12:44:59 2024] pci 0000:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[Wed Jan 24 12:44:59 2024] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: BAR 8: assigned [mem 0x1b00000000-0x1b000fffff]
[Wed Jan 24 12:44:59 2024] pci 0000:01:00.0: BAR 0: assigned [mem 0x1b00000000-0x1b00003fff 64bit]
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: PCI bridge to [bus 01]
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0:   bridge window [mem 0x1b00000000-0x1b000fffff]
[Wed Jan 24 12:44:59 2024] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[Wed Jan 24 12:44:59 2024] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[Wed Jan 24 12:44:59 2024] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[Wed Jan 24 12:44:59 2024] pcieport 0000:00:00.0: PME: Signaling with IRQ 39
[Wed Jan 24 12:44:59 2024] pcieport 0000:00:00.0: AER: enabled with IRQ 39
[Wed Jan 24 12:44:59 2024] nvme nvme0: pci function 0000:01:00.0
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000110000.pcie: clkreq control enabled
[Wed Jan 24 12:44:59 2024] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie: Forcing gen 2
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00
[Wed Jan 24 12:44:59 2024] pci_bus 0001:00: root bus resource [bus 00-ff]
[Wed Jan 24 12:44:59 2024] pci_bus 0001:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[Wed Jan 24 12:44:59 2024] pci_bus 0001:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: [14e4:2712] type 01 class 0x060400
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: PME# supported from D0 D3hot
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[Wed Jan 24 12:44:59 2024] nvme nvme0: Shutdown timeout set to 10 seconds
[Wed Jan 24 12:44:59 2024] nvme nvme0: 4/0/0 default/read/poll queues
[Wed Jan 24 12:44:59 2024]  nvme0n1: p1 p2
[Wed Jan 24 12:44:59 2024] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: [1de4:0001] type 00 class 0x020000
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: supports D1
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: PME# supported from D0 D1 D3hot D3cold
[Wed Jan 24 12:44:59 2024] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: PCI bridge to [bus 01]
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[Wed Jan 24 12:44:59 2024] pci 0001:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[Wed Jan 24 12:44:59 2024] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[Wed Jan 24 12:44:59 2024] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[Wed Jan 24 12:44:59 2024] pcieport 0001:00:00.0: PME: Signaling with IRQ 45
[Wed Jan 24 12:44:59 2024] pcieport 0001:00:00.0: AER: enabled with IRQ 45
[Wed Jan 24 12:45:01 2024] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Quota mode: none.
[Wed Jan 24 12:45:01 2024] EXT4-fs (nvme0n1p2): re-mounted. Quota mode: none.
[Wed Jan 24 12:45:02 2024] input: Adafruit Trinket M0 Keyboard as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:239A:801E.0001/input/input3
[Wed Jan 24 12:45:02 2024] input: Adafruit Trinket M0 Mouse as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:239A:801E.0001/input/input4

What revision is your pi 5? (its in the first few lines of the journal)

@pootle42
Here is the beggining of my journal after boot.

Jan 23 22:37:49 raspberrypi kernel: Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
Jan 23 22:37:49 raspberrypi kernel: Linux version 6.1.0-rpi7-rpi-2712 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24)
Jan 23 22:37:49 raspberrypi kernel: random: crng init done
Jan 23 22:37:49 raspberrypi kernel: Machine model: Raspberry Pi 5 Model B Rev 1.0
Jan 23 22:37:49 raspberrypi kernel: efi: UEFI not found.
Jan 23 22:37:49 raspberrypi kernel: Reserved memory: created CMA memory pool at 0x0000000018000000, size 320 MiB
Jan 23 22:37:49 raspberrypi kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Jan 23 22:37:49 raspberrypi kernel: Zone ranges:
Jan 23 22:37:49 raspberrypi kernel:   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
Jan 23 22:37:49 raspberrypi kernel:   DMA32    empty
Jan 23 22:37:49 raspberrypi kernel:   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
Jan 23 22:37:49 raspberrypi kernel: Movable zone start for each node