kaio
[Top] [All Lists]

KAIO for PPC and Linux 2.4.3

To: kaio@xxxxxxxxxxx
Subject: KAIO for PPC and Linux 2.4.3
From: "Mark D Dunn" <mddunn@xxxxxxxxxx>
Date: Wed, 5 Sep 2001 09:36:08 -0400
Cc: "Todd M Merriweather" <toddmm@xxxxxxxxxx>, "Denny Colvin" <dwcolvin@xxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx
Hello,

I would like to use KAIO in an application we are writing.  The latest
patch I got seems to be for the i386 platform and Linux 2.4.2.
KAIO  works great on the Intel platform, and we would also like to use it
on the PPC platform.

I need to use KAIO on the PPC platform (POWER3), and also with Linux 2.4.3.
(Linux 2.4.2 would not compile, 2.4.3 would).

I ran the KAIO 2.4.2 patch against 2.4.3.  I then studied what the patch is
doing, and made changes in the arch/ppc directory that
were made in the arch/i386 directory.  There seemed to be only 4 files that
needed changed:

     arch/ppc/config.in
     arch/ppc/kernel/misc.S    (on i386, was arch/i386/entry.S
     include/ppc/errno.h
     include/ppc/unistd.h

The only difference I made was in errno.h, instead of defining the
following:

#define  __NR_aio  251

as shown on the i386 platform, we picked the next unused number on ppc:

#define  __NR_aio  207

The kernel compiles, links, and boots successfully.

When we run our application, it hangs on sigwaitinfo().  It never catches
the aio_read or aio_write signals.

Please give us some assistance on determining how to get KAIO to work on
the PPC platform (with 2.4.3).  Let tell us if you
know of any changes we need to make to get KAIO to run on the PPC platform.

Thanks in advance,

Mark D. Dunn



<Prev in Thread] Current Thread [Next in Thread>
  • KAIO for PPC and Linux 2.4.3, Mark D Dunn <=