Hauke Mehrtens <hauke <at> hauke-m.de> writes:
> 
> On 10/17/2013 05:40 PM, chrono wrote:
> > Ahoi everyone,
> > 
> > it was requested on IRC that I send my solution to the entropy problem
> > with the current
> > kernel (e.g. having 0 available entropy):
> > 
> > root <at> OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail
> > 0
> 
> A similar patch was applied to trunk in r38834.
> 
> Hauke
> 

I provided this backport patch to #openwrt on freenode last week. I am
glad it was included in trunk.

Two important clarifications:

1. The original poster applies his patch to kernel 3.3.8 (it seems) yet
   the interface that makes use of get_cycles() in seeding the random
   pool wasn't introduced until 3.6. The patch on pre-3.6 kernels
   effectively does nothing entropy-wise. Without more comprehensive
   backports, there is no similar simple solution for Attitude.

2. You aren't going to see /proc/sys/kernel/random/entropy_avail
   affected by this patch because the machine/boot specific seeding
   does not credit the entropy count.

--mancha
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to