Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Probs running ntp on an indy
@ 2001-07-19 17:26 Robert Einsle
  2001-07-19 20:24 ` Klaus Naumann
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Einsle @ 2001-07-19 17:26 UTC (permalink / raw)
  To: linux-mips

Hy

Is it possible to run ntp on an indy??

while running ntpdate i got the error

ntpdate[621]: poll(): nfound = 0, error: Operation not permitted

the same thing happens while running ntpd

Thanks for your help


-- 
MFG

Robert Einsle
BNA Technik, Postmaster

>>Warum muss ich bei "Verwaltung von Problemloesungen
fuer eine EDV-Abteilung" an einen Waffenschrank denken?<<
(Robin S. Socha in de.comp.os.unix.linux.misc)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probs running ntp on an indy
  2001-07-19 17:26 Probs running ntp on an indy Robert Einsle
@ 2001-07-19 20:24 ` Klaus Naumann
  2001-07-19 20:51   ` Florian Lohoff
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Naumann @ 2001-07-19 20:24 UTC (permalink / raw)
  To: Robert Einsle; +Cc: linux-mips

On Thu, 19 Jul 2001, Robert Einsle wrote:

> Hy
> 
> Is it possible to run ntp on an indy??
> 
> while running ntpdate i got the error
> 
> ntpdate[621]: poll(): nfound = 0, error: Operation not permitted
> 
> the same thing happens while running ntpd

I know the problem but no solution. I suspect that it's a
problem of the poll function in Big Endian environments, because
I can reproduce this on my Indigo2 and on an Ultra 1 as well.

		CU, Klaus


-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probs running ntp on an indy
  2001-07-19 20:24 ` Klaus Naumann
@ 2001-07-19 20:51   ` Florian Lohoff
  2001-07-19 21:20     ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Lohoff @ 2001-07-19 20:51 UTC (permalink / raw)
  To: Klaus Naumann; +Cc: Robert Einsle, linux-mips

On Thu, Jul 19, 2001 at 10:24:06PM +0200, Klaus Naumann wrote:
> I know the problem but no solution. I suspect that it's a
> problem of the poll function in Big Endian environments, because
> I can reproduce this on my Indigo2 and on an Ultra 1 as well.

I remember seeing a patch concerning this problem - Something with
rtsignals - But i cant seem to find it anymore.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probs running ntp on an indy
  2001-07-19 20:51   ` Florian Lohoff
@ 2001-07-19 21:20     ` Daniel Jacobowitz
  2001-07-20  6:04       ` Andreas Jaeger
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-07-19 21:20 UTC (permalink / raw)
  To: Florian Lohoff; +Cc: libc-alpha, Klaus Naumann, Robert Einsle, linux-mips

On Thu, Jul 19, 2001 at 10:51:37PM +0200, Florian Lohoff wrote:
> On Thu, Jul 19, 2001 at 10:24:06PM +0200, Klaus Naumann wrote:
> > I know the problem but no solution. I suspect that it's a
> > problem of the poll function in Big Endian environments, because
> > I can reproduce this on my Indigo2 and on an Ultra 1 as well.
> 
> I remember seeing a patch concerning this problem - Something with
> rtsignals - But i cant seem to find it anymore.

That's probably this one.  I knew I'd let a patch slip.  Glibc folk, is
this OK?  The siginfo struct is different on MIPS.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

--- glibc-2.2.3/sysdeps/unix/sysv/linux/mips/bits/siginfo.h.orig	Thu May 24 15:35:42 2001
+++ glibc-2.2.3/sysdeps/unix/sysv/linux/mips/bits/siginfo.h	Thu May 24 15:35:49 2001
@@ -45,9 +45,9 @@
 typedef struct siginfo
   {
     int si_signo;		/* Signal number.  */
+    int si_code;		/* Signal code.  */
     int si_errno;		/* If non-zero, an errno value associated with
 				   this signal, as defined in <errno.h>.  */
-    int si_code;		/* Signal code.  */
 
     union
       {

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probs running ntp on an indy
  2001-07-19 21:20     ` Daniel Jacobowitz
@ 2001-07-20  6:04       ` Andreas Jaeger
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Jaeger @ 2001-07-20  6:04 UTC (permalink / raw)
  To: Daniel Jacobowitz
  Cc: Florian Lohoff, libc-alpha, Klaus Naumann, Robert Einsle,
	linux-mips

Daniel Jacobowitz <dan@debian.org> writes:

> On Thu, Jul 19, 2001 at 10:51:37PM +0200, Florian Lohoff wrote:
>> On Thu, Jul 19, 2001 at 10:24:06PM +0200, Klaus Naumann wrote:
>> > I know the problem but no solution. I suspect that it's a
>> > problem of the poll function in Big Endian environments, because
>> > I can reproduce this on my Indigo2 and on an Ultra 1 as well.
>> 
>> I remember seeing a patch concerning this problem - Something with
>> rtsignals - But i cant seem to find it anymore.
> 
> That's probably this one.  I knew I'd let a patch slip.  Glibc folk, is
> this OK?  The siginfo struct is different on MIPS.

Yes, that's fine.

Thanks, I've committed it,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-20  6:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-19 17:26 Probs running ntp on an indy Robert Einsle
2001-07-19 20:24 ` Klaus Naumann
2001-07-19 20:51   ` Florian Lohoff
2001-07-19 21:20     ` Daniel Jacobowitz
2001-07-20  6:04       ` Andreas Jaeger

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