From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18210 invoked from network); 5 Aug 1998 09:12:55 -0000 Received: from lilly.ping.de (qmailr@195.37.120.2) by mail2.redhat.com with SMTP; 5 Aug 1998 09:12:55 -0000 Received: (qmail 31359 invoked by uid 10); 5 Aug 1998 09:12:52 -0000 Received: from kg1.ping.de by lilly.ping.de with UUCP (rmail-0.1-fdc); 5 Aug 1998 09:12:52 -0000 Received: (from garloff@localhost) by kg1.ping.de (8.8.8/8.7.3) id JAA27058; Wed, 5 Aug 1998 09:37:31 +0200 Message-ID: <19980805093731.C26817@kg1.ping.de> Date: Wed, 5 Aug 1998 09:37:31 +0200 From: Kurt Garloff To: axp-list@redhat.com Cc: jb@galileo.apo.nmsu.edu Subject: Re: "Poll" system call broken? Mail-Followup-To: axp-list@redhat.com, jb@galileo.apo.nmsu.edu References: <199808040205.UAA19423@galileo.apo.nmsu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.4i In-Reply-To: <199808040205.UAA19423@galileo.apo.nmsu.edu>; from brinkmann@nmsu.edu on Mon, Aug 03, 1998 at 08:05:24PM -0600 X-Operating-System: Linux 2.1.106 i586 On Mon, Aug 03, 1998 at 08:05:24PM -0600, brinkmann@nmsu.edu wrote: > I've been experimenting with the "poll" system call using the appended > test program. It works well on our Solaris machines, but fails with an > "Operation not permitted" error on my Alpha running RH Linux 5.0, both > using stdin and file pointers. The RH errata makes no mention of any > problems. Can anyone be of assistance? Well, I don't know anything about poll(). I remember though there being a discussion about select() and poll() system calls in the kernel list. From what I remember, poll() is emulated by select() in 2.0.xx kernels, which cannot be done properly. In 2.1.x this changed: select() now is emulated by poll() which can be done properly. So, IIRC, switching to 2.1.x kernels could help you. Better check the linux-kernel archives yourself ... Hope, I could give you a little assistance. -- Kurt Garloff, Dortmund PGP key on http://student.physik.uni-dortmund.de/homepages/garloff