From owner-freebsd-stable@FreeBSD.ORG Tue Jan 27 08:10:34 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 225651065676 for ; Tue, 27 Jan 2009 08:10:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outL.internet-mail-service.net (outl.internet-mail-service.net [216.240.47.235]) by mx1.freebsd.org (Postfix) with ESMTP id 060BA8FC1E for ; Tue, 27 Jan 2009 08:10:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 72D2924EC; Mon, 26 Jan 2009 23:56:57 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 740992D600D; Mon, 26 Jan 2009 23:56:32 -0800 (PST) Message-ID: <497EBE30.8060106@elischer.org> Date: Mon, 26 Jan 2009 23:56:32 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Oliver Lehmann References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> <20090127065108.45623019.lehmann@ans-netz.de> In-Reply-To: <20090127065108.45623019.lehmann@ans-netz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Markus Hitter , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 08:10:34 -0000 Oliver Lehmann wrote: > Markus Hitter wrote: > >> If you throw the EHCI driver out of the kernel your drive will use >> either OHCI or UHCI (both are slow). This seems to help, at least for >> the limited things I use this pen drive now. > > I'm not sure, that this g_vfs_done is related to the panic. I've attached > the drive to an uhci drived port on the same machine, started an fsck and > I've got an immediate panic: > > trying to sleep while sleeping is prohibited when you hold a mutex in the kernel you are not allowed to go to sleep as other kernel actors may need that mutex.. OR a interrupt thread is trying to sleep. I doubt it has anything to do with a usb device hibernating. > > If I remember it correctly. The driver has some power saving feature > which shuts the drive down if it is not used for some time and spins it > up when a request arrives. But yesterday I powered the drive up... waited > some secunds and started then a fsck. So I guess it was not in a > "shutdown" state - So I wonder who requested a sleep ;) > > >