From owner-freebsd-current@FreeBSD.ORG Sat Sep 7 18:40:54 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BE436480; Sat, 7 Sep 2013 18:40:54 +0000 (UTC) (envelope-from mark@grondar.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 827042E59; Sat, 7 Sep 2013 18:40:54 +0000 (UTC) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VINRD-000Dgs-Fc; Sat, 07 Sep 2013 19:40:53 +0100 Subject: Re: random(4) update causes mips compile fail | mips boot fail Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_AACC6978-6FF4-4A23-899D-03E43CF7702D"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Mark R V Murray In-Reply-To: <1378579011.1588.16.camel@localhost> Date: Sat, 7 Sep 2013 19:40:50 +0100 Message-Id: <9240BEF1-2791-4D58-A422-08AEF1CD306C@grondar.org> References: <1378572186.1588.5.camel@localhost> <24DB010A-F374-491B-9203-FDDD7EA14A51@grondar.org> <1378579011.1588.16.camel@localhost> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.1508) X-SA-Score: -2.2 X-Mailman-Approved-At: Sat, 07 Sep 2013 20:07:47 +0000 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 18:40:54 -0000 --Apple-Mail=_AACC6978-6FF4-4A23-899D-03E43CF7702D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 7 Sep 2013, at 19:36, Sean Bruno wrote: > On Sat, 2013-09-07 at 18:39 +0100, Mark R V Murray wrote: >> On 7 Sep 2013, at 17:43, Sean Bruno wrote: >>> trying to enable random on my DIR-825 kernconf I get this on boot: >>>=20 >>> Configuration file: /etc/cfg/hostapd.wlan0.conf >>> Using interface wlan0 with hwaddr 00:00:88:88:22:22 and ssid = "TESTBRUNO" >>> Entropy device is blocking >>=20 >> Please make a change to sys/dev/random/randomdev_soft.c; >>=20 >> Around line 82, please change from ".seeded =3D 0" to ".seeded =3D = 1". >>=20 >> If that works, then your report above with the "Entropy device is = blocking." >> is trying to read random numbers before /dev/random is secure; this = is a BAD >> security problem.=20 >>=20 >> M >=20 >=20 > Looks like it does indeed work if that is set to 1. =20 >=20 > This "DIR-825" config, should be loading random as a module, not built > into the kernel due to size limitations of the kernel on this board. Hmm. I'll set it back to 1, but this is technically a security issue. Thanks for the report back, and sorry for the hassles! M --=20 Mark R V Murray --Apple-Mail=_AACC6978-6FF4-4A23-899D-03E43CF7702D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBUitzMt58vKOKE6LNAQoJbAP7BWUPAE9NOM7K6ufmEfv6lv1jvbN7A9jo 0ReQy5lebSox5A+5SnwR2iNiwrNXNcFdrhQbwtjougSLoj0k08+2ptnlyhrtII3j Hp2HwcX1XHGESbzpk0IIrf3XEloKIOSHIWcys5vcKoyhy1ZNmb8VsQeyDy7JqDqg mQ/0EqeZB1c= =gZs+ -----END PGP SIGNATURE----- --Apple-Mail=_AACC6978-6FF4-4A23-899D-03E43CF7702D--