You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reading from /dev/hwrng on 6.6.20 hangs on Pi3 #6034
Basically an upstream change made hwrng very slow.
We added a downstream patch to make it fast again on 6.1.
Upstream added a patch to make it faster. and we dropped the downstream patch on 6.6.
But the upstream code is still unusably slow, so I've reinstated the downstream patch.
Note: it doesn't actually hang on Pi3 - my hexdump /dev/hwrng did output some hex number after several minutes.
With the downstream patch it's pretty much instant.
You can use sudo rpi-update (usual caveats apply) to test the fix.
Activity
popcornmix commentedon Mar 14, 2024
I can confirm this. I'll see what I can find.
kernel: hwrng: bcm2835 - sleep more intelligently (again)
kernel: hwrng: bcm2835 - sleep more intelligently (again)
popcornmix commentedon Mar 14, 2024
This is a version of #5390.
Basically an upstream change made hwrng very slow.
We added a downstream patch to make it fast again on 6.1.
Upstream added a patch to make it faster. and we dropped the downstream patch on 6.6.
But the upstream code is still unusably slow, so I've reinstated the downstream patch.
Note: it doesn't actually hang on Pi3 - my
hexdump /dev/hwrngdid output some hex number after several minutes.With the downstream patch it's pretty much instant.
You can use
sudo rpi-update(usual caveats apply) to test the fix.dividuum commentedon Mar 15, 2024
Works again. Thanks 👍