Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Dec 2005 17:50:36 +0100
From:      Harald Schmalzbauer <harry@schmalzbauer.de>
To:        freebsd-stable@freebsd.org
Subject:   /dev/random too hungry? Errormsg: PRNG is not seeded
Message-ID:  <200512201750.44773@harrymail>

next in thread | raw e-mail | index | archive | help
--nextPart2761354.32hUjrj4sV
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello,

I have one box where PRNG kickstart doesn't work.
Whne I set 'sysctl kern.random.sys.seeded=3D0' and=20
'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=
=20
do.
Nothing uncommon so far with that box (besides it starts from CompactFlash=
=20
with memorydisk for /var / and /tmp):

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,

=2DHarry

--nextPart2761354.32hUjrj4sV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDqDZkBylq0S4AzzwRApU3AJ4xK7NNFpLYVQzRoOfhlKD05jEotACdE6jq
hJbXyw5Gi5vVkr6oyuZVp14=
=MyFL
-----END PGP SIGNATURE-----

--nextPart2761354.32hUjrj4sV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512201750.44773>