* 2.6.17-git build breakage @ 2006-06-20 7:49 Jeff Garzik 2006-06-20 8:17 ` Andrew Morton 0 siblings, 1 reply; 7+ messages in thread From: Jeff Garzik @ 2006-06-20 7:49 UTC (permalink / raw) To: Linus Torvalds, Andrew Morton, Andi Kleen, Dave Jones; +Cc: Linux Kernel On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the following build breakage: 1) myri10ge: needs iowrite64_copy from -mm 2) forcedeth: git tree conflict, Herbert sent a patch 3) pci-gart (ouch!) link: no fix seen yet [...] LD init/built-in.o LD .tmp_vmlinux1 arch/x86_64/kernel/built-in.o: In function `pci_iommu_init': arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_amd64_init' arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_bridge' arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_copy_info' make: *** [.tmp_vmlinux1] Error 1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-20 7:49 2.6.17-git build breakage Jeff Garzik @ 2006-06-20 8:17 ` Andrew Morton 2006-06-20 8:37 ` Andi Kleen 2006-06-21 2:59 ` Linus Torvalds 0 siblings, 2 replies; 7+ messages in thread From: Andrew Morton @ 2006-06-20 8:17 UTC (permalink / raw) To: Jeff Garzik; +Cc: torvalds, ak, davej, linux-kernel On Tue, 20 Jun 2006 03:49:05 -0400 Jeff Garzik <jeff@garzik.org> wrote: > On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the > following build breakage: > > 1) myri10ge: needs iowrite64_copy from -mm Patch has been sent. > 2) forcedeth: git tree conflict, Herbert sent a patch > > 3) pci-gart (ouch!) link: no fix seen yet > > [...] > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86_64/kernel/built-in.o: In function `pci_iommu_init': > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_amd64_init' > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_bridge' > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_copy_info' > make: *** [.tmp_vmlinux1] Error 1 hm. I could swear we fixed that multiple times, but I don't seem to be able to locate the patch. This one, perhaps? use select for GART_IOMMU to enable AGP From: Roman Zippel <zippel@linux-m68k.org> The AGP default doesn't work well with other selects, so use a select for GART_IOMMU as well. Remove a redundant default for SWIOTLB as well. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@muc.de> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> --- arch/x86_64/Kconfig | 5 ++--- drivers/char/agp/Kconfig | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) Index: linux/arch/x86_64/Kconfig =================================================================== --- linux.orig/arch/x86_64/Kconfig +++ linux/arch/x86_64/Kconfig @@ -389,6 +389,7 @@ config GART_IOMMU bool "K8 GART IOMMU support" default y select SWIOTLB + select AGP depends on PCI help Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors @@ -401,11 +402,9 @@ config GART_IOMMU northbridge and a software emulation used on other systems without hardware IOMMU. If unsure, say Y. -# need this always enabled with GART_IOMMU for the VIA workaround +# need this always selected by GART_IOMMU for the VIA workaround config SWIOTLB bool - default y - depends on GART_IOMMU config X86_MCE bool "Machine check support" if EMBEDDED Index: linux/drivers/char/agp/Kconfig =================================================================== --- linux.orig/drivers/char/agp/Kconfig +++ linux/drivers/char/agp/Kconfig @@ -1,7 +1,6 @@ config AGP - tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU + tristate "/dev/agpgart (AGP Support)" depends on ALPHA || IA64 || PPC || X86 - default y if GART_IOMMU ---help--- AGP (Accelerated Graphics Port) is a bus system mainly used to connect graphics cards to the rest of the system. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-20 8:17 ` Andrew Morton @ 2006-06-20 8:37 ` Andi Kleen 2006-06-20 8:50 ` Jeff Garzik 2006-06-21 2:59 ` Linus Torvalds 1 sibling, 1 reply; 7+ messages in thread From: Andi Kleen @ 2006-06-20 8:37 UTC (permalink / raw) To: Andrew Morton; +Cc: Jeff Garzik, torvalds, davej, linux-kernel On Tuesday 20 June 2006 10:17, Andrew Morton wrote: > On Tue, 20 Jun 2006 03:49:05 -0400 > Jeff Garzik <jeff@garzik.org> wrote: > > > On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the > > following build breakage: > > > > 1) myri10ge: needs iowrite64_copy from -mm > > Patch has been sent. > > > 2) forcedeth: git tree conflict, Herbert sent a patch > > > > 3) pci-gart (ouch!) link: no fix seen yet > > > > [...] > > LD init/built-in.o > > LD .tmp_vmlinux1 > > arch/x86_64/kernel/built-in.o: In function `pci_iommu_init': > > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_amd64_init' > > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_bridge' > > arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_copy_info' > > make: *** [.tmp_vmlinux1] Error 1 > > hm. I could swear we fixed that multiple times, but I don't seem to be > able to locate the patch. > > This one, perhaps? Is it new anyways? I don't think either me nor Dave changed anything in this area yet post .17 Anyways looks good although the old code worked at some point ... -Andi > > use select for GART_IOMMU to enable AGP > > From: Roman Zippel <zippel@linux-m68k.org> > > The AGP default doesn't work well with other selects, so use a select for > GART_IOMMU as well. Remove a redundant default for SWIOTLB as well. > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-20 8:37 ` Andi Kleen @ 2006-06-20 8:50 ` Jeff Garzik 0 siblings, 0 replies; 7+ messages in thread From: Jeff Garzik @ 2006-06-20 8:50 UTC (permalink / raw) To: Andi Kleen; +Cc: Andrew Morton, torvalds, davej, linux-kernel Andi Kleen wrote: > On Tuesday 20 June 2006 10:17, Andrew Morton wrote: >> On Tue, 20 Jun 2006 03:49:05 -0400 >> Jeff Garzik <jeff@garzik.org> wrote: >> >>> On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the >>> following build breakage: >>> >>> 1) myri10ge: needs iowrite64_copy from -mm >> Patch has been sent. >> >>> 2) forcedeth: git tree conflict, Herbert sent a patch >>> >>> 3) pci-gart (ouch!) link: no fix seen yet >>> >>> [...] >>> LD init/built-in.o >>> LD .tmp_vmlinux1 >>> arch/x86_64/kernel/built-in.o: In function `pci_iommu_init': >>> arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_amd64_init' >>> arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_bridge' >>> arch/x86_64/kernel/pci-gart.c:619: undefined reference to `agp_copy_info' >>> make: *** [.tmp_vmlinux1] Error 1 >> hm. I could swear we fixed that multiple times, but I don't seem to be >> able to locate the patch. >> >> This one, perhaps? > > Is it new anyways? I don't think either me nor Dave changed anything > in this area yet post .17 'make allyesconfig' works on x86-64 in 2.6.17, yes. Jeff ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-20 8:17 ` Andrew Morton 2006-06-20 8:37 ` Andi Kleen @ 2006-06-21 2:59 ` Linus Torvalds 2006-06-21 3:03 ` Andrew Morton 2006-06-21 4:02 ` Brice Goglin 1 sibling, 2 replies; 7+ messages in thread From: Linus Torvalds @ 2006-06-21 2:59 UTC (permalink / raw) To: Andrew Morton; +Cc: Jeff Garzik, ak, davej, linux-kernel On Tue, 20 Jun 2006, Andrew Morton wrote: > On Tue, 20 Jun 2006 03:49:05 -0400 > Jeff Garzik <jeff@garzik.org> wrote: > > > On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the > > following build breakage: > > > > 1) myri10ge: needs iowrite64_copy from -mm > > Patch has been sent. Actually, not as far as I can tell. I got "s390: add __raw_writeq required by __iowrite64_copy" which was apparently the requisite patch for the actual iowrite64_patch. But no iowrite64 patch itself. Andrew? Lins ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-21 2:59 ` Linus Torvalds @ 2006-06-21 3:03 ` Andrew Morton 2006-06-21 4:02 ` Brice Goglin 1 sibling, 0 replies; 7+ messages in thread From: Andrew Morton @ 2006-06-21 3:03 UTC (permalink / raw) To: Linus Torvalds; +Cc: jeff, ak, davej, linux-kernel On Tue, 20 Jun 2006 19:59:45 -0700 (PDT) Linus Torvalds <torvalds@osdl.org> wrote: > > > On Tue, 20 Jun 2006, Andrew Morton wrote: > > > On Tue, 20 Jun 2006 03:49:05 -0400 > > Jeff Garzik <jeff@garzik.org> wrote: > > > > > On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the > > > following build breakage: > > > > > > 1) myri10ge: needs iowrite64_copy from -mm > > > > Patch has been sent. > > Actually, not as far as I can tell. > > I got "s390: add __raw_writeq required by __iowrite64_copy" which was > apparently the requisite patch for the actual iowrite64_patch. oop. > But no iowrite64 patch itself. Andrew? Sent. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.17-git build breakage 2006-06-21 2:59 ` Linus Torvalds 2006-06-21 3:03 ` Andrew Morton @ 2006-06-21 4:02 ` Brice Goglin 1 sibling, 0 replies; 7+ messages in thread From: Brice Goglin @ 2006-06-21 4:02 UTC (permalink / raw) To: Linus Torvalds; +Cc: Andrew Morton, Jeff Garzik, ak, davej, linux-kernel Linus Torvalds wrote: > On Tue, 20 Jun 2006, Andrew Morton wrote: > > >> On Tue, 20 Jun 2006 03:49:05 -0400 >> Jeff Garzik <jeff@garzik.org> wrote: >> >> >>> On the latest 'git pull', on x86-64 SMP 'make allmodconfig', I get the >>> following build breakage: >>> >>> 1) myri10ge: needs iowrite64_copy from -mm >>> >> Patch has been sent. >> > > Actually, not as far as I can tell. > > I got "s390: add __raw_writeq required by __iowrite64_copy" which was > apparently the requisite patch for the actual iowrite64_patch. > > But no iowrite64 patch itself. Andrew? > myri10ge actually also needs pci-add-pci_cap_id_vndr.patch (Greg-KH will send it soon). Brice ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-06-21 4:03 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-20 7:49 2.6.17-git build breakage Jeff Garzik 2006-06-20 8:17 ` Andrew Morton 2006-06-20 8:37 ` Andi Kleen 2006-06-20 8:50 ` Jeff Garzik 2006-06-21 2:59 ` Linus Torvalds 2006-06-21 3:03 ` Andrew Morton 2006-06-21 4:02 ` Brice Goglin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox