Solved

async I/O functions in HP-UX

Posted on 1998-12-07
4
375 Views
Last Modified: 2013-12-26
Please give me some inoformation about how to use asynchronous I/O
functions properly(aio_read,aio_write etc.) in Unix.I am using HP-UX 10.30 .
Are there  any restrictions applicable  to aio related functions.I tried
one simple program using files & got the following error.

Unsupported file system operation(ENOSYS)
     
If possible please send me a sample code to enable me to try a simple
example using asynchronous I/O.

Please help

Regards
NewtonJJ
0
Comment
Question by:Newtonjj
  • 2
4 Comments
 
LVL 3

Expert Comment

by:elfie
ID: 1294645
try "man 5 ioctl", and read some other (referred) man pages.

Concerning your ENOSYS, which call generated this error?
0
 
LVL 3

Expert Comment

by:elfie
ID: 1294646
Can you share your simple program that generated this ENOSYS?
Preferable with an indication which call generated the error
0
 

Accepted Solution

by:
richardsonja earned 200 total points
ID: 1294647
You use Kernel Asynchronous IO (KAIO) you need to enable this specifically. This is done by:

1) Check KAIO driver "asyncdsk" is loaded into the kernel
2) su
   mknod /dev/async c 101 1
   chmod 0666 /dev/async

If you dont have root permissions, you are stuck.

0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6823608
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.

This is the Community Support link, if help is needed, along with the link to All Topics since many new ones were recently added.

http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
http://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thanks,
Moondancer
Moderator @ Experts Exchange
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now