Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-16 Thread Roger Leigh
Paul Mackerras <[EMAIL PROTECTED]> writes: > Benjamin Herrenschmidt writes: > >> Ok, does not using NTP fixes it ? > > Try this patch. With this the values from gettimeofday() or the VDSO > should stay exactly in sync with xtime even if NTP is adjusting the > clock. > > This patch still has quite

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-15 Thread Mikael Pettersson
Paul Mackerras writes: > Benjamin Herrenschmidt writes: > > > Ok, does not using NTP fixes it ? > > Try this patch. With this the values from gettimeofday() or the VDSO > should stay exactly in sync with xtime even if NTP is adjusting the > clock. > > This patch still has quite a few d

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-15 Thread Olaf Hering
On Wed, Feb 15, Paul Mackeras wrote: > Benjamin Herrenschmidt writes: > > > Ok, does not using NTP fixes it ? > > Try this patch. With this the values from gettimeofday() or the VDSO > should stay exactly in sync with xtime even if NTP is adjusting the > clock. > > This patch still has quite

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-14 Thread Paul Mackerras
Benjamin Herrenschmidt writes: > Ok, does not using NTP fixes it ? Try this patch. With this the values from gettimeofday() or the VDSO should stay exactly in sync with xtime even if NTP is adjusting the clock. This patch still has quite a few debugging printks in it, so it's not final by any m

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-13 Thread Benjamin Herrenschmidt
> > Can you strace vs. ltrace and see if the gettimeofday or clock_gettime > > syscalls are ever called ? > >| strace| ltrace > ---+---+ > 2.6.15 | | > date | clock_gettime | clock_gettime -> SYS_c

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-13 Thread Roger Leigh
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > On Sun, 2006-02-12 at 17:13 +, Roger Leigh wrote: >> Hi folks, >> >> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; >> Freescale 7447A): >> >> $ date && touch f && ls -l f && rm -f f && date >> Sun Feb 12 12:20:14 GMT 2006

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-13 Thread Olaf Hering
On Mon, Feb 13, Olaf Hering wrote: > On Sun, Feb 12, Olaf Hering wrote: > > > On Sun, Feb 12, Roger Leigh wrote: > > > > > In both these cases, the chrony NTP daemon is running, if that might > > > be a problem. > > > > I dont run Debian, but: > > > > My G4/466 has the hwclock at 1970 for s

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-13 Thread Olaf Hering
On Sun, Feb 12, Olaf Hering wrote: > On Sun, Feb 12, Roger Leigh wrote: > > > In both these cases, the chrony NTP daemon is running, if that might > > be a problem. > > I dont run Debian, but: > > My G4/466 has the hwclock at 1970 for some reason. The early bootscripts > call klogd, which cal

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Andrew Morton <[EMAIL PROTECTED]> writes: > Roger Leigh <[EMAIL PROTECTED]> wrote: >> >> When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; >> Freescale 7447A): >> >> $ date && touch f && ls -l f && rm -f f && date >> Sun Feb 12 12:20:14 GMT 2006 >> -rw-r--r-- 1 rleigh rleigh 0 2

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Andrew Morton
Roger Leigh <[EMAIL PROTECTED]> wrote: > > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; > Freescale 7447A): > > $ date && touch f && ls -l f && rm -f f && date > Sun Feb 12 12:20:14 GMT 2006 > -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23 > Sun Feb 12 12:20:14 GMT 2006 > >

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Benjamin Herrenschmidt
On Sun, 2006-02-12 at 17:13 +, Roger Leigh wrote: > Hi folks, > > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; > Freescale 7447A): > > $ date && touch f && ls -l f && rm -f f && date > Sun Feb 12 12:20:14 GMT 2006 > -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23 > Sun Feb 12

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Bin Zhang
On 2/12/06, Roger Leigh <[EMAIL PROTECTED]> wrote: > Roger Leigh <[EMAIL PROTECTED]> writes: > > > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; > > Freescale 7447A): > > > > $ date && touch f && ls -l f && rm -f f && date > > Sun Feb 12 12:20:14 GMT 2006 > > -rw-r--r-- 1 rleigh r

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Olaf Hering
On Sun, Feb 12, Roger Leigh wrote: > In both these cases, the chrony NTP daemon is running, if that might > be a problem. I dont run Debian, but: My G4/466 has the hwclock at 1970 for some reason. The early bootscripts call klogd, which calls nanosleep. This syscall takes 3 hours to complete.

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Roger Leigh <[EMAIL PROTECTED]> writes: > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; > Freescale 7447A): > > $ date && touch f && ls -l f && rm -f f && date > Sun Feb 12 12:20:14 GMT 2006 > -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23 > Sun Feb 12 12:20:14 GMT 2006 > > Notice

Re: 2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Gabriel Paubert
On Sun, Feb 12, 2006 at 05:13:50PM +, Roger Leigh wrote: > Hi folks, > > When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; > Freescale 7447A): > > $ date && touch f && ls -l f && rm -f f && date > Sun Feb 12 12:20:14 GMT 2006 > -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23 > Sun

2.6.16-rc2 powerpc timestamp skew

2006-02-12 Thread Roger Leigh
Hi folks, When running a 2.6.16-rc2 kernel on a powerpc system (Mac Mini; Freescale 7447A): $ date && touch f && ls -l f && rm -f f && date Sun Feb 12 12:20:14 GMT 2006 -rw-r--r-- 1 rleigh rleigh 0 2006-02-12 12:23 Sun Feb 12 12:20:14 GMT 2006 Notice the timestamp is 3 minutes in the future comp