USB locks up system -- WAS Re: shutdown or acpi problem

Mark R V Murray markm at FreeBSD.org
Sun Nov 16 18:24:02 UTC 2014


> On 16 Nov 2014, at 18:21, Ian Lepore <ian at FreeBSD.org> wrote:
> 
> On Sun, 2014-11-16 at 18:17 +0000, Mark R V Murray wrote:
>>> On 16 Nov 2014, at 17:51, Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:
>>> 
>>> Is there a 'random: device_detach():' missing between the 'umass0'
>>> and 'da0' messages in the last 4 lines.
>> 
>> No. At attach time, the RNG grabs some probe entropy. At detach time it does nothing.
>> 
>> M
> 
> And yet... Steve has gathered evidence that the system bricks when a
> device is detached with the new entropy-gathering code and doesn't do so
> prior to that code.  What else is the new code doing around detach time?

Nothing, except possibly harvesting interrupt entropy. I’ll promise to be
astonished if this is other-than-harmless.

I’d be more suspicious of the harvester thread, but I still can’t see how
its hurting :-(

M
-- 
Mark R V Murray



More information about the freebsd-current mailing list