Date: Sat, 1 Nov 2014 22:39:17 +0000 From: Mark R V Murray <markm@FreeBSD.org> To: Alexander Kabaev <kabaev@gmail.com> 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: <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org> In-Reply-To: <20141101181536.2b6a5911@kan> References: <201410302121.s9ULLsEw055630@svn.freebsd.org> <CAJ-Vmo=3At6wagbo1iqc_KAB3BvCh8cYcvPOD%2BppvNgmg7gXLg@mail.gmail.com> <20141101181536.2b6a5911@kan>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi I=E2=80=99m not sure what you are showing me here? How yo you draw the =E2=80=9Cnot enough entropy=E2=80=9D conclusion? The writing happens at shutdown; before you do the shutdown could you = please do a =E2=80=98sysctl kern.random=E2=80=99 and post the result? Do you have anything random-related in your rc.conf? Could you please do a verbose boot on a kernel with =E2=80=9Coptions = RANDOM_DEBUG=E2=80=9D set and send me the dmesg output from a failing = box. M > 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 Mark R V Murray
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?627C5F71-939A-4579-8A1B-45933662DAED>