From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 01:44:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A890D16A4CE for ; Wed, 8 Sep 2004 01:44:53 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3DA543D54 for ; Wed, 8 Sep 2004 01:44:52 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i881VFjr060762 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 7 Sep 2004 21:31:17 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Craig Rodrigues Date: Tue, 7 Sep 2004 21:46:47 -0400 User-Agent: KMail/1.6.2 References: <200409051830.00656.mistry.7@osu.edu> <20040906001608.GA8668@crodrigues.org> In-Reply-To: <20040906001608.GA8668@crodrigues.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_PSmPBv1fuc8puQZ"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409072146.55289.mistry.7@osu.edu> X-Spam-Status: No, hits=-0.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,J_CHICKENPOX_65, PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,RCVD_IN_ORBS, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_KMAIL,X_OSIRU_OPEN_RELAY version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org Subject: Re: USB umass panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 01:44:53 -0000 --Boundary-02=_PSmPBv1fuc8puQZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 05 September 2004 08:16 pm, you wrote: > On Sun, Sep 05, 2004 at 06:29:52PM -0400, Anish Mistry wrote: > > I'm getting the following panic when I plugged/unplugged in my usb came= ra > > for the first time. > > > > Repeat: > > 1) plug in camera while on > > 2) unplug a few seconds later > > 3) panic (hand transcribed, must get firewire debugging equipment): > > > > umass0: at uhub0 port 1 (addr 2) disconnected > > > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address =3D 0xdeadc0de > > fault code =3D supervisor read, page not present > > instruction pointer =3D 0x8:0xc072327b > > stack pointer =3D 0x10:0xcb2c0c0c > > frame pointer =3D 0x10:0xcb2c0c3c > > code segment =3D base 0x0, limit 0xfffff, type 0x1b > > =3D DPL 0, pres 1, def32 1, gran 1 > > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > current process =3D 22 (irq11: ohci0) > > [thread 100019] > > Stopped at ohci_device_request+0xdf: movl 0(%edx),%ecx > > db> trace > > ohci_device_request(c16bd200,c16bd200,c16d8700,cb2c0c64,c071aa03) at=20 > > ohci_device_request+0xdf > > ohci_device_ctrl_start(c16bd200,c116b400,c16d8700,cb2c0c8c,c071a962) at= =20 > > ohci_device_ctrl_start+0x23 > > usbd_start_next(c16d8700,0,0,0,c116b43c) at usbd_start_next+0x37 > > usb_transfer_complete(c116b400,5,c16d8700,0,0) at > > usb_transfer_complete+0x1c2=20 > > ohci_softint(c1143000,c1143000,cb2c0ce8,c07227b6,c1143000) at=20 > > ohci_softintr+0x238 > > usb_schedsoftintr(c1143000,c1143000,a651f30,c116ac00,c10b1780) at=20 > > usb_schedsoftintr+0x2f > > ohci_intr1(c1143000,cd2c0d1c,c049f1c6,c1143000,0) at ohci_intr1+0x1aa > > ohci_intr(c1143000,0,1372,c10bde00,0) at ohci_intr+0x30 > > ithread_loop(c10b1780,cb2c0d48,c10b1780,c049f044,0) at othread_loop+0x1= 82 > > fork_exit(c049f044,c10b1780,cb2c0d48) at fork_exit+0x7e > > fork_trampoline() at fork_trampoline+0x8 > > --- trap 0x1, eip =3D 0, esp =3D 0xcb2c0d7c, ebp =3D 0 --- > > Hi, > > Just to give a better clue has to where the trap occurs, > if you can find the kernel.debug file on your system, > (usually under /usr/obj/usr/src/sys/[kernel config file > name]/kernel.debug), what is the output of: > > gdb kernel.debug > > l *0xc072327b > This just gives me "no source file for address 0xc072327b". =46rom DDB after the panic "print *0xc072327b" shows e1810a8b. I can't get a dump, and when I manually try to dump (call doadump) from the= =20 debugger I get a bunch of ATA RESET errors and it doesn't dump. Not sure how to get anymore debug info. =2D-=20 Anish Mistry --Boundary-02=_PSmPBv1fuc8puQZ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBPmSPxqA5ziudZT0RAiPAAJ4sC1Sk93M1icvwRTerwkC1+6MfxgCfdK/1 Ol5K11vcATpK+8XaDO81ruw= =MJxT -----END PGP SIGNATURE----- --Boundary-02=_PSmPBv1fuc8puQZ--