• Pi 5 and NVMe SSD

    From Richard Kettlewell@3:770/3 to All on Wed Feb 21 12:21:12 2024
    I’m expecting to free up an NVMe SSD soon, and my Pi 5 is currently
    making do with an SD card, so I’ve been looking into options for putting
    the two together.


    Has anyone used this case?

    https://shop.pimoroni.com/products/argon-neo-5-m-2-nvme-pcie-case-for-raspberry-pi-5


    Another easily discoverable option is:

    https://shop.pimoroni.com/products/nvme-base

    ...but I think I’d need a new case and I’ve not yet managed to find one that’s likely to fit.


    Are there any other good options out there?

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Richard Kettlewell on Wed Feb 21 12:54:06 2024
    On 21/02/2024 12:21, Richard Kettlewell wrote:
    I’m expecting to free up an NVMe SSD soon, and my Pi 5 is currently
    making do with an SD card, so I’ve been looking into options for putting the two together.


    Has anyone used this case?

    https://shop.pimoroni.com/products/argon-neo-5-m-2-nvme-pcie-case-for-raspberry-pi-5


    Another easily discoverable option is:

    https://shop.pimoroni.com/products/nvme-base

    ...but I think I’d need a new case and I’ve not yet managed to find one that’s likely to fit.


    Are there any other good options out there?

    Print your own Richard. That's what I will be doing :-)

    Alternatively wait a couple of months till I have proven my design...it
    should fit an NVME equipped Pi 5, although it's designed for three SATA
    SSDs.

    --
    The higher up the mountainside
    The greener grows the grass.
    The higher up the monkey climbs
    The more he shows his arse.

    Traditional

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Richard Kettlewell on Wed Feb 21 17:42:00 2024
    On 21/02/2024 12:21, Richard Kettlewell wrote:
    I’m expecting to free up an NVMe SSD soon, and my Pi 5 is currently
    making do with an SD card, so I’ve been looking into options for putting the two together.


    Has anyone used this case?

    https://shop.pimoroni.com/products/argon-neo-5-m-2-nvme-pcie-case-for-raspberry-pi-5


    Another easily discoverable option is:

    https://shop.pimoroni.com/products/nvme-base

    ...but I think I’d need a new case and I’ve not yet managed to find one that’s likely to fit.


    Are there any other good options out there?


    I don't know about cases, but the rPi5 £5 official active cooler is
    good. Good in that it cools passively, with the fan only spinning up momentarily at startup and under extreme load (in my case only under a
    stress test).

    The cooler provides quite a lot of protection to the top of the board, I
    assume the nvme-base will protect the base.

    So the need for additional case protection just comes down to the 40 pin
    gpio, and how much you want to press the on off button (tricky without a
    case).

    I got rid of my desire for an nvme with my opi5. Due to being PCIe 1
    lane, it wasn't that much faster, and there was significant additional
    effort installing the OS, compared to a micro SD. Obviously, you may
    have a different use-case.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Pancho on Wed Feb 21 20:51:30 2024
    On 21/02/2024 17:42, Pancho wrote:
    I got rid of my desire for an nvme with my opi5. Due to being PCIe 1
    lane, it wasn't that much faster,

    That surprises me, could anyone with an NVMe base run this script which measures the maximum sequential and random access read/write speeds.
    You'll need to install the fio package and be in a directory on the disc
    under test.

    #!/bin/bash
    TESTFILE=fio-tempfile.dat
    fio --name SeqRead --eta-newline=5s --filename=$TESTFILE --rw=read\
    --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\
    --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\
    --group_reporting | grep bw=
    fio --name SeqWrite --eta-newline=5s --filename=$TESTFILE --rw=write\
    --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\
    --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\
    --group_reporting | grep bw=
    fio --name RndRead --eta-newline=5s --filename=$TESTFILE --rw=randread\
    --size=500m --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1\
    --iodepth=1 --direct=1 --numjobs=1 --runtime=30 --group_reporting\
    | grep bw=
    fio --name RndWrite --eta-newline=5s --filename=$TESTFILE--rw=randwrite\
    --size=500m --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1\
    --iodepth=1 --direct=1 --numjobs=1 --runtime=30 --group_reporting\
    | grep bw=
    rm $TESTFILE

    and there was significant additional
    effort installing the OS, compared to a micro SD. Obviously, you may
    have a different use-case.

    More than dd'ing the SD card image on to the NVMe, using gparted to
    expand the linux partition, and then changing the boot device in /boot/cmdline.txt and /etc/fstab ?

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Guido Giorgi@2:332/706 to druck on Wed Feb 21 23:22:18 2024

    Hello druck!

    21 Feb 24 20:51, you wrote to Pancho:

    On 21/02/2024 17:42, Pancho wrote:
    I got rid of my desire for an nvme with my opi5. Due to being PCIe 1
    lane, it wasn't that much faster,

    That surprises me, could anyone with an NVMe base run this script
    which measures the maximum sequential and random access read/write
    speeds. You'll need to install the fio package and be in a directory
    on the disc under test.

    #!/bin/bash
    TESTFILE=fio-tempfile.dat
    fio --name SeqRead --eta-newline=5s --filename=$TESTFILE --rw=read\
    --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\
    --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\
    --group_reporting | grep bw=
    fio --name SeqWrite --eta-newline=5s --filename=$TESTFILE --rw=write\
    --size=500m --io_size=10g --blocksize=1024k --ioengine=libaio\
    --fsync=10000 --iodepth=32 --direct=1 --numjobs=1 --runtime=30\
    --group_reporting | grep bw=
    fio --name RndRead --eta-newline=5s --filename=$TESTFILE
    --rw=randread\ --size=500m --io_size=10g --blocksize=4k
    --ioengine=libaio --fsync=1\ --iodepth=1 --direct=1 --numjobs=1 --runtime=30 --group_reporting\ | grep bw= fio --name RndWrite --eta-newline=5s --filename=$TESTFILE--rw=randwrite\ --size=500m --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1\ --iodepth=1 --direct=1 --numjobs=1 --runtime=30 --group_reporting\ | grep bw= rm $TESTFILE

    and there was significant additional
    effort installing the OS, compared to a micro SD. Obviously, you may
    have a different use-case.

    More than dd'ing the SD card image on to the NVMe, using gparted to
    expand the linux partition, and then changing the boot device in /boot/cmdline.txt and /etc/fstab ?

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)

    Here's the output of your script tested on my Pi5 with NVMe SSD:

    READ: bw=850MiB/s (891MB/s), 850MiB/s-850MiB/s (891MB/s-891MB/s), io=10.0GiB (10.7GB), run=12046-12046msec
    WRITE: bw=746MiB/s (782MB/s), 746MiB/s-746MiB/s (782MB/s-782MB/s), io=10.0GiB (10.7GB), run=13727-13727msec
    READ: bw=64.6MiB/s (67.7MB/s), 64.6MiB/s-64.6MiB/s (67.7MB/s-67.7MB/s), io=1937MiB (2031MB), run=30000-30000msec
    READ: bw=223MiB/s (234MB/s), 223MiB/s-223MiB/s (234MB/s-234MB/s), io=6684MiB (7008MB), run=30000-30000msec


    Guido


    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: FlipperZero BBS (2:332/706)
  • From Andy Burns@3:770/3 to Pancho on Thu Feb 22 00:17:16 2024
    Pancho wrote:

    I posted some stats back in December ( hdparm -Ttv), on the opi5 the
    nvme was only giving 186 MB/s seq read, not that much more than a USB3
    SSD at 137 MB/s.

    I think, like the oPi5, the rPi5 also has the handicap that it only
    allocates PCIe 3.0 x 1 to nvme.

    So yes, nvme is faster in benchmarks, but nowhere near the 3000MB/s you
    might see on a PC.

    I think Jeff Geerling saw 900MB/s ?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Andy Burns on Thu Feb 22 10:00:36 2024
    On 22/02/2024 00:17, Andy Burns wrote:
    Pancho wrote:

    I posted some stats back in December ( hdparm -Ttv), on the opi5 the
    nvme was only giving 186 MB/s seq read, not that much more than a USB3
    SSD at 137 MB/s.

    I think, like the oPi5, the rPi5 also has the handicap that it only
    allocates PCIe 3.0 x 1 to nvme.

    So yes, nvme is faster in benchmarks, but nowhere near the 3000MB/s
    you might see on a PC.

    I think Jeff Geerling saw 900MB/s ?

    Remember, I'm testing nvme on an Orange Pi 5 not a Raspberry Pi 5, but,
    I feel quite inadequate. However, it is what I get.

    Here are the results from druck's script:

    READ: bw=200MiB/s (209MB/s), 200MiB/s-200MiB/s (209MB/s-209MB/s),
    io=6000MiB (6291MB), run=30060-30060msec
    WRITE: bw=199MiB/s (209MB/s), 199MiB/s-199MiB/s (209MB/s-209MB/s), io=6000MiB (6291MB), run=30085-30085msec
    READ: bw=36.0MiB/s (37.8MB/s), 36.0MiB/s-36.0MiB/s
    (37.8MB/s-37.8MB/s), io=1081MiB (1133MB), run=30001-30001msec
    READ: bw=48.1MiB/s (50.4MB/s), 48.1MiB/s-48.1MiB/s
    (50.4MB/s-50.4MB/s), io=1443MiB (1513MB), run=30001-30001msec


    Maybe my result is so bad because I'm only using a KingSpec nvme drive?
    It's supposed to do 3500MB/s, but I've never tested it in anything that
    could handle that.

    I'm not going to use a top range drive on a Pi. The Orange Pi isn't
    doing anything else, isn't busy.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to druck on Thu Feb 22 10:53:24 2024
    On Wed, 21 Feb 2024 20:51:31 +0000
    druck <news@druck.org.uk> wrote:

    fio --name SeqRead --eta-newline=5s --filename=$TESTFILE --rw=read\
    --size=500m

    Shouldn't that file size be much larger to prevent it from being
    cached ? I get ridiculous numbers trying that script on a PC.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/
    For forms of government let fools contest
    Whate're is best administered is best - Alexander Pope

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Pancho on Thu Feb 22 11:23:28 2024
    On 22/02/2024 10:00, Pancho wrote:
    On 22/02/2024 00:17, Andy Burns wrote:
    Pancho wrote:

    I posted some stats back in December ( hdparm -Ttv), on the opi5 the
    nvme was only giving 186 MB/s seq read, not that much more than a
    USB3 SSD at 137 MB/s.

    I think, like the oPi5, the rPi5 also has the handicap that it only
    allocates PCIe 3.0 x 1 to nvme.

    So yes, nvme is faster in benchmarks, but nowhere near the 3000MB/s
    you might see on a PC.

    I think Jeff Geerling saw 900MB/s ?

    Remember, I'm testing nvme on an Orange Pi 5 not a Raspberry Pi 5, but,
    I feel quite inadequate. However, it is what I get.

    Here are the results from druck's script:

      READ: bw=200MiB/s (209MB/s), 200MiB/s-200MiB/s (209MB/s-209MB/s), io=6000MiB (6291MB), run=30060-30060msec
      WRITE: bw=199MiB/s (209MB/s), 199MiB/s-199MiB/s (209MB/s-209MB/s), io=6000MiB (6291MB), run=30085-30085msec
       READ: bw=36.0MiB/s (37.8MB/s), 36.0MiB/s-36.0MiB/s
    (37.8MB/s-37.8MB/s), io=1081MiB (1133MB), run=30001-30001msec
       READ: bw=48.1MiB/s (50.4MB/s), 48.1MiB/s-48.1MiB/s
    (50.4MB/s-50.4MB/s), io=1443MiB (1513MB), run=30001-30001msec


    Maybe my result is so bad because I'm only using a KingSpec nvme drive?
    It's supposed to do 3500MB/s, but I've never tested it in anything that
    could handle that.

    I'm not going to use a top range drive on a Pi. The Orange Pi isn't
    doing anything else, isn't busy.

    I was curious, so I did a bit of digging, it appears my nvme drive is
    running as PCIe gen 1. The oPi5 should be gen 3, The nvme drive should
    be gen 3.

    $ lspci | grep -i nvme

    0004:41:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou)
    Ltd. NVMe SSD Controller MAP1202 (rev 01)

    $ sudo lspci -vv -s 0004:41:00.0 | grep LnkSta

    LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded)
    LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete EqualizationPhase1-

    Which, from my poor understanding, implies a theoretical top speed of
    250MB/s for 1 lane. Which is consistent with my real world tests.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Pancho on Thu Feb 22 11:50:52 2024
    Pancho wrote:

    I was curious, so I did a bit of digging, it appears my nvme drive is
    running as PCIe gen 1. The oPi5 should be gen 3, The nvme drive should
    be gen 3.

    I don't have an rpi5, but they also default to gen1, a config.txt option
    can force gen3

    dtparam=pciex1_gen=3

    does an opi5 have similar?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Andy Burns on Thu Feb 22 14:13:34 2024
    On 22/02/2024 11:50, Andy Burns wrote:
    Pancho wrote:

    I was curious, so I did a bit of digging, it appears my nvme drive is
    running as PCIe gen 1. The oPi5 should be gen 3, The nvme drive should
    be gen 3.

    I don't have an rpi5, but they also default to gen1, a config.txt option
    can force gen3

    dtparam=pciex1_gen=3

    does an opi5 have similar?


    I looked, I tried, I failed!

    I tried adding the following line to /boot/armbianEnv.txt

    '''
    dtoverlay=pcie-gen2
    '''

    I also tried editing the dtb overlay:
    /boot/dtb/rockchip/rk3588s-orangepi-5.dtb

    which was already configured for gen 2

    Seriously, the oPi5 looks like a brilliant device, it feels like a
    brilliant device, but nothing quite works properly, my advice is to buy
    the rPi5, every time.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Pancho on Thu Feb 22 20:57:28 2024
    Pancho <Pancho.Jones@proton.me> wrote:
    I looked, I tried, I failed!

    I tried adding the following line to /boot/armbianEnv.txt

    '''
    dtoverlay=pcie-gen2
    '''

    I can't speak for Armbian, but config.txt is a RPi thing - it's config for
    the GPU (originally) or boot firmware (4+) to set things up, rather than
    Linux. I don't know what the oPis do, but unless they clone rPi settings I wouldn't expect it to work.

    I also tried editing the dtb overlay: /boot/dtb/rockchip/rk3588s-orangepi-5.dtb

    which was already configured for gen 2

    That may well make a difference, but don't know how they set up PCIe.
    Also, devices start up as gen1 and then mutually agree to upgrade. Perhaps something isn't right to do that. I don't know if it's firmware or Linux upgrading, but maybe look at dmesg for anything eith 'pci' in it for clues? Signal integrity can be a reason for the upgrade to fail.

    Seriously, the oPi5 looks like a brilliant device, it feels like a
    brilliant device, but nothing quite works properly, my advice is to buy
    the rPi5, every time.

    That's my general feeling. I think Armbian are trying to increase their
    level of support for various board, but they are just volunteers with no
    help from vendors.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to All on Thu Feb 22 22:05:28 2024
    T24gMjIvMDIvMjAyNCAxMDowMCwgUGFuY2hvIHdyb3RlOg0KPiBIZXJlIGFyZSB0aGUgcmVz dWx0cyBmcm9tIGRydWNrJ3Mgc2NyaXB0Og0KPiANCj4gIMKgIFJFQUQ6IGJ3PTIwME1pQi9z ICgyMDlNQi9zKSwgMjAwTWlCL3MtMjAwTWlCL3MgKDIwOU1CL3MtMjA5TUIvcyksIA0KPiBp bz02MDAwTWlCICg2MjkxTUIpLCBydW49MzAwNjAtMzAwNjBtc2VjDQo+ICDCoCBXUklURTog Ync9MTk5TWlCL3MgKDIwOU1CL3MpLCAxOTlNaUIvcy0xOTlNaUIvcyAoMjA5TUIvcy0yMDlN Qi9zKSwgDQo+IGlvPTYwMDBNaUIgKDYyOTFNQiksIHJ1bj0zMDA4NS0zMDA4NW1zZWMNCj4g IMKgwqAgUkVBRDogYnc9MzYuME1pQi9zICgzNy44TUIvcyksIDM2LjBNaUIvcy0zNi4wTWlC L3MgDQo+ICgzNy44TUIvcy0zNy44TUIvcyksIGlvPTEwODFNaUIgKDExMzNNQiksIHJ1bj0z MDAwMS0zMDAwMW1zZWMNCj4gIMKgwqAgUkVBRDogYnc9NDguMU1pQi9zICg1MC40TUIvcyks IDQ4LjFNaUIvcy00OC4xTWlCL3MgDQo+ICg1MC40TUIvcy01MC40TUIvcyksIGlvPTE0NDNN aUIgKDE1MTNNQiksIHJ1bj0zMDAwMS0zMDAwMW1zZWMNCg0KQ2hlY2sgdGhlIGxpbmUgYnJl YWtzIGRpZG4ndCBnZXQgbWVzc2VkIHVwLCBhcyB0aGUgbGFzdCBsaW5lIHNob3VsZCBiZSAN CldSSVRFLg0KDQotLS1kcnVjaw0K

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Guido Giorgi on Thu Feb 22 22:03:18 2024
    On 21/02/2024 10:22, Guido Giorgi wrote:
    [Snip non standard quoting]

    Here's the output of your script tested on my Pi5 with NVMe SSD:

    READ: bw=850MiB/s (891MB/s), 850MiB/s-850MiB/s (891MB/s-891MB/s), io=10.0GiB
    (10.7GB), run=12046-12046msec
    WRITE: bw=746MiB/s (782MB/s), 746MiB/s-746MiB/s (782MB/s-782MB/s), io=10.0GiB
    (10.7GB), run=13727-13727msec
    READ: bw=64.6MiB/s (67.7MB/s), 64.6MiB/s-64.6MiB/s (67.7MB/s-67.7MB/s), io=1937MiB (2031MB), run=30000-30000msec
    READ: bw=223MiB/s (234MB/s), 223MiB/s-223MiB/s (234MB/s-234MB/s), io=6684MiB
    (7008MB), run=30000-30000msec

    The first 3 lines look good, the last one should be a random write, not
    a read, so I fear the script didn't make it out of the post intact.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Ahem A Rivet's Shot on Thu Feb 22 22:08:30 2024
    On 22/02/2024 10:53, Ahem A Rivet's Shot wrote:
    On Wed, 21 Feb 2024 20:51:31 +0000
    druck <news@druck.org.uk> wrote:

    fio --name SeqRead --eta-newline=5s --filename=$TESTFILE --rw=read\
    --size=500m

    Shouldn't that file size be much larger to prevent it from being
    cached ? I get ridiculous numbers trying that script on a PC.

    Yes, that script was on a Pi with an SD card, so didn't want to spend
    too much of it's write life. Try with 2g for an SSD.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to druck on Thu Feb 22 22:37:56 2024
    On 22/02/2024 22:05, druck wrote:
    On 22/02/2024 10:00, Pancho wrote:
    Here are the results from druck's script:

       READ: bw=200MiB/s (209MB/s), 200MiB/s-200MiB/s (209MB/s-209MB/s),
    io=6000MiB (6291MB), run=30060-30060msec
       WRITE: bw=199MiB/s (209MB/s), 199MiB/s-199MiB/s (209MB/s-209MB/s),
    io=6000MiB (6291MB), run=30085-30085msec
        READ: bw=36.0MiB/s (37.8MB/s), 36.0MiB/s-36.0MiB/s
    (37.8MB/s-37.8MB/s), io=1081MiB (1133MB), run=30001-30001msec
        READ: bw=48.1MiB/s (50.4MB/s), 48.1MiB/s-48.1MiB/s
    (50.4MB/s-50.4MB/s), io=1443MiB (1513MB), run=30001-30001msec

    Check the line breaks didn't get messed up, as the last line should be
    WRITE.

    ---druck

    =$TESTFILE--rw=randwrite

    should be

    =$TESTFILE --rw=randwrite

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Theo on Fri Feb 23 13:10:32 2024
    On 22/02/2024 20:57, Theo wrote:


    That's my general feeling. I think Armbian are trying to increase their
    level of support for various board, but they are just volunteers with no
    help from vendors.


    Yep, for clarity, I don't want to slag off Armbian. So far, Armbian is
    the best distro I've tried for the oPi5. My main gripe is the lack of
    hardware support, i.e. a good GPU driver, which is something outside
    Armbian's scope.

    I don't really care about the NVME running gen 1. Maybe I will buy a
    NVME base for the rPi5, when the official case is adapted to work with it.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to Richard Kettlewell on Sat Feb 24 14:25:58 2024
    Richard Kettlewell <invalid@invalid.invalid> writes:
    I’m expecting to free up an NVMe SSD soon, and my Pi 5 is currently
    making do with an SD card, so I’ve been looking into options for
    putting the two together.


    Has anyone used this case?

    https://shop.pimoroni.com/products/argon-neo-5-m-2-nvme-pcie-case-for-raspberry-pi-5

    I’ve ordered one of these.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to All on Tue May 21 22:26:50 2024
    In February I mentioned getting an Argon NEO 5 NVMe case for my Pi 5.

    It was slightly fiddly to put it all together, but not really outside expectations. Linux was able to see my SSD without any trouble.

    However I have not been able to get the Pi to boot directly from the
    SSD. It can see there’s something there but can’t interpret it properly; the diagnostic output (copy-typed) is:

    NVME on 0
    Trying partition: 0
    Unable to read partition as FAT
    type: 32 lba: 0 '' ' ' clusters 0 (0)
    Trying partition: 0
    Unable to read partition as FAT
    type: 32 lba: 0 '' ' ' clusters 0 (0)
    NVME off
    Timeout 00000000 3c303020 00000000 00000000
    nvme: error 8
    Failed to open device: 'nvme'

    (Why is there ASCII ‘ 00<’ in the timeout message?)

    My solution was to boot from the SD card but to configure it (via
    cmdline.txt and /etc/fstab) to mount the root system from the SSD. This
    works (and it’s not like the performance & capacity of the firmware
    partition is very important) though there are now two points of failure.

    My interpretation of all this is that the hardware is connecting the SSD perfectly well, and the Linux kernel talks to it correctly, but the boot
    loader is failing to communicate properly with the SSD.

    Based on forum posts there are many compatibility issues between the Pi
    5 and NVMe devices, so anyone planning to buy one should do their
    research first.

    In my case the SSD is a Crucial CT1000P5SSD8; I had it left over from a decommissioned PC.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Richard Kettlewell on Wed May 22 09:59:44 2024
    On 21/05/2024 22:26, Richard Kettlewell wrote:
    In February I mentioned getting an Argon NEO 5 NVMe case for my Pi 5.

    It was slightly fiddly to put it all together, but not really outside expectations. Linux was able to see my SSD without any trouble.

    However I have not been able to get the Pi to boot directly from the
    SSD. It can see there’s something there but can’t interpret it properly; the diagnostic output (copy-typed) is:

    NVME on 0
    Trying partition: 0
    Unable to read partition as FAT
    type: 32 lba: 0 '' ' ' clusters 0 (0)
    Trying partition: 0
    Unable to read partition as FAT
    type: 32 lba: 0 '' ' ' clusters 0 (0)
    NVME off
    Timeout 00000000 3c303020 00000000 00000000
    nvme: error 8
    Failed to open device: 'nvme'

    (Why is there ASCII ‘ 00<’ in the timeout message?)

    My solution was to boot from the SD card but to configure it (via
    cmdline.txt and /etc/fstab) to mount the root system from the SSD. This
    works (and it’s not like the performance & capacity of the firmware partition is very important) though there are now two points of failure.

    My interpretation of all this is that the hardware is connecting the SSD perfectly well, and the Linux kernel talks to it correctly, but the boot loader is failing to communicate properly with the SSD.

    Based on forum posts there are many compatibility issues between the Pi
    5 and NVMe devices, so anyone planning to buy one should do their
    research first.

    In my case the SSD is a Crucial CT1000P5SSD8; I had it left over from a decommissioned PC.


    Indeed. Recent pi hardware and the new bookworm release have some rough
    edges.
    In this case it looks like it (the bootloader) cant find the FAT
    partition. Now that could be that it is making some unwarranted
    assumptions about where on the disk that actually is.

    And the disk has it either elsewhere, or mapped internally to elsewhere.

    I note that it is trying partition 0..
    is that actually where the FAT volume resides?

    I mean could it be simply a case of reformatting the NVME to put the FAT partition where the firmware 'expects' it to be.

    I had similar issues doing all usb boot...but stumbed on a config that
    worked using my tame team of random monkeys....

    --
    In theory, there is no difference between theory and practice.
    In practice, there is.
    -- Yogi Berra

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to The Natural Philosopher on Wed May 22 15:02:58 2024
    The Natural Philosopher <tnp@invalid.invalid> writes:
    In this case it looks like it (the bootloader) cant find the FAT
    partition.

    Agreed.

    Now that could be that it is making some unwarranted assumptions about
    where on the disk that actually is.

    And the disk has it either elsewhere, or mapped internally to elsewhere.

    I note that it is trying partition 0..
    is that actually where the FAT volume resides?

    It is, yes. It’s the same layout as the SD card.

    The diagnostics (‘cluster 0 etc’) suggest that whatever it thinks it’s reading, it’s not getting the data that’s actually on the SSD.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Richard Kettlewell on Thu May 23 09:44:46 2024
    On 23/05/2024 09:03, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    No problems with wimpy power supplies? apparently pi's and ssds take a
    lot of current at boot time

    It’s the official PSU.


    I bought a Pi5 without the official PSU, or even a Pi4 official PSU. It
    would run for a minute or two and then crash. Completely unusable. It is
    now fine with the official PSU. I hadn't realised my high wattage USB
    chargers achieved the high wattage by negotiating a higher voltage. A
    strategy which was unusable by the Pi. The Pi being non-standard
    irritates me.

    You have a reasonable solution, so why not chill for a bit, see if a
    firmware release fixes it, in the fullness of time.

    I did see some mention of the type of FAT causing problems, i.e. exFAT=bad.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Anssi Saari@3:770/3 to Richard Kettlewell on Thu May 23 12:00:44 2024
    Richard Kettlewell <invalid@invalid.invalid> writes:

    In February I mentioned getting an Argon NEO 5 NVMe case for my Pi 5.

    It was slightly fiddly to put it all together, but not really outside expectations. Linux was able to see my SSD without any trouble.

    However I have not been able to get the Pi to boot directly from the
    SSD. It can see there’s something there but can’t interpret it properly; the diagnostic output (copy-typed) is:

    Did you configure your Pi to boot from the SSD? You didn't say anything
    about that. Argon seems to provide a couple of scripts to config a Pi
    for that. Which is a little scary but I assume those steps in their
    scripts are needed. Although the settings listed are just a few in
    eeprom config and config.txt.

    In my case the SSD is a Crucial CT1000P5SSD8; I had it left over from a decommissioned PC.

    I saw a list of tested SSDs somewhere, here's one:

    https://forum.argon40.com/t/argon-neo-5-nvme-case-with-wd-red-sn700-1tb/2339/2

    It lists Crucial P2, P3 and P3 Plus.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Anssi Saari@3:770/3 to Richard Kettlewell on Thu May 23 11:56:12 2024
    Richard Kettlewell <invalid@invalid.invalid> writes:

    The Natural Philosopher <tnp@invalid.invalid> writes:
    No problems with wimpy power supplies? apparently pi's and ssds take a
    lot of current at boot time

    It’s the official PSU.

    Official *27W* power supply? At least that's what Argon recommends.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Pancho on Thu May 23 10:58:50 2024
    On 23/05/2024 09:44, Pancho wrote:
    On 23/05/2024 09:03, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    No problems with wimpy power supplies? apparently pi's and ssds take a
    lot of current at boot time

    It’s the official PSU.


    I bought a Pi5 without the official PSU, or even a Pi4 official PSU. It
    would run for a minute or two and then crash. Completely unusable. It is
    now fine with the official PSU.
    There is an entry in config.txt that 'tells' the pi that it has a high
    power power supply.
    Otherwise it has to do an appl-ish sort of negotiation with its PSU to
    see if it is.


    --
    The biggest threat to humanity comes from socialism, which has utterly
    diverted our attention away from what really matters to our existential survival, to indulging in navel gazing and faux moral investigations
    into what the world ought to be, whilst we fail utterly to deal with
    what it actually is.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to The Natural Philosopher on Thu May 23 11:50:04 2024
    On 23/05/2024 10:58, The Natural Philosopher wrote:
    On 23/05/2024 09:44, Pancho wrote:
    On 23/05/2024 09:03, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    No problems with wimpy power supplies? apparently pi's and ssds take a >>>> lot of current at boot time

    It’s the official PSU.


    I bought a Pi5 without the official PSU, or even a Pi4 official PSU.
    It would run for a minute or two and then crash. Completely unusable.
    It is now fine with the official PSU.
    There is an entry in config.txt that 'tells' the pi that it has a high
    power power supply.
    Otherwise it has to do an appl-ish sort of negotiation with its PSU to
    see if it is.


    No, I was talking about the USB standard. This is from memory, so take
    with a pinch of salt.

    I have high wattage USB C chargers for mobiles, pads etc. They quote 20
    or 25 watts. Given I wasn't using any USB power draining devices, I
    assumed this would be OK for the Pi 5.

    However, it wasn't OK, Pi 5 crashed. When I looked at the USB small
    print, the charger achieved a high wattage by boosting the voltage from
    5v to 20v, still using a relatively low amps. AIUI, this is USB standard.

    However, the Pi requires 5v (maybe even 5.1v) and a high 5 amps. Which
    is totally non-standard and makes the Pi 5 USB PSU effectively bespoke.
    I suppose, but haven't tested, the Pi 5 PSU is also no good to fast
    charge your mobile.

    Presumably there is some good cost justification, but I don't like it.
    The Orange Pi 5 is fine on a standard USB fast charger, but it is
    generally lower power than the Raspberry Pi 5.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Townley@3:770/3 to Pancho on Thu May 23 12:28:10 2024
    On 23/05/2024 11:50, Pancho wrote:
    On 23/05/2024 10:58, The Natural Philosopher wrote:
    On 23/05/2024 09:44, Pancho wrote:
    On 23/05/2024 09:03, Richard Kettlewell wrote:
    The Natural Philosopher <tnp@invalid.invalid> writes:
    No problems with wimpy power supplies? apparently pi's and ssds take a >>>>> lot of current at boot time

    It’s the official PSU.


    I bought a Pi5 without the official PSU, or even a Pi4 official PSU.
    It would run for a minute or two and then crash. Completely unusable.
    It is now fine with the official PSU.
    There is an entry in config.txt that 'tells' the pi that it has a high
    power power supply.
    Otherwise it has to do an appl-ish sort of negotiation with its PSU to
    see if it is.


    No, I was talking about the USB standard. This is from memory, so take
    with a pinch of salt.

    I have high wattage USB C chargers for mobiles, pads etc. They quote 20
    or 25 watts. Given I wasn't using any USB power draining devices, I
    assumed this would be OK for the Pi 5.

    However, it wasn't OK, Pi 5 crashed. When I looked at the USB small
    print, the charger achieved a high wattage by boosting the voltage from
    5v to 20v, still using a relatively low amps. AIUI, this is USB standard.

    However, the Pi requires 5v (maybe even 5.1v) and a high 5 amps. Which
    is totally non-standard and makes the Pi 5 USB PSU effectively bespoke.
    I suppose, but haven't tested, the Pi 5 PSU is also no good to fast
    charge your mobile.

    Presumably there is some good cost justification, but I don't like it.
    The Orange Pi 5 is fine on a standard USB fast charger, but it is
    generally lower power than the Raspberry Pi 5.


    5 Volts at 5 amps is within the USB power spec, albeit less commonly used.

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to Pancho on Thu May 23 16:18:58 2024
    On 23/05/2024 11:50, Pancho wrote:
    high wattage

    For God's sake it's high power or high current. Saying high wattage
    makes you look ignorant. Like all the left pondians who say "it's
    negative 15 today" when they mean "minus 15".

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to All on Thu May 23 16:59:42 2024
    On 23/05/2024 16:18, mm0fmf wrote:
    On 23/05/2024 11:50, Pancho wrote:
    high wattage

    For God's sake it's high power or high current. Saying high wattage
    makes you look ignorant.

    But I is ignorant. I was posting for other ignorant people so they would
    not make the mistakes wot I made.

    I was also wrong, on a number of items:

    5 amp is USB standard, as Chris points out, although the rPi5 PSU seems
    to be unique in offering it.

    The rPi5 charger does up the voltage for devices that expect it, still
    limited to 27w.

    Also, like the rPi5 the orange Pi5 seems also to be just 5v, but it gets
    away with normal USB chargers.

    Like all the left pondians who say "it's
    negative 15 today" when they mean "minus 15".

    Tomato Tomatoe.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From TimS@3:770/3 to none@invalid.com on Thu May 23 17:46:00 2024
    On 23 May 2024 at 16:18:59 BST, "mm0fmf" <none@invalid.com> wrote:

    On 23/05/2024 11:50, Pancho wrote:
    high wattage

    For God's sake it's high power or high current. Saying high wattage
    makes you look ignorant. Like all the left pondians who say "it's
    negative 15 today" when they mean "minus 15".

    High wattage *is* high power. Power is measured in watts.

    --
    Tim

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to Anssi Saari on Thu May 23 19:42:52 2024
    Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> writes:
    Richard Kettlewell <invalid@invalid.invalid> writes:
    In February I mentioned getting an Argon NEO 5 NVMe case for my Pi 5.

    It was slightly fiddly to put it all together, but not really outside
    expectations. Linux was able to see my SSD without any trouble.

    However I have not been able to get the Pi to boot directly from the
    SSD. It can see there’s something there but can’t interpret it properly; >> the diagnostic output (copy-typed) is:

    Did you configure your Pi to boot from the SSD?

    Yes.

    (It’s directly referenced in one of my later posts, but you could work
    it out from the diagnostics, which show it attempting to boot from NVMe
    and failing.)

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to TimS on Thu May 23 19:33:52 2024
    On 23/05/2024 18:46, TimS wrote:
    On 23 May 2024 at 16:18:59 BST, "mm0fmf" <none@invalid.com> wrote:

    On 23/05/2024 11:50, Pancho wrote:
    high wattage

    For God's sake it's high power or high current. Saying high wattage
    makes you look ignorant. Like all the left pondians who say "it's
    negative 15 today" when they mean "minus 15".

    High wattage *is* high power. Power is measured in watts.
    Only for DC or when the PF is 1.

    High power covers all cases which is why it was emphasised we use that
    in the 2 years of motors and power distribution modules in my Electrical
    & Electronic Engineering degree. Or we used VA.

    The terms wattage and ampage were never used in any of the books /
    teaching material I used at the time.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Scott Alfter@3:770/3 to Pancho.Jones@proton.me on Thu May 23 20:11:20 2024
    In article <v2n70q$1lih1$3@dont-email.me>,
    Pancho <Pancho.Jones@proton.me> wrote:
    I have high wattage USB C chargers for mobiles, pads etc. They quote 20
    or 25 watts. Given I wasn't using any USB power draining devices, I
    assumed this would be OK for the Pi 5.

    However, it wasn't OK, Pi 5 crashed. When I looked at the USB small
    print, the charger achieved a high wattage by boosting the voltage from
    5v to 20v, still using a relatively low amps. AIUI, this is USB standard.

    However, the Pi requires 5v (maybe even 5.1v) and a high 5 amps. Which
    is totally non-standard and makes the Pi 5 USB PSU effectively bespoke.
    I suppose, but haven't tested, the Pi 5 PSU is also no good to fast
    charge your mobile.

    Something like this ought to work, though I've not tested it as I don't have
    a Raspberry Pi 5 (though I do have a OnePlus 7 Pro):

    https://amzn.to/4bRBmtE

    "Warp Charge" is a low-voltage (5V), high-current charging scheme OnePlus
    has used on some of its phones. 6A (from a 30W charger) ought to be more
    than enough for anything that Raspberry Pi is currently shipping.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Brian Gregory@3:770/3 to All on Thu May 23 21:43:08 2024
    On 23/05/2024 16:18, mm0fmf wrote:
    On 23/05/2024 11:50, Pancho wrote:
    high wattage

    For God's sake it's high power or high current. Saying high wattage
    makes you look ignorant. Like all the left pondians who say "it's
    negative 15 today" when they mean "minus 15".


    That rant makes you sound like a weirdo.

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Brian Gregory@3:770/3 to Chris Townley on Thu May 23 21:40:18 2024
    On 23/05/2024 12:28, Chris Townley wrote:
    5 Volts at 5 amps is within the USB power spec, albeit less commonly used.

    It would be unusual to come across a USB-PD power supply that did 5V 5A.

    5A is a relatively recent addition to the USB-PD spec. Previously it
    stopped at 3A. My 45W Samsung USB-PD charger gets 45W by doing 15V 3A.
    My USB-PD laptop charger gets 60W by doing 20V 3A.

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Brian Gregory on Fri May 24 13:06:04 2024
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 23/05/2024 12:28, Chris Townley wrote:
    5 Volts at 5 amps is within the USB power spec, albeit less commonly used.

    It would be unusual to come across a USB-PD power supply that did 5V 5A.

    5A is a relatively recent addition to the USB-PD spec. Previously it
    stopped at 3A. My 45W Samsung USB-PD charger gets 45W by doing 15V 3A.
    My USB-PD laptop charger gets 60W by doing 20V 3A.

    I have a 130W Dell USB-C PSU. It does USB-PD but strangely: it only
    supports 5V and 20V, both at 6.5A. So you can charge things that aren't
    Dell laptops, but slowly. Normally phones etc would switch up to 9, 12 or
    15V to pull more power, but this doesn't have those rails. They continue
    to charge from 5V at whatever max current they're happy to take (2A, 3A?) - like a dumb USB-A wall charger.

    I haven't tried it on a Pi5, but I expect it would work just fine.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Anssi Saari@3:770/3 to Brian Gregory on Fri May 24 22:39:44 2024
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> writes:

    It would be unusual to come across a USB-PD power supply that did 5V 5A.

    5A is a relatively recent addition to the USB-PD spec. Previously it
    stopped at 3A. My 45W Samsung USB-PD charger gets 45W by doing 15V
    3A. My USB-PD laptop charger gets 60W by doing 20V 3A.

    5V 5A is common on Samsung phones though. No doubt they did that to sell
    more chargers since it's unusual, I think even today. Plus their phones
    don't come with chargers.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Pancho on Sat Jun 22 10:40:26 2024
    Pancho wrote:

    I was curious, so I did a bit of digging, it appears my nvme drive is
    running as PCIe gen 1. The oPi5 should be gen 3, The nvme drive should
    be gen 3.

    Not an rPi, not even an oPi, but an interesting looking device ...

    <https://www.friendlyelec.com/index.php?route=product/product&product_id=294>

    A carrier board for a rockchip compute module, gives
    four M.2 slots (each only single lane of gen3 if using all four)
    2.5Gbps ethernet
    bunch of USB/HDMI
    usual GPIO, CSI/DSI, etc

    looks like a brilliant device, it feels like a brilliant device, but nothing quite works properly

    That sort of issue could be the kicker with the friendlyelec ...

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)