Panic when removing Airprime PC5220 card (usb hub).

2005-05-11 Thread David Andersen
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. The ba

hacked up "driver" for AirPrime / Audiovox PC5220 EVDO card

2005-05-11 Thread David Andersen
As a bit of a followup to my earlier post - I've cobbled together a brief howto + driver for the AirPrime PC5220 EVDO card for FreeBSD. The code is just a stripped down version of the existing uplcom.c driver - the EVDO card looks like a serial port, but it doesn't actually need things like dt

Re: Panic when removing Airprime PC5220 card (usb hub).

2005-05-12 Thread David Andersen
On May 11, 2005, at 11:17 AM, M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Hans Petter Selasky <[EMAIL PROTECTED]> 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 /

Opening raw disk while mounted in 5.x?

2005-05-25 Thread David Andersen
Hoping someone knows the quick answer to this - in 4.x, it was possible to open /dev/ad0 while a filesystem one one of its slices was mounted. This no longer appears possible under 5.x. Could someone point me to the spot in the code where I'd need to disable a permissions check (or a sysctl,

Re: Opening raw disk while mounted in 5.x?

2005-05-25 Thread David Andersen
To answer my own question - this appears to be done in the geom subsystem now. It can be avoided by enabling the magic foot-shooting debug flag: sysctl -w kern.geom.debugflags=16 if you're inclined to shoot yourself in the foot. -Dave On May 25, 2005, at 1:10 PM, David Andersen