/dev/random too hungry? Errormsg: PRNG is not seeded

Emanuel Strobl Emanuel.strobl at gmx.net
Tue Dec 20 08:56:07 PST 2005


Am Dienstag, 20. Dezember 2005 17:50 CEST schrieb Harald Schmalzbauer:
> Hello,
>
> I have one box where PRNG kickstart doesn't work.
> Whne I set 'sysctl kern.random.sys.seeded=0' and
> 'cat /boot/kernel/kernel.gz > /dev/random' .random.sys.seeded is still
> 0. On any other box it's enough to send one byte and .sys.seeded returns
> to 1
>
> I found that when installing a new server and trying to usually start
> sshd. (ssh-keygen quits immediately with the error: PRNG is not seeded)
>
> I'm not very familar with random or entropy stuff so please tell me what
> to do.
> Nothing uncommon so far with that box (besides it starts from
> CompactFlash with memorydisk for /var / and /tmp):

Sorry, forgot to mention it's RELENG_6 from today...

> kern.random.yarrow.gengateinterval: 10
> kern.random.yarrow.bins: 10
> kern.random.yarrow.fastthresh: 192
> kern.random.yarrow.slowthresh: 256
> kern.random.yarrow.slowoverthresh: 2
> kern.random.sys.seeded: 0
> kern.random.sys.harvest.ethernet: 1
> kern.random.sys.harvest.point_to_point: 1
> kern.random.sys.harvest.interrupt: 1
> kern.random.sys.harvest.swi: 0
> interrupt                          total       rate
> irq0: clk                        1038776        998
> irq1: atkbd0                           2          0
> irq3: sio1                          2610          2
> irq5: em0                            133          0
> irq7: ppc0                             1          0
> irq8: rtc                         132946        127
> irq10: fxp0                           72          0
> irq12: fwohci0++                       1          0
> irq13: npx0                            2          0
> irq14: ata0                         3110          2
> irq15: ata1                          202          0
>
> Thanks in advance,
>
> -Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051220/46d65658/attachment.bin


More information about the freebsd-stable mailing list