From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4611 invoked from network); 6 Aug 1998 15:22:45 -0000 Received: from stan.redhat.com (199.183.24.231) by mail2.redhat.com with SMTP; 6 Aug 1998 15:22:45 -0000 Received: (from news@localhost) by stan.redhat.com (8.8.7/8.8.7) id LAA20498; Thu, 6 Aug 1998 11:22:44 -0400 To: axp-list@redhat.com Path: ewt From: ewt@mercury.redhat.com (Erik Troan) Newsgroups: gated.axp-list Subject: Re: "Poll" system call broken? Date: 6 Aug 1998 15:22:39 GMT Organization: Red Hat Software Message-ID: References: <199808040205.UAA19423@galileo.apo.nmsu.edu> Reply-To: ewt@redhat.com NNTP-Posting-Host: mercury.redhat.com X-Newsreader: slrn (0.9.4.3 UNIX) On Mon, 3 Aug 1998 20:05:24 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 |