Is anyone seeing OpenSBI v1.0 flakiness?

Anup Patel anup at brainfault.org
Tue Jul 12 22:13:52 PDT 2022


On Wed, Jul 13, 2022 at 7:58 AM Palmer Dabbelt <palmer at dabbelt.com> wrote:
>
> I recently bumped QEMU to v7.0.0 in my main test repos, which is causing
> some flakiness: around 1% of kernels are failing to boot, it seems to
> not really depend on the Kconfig or QEMU config (though I'm always
> running virt tests).  It's just an early boot hang, I haven't poked
> around much deeper as I've just been trying to bisect the problem.  I
> think I've tracked this down to the OpenSBI update (from 0.9 to 1.0),
> but it seems like the boot failures come and go so I'm not 100% sure on
> that -- at least the commit before the OpenSBI update seems safe, I ran
> about ten thousand boots without any issues.  That's about as far as
> I've getten bisecting, the low failure rate is causing headaches.

When it fails to boot, is it only the kernel or opensbi as well ?
If it is just the kernel failing to boot then the issue could be with
kernel as well.

In any case, I suggest you take a register dump from the QEMU
monitor using "info registers -a" whenever you see any early boot
failure. At least, this will tell us what the CPUs were doing when
the failure happened.

>
> I'm back on v6.1.0 so I can try and get some Linux code merged this
> week, I'm way behind so I probably won't be able to look all that much.
> I'm going to try and get OpenSBI master into my testing flow more
> cleanly, but I figured I'd start a thread in case anyone else is seeing
> issues.

I would also recommend trying the latest OpenSBI v1.1 to check
whether similar failures are seen with the latest OpenSBI or not ?

>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi

Regards,
Anup



More information about the opensbi mailing list