Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 17:00:40 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no>, Mark R V Murray <markm@freebsd.org>, Alexander Kabaev <kabaev@gmail.com>
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:  <CAJ-Vmokx6WeqZf7bAoyZsLzX9=9qpn-znkxD216S7WH6kVUNyg@mail.gmail.com>
In-Reply-To: <1414886231.17308.238.camel@revolution.hippie.lan>
References:  <201410302121.s9ULLsEw055630@svn.freebsd.org> <CAJ-Vmo=3At6wagbo1iqc_KAB3BvCh8cYcvPOD%2BppvNgmg7gXLg@mail.gmail.com> <20141101181536.2b6a5911@kan> <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org> <1414882185.17308.221.camel@revolution.hippie.lan> <86r3xm5wt6.fsf@nine.des.no> <86mw8a5we0.fsf@nine.des.no> <1414886231.17308.238.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Right - but I'm not even getting to anywhere near this point.

It's hanging in hostapd when hostapd tries reading random data.

again, if i try ctrl-C'ing whilst the random device is inside
random_adaptor_read(), it's just .. broken. The read doesn't finish,
the process doesn't accept any new input, signals or anything - it
just doesn't work.

So, is there some way to go back to whatever the previous revision
before this did? It at least comes up and doesn't hang things.

Thanks,


-adrian

On 1 November 2014 16:57, Ian Lepore <ian@freebsd.org> wrote:
> On Sun, 2014-11-02 at 00:33 +0100, Dag-Erling Sm=C3=B8rgrav wrote:
>> Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
>> > From the code.  This is a portion of the rc script that only runs at
>> > shutdown.  If random_stop() runs during boot, something is seriously
>> > wrong *somewhere else* and you are welcome to help find out what.
>>
>> I found it - postrandom triggers it.  For now, just remove
>> /etc/rc.d/postrandom (I'm not sure it's really needed, there are better
>> ways to do this).
>>
>> DES
>
> It appears another quick easy workaround is to set entropy_file=3DNO in
> rc.conf, which may be the right thing to do for people using a varmfs
> that isn't going to survive a reboot anyway, even after this glitch is
> fixed.
>
> -- Ian
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokx6WeqZf7bAoyZsLzX9=9qpn-znkxD216S7WH6kVUNyg>