From owner-freebsd-usb@FreeBSD.ORG Tue Jan 27 22:36:46 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9969A1065873; Tue, 27 Jan 2009 22:36:46 +0000 (UTC) (envelope-from julian@elischer.org) Received: from exchange.physicalsegment.com (78-105-106-222.zone3.bethere.co.uk [78.105.106.222]) by mx1.freebsd.org (Postfix) with ESMTP id F34C48FC08; Tue, 27 Jan 2009 22:36:45 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mail pickup service by exchange.physicalsegment.com with Microsoft SMTPSVC; Tue, 27 Jan 2009 21:33:28 +0000 Received: from mx2.freebsd.org ([69.147.83.53]) by tsplpt01.thespinney.local with Microsoft SMTPSVC(6.0.2600.5512); Tue, 27 Jan 2009 08:10:59 +0000 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E0FC2163DAB; Tue, 27 Jan 2009 08:10:46 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 9F19D1065731; Tue, 27 Jan 2009 08:10:43 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) 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 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-OriginalArrivalTime: 27 Jan 2009 08:10:59.0848 (UTC) FILETIME=[C9D4D080:01C98056] Cc: Markus Hitter , freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 22:36:50 -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 ;) > > > _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"