Date: Wed, 11 May 2005 11:21:28 -0400 From: David Andersen <dga+@cs.cmu.edu> To: "M. Warner Losh" <imp@bsdimp.com> Cc: hselasky@c2i.net Subject: Re: Panic when removing Airprime PC5220 card (usb hub). Message-ID: <afe38b8d72a89ed6e201b68ddbef56a9@cs.cmu.edu> In-Reply-To: <20050511.091734.90823828.imp@bsdimp.com> References: <90204a4c376919189910f8a570d65f48@cs.cmu.edu> <200505111627.04961.hselasky@c2i.net> <20050511.091734.90823828.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 11, 2005, at 11:17 AM, M. Warner Losh wrote: > In message: <200505111627.04961.hselasky@c2i.net> > Hans Petter Selasky <hselasky@c2i.net> writes: > : On Wednesday 11 May 2005 09:59, David Andersen wrote: > : > I'm hacking up a quick and dirty driver for the AirPrime PC5220 > (EVDO / > : > 1xRTT) card, but I'm encountering a crash unrelated to my driver. > The > : > card is a pc card that presents itself as a USB hub with one device > : > hanging off of it. Removing the card from the system causes a > kernel > : > panic.: > > > : I think that the existing USB driver does not allow USB-controllers > to be > : detached. At least the root-hub does not allow this. And when they > try to > : detach, the devices are deleted twice (which is due to the fact that > the code > : was ported from NetBSD, which bus interface is a little different). > > Actually, -current has fixed both of these problems. At least that's > what my looking at the source shows in addition to being the one to > make the fixes... Ahh, great. Thank you - I should have mentioned that I was using -stable, but that was probably apparent if you fixed the problem already. Are these changes something I could backport easily, or do they depend on other -current changes? -Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afe38b8d72a89ed6e201b68ddbef56a9>