Re: 2.6.26-rc9-git9 doesn't boot on Macintel

From: Yinghai Lu
Date: Wed Jul 16 2008 - 13:29:34 EST


On Wed, Jul 16, 2008 at 7:08 AM, Jack Howarth <howarth@xxxxxxxxxxxxxxxxx> wrote:
> Yunghai,
> I had partial success with your proposed patch. The MacPro2
> identifier doesn't appear to be correct for a second generation
> MacBook Pro so I had to comment out the line...
>
> DMI_MATCH(DMI_PRODUCT_NAME, "MacPro2"),
>
> With that change, a patched 2.6.26-git2 kernel now uses MMCONFIG.
> However I still see the same hang. The boot messages I see on
> screen are...
>
> ACPI: bus type pci registered
> PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 63
> PCI: MCFG area at f0000000 reserved in E820
> PCI: Using MMCONFIG at f0000000 - f3ffffff
> PCI: Using configuration type 1 for base access
> ACPI: EC: EC description table is found, configuring boot EC
> ACPI: EC: non-query interrupt received, switching to interrupt mode

something wrong here

> ACPI: BIOS_OSI(Linux) query ignored via DMI
> ACPI: Interpreter enabled
> ACPI: (S0 S3 S4 S5)
> ACPI: Using IOAPIC for interrupt routing
> ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
> ACPI: EC: drivers started in interrupt mode
> ACPI: PCI Root Bridge [PCI0] (0000.00)
> pci 0000:00:1f.00 : quirk region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
> pci 0000.00:1f:00 : quirk region 0500-053f claimed by ICH6 GPIO
>
> ...at which the boot hangs. On the positive side, I was able to fully
> boot if I passed 'pci=noacpi' to the kernel options (which never worked
> before with 2.6.26).
> I can post the dmesg from a noacpi boot of the
> patched kernel to my bugzilla report tonight if it would help debug the
> issues we are still seeing with ACPI.

that will help.

> One thing I notice with the patched kernel (without noacpi) is that I
> only see buses 0 - 63. A normal boot of 2.6.25.10 on this machine (or
> 2.6.26 reportedly on a MacMini) always shows buses 0 - 255.

that is right

> Could this
> be related to the ACPI breakage? Let me know if I can do anything
> else to debug the ACPI issues under MMCONFIG.

please boot with
debug apic=verbose pci=routeirq

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/