Hello,
I am using a PI5 with nvme ssd from Pimoroni and the speed used is in the range of Gen2 not Gen3
Last year 2014 when I bought this nvme/ssd it worked with gen3 speeds.
Maybe new firmwares changed the behavior ?
Do you guys see something wrong in the "dmesg " logs ?
System:
Kernel: 6.6.62+rpt-rpi-2712 arch: aarch64 bits: 64 compiler: gcc v: 12.2.0
clocksource: arch_sys_counter parameters: reboot=w coherent_pool=1M 8250.nr_uarts=1
pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave
smsc95xx.macaddr=XX:XX:XX:XX:XX:XX vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000
console=ttyAMA10,115200 console=tty1 root=PARTUUID=748f5b54-02 rootfstype=ext4
************************************************************************************************************************************************************
[all]
dtparam=pciex1_gen=3
dtoverlay=disable-wifi
dtoverlay=disable-bt
************************************************************************************************************************************************************
naz@pi5:~ $ sudo hdparm -t --direct /dev/nvme0n1
/dev/nvme0n1:
Timing O_DIRECT disk reads: 1376 MB in 3.00 seconds = 458.63 MB/sec
***********************************************************************************************************************************************************
naz@pi5:~ $ dmesg | grep pcie
[ 0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=2C:CF:67:32:FF:40 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=c8c0924e-02 rootfstype=ext4 fsck.repair=yes rootwait net.ifnames=0
[ 1.031425] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 1.049832] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 1.812239] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:
[ 1.819242] brcm-pcie 1000110000.pcie: No bus range found for /axi/pcie@110000, using [bus 00-ff]
[ 1.828333] brcm-pcie 1000110000.pcie: MEM 0x1b80000000..0x1bffffffff -> 0x0080000000
[ 1.836633] brcm-pcie 1000110000.pcie: MEM 0x1800000000..0x1b7fffffff -> 0x0400000000
[ 1.844934] brcm-pcie 1000110000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 1.854392] brcm-pcie 1000110000.pcie: Forcing gen 3
[ 1.859482] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00
[ 2.019859] brcm-pcie 1000110000.pcie: link up, 8.0 GT/s PCIe x1 (!SSC)
[ 2.114548] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 2.120699] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[ 2.126505] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[ 2.205866] brcm-pcie 1000110000.pcie: clkreq control enabled
[ 2.211672] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[ 2.218664] brcm-pcie 1000120000.pcie: No bus range found for /axi/pcie@120000, using [bus 00-ff]
[ 2.227765] brcm-pcie 1000120000.pcie: MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[ 2.236080] brcm-pcie 1000120000.pcie: MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[ 2.244384] brcm-pcie 1000120000.pcie: IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[ 2.252689] brcm-pcie 1000120000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 2.262049] brcm-pcie 1000120000.pcie: Forcing gen 2
[ 2.267058] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00
[ 2.427857] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[ 2.544347] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[ 2.550492] pcieport 0001:00:00.0: PME: Signaling with IRQ 44
[ 2.556300] pcieport 0001:00:00.0: AER: enabled with IRQ 44
*********************************************************************************************************************************************
naz@pi5:~ $ dmesg | grep nvme
[ 2.132198] nvme nvme0: pci function 0000:01:00.0
[ 2.136934] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 2.159376] nvme nvme0: missing or invalid SUBNQN field.
[ 2.173331] nvme nvme0: failed to allocate host memory buffer.
[ 2.185929] nvme nvme0: 4/0/0 default/read/poll queues
[ 2.202964] nvme0n1: p1 p2
[ 4.173147] EXT4-fs (nvme0n1p2): mounted filesystem ce208fd3-38a8-424a-87a2-cd44114eb820 ro with ordered data mode. Quota mode: none.
[ 6.476551] EXT4-fs (nvme0n1p2): re-mounted ce208fd3-38a8-424a-87a2-cd44114eb820 r/w. Quota mode: none.
I am using a PI5 with nvme ssd from Pimoroni and the speed used is in the range of Gen2 not Gen3
Last year 2014 when I bought this nvme/ssd it worked with gen3 speeds.
Maybe new firmwares changed the behavior ?
Do you guys see something wrong in the "dmesg " logs ?
System:
Kernel: 6.6.62+rpt-rpi-2712 arch: aarch64 bits: 64 compiler: gcc v: 12.2.0
clocksource: arch_sys_counter parameters: reboot=w coherent_pool=1M 8250.nr_uarts=1
pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave
smsc95xx.macaddr=XX:XX:XX:XX:XX:XX vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000
console=ttyAMA10,115200 console=tty1 root=PARTUUID=748f5b54-02 rootfstype=ext4
************************************************************************************************************************************************************
[all]
dtparam=pciex1_gen=3
dtoverlay=disable-wifi
dtoverlay=disable-bt
************************************************************************************************************************************************************
naz@pi5:~ $ sudo hdparm -t --direct /dev/nvme0n1
/dev/nvme0n1:
Timing O_DIRECT disk reads: 1376 MB in 3.00 seconds = 458.63 MB/sec
***********************************************************************************************************************************************************
naz@pi5:~ $ dmesg | grep pcie
[ 0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=2C:CF:67:32:FF:40 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=c8c0924e-02 rootfstype=ext4 fsck.repair=yes rootwait net.ifnames=0
[ 1.031425] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 1.049832] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 1.812239] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:
[ 1.819242] brcm-pcie 1000110000.pcie: No bus range found for /axi/pcie@110000, using [bus 00-ff]
[ 1.828333] brcm-pcie 1000110000.pcie: MEM 0x1b80000000..0x1bffffffff -> 0x0080000000
[ 1.836633] brcm-pcie 1000110000.pcie: MEM 0x1800000000..0x1b7fffffff -> 0x0400000000
[ 1.844934] brcm-pcie 1000110000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 1.854392] brcm-pcie 1000110000.pcie: Forcing gen 3
[ 1.859482] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00
[ 2.019859] brcm-pcie 1000110000.pcie: link up, 8.0 GT/s PCIe x1 (!SSC)
[ 2.114548] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 2.120699] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[ 2.126505] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[ 2.205866] brcm-pcie 1000110000.pcie: clkreq control enabled
[ 2.211672] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[ 2.218664] brcm-pcie 1000120000.pcie: No bus range found for /axi/pcie@120000, using [bus 00-ff]
[ 2.227765] brcm-pcie 1000120000.pcie: MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[ 2.236080] brcm-pcie 1000120000.pcie: MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[ 2.244384] brcm-pcie 1000120000.pcie: IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[ 2.252689] brcm-pcie 1000120000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 2.262049] brcm-pcie 1000120000.pcie: Forcing gen 2
[ 2.267058] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00
[ 2.427857] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[ 2.544347] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[ 2.550492] pcieport 0001:00:00.0: PME: Signaling with IRQ 44
[ 2.556300] pcieport 0001:00:00.0: AER: enabled with IRQ 44
*********************************************************************************************************************************************
naz@pi5:~ $ dmesg | grep nvme
[ 2.132198] nvme nvme0: pci function 0000:01:00.0
[ 2.136934] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 2.159376] nvme nvme0: missing or invalid SUBNQN field.
[ 2.173331] nvme nvme0: failed to allocate host memory buffer.
[ 2.185929] nvme nvme0: 4/0/0 default/read/poll queues
[ 2.202964] nvme0n1: p1 p2
[ 4.173147] EXT4-fs (nvme0n1p2): mounted filesystem ce208fd3-38a8-424a-87a2-cd44114eb820 ro with ordered data mode. Quota mode: none.
[ 6.476551] EXT4-fs (nvme0n1p2): re-mounted ce208fd3-38a8-424a-87a2-cd44114eb820 r/w. Quota mode: none.
Statistics: Posted by nazgul — Sun Mar 16, 2025 10:16 am