Skip to contentSkip to conversation

x86-64 xen broken with May4th xen-unstable build

DISCUSSION Arun Sharma 2 participants 2 messages May 6, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Jerone Young

There are two things that happened in the May 4th build.

1) x86-64 xen Linux is looking for arch/xen/x86_64/pci/direct.c (a symlink to arc/xen/pci/i386/pci/direct.c) and can't find it. This can easily be resolved by commenting out "c-xen-obj-
$(CONFIG_PCI_DIRECT)+= direct.o" in arch/xen/pci/Makefile. This was removed from i386 and no one told x86-64 about it ...that's why he always misses the party :-)

This might be a better fix?

linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile 2005-05-05 15:43:11 -07:00 renamed from linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile 2005-04-02 12:27:09 -08:00 +1 -1
@@ -12,7 +12,7 @@
 c-obj-y                += fixup.o
 c-obj-$(CONFIG_ACPI_PCI)       += acpi.o
 c-obj-y                        += legacy.o common.o
-c-xen-obj-$(CONFIG_PCI_DIRECT)+= direct.o
+c-obj-$(CONFIG_PCI_DIRECT)+= direct.o
 c-xen-obj-y            += irq.o
 # mmconfig has a 64bit special
 c-obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o

-Arun

#2 lore raw

This patch is a better fix. Use the general Linux one instead of xen's. Could you submit this into CVS?

Quoted 29 lines · Arun Sharma
Quoted 9 lines · Jerone Young

There are two things that happened in the May 4th build.

1) x86-64 xen Linux is looking for arch/xen/x86_64/pci/direct.c (a symlink to arc/xen/pci/i386/pci/direct.c) and can't find it. This can easily be resolved by commenting out "c-xen-obj-
$(CONFIG_PCI_DIRECT)+= direct.o" in arch/xen/pci/Makefile. This was removed from i386 and no one told x86-64 about it ...that's why he always misses the party :-)

This might be a better fix?

--- 1.2/linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile

2005-04-02 12:27:09 -08:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile 
2005-05-05 15:43:11 -07:00
linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile 2005-05-05 15:43:11 -07:00 renamed from linux-2.6.11-xen-sparse/arch/xen/x86_64/pci/Makefile 2005-04-02 12:27:09 -08:00 +1 -1
@@ -12,7 +12,7 @@
  c-obj-y                += fixup.o
  c-obj-$(CONFIG_ACPI_PCI)       += acpi.o
  c-obj-y                        += legacy.o common.o
-c-xen-obj-$(CONFIG_PCI_DIRECT)+= direct.o
+c-obj-$(CONFIG_PCI_DIRECT)+= direct.o
  c-xen-obj-y            += irq.o
  # mmconfig has a 64bit special
  c-obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o

-Arun

Signature · 4 lines
Jerone Young
IBM Linux Technology Center
[email protected]
512-838-1157 (T/L: 678-1157)