Subject: Re: panic on USB detachment
To: Chris Tribo <ctribo@dtcc.edu>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: current-users
Date: 06/10/2006 02:12:51
--bjuZg6miEcdLYP6q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 09, 2006 at 11:33:52PM -0400, Chris Tribo wrote:
> I booted the system with the flash drive connected and it probed as =20
> sd0, then when I went to unplug it, nothing happened. I plugged it =20
> back in, it came up as sd1, and unplugging that made the system =20
> panic. I also have another panic from a normal sd0 detachment.
>=20
> umass1 at uhub0 port 2 configuration1  interface 0
> umass1: LEXAR MEDIA JUMPDRIVE, rev 2.00/30.00, addr 3
> umass1: using SCSI over Bulk-Only
> scsibus1 at umass1: 2 targets, 1 lun per target
> sd1 at scsibus1 target 0 lun 0: <LEXAR, JUMPDRIVE, 10000> disk removable
> : at uhub0 port 2 (addr 3) disconnected
> panic: config_detach: forced detach of  failed (45)
> Stopped in pid 5.1 (usb0) at netbsd:cpu_Debugger+0x4: leave
>=20
>=20
> panic+0x11d
> config_activate
> usb_disconnect_port+0x9c
> uhub_explore+0x21d
> usb_discover+0x36
> usb_event_thread+0x5d

I had a similar panic unplugging a uhiddev(4) that had been attached
after boot.  This with an autobuild from the 5th or 6th, on i386.

	Jonathan Kollasch

--bjuZg6miEcdLYP6q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEinDzOjx1ye3hmokRAm8CAJ94Hj8i/UUogn+ZDWM2Rq+PsggzKACfUItv
T1LZxz3KNltRhEOwS0NoF5I=
=XXuu
-----END PGP SIGNATURE-----

--bjuZg6miEcdLYP6q--