Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30214 - rng-tools breaks with a 2.6 kernel
Summary: rng-tools breaks with a 2.6 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 16:15 UTC by Tony Vroon (RETIRED)
Modified: 2003-10-05 10:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to /etc/init.d/rngd (rngd.patch,500 bytes, patch)
2003-10-02 16:16 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2003-10-02 16:15:53 UTC
Because the 2.6 kernel uses /dev/hw_random instead of /dev/hwrandom, rng-tools claims it can't find a hardware RNG in the system.
Please apply the attached patch to remedy this situation.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2003-10-02 16:16:26 UTC
Created attachment 18632 [details, diff]
Patch to /etc/init.d/rngd
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-02 16:55:00 UTC
this patch would break the 2.4 kernel users though
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2003-10-02 17:09:48 UTC
Thankfully not :)
It checks if /dev/hw_random exists (2.6), if not, /dev/hwrandom is checked
(2.4), if not, /dev/i810_rng is checked.
The older two checks already existed, all I did was add one more at the top.
Comment 4 Hanno Böck gentoo-dev 2003-10-05 10:10:00 UTC
Is fixed now. Just re-emerge rng-tools.