Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 858188

Summary: sys-kernel/gentoo-sources: after upgrade and reboot to 5.15.52 , entropy seems stuck at 256
Product: Gentoo Linux Reporter: hsk17
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED INVALID    
Severity: normal CC: hydrapolic, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
/usr/src/linux-5.15.52-gentoo/.config

Description hsk17 2022-07-15 11:01:15 UTC
Created attachment 791468 [details]
emerge --info

am a bit unsure if there actually is a problem.  but the case is striking.

after "emerge -uDN @world" installed sys-kernel/gentoo-sources-5.15.52, i have built, installed, and booted that kernel (as described in wiki/Kernel/Upgrade, using make olddefconfig , no questions, no changes).

then i found that entropy, as shown by /proc/sys/kernel/random/entropy_avail, is stuck at 256.  is this real?  or an artifact?  after rebooting the previously installed (former stable) 5.15.41,  ..../entropy_avail shows again varying values well above 1000, during normal operation of the system.  and as other linux systems (suse, ubuntu) do, that i checked.

emerge --info is attached; also /usr/src/linux/.config; any other info wanted?
Comment 1 hsk17 2022-07-15 11:02:58 UTC
Created attachment 791471 [details]
/usr/src/linux-5.15.52-gentoo/.config
Comment 2 Mike Pagano gentoo-dev 2022-07-15 11:26:21 UTC
See this commit for a full explanation:

https://lore.kernel.org/lkml/20220527084855.501642285@linuxfoundation.org/

More info:

https://www.zx2c4.com/projects/linux-rng-5.17-5.18/
Comment 3 Tomáš Mózes 2022-07-15 12:09:48 UTC
I was surprised too, but it's normal. Even if you have haveged running.