linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 2.6.0-test1 on PPC
@ 2003-07-22 18:22 Gergely Nagy
  2003-07-23  7:50 ` Jeff Sipek
  0 siblings, 1 reply; 2+ messages in thread
From: Gergely Nagy @ 2003-07-22 18:22 UTC (permalink / raw)
  To: linux-kernel

Hi!

I've tried to compile linux 2.6.0-test1 on ppc, and so far, ran into two
easily fixable problems: first, in arch/ppc/kernel/time.c
do_settimeofday has new_sec and new_nsec defined twice. When I removed
one of the definitions (I chose to remove the ones that were not
explictly initialised). Then drivers/ide/ppc/pmac.c failed to compile,
due to a missing ide_dma_intr and others. I looked into
includes/linux/ide.h, and noticed that these are only defined if
CONFIG_BLK_DEV_IDE_DMA_PCI is defined, and my config didn't have that,
only CONFIG_BLK_DEV_IDE_DMA_PPC. So - as a quick and rude solution - I
changed the ifdef in ide.h, which is probably the wrong solution.

The kernel is still compiling, but I don't expect other failures.. If
anyone wants a patch for the above two trivial thingies, or has a
pointer to a ppc tree that is likely to be more up-to-date, please shout
:)

Cheers,
-- 
Gergely Nagy

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

* Re: Linux 2.6.0-test1 on PPC
  2003-07-22 18:22 Linux 2.6.0-test1 on PPC Gergely Nagy
@ 2003-07-23  7:50 ` Jeff Sipek
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Sipek @ 2003-07-23  7:50 UTC (permalink / raw)
  To: Gergely Nagy, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 22 July 2003 14:22, Gergely Nagy wrote:
> Hi!
>
> I've tried to compile linux 2.6.0-test1 on ppc, and so far, ran into two
> easily fixable problems: first, in arch/ppc/kernel/time.c
> do_settimeofday has new_sec and new_nsec defined twice. When I removed
> one of the definitions (I chose to remove the ones that were not
> explictly initialised).

Already fixed.

> Then drivers/ide/ppc/pmac.c failed to compile,
> due to a missing ide_dma_intr and others. I looked into
> includes/linux/ide.h, and noticed that these are only defined if
> CONFIG_BLK_DEV_IDE_DMA_PCI is defined, and my config didn't have that,
> only CONFIG_BLK_DEV_IDE_DMA_PPC. So - as a quick and rude solution - I
> changed the ifdef in ide.h, which is probably the wrong solution.

I have no idea, and I'm going to get some sleep first. :-)

> The kernel is still compiling, but I don't expect other failures.. If
> anyone wants a patch for the above two trivial thingies, or has a
> pointer to a ppc tree that is likely to be more up-to-date, please shout

We'll see...

Jeff.

- -- 
Keyboard not found!
Press F1 to enter Setup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Hj5LwFP0+seVj/4RAlPoAJ4otaDBCzSROWaRiVhrymurRvXvngCgz+9N
kWXKRbCM0AxM6rJoHNj41Ps=
=j4dJ
-----END PGP SIGNATURE-----


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

end of thread, other threads:[~2003-07-23  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 18:22 Linux 2.6.0-test1 on PPC Gergely Nagy
2003-07-23  7:50 ` Jeff Sipek

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