Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: ewt@mercury.redhat.com (Erik Troan)
To: axp-list@redhat.com
Subject: Re: "Poll" system call broken?
Date: 6 Aug 1998 15:22:39 GMT	[thread overview]
Message-ID: <slrn6sjiij.11s.ewt@mercury.redhat.com> (raw)
In-Reply-To: 199808040205.UAA19423@galileo.apo.nmsu.edu

On Mon, 3 Aug 1998 20:05:24 brinkmann@nmsu.edu <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?


You need the latest glibc package from the 5.1 errata, and get the 
kernel-source package from the 5.1 errata as well. Rebuild your kernel,
reboot, and you should be fine.

You need a new kernel because all 2.0.x kernels on the alpha return the
wrong error code for an unimplemented system call. glibc needs to see
ENOSYS to do proper emulation, so the kernel must be fixed. You may not
actually need the new glibc for poll() to work, but hey, why not?

These fixes let poll() work fine for xntpd, fwiw.

Erik

-------------------------------------------------------------------------------
|       "For the next two hours, VH1 will be filled with foul-mouthed,        |
|          crossdressing Australians. Viewer discretion is advised."          |
|                                                                             |
|   Linux Application Development  --  http://www.redhat.com/~johnsonm/lad    |


      parent reply	other threads:[~1998-08-06 15:22 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
1998-08-06 15:22 ` Erik Troan [this message]
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