From owner-freebsd-current@FreeBSD.ORG Sun Nov 16 19:16:18 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 308AD96C; Sun, 16 Nov 2014 19:16:18 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::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 DE87BC2B; Sun, 16 Nov 2014 19:16:17 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id ADB8A1FE022; Sun, 16 Nov 2014 20:16:14 +0100 (CET) Message-ID: <5468F814.6010702@selasky.org> Date: Sun, 16 Nov 2014 20:16:36 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Steve Kargl , Mark R V Murray Subject: Re: USB locks up system -- WAS Re: shutdown or acpi problem References: <20141116054141.GA33186@troutmask.apl.washington.edu> <20141116175102.GA35649@troutmask.apl.washington.edu> <1416162070.4781.186.camel@revolution.hippie.lan> <1416162718.4781.192.camel@revolution.hippie.lan> <4F3B4E02-0ADD-46EB-BB90-BF360E810585@FreeBSD.org> <20141116185141.GB36021@troutmask.apl.washington.edu> <4443FEFB-17F1-4516-959F-4C70AB2A4382@FreeBSD.org> <20141116190344.GC36021@troutmask.apl.washington.edu> In-Reply-To: <20141116190344.GC36021@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-current , Ian Lepore , Dag-Erling Sm?rgrav 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 19:16:18 -0000 On 11/16/14 20:03, Steve Kargl wrote: > On Sun, Nov 16, 2014 at 06:55:53PM +0000, Mark R V Murray wrote: >> >>> On 16 Nov 2014, at 18:51, Steve Kargl wrote: >>> >>> If you have not read the entire thread, once the laptop keyboard and >>> video output lock up, I can ssh into the laptop. If I run usbconfig, >>> it hangs, ^T tells me it is stuck in SX Lock, and the /dev/da0* devices >>> have not been destroyed. >> >> Weirder and weirder :-(. >> >> Something with SX locks? Hmm. I do use those for attach and detach for >> RNG sources. Could it be that that stick of yours is somehow getting >> involved in the RNG source locks? >> > > It's not limited to a single usb device. Plugging in/Unplugging > a logitech mouse dongle, the memstick, a Western Digital MY Passport > external usb hard drive, all lead to the locked keyboard and video. > > I tried adding both RANDOM_DEBUG and USBDEBUG to the kernel, but the > mount of output is mind numbing. > Hi, Can you enter kgdb when the usbconfig is froozen, and backtrace all kernel threads. You should see exactly what locks are the problem. Maybe some lock didn't get properly unlocked! Thank you! --HPS