Re: x86 git acpi issue?
- From: Adrian Bunk <bunk@xxxxxxxxxx>
- Date: Sat, 3 May 2008 10:13:32 +0300
On Fri, May 02, 2008 at 05:08:12PM -0700, H. Peter Anvin wrote:
Hiroshi Shimamoto wrote:
Hi,
commit: afcab879e4044f952b7a031d5fd504e0feb7df41
visws: build fix
breaks something around acpi on 32bit.
In my test box scsi driver complains and the kernel doesn't boot.
I'm not sure, but when moving the acpi.o before legacy.o, it works.
--- a/arch/x86/pci/Makefile_32
+++ b/arch/x86/pci/Makefile_32
@@ -6,11 +6,11 @@ obj-$(CONFIG_PCI_DIRECT) += direct.o
obj-$(CONFIG_PCI_OLPC) += olpc.o
pci-y := fixup.o
+pci-$(CONFIG_ACPI) += acpi.o
pci-y += legacy.o irq.o
pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o
-pci-$(CONFIG_ACPI) += acpi.o
pci-$(CONFIG_NUMA) += mp_bus_to_node.o
obj-y += $(pci-y) common.o early.o
of cause this isn't correct patch, it's just a workaround for me.
The problem is that := should be += for the VISWS and NUMAQ lines. There
is already a patch queued up to fix that.
Commit afcab879e4044f952b7a031d5fd504e0feb7df41 is the commit where Ingo
both _reverts_ his patch you describe in the x86 tree and additionally
moves pci-$(CONFIG_ACPI) in exactly the way that causes this breakage.
In the 4 hours between Ingo doing the += change and Ingo reverting his
own patch in the x86 tree it was in a pull request to Linus, so the
"queued up" patch is in Linus' tree but reverted in the x86 tree.
I saw neither the patch changing the :='s to += on linux-kernel nor does
"do not override the existing pci-y rule when adding visws or numaq
rules." in the commit description give any indication what the actual
problem was.
It's also not obvious why the revert with the subject "visws: build fix"
also moved the pci-$(CONFIG_ACPI) causing this bug here.
-hpa
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
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/
- Follow-Ups:
- Re: x86 git acpi issue?
- From: Thomas Gleixner
- Re: x86 git acpi issue?
- References:
- x86 git acpi issue?
- From: Hiroshi Shimamoto
- Re: x86 git acpi issue?
- From: H. Peter Anvin
- x86 git acpi issue?
- Prev by Date: Re: Horrendous Audio Stutter - current git
- Next by Date: Root partitions not detected at boot time
- Previous by thread: Re: x86 git acpi issue?
- Next by thread: Re: x86 git acpi issue?
- Index(es):
Relevant Pages
|