From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 11 10:25:02 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FF2416A4F7 for ; Thu, 11 Dec 2003 10:25:02 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4254143D2B for ; Thu, 11 Dec 2003 10:25:01 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 20567 invoked from network); 11 Dec 2003 18:24:58 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 11 Dec 2003 18:24:58 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id hBBIOt1S011631; Thu, 11 Dec 2003 13:24:55 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031210213840.GA870@shapeshifter.se> Date: Thu, 11 Dec 2003 13:24:56 -0500 (EST) From: John Baldwin To: Fredrik Lindberg X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-mobile@freebsd.org Subject: RE: ACPI/PCI-bus issue with compaq evo n160 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 18:25:02 -0000 On 10-Dec-2003 Fredrik Lindberg wrote: > Hi, > > I have a Compaq evo n160 running > FreeBSD biocandy 5.2-RC FreeBSD 5.2-RC #10: Mon Dec 8 19:08:38 CET 2003 > > The machine fails (and always has) to boot with acpi enabled > (locks up when mounting /), however, I managed to find out that > booting with the following option > > debug.acpi.disable="pci" > > in /boot/loader.conf made the machine boot correctly and acpi related > functions such as battry monitoring worked just fine. > > But, and a huge but, no pci devices are detected during boot > (maybe quite obvious because of that debug option) > All pci-devices works perfectly with acpi disabled. > > Now, is there any chance to make freebsd use acpi and the > "normal" pci-bus driver at the same time, overriding the > acpi pci-bus implementation? > > I believe linux has a kernel option called pci=noacpi (atleast acording to google), > which does this. > > With acpi enabled scanpci reports all the pci devices, but pciconf -l > doesn't return anything. > With acpi disabled, scanpci reports all pci devices, pciconf -l > reports all devices. > > dmesg output with acpi enabled > http://shapeshifter.se/~fredde/tmp/dmesg.acpi.enabled > > dmesg out with acpi disabled > http://shapeshifter.se/~fredde/tmp/dmesg.acpi.disabled > > Any, and I mean any, help on this will be very appreciated. If you can drop into ddb and do a 'show intrcnt' when the machine locks up that might help fix the hang. It sounds like the interrupt routing may not have worked correctly. Also, a dmesg of acpi with pci enabled would be helpful. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/