From owner-freebsd-mobile@FreeBSD.ORG Wed Dec 17 06:13:03 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 DFDD216A4CF for ; Wed, 17 Dec 2003 06:13:02 -0800 (PST) Received: from biocandy.shapeshifter.se (h125n2fls31o270.telia.com [217.208.199.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 198A843D46 for ; Wed, 17 Dec 2003 06:12:56 -0800 (PST) (envelope-from freddeNOSPAM@shapeshifter.se) Received: from biocandy.shapeshifter.se (localhost [127.0.0.1]) hBHECs0M000915 for ; Wed, 17 Dec 2003 15:12:54 +0100 (CET) (envelope-from freddeNOSPAM@shapeshifter.se) Received: (from fredde@localhost) by biocandy.shapeshifter.se (8.12.10/8.12.10/Submit) id hBHECr32000914 for freebsd-mobile@freebsd.org; Wed, 17 Dec 2003 15:12:53 +0100 (CET) (envelope-from freddeNOSPAM@shapeshifter.se) X-Authentication-Warning: biocandy.shapeshifter.se: fredde set sender to freddeNOSPAM@shapeshifter.se using -f Date: Wed, 17 Dec 2003 15:12:53 +0100 From: Fredrik Lindberg To: freebsd-mobile@freebsd.org Message-ID: <20031217141253.GA875@shapeshifter.se> References: <1071651763.cb5f46a0mauritz.sundell@home.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1071651763.cb5f46a0mauritz.sundell@home.se> User-Agent: Mutt/1.4.1i 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: Wed, 17 Dec 2003 14:13:03 -0000 The solution suggested by Mauritz worked, the ACPI stuff works now. This is what I have in my loader.conf debug.acpi.disable="lid pci_link" hw.pci.allow_unsupported_io_range="1" hw.cbb.start_memory="536870912" I would like to thank everybody who have helped me troubleshoot this. Fredrik (please remove the NOSPAM stuff if you reply private) On Wed, Dec 17, 2003 at 10:02:43AM +0100, Mauritz Sundell (mauritz.sundell) wrote: > > It is enough to disable pci_link for booting > debug.acpi.disable="pci_link" > > But I also disable lid because otherwise it goes to some kind of sleep (S1) when I close the lid. > debug.acpi.disable="lid pci_link" > > Also for I have > hw.cbb.start_memory="0xd0208000" > since pci/pcib allocates the memory assigned to fxp0 by BIOS to pccard otherwise. > > Now I always use acpiconf -s S4 to suspend and save to disk instead of turning the power off, wonderful. > > > -----Original Message----- > From: Fredrik Lindberg <> > To: freebsd-mobile@freebsd.org > Date: Fri, 12 Dec 2003 15:28:56 +0100 > Subject: ACPI/PCI-bus issue with compaq evo n160 > > Hi, > Thank you for your reply. > The information you requested is avaiable at > > http://shapeshifter.se/~fredde/tmp/db > http://shapeshifter.se/~fredde/tmp/dmesg.acpi-pci.enabled > > Fredrik > > On Thu, Dec 11, 2003 at 01:42:06PM -0500, John Baldwin (jhb) wrote: > > [ Resent due to NO.*SPAM bounce the first time ] > > > > 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/ > > ----- End forwarded message ----- > _______________________________________________ > freebsd-mobile mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe" > > >