From owner-freebsd-hackers Tue Jan 14 7: 4:46 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77B2537B401 for ; Tue, 14 Jan 2003 07:04:43 -0800 (PST) Received: from srv2.resnet.ohio-state.edu (srv2.resnet.ohio-state.edu [164.107.3.56]) by mx1.FreeBSD.org (Postfix) with SMTP id A370E43E4A for ; Tue, 14 Jan 2003 07:04:42 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: (qmail 31557 invoked by uid 506); 14 Jan 2003 15:22:31 -0000 Received: from mistry.7@osu.edu by srv2.resnet.ohio-state.edu by uid 503 with qmail-scanner-1.14 ( Clear:. Processed in 0.020185 secs); 14 Jan 2003 15:22:31 -0000 Received: from rdrt-164-107-204-28.resnet.ohio-state.edu (HELO bigguy.am-productions.biz) (164.107.204.28) by srv2.resnet.ohio-state.edu with SMTP; 14 Jan 2003 15:22:31 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Anish Mistry To: Darren Pilgrim Subject: Re: USB hub detach causing panic in 4.7p3 Date: Tue, 14 Jan 2003 10:03:16 -0500 User-Agent: KMail/1.4.3 References: <3E23F9A4.9030101@pantherdragon.org> In-Reply-To: <3E23F9A4.9030101@pantherdragon.org> Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301141003.16160.mistry.7@osu.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 14 January 2003 06:51 am, Darren Pilgrim wrote: > I have a USB hub that's built into my Viewsonic PT775 monitor. The hub= =20 > probes during boot and post-boot attach as follows: >=20 > uhub1: vendor 0x0543 product 0x00ff, class 9/0, rev 1.00/0.00, addr 2 > uhub1: 5 ports with 4 removable, self powered >=20 > The hub is connected and disconnected with the switching on and off of = the=20 > monitor. When the hub is disconnected, whether by unplugging it or tur= ning=20 > off the monitor, I get a panic in 4.7p3 if there are no devices connect= ed to=20 > the hub's downstream ports. If there are devices connected to the=20 > downstream ports, the detach/reattach process works just fine. I only = have=20 > the one hub to test this issue on. I can't say when the problem appear= ed as=20 > I hadn't used FreeBSD with this hub until a few weeks ago, and I hadn't= =20 > turned the monitor off with nothing plugged into its USB ports until th= e=20 > 12th. Here is the console output from the panics caused by disconnecti= ng=20 > the hub: >=20 > Fatal trap 12: page fault while in kernel mode > fault virtual addres =3D 0x3 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xc031fe04 > stack pointer =3D 0x10:0xc0250fb0 > frame pointer =3D 0x10:0xc0250fc4 > 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 Idle > interrupt mask =3D bio > trap number =3D 12 > panic: page fault >=20 >=20 > syncing disks... >=20 > Fatal trap 12: page fault while in kernel mode > fault virtual address =3D 0x30 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xc01c2498 > stack pointer =3D 0x10:0xc0250d98 > frame pointer =3D 0x10:0xc0250da0 > 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 Idle > interrupt mask =3D bio > trap number =3D 12 > panic: page fault >=20 > Later on, when I was testing various configurations and boot/plug/unplu= g=20 > patterns to (try to) fix/diagnose the problem, the debug information wa= s=20 > different from the above, but the same for all the panics I induced whi= le=20 > testing. This is the output for those panics: >=20 > Fatal trap 12: page fault while in kernel mode > fault virtual addres =3D 0x3 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xc031fe04 > stack pointer =3D 0x10:0xc0250fb0 > frame pointer =3D 0x10:0xc0250fc4 > 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 Idle > interrupt mask =3D bio > trap number =3D 12 > panic: page fault >=20 >=20 > syncing disks... >=20 > Fatal trap 12: page fault while in kernel mode > fault virtual address =3D 0x30 > fault code =3D supervisor read, page not present > instruction pointer =3D 0x8:0xc01c2498 > stack pointer =3D 0x10:0xc0250dd0 > frame pointer =3D 0x10:0xc0250dd8 > 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 Idle > interrupt mask =3D bio > trap number =3D 12 > panic: page fault >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message >=20 >=20 Would this PR be related?=20 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/45579 --=20 Anish Mistry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message