From owner-kaio@oss.sgi.com Wed Sep 5 06:36:28 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f85DaSk21879 for kaio-outgoing; Wed, 5 Sep 2001 06:36:28 -0700 Received: from e23.nc.us.ibm.com (e23.nc.us.ibm.com [32.97.136.229]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f85DaPd21876 for ; Wed, 5 Sep 2001 06:36:25 -0700 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e23.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id IAA23170 for ; Wed, 5 Sep 2001 08:34:09 -0500 Received: from d04nm301.raleigh.ibm.com (d04nm301.raleigh.ibm.com [9.67.228.166]) by southrelay02.raleigh.ibm.com (8.11.1m3/NCO v4.97.1) with ESMTP id f85DaNX106756 for ; Wed, 5 Sep 2001 09:36:23 -0400 Subject: KAIO for PPC and Linux 2.4.3 To: kaio@oss.sgi.com Cc: "Todd M Merriweather" , "Denny Colvin" X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "Mark D Dunn" Date: Wed, 5 Sep 2001 09:36:08 -0400 X-MIMETrack: Serialize by Router on D04NM301/04/M/IBM(Release 5.0.6 |December 14, 2000) at 09/05/2001 09:36:10 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-kaio@oss.sgi.com Precedence: bulk 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 From owner-kaio@oss.sgi.com Tue Sep 18 07:34:16 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f8IEYGg32257 for kaio-outgoing; Tue, 18 Sep 2001 07:34:16 -0700 Received: from e31.bld.us.ibm.com (e31.co.us.ibm.com [32.97.110.129]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f8IEYFe32254 for ; Tue, 18 Sep 2001 07:34:15 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.99.140.23]) by e31.bld.us.ibm.com (8.9.3/8.9.3) with ESMTP id KAA69052 for ; Tue, 18 Sep 2001 10:31:55 -0400 Received: from d03nm801.boulder.ibm.com (d03nm801.boulder.ibm.com [9.99.140.146]) by westrelay02.boulder.ibm.com (8.11.1m3/NCO v4.98) with ESMTP id f8IEY9M51236 for ; Tue, 18 Sep 2001 08:34:09 -0600 Importance: Normal Subject: sd_raw_rw To: kaio@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.3 March 21, 2000 Message-ID: From: "Steven W Jones" Date: Tue, 18 Sep 2001 09:34:08 -0500 X-MIMETrack: Serialize by Router on D03NM801/03/M/IBM(Release 5.0.8 |June 18, 2001) at 09/18/2001 08:34:08 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-kaio@oss.sgi.com Precedence: bulk Hello, We are looking at adapting your kaio to work on tape drives in st.c and was looking through sd.c and saw the function sd_raw_rw. However I cannot find the source for this function anywhere. If you could help me I would very much appreciate it. It would be even better if you could quickly explain the hierarchy of your implementation. Thank you, Steven Jones