laurentppol Posted November 6 Posted November 6 Hi there, my new OPi5 with Armbian Bookworm Cinnamon mesa backoprted does not see my mPCIe SSD disk. Just got this: https://allegro.pl/oferta/nowy-superszybki-dysk-ssd-512gb-m-2-nvme-2242-9605598735 \ module, but it is not recognized by the system. Armbianmonitor output: https://paste.armbian.com/huhedogene lspci -v output: 0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 89 Bus: primary=40, secondary=41, subordinate=41, sec-latency=0 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: [disabled] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Expansion ROM at f4200000 [virtual] [disabled] [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=16/32 Maskable- 64bit+ Capabilities: [70] Express Root Port (Slot-), MSI 08 Capabilities: [b0] MSI-X: Enable- Count=128 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [148] Secondary PCI Express Capabilities: [180] L1 PM Substates Capabilities: [190] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?> Kernel driver in use: pcieport No new /dev/sd* , nor /dev/mmcblk* files. What am I missing? Is module faulty? (but it is new) Should I switch to another kernel? (Current is Linux orangepi5 6.10.6-current-rockchip-rk3588 #1 SMP PREEMPT Mon Aug 19 04:05:40 UTC 2024 aarch64 GN U/Linux ). Laurent 0 Quote
Werner Posted November 6 Posted November 6 21 minutes ago, laurentppol said: 6.10.6 Mainline support is still under heavy development. Not all features are there yet. If you need an almost feature-complete kernel you have to use vendor 6.1.y for now. Retry with this kernel. 0 Quote
laurentppol Posted November 6 Author Posted November 6 (edited) Switched to 6.1.75 vendor, no change in lsblk output. No /dev/sd* devices. EMPTY output of lspci. What's next step to try? Edited November 6 by laurentppol 0 Quote
Werner Posted November 6 Posted November 6 Did you test the nvme on a different system to check if its not defective? 0 Quote
laurentppol Posted November 6 Author Posted November 6 (edited) Have no other system with mPCIe bus. Module is just new. And with this kernel, did You remarked empty output of lspci? So it does not recognize even PCIe bus. EDIT: is Atheros based WiFi + BT card supported? Can buy in Poland for a low price. EDIT2: I do see that there is "official" Debian bookworm image for OPi5 on OrangePi site. Will download and try. Edited November 7 by laurentppol 0 Quote
laurentppol Posted November 7 Author Posted November 7 Oooops, Armbian team: "we have problem": - "official Debian from Orange Pi sees SSD. lspci -v root@orangepi5:~# lspci -v 0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 74 Bus: primary=40, secondary=41, subordinate=41, sec-latency=0 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: f4200000-f42fffff [size=1M] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Expansion ROM at f4300000 [virtual] [disabled] [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=16/32 Maskable- 64bit+ Capabilities: [70] Express Root Port (Slot-), MSI 08 Capabilities: [b0] MSI-X: Enable- Count=128 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [148] Secondary PCI Express Capabilities: [180] L1 PM Substates Capabilities: [190] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?> Kernel driver in use: pcieport 0004:41:00.0 Non-Volatile memory controller: Micron Technology Inc 2400 NVMe SSD (DRAM-less) (rev 03) (prog-if 02 [NVM Express]) Subsystem: Micron Technology Inc 2400 NVMe SSD (DRAM-less) Flags: bus master, fast devsel, latency 0, IRQ 73 Memory at f4200000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+ Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [b0] MSI-X: Enable+ Count=17 Masked- Capabilities: [100] Advanced Error Reporting Capabilities: [148] Power Budgeting <?> Capabilities: [158] Alternative Routing-ID Interpretation (ARI) Capabilities: [168] Secondary PCI Express Capabilities: [188] Physical Layer 16.0 GT/s <?> Capabilities: [1ac] Lane Margining at the Receiver <?> Capabilities: [204] Latency Tolerance Reporting Capabilities: [20c] L1 PM Substates Capabilities: [390] Data Link Feature <?> Kernel driver in use: nvme uname -a root@orangepi5:~# uname -a Linux orangepi5 6.1.43-rockchip-rk3588 #1.1.8 SMP Fri Feb 2 21:16:10 CST 2024 aarch64 GNU/Linux can't do orangepimonitor -u, response is "under construction". How can I "repair" my (favorite) Armbian? With 6.1.x kernel I had EMPTY lspci -v! (on Armbian). 0 Quote
Igor Posted November 8 Posted November 8 10 hours ago, laurentppol said: Oooops, Armbian team: "we have problem": This is the only "fix" we can finance from your donations: "PCI support is broken on vendor kernel (6.1.xx) on versions higher then 24.8.1. Use this version and freeze kernel (armbian-config -> system) prior to updating OS. PCI works on other Rockchip 3588 devices, while fixing this on all represent expensive technical challenge which we can't finance. With Orangepi devices we have extremely high negative support budget while your yearly donations are not on the level to compensate this loss. Alternative operating systems that relies on our work face the same problem. We appreciate for your understanding." https://www.armbian.com/orangepi-5/ 10 hours ago, laurentppol said: official Debian from Orange Pi sees SSD So does previous Armbian image. Use provided instructions or only buy (probably a bit more expensive) from vendors that supports open source developers. 1 Quote
laurentppol Posted November 8 Author Posted November 8 Hi Igor, nice to see You, "official" image uses 6.1.x kernel, but switching to 6.1.x kernel on Armbian got worse than 6.10.x (no lspci at all). BTW, could \You provide me (in PM) bank account number (as I don't want to give number AND e-mail to Paypal)? 0 Quote
Igor Posted November 8 Posted November 8 51 minutes ago, laurentppol said: could \You provide me (in PM) bank account number (as I don't want to give number AND e-mail to Paypal)? I change the text to: "we will be able to proceed once your donations for entire project reaches at least 1000 USD per month. " Even this miracle happens, we will still be making a huge loss, supporting mainly subjects that compete with us with our money (Orangepi is one of them, stealing value from us in order to sell you cheap hardware). That far away we are. I am sure GitHub supports all kinds of payment methods and random donations method supports that too. If you ask us to repair something, donation doesn't works. That is a professional service, which are paid at standard rates - this is for vendors that doesn't contribute in any way. Fixing resources are expensive and scarce. This is open source - shitty operation are not Armbian problem, but Orangepi, yours. 0 Quote
laurentppol Posted November 8 Author Posted November 8 (edited) @Igor, I know, my (future) donations are intended for PROJECT, not question. Will try GitHub. Which kernel should work? (exact version 6.1.x) May I "transplant" it from "official" release (kernel, initrd, modules)? EDIT: tried GitHub payment, accepted card *VISA, it's OK Edited November 8 by laurentppol 0 Quote
Igor Posted November 8 Posted November 8 2 minutes ago, laurentppol said: May I "transplant" it from "official" release If you would like to use 2 years old kernel with not a single fix applied after initial release, use version of Armbian from Orangepi site. 3 minutes ago, laurentppol said: Which kernel should work? This question was answered on Orangepi download pages. For everyone. To spare answering same questions over and over again. Which is devastating for mental health and expensive when we pay everything and you nothing. Only when you like - donation. 0 Quote
laurentppol Posted November 8 Author Posted November 8 (edited) Ok, but how do I "transplant" (working) kernel from Orange OS to Armbian? Should I copy /boot directory and /lib/modules/<kernel version>? Is that enough? Or I need something else? (Other than freezing kernel?). Edited November 8 by laurentppol 0 Quote
Werner Posted November 8 Posted November 8 Try enabling "legacy" branch besides vendor and edge here: https://github.com/armbian/build/blob/0397a2492ddd7f87d3ab0a7875f1ec8346266ae0/config/boards/orangepi5.conf#L8 Then build an image using "legacy" as kernel. May build and boot, may not. This branch is abandoned. Dont ask for support when playing with it. 0 Quote
laurentppol Posted November 8 Author Posted November 8 (edited) Have tried. legacy and vendor KERNEL of Bookworm. No output on lspci at all. BTW, how it is possible, that just few days ago I was able to download many images: root@laptop4 Orange_Pi]# ls -l ./Armbian_24.8.1_Orangepi5_bookworm_* -rw-r--r-- 1 laurent laurent 7667187712 10-07 22:43 ./Armbian_24.8.1_Orangepi5_bookworm_current_6.10. 6_cinnamon-backported-mesa_desktop.img -rw-r--r-- 1 laurent laurent 1503183524 10-07 22:43 ./Armbian_24.8.1_Orangepi5_bookworm_current_6.10. 6_cinnamon-backported-mesa_desktop.img.xz -rw-r--r-- 1 laurent laurent 505130612 10-07 22:26 ./Armbian_24.8.1_Orangepi5_bookworm_current_6.10. 6.img.xz -rw-r--r-- 1 laurent laurent 1415670776 10-06 22:24 ./Armbian_24.8.1_Orangepi5_bookworm_current_6.10. 6_xfce_desktop.img.xz ? Edited November 8 by laurentppol 0 Quote
ArmBoy1988 Posted November 8 Posted November 8 (edited) I would suggest to try another m.2 nvme. Maybe a brand like Samsung. Maybe borrow one from a friend or have a local store that can lend you one to try or maybe buy one from Amazon that you can return if it doesn't work. There are some brands that I believe just "work better" and are more compatible. There's a saying I remember..."nobody ever got fired for suggesting IBM". It's the same sentiment. When you go with well known brands, that are usually more expensive, you usually can't go wrong. I remember other threads, for another board, where some drives worked and others did not. There were no reasons why this was so. There were threads that listed drives that worked and those that didn't because this was happening. Just a suggestion. Might not work. Edited November 8 by ArmBoy1988 Add a little more info 0 Quote
royk Posted November 13 Posted November 13 @laurentppol Perhaps you've tried the 6.1.75 legacy kernel which doesn't work with nvme on the Orange Pi 5 like Igor mentioned? Here I have a RT patched kernel with that commit reverted which works with nvme, https://drive.google.com/drive/folders/1r76sUsfG_F8pq0pkzzPgEyzqdRG6fGcz?usp=drive_link The current image should be with a kernel from before that commit but I cannot confirm that. 0 Quote
laurentppol Posted Wednesday at 08:43 PM Author Posted Wednesday at 08:43 PM @royk Didn't work for me. Used apt install "*.deb" then reboot and system hung after bootlogo. 0 Quote
royk Posted Wednesday at 10:00 PM Posted Wednesday at 10:00 PM (edited) @laurentppol It might be that the links have not been correct in /boot cd boot sudo ln -sf uInitrd-6.1.75-rt23 uInitrd sudo ln -sf vmlinuz-6.1.75-rt23 Image And of course the dtb from the 6.1.75 kernel must be used. Perhaps downgrading the kernel also helps, in case you don't use real-time applications that might be the better option: https://forum.armbian.com/topic/47090-radxa-rock5c-pentahat-and-emmc/#findComment-206251 Edited Wednesday at 10:04 PM by royk 0 Quote
laurentppol Posted Thursday at 02:30 AM Author Posted Thursday at 02:30 AM OK, as soon as my new 2 32GB cards arrive, I will check that. Or even manually install. 0 Quote
laurentppol Posted 3 hours ago Author Posted 3 hours ago @ArmBoy1988 seems You were right: got SK Hynix module, now R/W is almost the same, 400MB/s (not so bad, remembering that OPi has PCIe Gen2). Will test also with encrypted partition. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.