[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.16-rc2 powerpc timestamp skew



> > 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_clock_gettime,
>            |               |   localtime, strftime
> touch      | utimes        | futimes -> SYS_utimes
>            |               |
> 2.6.16-rc2 |               |
> date       | clock_gettime | clock_gettime -> SYS_clock_gettime,
>            |               |   localtime, strftime
> touch      | utimes        | futimes -> SYS_utimes
> 
> [clock_gettime(CLOCK_REALTIME, {1139826613, 157402000}) = 0]
> 
> > I wonder if you have a glibc new enough to
> > use the vDSO to obtain the time or if it's using the syscall... The vDSO
> > on ppc32 is very new.
> 
> It's glibc 2.3.5 (Debian libc6 2.3.5-13).

Ok, does not using NTP fixes it ?

Ben.




Reply to: