Solved

async I/O functions in HP-UX

Posted on 1998-12-07
4
379 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Pressing cancel button with C# UI Automation 3 67
Tab names are off by one 5 54
WinWaitActive parameters 12 31
how to split multiple lines delimiter : 8 98
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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