Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VisionFive 2 hangs at boot with NVMe



Benny Siegert <bsiegert%netbsd.org@localhost> wrote:
> On Sat, 17 Oct 2026, Martin Husemann wrote:
>
>> On Sat, Oct 17, 2026 at 04:53:38PM +0000, Benny Siegert wrote:
>>> The one that does not work is an NVMe 1.4.
>>
>> Same here, I tried two different ones but both are 1.4.
>
> Oddly enough, it looks like it's not specific to RISC-V!

Have you tried the 1.4 one with x86_64.

> When I put the NVMe 1.4 SSD into an Orange Pi 5 (so aarch64), I can also 
> reproduce the crash -- when initializing the SSD, nothing happens for 16 
> seconds, then a heartbeat panic. Unfortunately, the keyboard does not work 
> in ddb.
>
> This same machine is otherwise running in production with the NVMe 1.1 
> SSD.

The RK3588 has a fairly complicated setup process to use MSI interrupts,
you need to go back to set some device registers after you know which
interrupt number has been chosen.

Someone could check what UEFI is doing on an RK3588 but it is a
different software stack below NetBSD to that on the VisionFive 2.

I am running my native RK3588 pcie driver with MSI&MSI-X disabled for
now, it does work with a 1.4 ssd though.


Home | Main Index | Thread Index | Old Index