From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 18:24:02 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB79684C; Sun, 16 Nov 2014 18:24:02 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C0A17CC; Sun, 16 Nov 2014 18:24:02 +0000 (UTC) Received: from [2001:470:9174:1:c55a:8f0e:b91b:d061] by gromit.grondar.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Xq4US-000Dx0-K6; Sun, 16 Nov 2014 18:24:01 +0000 Subject: Re: USB locks up system -- WAS Re: shutdown or acpi problem Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: text/plain; charset=utf-8 From: Mark R V Murray In-Reply-To: <1416162070.4781.186.camel@revolution.hippie.lan> Date: Sun, 16 Nov 2014 18:23:59 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20141112224212.GA14013@troutmask.apl.washington.edu> <20141113172533.GA18690@troutmask.apl.washington.edu> <20141113180332.GA18990@troutmask.apl.washington.edu> <20141113181515.GA19117@troutmask.apl.washington.edu> <546515BF.6030508@selasky.org> <20141113212206.GA20802@troutmask.apl.washington.edu> <20141116054141.GA33186@troutmask.apl.washington.edu> <20141116175102.GA35649@troutmask.apl.washington.edu> <1416162070.4781.186.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1993) X-SA-Score: -1.0 Cc: Hans Petter Selasky , Adrian Chadd , freebsd-current , Dag-Erling Sm?rgrav , Steve Kargl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 18:24:02 -0000 > On 16 Nov 2014, at 18:21, Ian Lepore wrote: >=20 > On Sun, 2014-11-16 at 18:17 +0000, Mark R V Murray wrote: >>> On 16 Nov 2014, at 17:51, Steve Kargl = wrote: >>>=20 >>> Is there a 'random: device_detach():' missing between the 'umass0' >>> and 'da0' messages in the last 4 lines. >>=20 >> No. At attach time, the RNG grabs some probe entropy. At detach time = it does nothing. >>=20 >> M >=20 > 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=E2=80=99ll = promise to be astonished if this is other-than-harmless. I=E2=80=99d be more suspicious of the harvester thread, but I still = can=E2=80=99t see how its hurting :-( M --=20 Mark R V Murray