lkml.org 
[lkml]   [1999]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Alpha and xntpd...
Wieger Opmeer wrote:
> The problems you are seeing are solved by this little patch:
>
> --- arch/alpha/kernel/osf_sys.c.org Mon Mar 29 17:29:02 1999
> +++ arch/alpha/kernel/osf_sys.c Thu Apr 1 13:41:36 1999
> @@ -1408,8 +1408,7 @@
> offsetof(struct timex32, time)))
> return -EFAULT;
>
> - if ((ret = do_adjtimex(&txc)))
> - return ret;
> + ret = do_adjtimex(&txc);
>
> /* copy back to timex32 */
> if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) ||
> @@ -1418,5 +1417,5 @@
> (put_tv32(&txc_p->time, &txc.time)))
> return -EFAULT;
>
> - return 0;
> + return ret;
> }
>
> What is does is that it removes the overoptimisation of the adjtimex
> syscall someone put in somewhere in the 2.1.x series and wich breaks
> xntpd. I've had lots of 'fun' tracking this little bug down.
>

Doesn't work for me, though. Machine is an AlphaStation 250 4/266. xntpd
starts up fine, but very frequently loses sync. To make the problem
worse, running xntpd also has an impact on nanosleep(). "sleep 1" tends
to block for much more than a second, and icecast's "shout" frequently
produces gaps. Without xntpd all is fine.

Gruss,
Matthias

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.047 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site