linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
       [not found] <E1E13vT-0008G7-R1@arda.LT-P.net>
@ 2005-08-08  8:57 ` Horms
  2005-08-13 22:54   ` LT-P
  0 siblings, 1 reply; 6+ messages in thread
From: Horms @ 2005-08-08  8:57 UTC (permalink / raw)
  To: LT-P, 321442; +Cc: Bartlomiej Zolnierkiewicz, linux-kernel, linux-ide

On Fri, Aug 05, 2005 at 05:15:57PM +0200, LT-P wrote:
> Package: kernel-source-2.6.8
> Version: 2.6.8-16
> Severity: normal
> 
> The 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
> 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 once
> drivers/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.

-- 
Horms


BLK_DEV_IDEDMA_PCI seems to be needed for BLK_DEV_IDE_PMAC to compile

Signed-off-by: Horms <horms@verge.net.au>


--- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
  2005-08-08  8:57 ` Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c) Horms
@ 2005-08-13 22:54   ` LT-P
  2005-08-16 15:51     ` Erik Slagter
  2005-08-16 18:11     ` Kyle Moffett
  0 siblings, 2 replies; 6+ messages in thread
From: LT-P @ 2005-08-13 22:54 UTC (permalink / raw)
  To: Horms; +Cc: 321442, Bartlomiej Zolnierkiewicz, linux-kernel, linux-ide

Le lun 08 aoû 2005 17:57:04 CEST, Horms <horms@debian.org> a écrit:

> 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.
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

-- 
Seals are cute, kiss them

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
  2005-08-13 22:54   ` LT-P
@ 2005-08-16 15:51     ` Erik Slagter
  2005-08-16 18:11     ` Kyle Moffett
  1 sibling, 0 replies; 6+ messages in thread
From: Erik Slagter @ 2005-08-16 15:51 UTC (permalink / raw)
  To: LT-P; +Cc: linux-ide

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

On Sun, 2005-08-14 at 00:54 +0200, LT-P wrote:
> 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...)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
  2005-08-13 22:54   ` LT-P
  2005-08-16 15:51     ` Erik Slagter
@ 2005-08-16 18:11     ` Kyle Moffett
  2005-09-05 12:42       ` Bartlomiej Zolnierkiewicz
  1 sibling, 1 reply; 6+ messages in thread
From: Kyle Moffett @ 2005-08-16 18:11 UTC (permalink / raw)
  To: LT-P; +Cc: Horms, 321442, Bartlomiej Zolnierkiewicz, linux-kernel, linux-ide

On Aug 13, 2005, at 18:54:30, LT-P wrote:
> Le lun 08 aoû 2005 17:57:04 CEST, Horms <horms@debian.org> a écrit:
>> 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.
> 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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
  2005-08-16 18:11     ` Kyle Moffett
@ 2005-09-05 12:42       ` Bartlomiej Zolnierkiewicz
  2005-09-07  6:00         ` Horms
  0 siblings, 1 reply; 6+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-09-05 12:42 UTC (permalink / raw)
  To: Kyle Moffett; +Cc: LT-P, Horms, 321442, linux-kernel, linux-ide

Should be fixed in 2.6.13.

On 8/16/05, Kyle Moffett <mrmacman_g4@mac.com> wrote:
> On Aug 13, 2005, at 18:54:30, LT-P wrote:
> > Le lun 08 aoû 2005 17:57:04 CEST, Horms <horms@debian.org> a écrit:
> >> 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.
> > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c)
  2005-09-05 12:42       ` Bartlomiej Zolnierkiewicz
@ 2005-09-07  6:00         ` Horms
  0 siblings, 0 replies; 6+ messages in thread
From: Horms @ 2005-09-07  6:00 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Kyle Moffett, LT-P, 321442, linux-kernel, linux-ide

On Mon, Sep 05, 2005 at 02:42:43PM +0200, Bartlomiej Zolnierkiewicz wrote:
> Should be fixed in 2.6.13.
> 
> On 8/16/05, Kyle Moffett <mrmacman_g4@mac.com> wrote:
> > On Aug 13, 2005, at 18:54:30, LT-P wrote:
> > > Le lun 08 aoû 2005 17:57:04 CEST, Horms <horms@debian.org> a écrit:
> > >> 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.
> > > 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

-- 
Horms

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-07  7:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1E13vT-0008G7-R1@arda.LT-P.net>
2005-08-08  8:57 ` Bug#321442: kernel-source-2.6.8: fails to compile on powerpc (drivers/ide/ppc/pmac.c) Horms
2005-08-13 22:54   ` LT-P
2005-08-16 15:51     ` Erik Slagter
2005-08-16 18:11     ` Kyle Moffett
2005-09-05 12:42       ` Bartlomiej Zolnierkiewicz
2005-09-07  6:00         ` Horms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).