ACPI/PCI-bus issue with compaq evo n160
Fredrik Lindberg
freddeNOSPAM at shapeshifter.se
Thu Dec 18 02:39:45 PST 2003
On Wed, Dec 17, 2003 at 05:23:47PM -0500, John Baldwin (jhbNOSPAM at FreeBSD.org) wrote:
>
> On 17-Dec-2003 Wilko Bulte wrote:
> > On Wed, Dec 17, 2003 at 01:40:03PM -0500, John Baldwin wrote:
> >>
> >> On 17-Dec-2003 Fredrik Lindberg wrote:
> >> > 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"
> >>
> >> What if you remove the debug.acpi.disable line?
> >
> > The system hangs during boot just after printing "Mounting root <foo>"
Acctually, if you boot in verbose mode the last line is "trying /sbin/init", perhaps the the root partition is successfully mounted and something weird is happening when switching to multi-user mode?
>
> And you have an interrupt storm on irq 10?
Yes, the irq 10 storm occurs at that point.
I've pretty much tried all possible cominations of the above settings in
loader.conf, and the debug.acpi.disable setting is the only one that makes it boot with acpi enabled.
>
> >> >> Also for I have
> >> >> hw.cbb.start_memory="0xd0208000"
> >> >> since pci/pcib allocates the memory assigned to fxp0 by BIOS to pccard otherwise.
> >>
> >> This sounds like the root problem of the interrupt storm.
> >
> > Not likely, as I have not redefined it on my N160. I had to set
> > the unsupported I/O range thingy but that is all.
>
> It depends on what drivers you have enabled. Do you have usb and cbb
> both enabled? I just got a new laptop where cbb freaked out that also
> got an interrupt storm as soon as I inserted a card (or booted with a
> card inserted), and the root problem was that cbb was using resources
> in use by another PCI device due to our brain-damaged PCI resource allocation
> code (or rather, the lack thereof).
>
> --
>
> John Baldwin <jhbNOSPAM at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
More information about the freebsd-mobile
mailing list