Date: Mon, 26 Jan 2009 23:56:32 -0800 From: Julian Elischer <julian@elischer.org> To: Oliver Lehmann <lehmann@ans-netz.de> Cc: Markus Hitter <mah@jump-ing.de>, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: recently happend kernel panics regarding usb Message-ID: <497EBE30.8060106@elischer.org> In-Reply-To: <20090127065108.45623019.lehmann@ans-netz.de> References: <1c80fd50-1e5c-4be7-a8dc-3f6f29c4f02a@exchange01.ecp.noc> <9B0861C2-EF09-4FC4-A8E4-51C654117B98@jump-ing.de> <20090127065108.45623019.lehmann@ans-netz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ;) > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497EBE30.8060106>