From owner-freebsd-stable@FreeBSD.ORG Tue Dec 20 16:50:52 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A070A16A41F for ; Tue, 20 Dec 2005 16:50:52 +0000 (GMT) (envelope-from harry@schmalzbauer.de) Received: from flb.schmalzbauer.de (flb.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D33343D49 for ; Tue, 20 Dec 2005 16:50:49 +0000 (GMT) (envelope-from harry@schmalzbauer.de) Received: from korso.flintsbach.schmalzbauer.de (korso.flintsbach.schmalzbauer.de [172.21.2.3]) by flb.schmalzbauer.de (8.13.1/8.13.1) with ESMTP id jBKGolXe065867 for ; Tue, 20 Dec 2005 17:50:47 +0100 (CET) (envelope-from harry@cale.flintsbach.schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.252]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 03F25B617 for ; Tue, 20 Dec 2005 17:50:47 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (localhost [127.0.0.1]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4) with ESMTP id jBKGojk2052498 for ; Tue, 20 Dec 2005 17:50:45 +0100 (CET) (envelope-from harry@cale.flintsbach.schmalzbauer.de) Received: from localhost (localhost [[UNIX: localhost]]) by cale.flintsbach.schmalzbauer.de (8.13.4/8.13.4/Submit) id jBKGojJL052497 for freebsd-stable@freebsd.org; Tue, 20 Dec 2005 17:50:45 +0100 (CET) (envelope-from harry@cale.flintsbach.schmalzbauer.de) From: Harald Schmalzbauer To: freebsd-stable@freebsd.org Date: Tue, 20 Dec 2005 17:50:36 +0100 User-Agent: KMail/1.8.1 X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2761354.32hUjrj4sV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512201750.44773@harrymail> Subject: /dev/random too hungry? Errormsg: PRNG is not seeded X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 16:50:52 -0000 --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--