From nobody@FreeBSD.ORG  Tue Aug 22 02:27:55 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 57AE937B424; Tue, 22 Aug 2000 02:27:55 -0700 (PDT)
Message-Id: <20000822092755.57AE937B424@hub.freebsd.org>
Date: Tue, 22 Aug 2000 02:27:55 -0700 (PDT)
From: craiglei@pasia.com.cn
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: aio_write function cannot be used.
X-Send-Pr-Version: www-1.0

>Number:         20778
>Category:       misc
>Synopsis:       aio_write function cannot be used.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 22 02:30:00 PDT 2000
>Closed-Date:    Wed Nov 8 08:49:39 PST 2000
>Last-Modified:  Wed Nov 08 08:49:53 PST 2000
>Originator:     craiglei
>Release:        freebsd4.0
>Organization:
pasia
>Environment:
FreeBSD www.freebsd.com.cn 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000     root@monster.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>Description:
I make a program using function aio_write. It is ok when compiling.
But when it is run error occur with errno code 78(Function not implemented)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: David Malone <dwmalone@maths.tcd.ie>
To: craiglei@pasia.com.cn
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/20778: aio_write function cannot be used.
Date: Tue, 22 Aug 2000 11:58:07 +0100

 On Tue, Aug 22, 2000 at 02:27:55AM -0700, craiglei@pasia.com.cn wrote:
 
 > I make a program using function aio_write. It is ok when compiling.
 > But when it is run error occur with errno code 78(Function not implemented)
 
 You have probably not included the VFS_AIO option in your kernel.
 I've included the comment from LINT below. If you need to know how
 to build a new kernel, I think details can be found in the FreeBSD
 handbook.
 
 	David.
 
 # Use real implementations of the aio_* system calls.  There are numerous
 # stability issues in the current aio code that make it unsuitable for
 # inclusion on shell boxes.
 options         VFS_AIO
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Tue Aug 22 07:36:36 PDT 2000 
State-Changed-Why:  
Was David's suggestion appropriate? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=20778 
State-Changed-From-To: feedback->closed 
State-Changed-By: dirk 
State-Changed-When: Wed Nov 8 08:49:39 PST 2000 
State-Changed-Why:  
Feedback timeout... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20778 
>Unformatted:
