Date: Sat, 1 Nov 2014 18:58:40 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Mark R V Murray <markm@FreeBSD.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org> 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: <20141101185840.59e24ba8@kan> In-Reply-To: <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org> References: <201410302121.s9ULLsEw055630@svn.freebsd.org> <CAJ-Vmo=3At6wagbo1iqc_KAB3BvCh8cYcvPOD%2BppvNgmg7gXLg@mail.gmail.com> <20141101181536.2b6a5911@kan> <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/PG7gzn/8+1ttDIWRlGWKNpx Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sat, 1 Nov 2014 22:39:17 +0000 Mark R V Murray <markm@FreeBSD.org> wrote: > Hi >=20 > I'm not sure what you are showing me here? >=20 > How yo you draw the "not enough entropy" conclusion? >=20 > The writing happens at shutdown; before you do the shutdown could you > please do a 'sysctl kern.random' and post the result? >=20 > Do you have anything random-related in your rc.conf? >=20 > Could you please do a verbose boot on a kernel with "options > RANDOM_DEBUG" set and send me the dmesg output from a failing box. >=20 > M >=20 > > On 1 Nov 2014, at 22:15, Alexander Kabaev <kabaev@gmail.com> wrote: > >=20 > > On Sat, 1 Nov 2014 14:57:02 -0700 > > Adrian Chadd <adrian@freebsd.org> wrote: > >=20 > >> 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 > >=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 > > --=20 > > Alexander Kabaev >=20 > --=20 > Mark R V Murray Nothing related to random in my rc.conf % sysctl kern.random kern.random.adaptors: yarrow(90),dummy(1) kern.random.active_adaptor: yarrow kern.random.live_entropy_sources:=20 kern.random.yarrow.gengateinterval: 10 kern.random.yarrow.bins: 10 kern.random.yarrow.fastthresh: 96 kern.random.yarrow.slowthresh: 128 kern.random.yarrow.slowoverthresh: 2 kern.random.harvest.mask: 1023 kern.random.harvest.mask_bin: 1111111111 kern.random.harvest.mask_symbolic: UMA_ALLOC,SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACH= ED --=20 Alexander Kabaev --Sig_/PG7gzn/8+1ttDIWRlGWKNpx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iD8DBQFUVWWlQ6z1jMm+XZYRAgU6AKDl/7BmncyOUTcVpj02fyyh3W9W5gCfWi9X iHOOhZX5ONxxqjLrp3BB3eA= =GnCF -----END PGP SIGNATURE----- --Sig_/PG7gzn/8+1ttDIWRlGWKNpx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141101185840.59e24ba8>