BPI-R3 : M2 NVME ssd not working

I have a M2. Intel 670p Series M.2 2280 1TB PCIe NVMe 3.0 x4 QLC Internal Solid State Drive (SSD) I have installed into my Banana Pi BPI-R3 that is not showing in the list of /dev/ devices. I am totally lost. Did i buy the wrong type of drive for the Banana Pi BPI-R3? If this drive will work can sombody point me in the right direction of what I need to do?

See below for what I am getting:

Here are the partitions that it sees: username@OpenWrt:~# lsblk -o name,mountpoint,label,size,uuid NAME MOUNTPOINT LABEL SIZE UUID mtdblock0 122.5M mtdblock1 2M mtdblock2 3M mtdblock3 512K mmcblk0 7.3G ├─mmcblk0p1 512K ├─mmcblk0p2 2M ├─mmcblk0p3 4M ├─mmcblk0p4 32M ├─mmcblk0p5 104M ├─mmcblk0p65 4.9M ├─mmcblk0p66 93.8M └─mmcblk0p128 4M mmcblk0boot0 4M mmcblk0boot1 4M ubiblock0_2 10.3M └─ubiblock0_2p1 /rom 4.9M

So with it not showing above I went to try to figure out if there was an error on boot. Here is what I got.

username@OpenWrt:~# dmesg | grep 'pci'
[    0.050958] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.050983] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.050993] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    0.051074] phy phy-soc:[email protected]: pcie auto load valid efuse: ENABLE with value: 1
[    0.051161] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[    0.051171] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[    1.224683] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.232024] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.238277] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    1.254842] phy phy-soc:[email protected]: pcie auto load valid efuse: ENABLE with value: 1
[    1.420896] mtk-pcie-gen3 11280000.pcie: set MEM trans window[0]: cpu_addr = 0x20000000, pci_addr = 0x20000000, size = 0x10000000
[    1.436963] mtk-pcie-gen3 11280000.pcie: PCI host bridge to bus 0000:00
[    1.459890] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.475931] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    1.490064] pci_bus 0000:00: scanning bus
[    1.500771] pci 0000:00:00.0: [14c3:1f32] type 01 class 0x060400
[    1.511708] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    1.523468] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.535723] pci 0000:00:00.0: PME# disabled
[    1.540773] pci_bus 0000:00: fixups for bus
[    1.544944] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.551628] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.559616] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.566370] pci_bus 0000:01: scanning bus
[    1.570409] pci 0000:01:00.0: [8086:f1aa] type 00 class 0x010802
[    1.576424] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    1.583417] pci 0000:01:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[    1.621037] pci_bus 0000:01: fixups for bus
[    1.625207] pci_bus 0000:01: bus scan returning with max=01
[    1.630768] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.637366] pci_bus 0000:00: bus scan returning with max=01
[    1.642937] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[    1.649705] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x20107fff 64bit]
[    1.657003] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x20003fff 64bit]
[    1.664306] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.669254] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    1.676139] pcieport 0000:00:00.0: assign IRQ: got 142
[    1.681271] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.687356] pcieport 0000:00:00.0: enabling bus mastering
[    1.693139] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    1.701564] mtk-pcie-gen3 11280000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11280c00 data 1
[    1.709979] mtk-pcie-gen3 11280000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11280c00 data 2
[    1.718396] mtk-pcie-gen3 11280000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11280c00 data 3
[    1.726813] mtk-pcie-gen3 11280000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11280c00 data 4
[    1.735229] mtk-pcie-gen3 11280000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11280c00 data 5
[    1.743649] mtk-pcie-gen3 11280000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11280c00 data 6
[    1.752066] mtk-pcie-gen3 11280000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11280c00 data 7
[    1.760482] mtk-pcie-gen3 11280000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11280c00 data 8
[    1.768895] mtk-pcie-gen3 11280000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11280c00 data 9
[    1.777312] mtk-pcie-gen3 11280000.pcie: msi#0xa address_hi 0x0 address_lo 0x11280c00 data 10
[    1.785814] mtk-pcie-gen3 11280000.pcie: msi#0xb address_hi 0x0 address_lo 0x11280c00 data 11
[    1.794318] mtk-pcie-gen3 11280000.pcie: msi#0xc address_hi 0x0 address_lo 0x11280c00 data 12
[    1.802821] mtk-pcie-gen3 11280000.pcie: msi#0xd address_hi 0x0 address_lo 0x11280c00 data 13
[    1.811325] mtk-pcie-gen3 11280000.pcie: msi#0xe address_hi 0x0 address_lo 0x11280c00 data 14
[    1.819825] mtk-pcie-gen3 11280000.pcie: msi#0xf address_hi 0x0 address_lo 0x11280c00 data 15
[    1.828328] mtk-pcie-gen3 11280000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11280c00 data 16
[    1.836918] mtk-pcie-gen3 11280000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11280c00 data 17
[    1.845508] mtk-pcie-gen3 11280000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11280c00 data 18
[    1.854097] mtk-pcie-gen3 11280000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11280c00 data 19
[    1.862689] mtk-pcie-gen3 11280000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11280c00 data 20
[    1.871280] mtk-pcie-gen3 11280000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11280c00 data 21
[    1.879866] mtk-pcie-gen3 11280000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11280c00 data 22
[    1.888457] mtk-pcie-gen3 11280000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11280c00 data 23
[    1.897047] mtk-pcie-gen3 11280000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11280c00 data 24
[    1.905637] mtk-pcie-gen3 11280000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11280c00 data 25
[    1.914227] mtk-pcie-gen3 11280000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11280c00 data 26
[    1.922817] mtk-pcie-gen3 11280000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11280c00 data 27
[    1.931407] mtk-pcie-gen3 11280000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11280c00 data 28
[    1.939994] mtk-pcie-gen3 11280000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11280c00 data 29
[    1.948583] mtk-pcie-gen3 11280000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11280c00 data 30
[    1.957173] mtk-pcie-gen3 11280000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11280c00 data 31
[    1.966118] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    1.974637] pcieport 0000:00:00.0: PME: Signaling with IRQ 143
[    1.980640] pcieport 0000:00:00.0: AER: enabled with IRQ 143
[    1.986337] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x1f3214c3)
[    1.994507] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100406)
[    2.002492] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040001)
[    2.010562] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[    2.018455] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0x20100004)
[    2.026698] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    2.034335] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x10100)
[    2.042318] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x1f1)
[    2.050124] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20002000)
[    2.058367] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x1fff1)
[    2.066353] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    2.073990] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    2.081626] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    2.089259] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x80)
[    2.096982] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    2.104621] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x2018e)

Have you installed kmod-nvme?

2 Likes

That fixed it. Thanks for your help.

1 Like