Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · LT-P
Package: kernel-source-2.6.8
Version: 2.6.8-16
Severity: normalThe kernel-source-2.6.8 sources fail to compile on powerpc (PowerMac 4400).
___
CC drivers/ide/ide.o CC drivers/ide/ide-default.o CC drivers/ide/ide-io.o CC drivers/ide/ide-iops.o CC drivers/ide/ide-lib.o CC drivers/ide/ide-probe.o CC drivers/ide/ide-taskfile.o CC drivers/ide/ide-dma.o CC drivers/ide/ide-proc.o CC drivers/ide/ppc/pmac.o
Quoted 14 lines
drivers/ide/ppc/pmac.c: Dans la fonction ??pmac_ide_dma_read??:drivers/ide/ppc/pmac.c:1951: error: `ide_dma_intr' undeclared (first use in this function)drivers/ide/ppc/pmac.c:1951: error: (Each undeclared identifier is reported only oncedrivers/ide/ppc/pmac.c:1951: error: for each function it appears in.)drivers/ide/ppc/pmac.c: Dans la fonction ??pmac_ide_dma_write??:drivers/ide/ppc/pmac.c:1982: error: `ide_dma_intr' undeclared (first use in this function)drivers/ide/ppc/pmac.c: Dans la fonction ??pmac_ide_setup_dma??:drivers/ide/ppc/pmac.c:2157: error:__ide_dma_off_quietly' undeclared (first use in this function) drivers/ide/ppc/pmac.c:2158: error:__ide_dma_on' undeclared (first use in this function)drivers/ide/ppc/pmac.c:2167: error:__ide_dma_verbose' undeclared (first use in this function) drivers/ide/ppc/pmac.c:2168: error:__ide_dma_timeout' undeclared (first use in this function) make[3]: *** [drivers/ide/ppc/pmac.o] Error 1
make[2]: *** [drivers/ide] Error 2
make[1]: *** [drivers] Error 2
Can you please enable BLK_DEV_IDEDMA_PCI and see if that resolves your problem. If it does, then the following patch should fix Kconfig so that BLK_DEV_IDEDMA_PCI needs to be enabled for BLK_DEV_IDE_PMAC to be enabled. It should patch cleanly against Debian's 2.6.8 and Linus' current Git tree.
Signature · 28 lines
Horms BLK_DEV_IDEDMA_PCI seems to be needed for BLK_DEV_IDE_PMAC to compile Signed-off-by: Horms <[email protected]> --- a/drivers/ide/Kconfig.orig 2005-08-08 17:48:17.000000000 +0900 +++ b/drivers/ide/Kconfig 2005-08-08 17:48:48.000000000 +0900 @@ -749,8 +749,6 @@ This allows the kernel to change PIO, DMA and UDMA speeds and to configure the chip to optimum performance. -endif - config BLK_DEV_IDE_PMAC bool "Builtin PowerMac IDE support" depends on PPC_PMAC && IDE=y @@ -759,6 +757,8 @@ most of the recent Apple Power Macintoshes and PowerBooks. If unsure, say Y. +endif + config BLK_DEV_IDE_PMAC_ATA100FIRST bool "Probe internal ATA/100 (Kauai) first" depends on BLK_DEV_IDE_PMAC
Quoted 5 lines · Horms
Can you please enable
BLK_DEV_IDEDMA_PCIand see if that resolves your problem. If it does, then the following patch should fixKconfigso thatBLK_DEV_IDEDMA_PCIneeds to be enabled forBLK_DEV_IDE_PMACto be enabled. It should patch cleanly against Debian's 2.6.8 and Linus' current Git tree.
It seems to solve the problem, thanks.
Sometimes, I feel like I am the only person in the world to compile the kernel on powerpc... :)
LT-P
Signature · 1 line
Seals are cute, kiss them
Quoted 3 lines · LT-P
It seems to solve the problem, thanks.
Sometimes, I feel like I am the only person in the world to compile the kernel on powerpc... :)
Well, then at least it should be two (compiling and running linux on DMM dreambox with PPC controller, although I don't have a harddisk fitted...)
Quoted 11 lines · LT-P
Quoted 6 lines · Horms
Can you please enable
BLK_DEV_IDEDMA_PCIand see if that resolves your
problem. If it does, then the following patch should fixKconfigso thatBLK_DEV_IDEDMA_PCIneeds to be enabled forBLK_DEV_IDE_PMACto be enabled. It should patch cleanly against Debian's 2.6.8 and Linus' current Git tree.It seems to solve the problem, thanks.
Sometimes, I feel like I am the only person in the world to compile the kernel on
powerpc... :)
Actually, I ran into this same bug a day or so ago when updating to 2.6.13-rc6,
it's just I noticed the error, fixed my config, then recompiled and forgot
about it completely until now :-D. Thanks for the bug report, though!
Cheers,
Kyle Moffett
--
I have yet to see any problem, however complicated, which, when you looked at
it in the right way, did not become still more complicated.
-- Poul Anderson
Should be fixed in 2.6.13.
Quoted 21 lines · Kyle Moffett
Quoted 11 lines · LT-P
Quoted 6 lines · Horms
Can you please enable
BLK_DEV_IDEDMA_PCIand see if that resolves your
problem. If it does, then the following patch should fixKconfigso thatBLK_DEV_IDEDMA_PCIneeds to be enabled forBLK_DEV_IDE_PMACto be enabled. It should patch cleanly against Debian's 2.6.8 and Linus' current Git tree.It seems to solve the problem, thanks.
Sometimes, I feel like I am the only person in the world to compile the kernel on
powerpc... :)Actually, I ran into this same bug a day or so ago when updating to 2.6.13-rc6,
it's just I noticed the error, fixed my config, then recompiled and forgot
about it completely until now :-D. Thanks for the bug report, though!Cheers,
Kyle Moffett
Quoted 21 lines · Bartlomiej Zolnierkiewicz
Should be fixed in 2.6.13.
Quoted 18 lines · Kyle Moffett
Quoted 11 lines · LT-P
Quoted 6 lines · Horms
Can you please enable
BLK_DEV_IDEDMA_PCIand see if that resolves your
problem. If it does, then the following patch should fixKconfigso thatBLK_DEV_IDEDMA_PCIneeds to be enabled forBLK_DEV_IDE_PMACto be enabled. It should patch cleanly against Debian's 2.6.8 and Linus' current Git tree.It seems to solve the problem, thanks.
Sometimes, I feel like I am the only person in the world to compile the kernel on
powerpc... :)Actually, I ran into this same bug a day or so ago when updating to 2.6.13-rc6,
it's just I noticed the error, fixed my config, then recompiled and forgot
about it completely until now :-D. Thanks for the bug report, though!
thanks
Signature · 1 line
Horms