From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 03:56:39 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D933116A4CE for ; Mon, 31 Jan 2005 03:56:39 +0000 (GMT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B6E843D39 for ; Mon, 31 Jan 2005 03:56:34 +0000 (GMT) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([68.163.158.177]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050131035621.FZH8986.out006.verizon.net@keyslapper.org> for ; Sun, 30 Jan 2005 21:56:21 -0600 Received: from localhost (localhost [127.0.0.1]) by keyslapper.org (Postfix) with ESMTP id 9BDEE114DE for ; Sun, 30 Jan 2005 22:56:20 -0500 (EST) Received: from keyslapper.org ([127.0.0.1]) by localhost (keyslapper.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00543-06 for ; Sun, 30 Jan 2005 22:56:20 -0500 (EST) Received: by keyslapper.org (Postfix, from userid 1001) id 53C1E114D2; Sun, 30 Jan 2005 22:56:20 -0500 (EST) Date: Sun, 30 Jan 2005 22:56:20 -0500 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20050131035620.GB1178@keyslapper.net> Mail-Followup-To: FreeBSD Questions References: <20050130213233.GA1448@keyslapper.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline In-Reply-To: <20050130213233.GA1448@keyslapper.net> X-PGP-Key: http://www.keyslapper.net/~leblanc/leblanc-at-keyslapper-net.asc User-Agent: Mutt/1.5.6i X-Virus-Scanned: amavisd-new at keyslapper.net X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.163.158.177] at Sun, 30 Jan 2005 21:56:20 -0600 Subject: Re: Kernel panic after adding ehci & acpi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 03:56:40 -0000 --WhfpMioaduB5tiZL Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 01/30/05 04:32 PM, Louis LeBlanc sat at the `puter and typed: > This is wierd. I just rebuilt and installed a new kernel with a few > additions, including ehci and acpi, and the kernel seems to be > panicking on startup. In 5 years, I've never had a FreeBSD kernel > actually panic on me. >=20 > I already have the uhci and ohci devices in my kernel config, I added > the ehci in hopes of getting USB 2.0 support. That part seems to be > fine: > Tn 30 15:59:42 keyslapper kernel: ehci0: [GIANT-LOCKED] > Jan 30 15:59:42 keyslapper kernel: ehci_pci_attach: companion usb0 > Jan 30 15:59:42 keyslapper kernel: ehci_pci_attach: companion usb1 > Jan 30 15:59:42 keyslapper kernel: ehci_pci_attach: companion usb2 > Jan 30 15:59:42 keyslapper kernel: ehci_pci_attach: companion usb3 > Jan 30 15:59:42 keyslapper kernel: usb4: EHCI version 1.0 > Jan 30 15:59:42 keyslapper kernel: usb4: companion controllers, 2 ports e= ach: usb0 usb1 usb2 usb3 > Jan 30 15:59:42 keyslapper kernel: usb4: on ehci0 > Jan 30 15:59:42 keyslapper kernel: usb4: USB revision 2.0 > Jan 30 15:59:42 keyslapper kernel: uhub4: Intel EHCI root hub, class 9/0,= rev 2.00/1.00, addr 1 > Jan 30 15:59:42 keyslapper kernel: uhub4: 8 ports with 8 removable, self = powered >=20 >=20 > The panic message is as follows (partially) > Fatal Trap 12: Page Fualt while in kernel mode > CPUID =3D 0; acpi id =3D 00 > Fault Firtual Address 0x20 > Fault code =3D Supervisor read, Page not present > instruction pointer 0x8:0xC0440AEA >=20 > etc. >=20 > I had to restart in safe mode, but I can't figure out where the > problem is. Any ideas? >=20 > I had hoped to use the acpi module to monitor system temperature, but > I suspect it is the cause of the problem. If so, I'd just as soon > remove it. I am aware that some of the acpi stuff is experimental, > so I'm wondering if anyone can confirm that this is the problem, or > can confirm that the CPU_ENABLE_TCC cpu options work on the Dell > Dimension 8300 (P4 3.0G w/HT). >=20 > My last boot showed some log data on the acpi0 device, but this safe > boot didn't. Should I just eliminate it and skip the CPU_ENABLE_TCC > option? I know I'm responding to my own post, but here's the update: It appears the problem is the ehci device for usb 2.0 support. I'm confused. I added this as specified in the handbook, and it implies pretty clearly that it won't conflict with the USB 1.0 drivers, but I'm getting constant panics. Once I removed the ehci device from the kernel, it works fine. I also noticed that the handbook said this was buggy code. Is there any idea when this will be stabilized? BTW, I'm running FreeBSD 5.3 RELEASE-p3; I neglected to mention that before. TIA Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 idleness, n.: Leisure gone to seed. --WhfpMioaduB5tiZL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB/axkr4Wi/oDI2aIRAt72AJ0cjGCtsotCqF3poKKZenVZVUmgsQCfU4gt +fWnQk6Qc9w4EfQgo+KqAS8= =nUht -----END PGP SIGNATURE----- --WhfpMioaduB5tiZL--