On Sat, 1 Nov 2014 22:39:17 +0000
Mark R V Murray <ma...@freebsd.org> wrote:

> Hi
> 
> I'm not sure what you are showing me here?
> 
> How yo you draw the "not enough entropy" conclusion?
> 
> The writing happens at shutdown; before you do the shutdown could you
> please do a 'sysctl kern.random' 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 "options
> RANDOM_DEBUG" set and send me the dmesg output from a failing box.
> 
> M
> 
> > On 1 Nov 2014, at 22:15, Alexander Kabaev <kab...@gmail.com> wrote:
> > 
> > On Sat, 1 Nov 2014 14:57:02 -0700
> > Adrian Chadd <adr...@freebsd.org> wrote:
> > 
> >> Hi,
> >> 
> >> I'm having a problem with this on MIPS router boards now:
> >> 
> >> 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
> >> 
> >> ... I've included "random" into the kernel rather than as a module
> >> now.
> >> 
> >> This -looks- like it's not getting enough entropy now?
> >> 
> >> 
> >> 
> >> -adrian
> >> 
> > 
> > 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.
> > 
> > -- 
> > Alexander Kabaev
> 
> -- 
> 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: 
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,CACHED

-- 
Alexander Kabaev

Attachment: pgpLd9tYv2q6V.pgp
Description: OpenPGP digital signature

Reply via email to