From owner-svn-src-all@FreeBSD.ORG Sat Nov 1 22:15:45 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8090D618; Sat, 1 Nov 2014 22:15:45 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9F44CD7; Sat, 1 Nov 2014 22:15:44 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id dc16so6783737qab.6 for ; Sat, 01 Nov 2014 15:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=bJQYtBErg0XgVuA43QffL+t8beInSk7nkScW7xwoUco=; b=UtuQ18W71HQX6890dM4fJnH2uE1AvxUh0e4y6iP4hVa787Sv0mx1jPhD9HF+Vp4pCO FIbYKP8Oc98AkTf5AIIj9s+SF0NI25jKZlDUlMTERtYQiLDORgQPf5g1I+pHf6B5PEYZ r+XFrJJGH/uLtafTenIWTHzeAHYhy/e4cutpGRGkvXVxFsg1/RUHg9egDp/86sDuqGvq ICC++sKFmfWWaJ7J83Qca0rmaHCaaUaRC8z6xWkHjmz81gB8ypDlu9YqFhfo7eHoC7vb hP3Fx0LmaUDWpJs4fHfeyBwXuA1y7qiYO/Em1HH2DKPeyL9+FT0mpNSfAvkziTQIpxLF PUOQ== X-Received: by 10.229.193.5 with SMTP id ds5mr26386987qcb.30.1414880144077; Sat, 01 Nov 2014 15:15:44 -0700 (PDT) Received: from kan ([2601:6:6780:7d0:226:18ff:fe00:232e]) by mx.google.com with ESMTPSA id w8sm13049763qag.2.2014.11.01.15.15.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Nov 2014 15:15:43 -0700 (PDT) Date: Sat, 1 Nov 2014 18:15:36 -0400 From: Alexander Kabaev To: Adrian Chadd Subject: Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/mo... Message-ID: <20141101181536.2b6a5911@kan> In-Reply-To: References: <201410302121.s9ULLsEw055630@svn.freebsd.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Kh.GeyVy052Vm8/aZJ+I8VS"; protocol="application/pgp-signature" Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Mark Murray X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 22:15:45 -0000 --Sig_/Kh.GeyVy052Vm8/aZJ+I8VS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 1 Nov 2014 14:57:02 -0700 Adrian Chadd wrote: > Hi, >=20 > I'm having a problem with this on MIPS router boards now: >=20 > db> bt 277 > Tracing pid 277 tid 100034 td 0x80d7b9c0 > cpu_switch+90 (?,?,?,?) ra ca90db6800000000 sp 0 sz 0 > sched_switch+224 (?,?,?,?) ra ca90db6800000028 sp 0 sz 0 > mi_switch+27c (?,?,?,?) ra ca90db9000000020 sp 0 sz 0 > 80176358+1a0 (?,?,?,?) ra ca90dbb000000028 sp 0 sz 0 > 801765dc+2d0 (?,?,?,?) ra ca90dbd800000030 sp 0 sz 0 > sleepq_timedwait_sig+18 (?,?,?,?) ra ca90dc0800000020 sp 0 sz 0 > _sleep+3b8 (?,?,?,803199e0) ra ca90dc2800000068 sp 0 sz 0 > random_adaptor_read+114 (?,?,?,?) ra ca90dc9000000038 sp 0 sz 0 > 800b1898+c0 (?,?,?,?) ra ca90dcc800000048 sp 0 sz 0 > 80187450+6c (?,?,?,?) ra ca90dd1000000028 sp 0 sz 0 > kern_readv+8c (?,?,?,?) ra ca90dd3800000050 sp 0 sz 0 > sys_read+48 (?,?,?,?) ra ca90dd8800000040 sp 0 sz 0 > trap+7f0 (?,?,?,?) ra ca90ddc8000000b8 sp 0 sz 0 > MipsUserGenException+10c (?,?,?,408ed960) ra ca90de8000000000 sp 0 sz > 0 >=20 > ... I've included "random" into the kernel rather than as a module > now. >=20 > This -looks- like it's not getting enough entropy now? >=20 >=20 >=20 > -adrian >=20 Me too, on amd64 box. The machine gets hung for several minutes after 'writing entropy file' until random is unblocked. Anecdotally, banging on the keyboard trying to help the entropy gathering along seems to speed the process up. --=20 Alexander Kabaev --Sig_/Kh.GeyVy052Vm8/aZJ+I8VS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iD8DBQFUVVuNQ6z1jMm+XZYRAkhPAJ4xHpOnjMgjOdcL+FGSnltcBycnAwCeIWvN ttbm5jQe0y/BNPBvwJ6MWU0= =lAAD -----END PGP SIGNATURE----- --Sig_/Kh.GeyVy052Vm8/aZJ+I8VS--