Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kurt Garloff <K.Garloff@ping.de>
To: axp-list@redhat.com
Cc: jb@galileo.apo.nmsu.edu
Subject: Re: "Poll" system call broken?
Date: Wed, 5 Aug 1998 09:37:31 +0200	[thread overview]
Message-ID: <19980805093731.C26817@kg1.ping.de> (raw)
In-Reply-To: <199808040205.UAA19423@galileo.apo.nmsu.edu>; from brinkmann@nmsu.edu on Mon, Aug 03, 1998 at 08:05:24PM -0600

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 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff


  reply	other threads:[~1998-08-05  9:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04  2:05 "Poll" system call broken? brinkmann
1998-08-05  7:37 ` Kurt Garloff [this message]
1998-08-06 15:22 ` Erik Troan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox