Re: [PATCH] tools/nolibc: stackprotector: Avoid stalling program startup if crng is not init yet

From: Daniel Palmer

Date: Fri May 22 2026 - 18:30:10 EST


Hi Thomas,

On Fri, 22 May 2026 at 23:46, Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:

> > > Anyhow, I switched compilers for my nommu target and everything
> > > stopped working, tracked it down to this. my other compiler must
> > > have not supported the stack protector.
>
> Did the random pool *never* fully initialize?
> That sounds weird.

The crng init message is eventually printed after a while if I
interact with the shell[0].
Since my init, shell, everything is written with nolibc now there is
so little disk activity etc I don't think there are enough interrupts
happening to collect any randomness.
Maybe something to save some seeding data between boots is the next
tool I need to write.

0 - https://gist.github.com/fifteenhex/d4a284f34a605702f98a3db68261f46e