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

Re: wonky time when upgrading to potato



On Mon 31 Jul 2000, Michal Jaegermann wrote:

> > There's something "wonky" about the handling of the time value,
> > although it's not been followed up on. Probably that the potato
> > libc stuff expects a 64-bit value, and 2.0 kernels only return
> > 32 bits. Or vice versa.
> 
> Much more probable is that one of kernels in question was compiled
> with an RTC support and the other without and/or glibc used
> does not recognize automatically a type of the board and needs
> "alpha_systype" link in /etc.  As far as RTC goes there are boards

No, that's not the problem here. If it was, he wouldn't have made the
statement "... time seemed to jump around randomly...". If the RTC is
the problem, the date would be off by a number of years, but the time
would still increment normally. Note that the RTC is only used at
boot time to initially set the kernel time, and after that the kernel
keeps its own time.

> In this particular case it is highly unlikely that you see a result
> of 32-bit vs. 64-bit issues.

Please try it for yourself :-) It was hashed out here in the list
I think almost a year ago. It is definitely an incompatibility in
the potato libs which simply won't work on a 2.0 kernel as far as
time is concerned.


Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/



Reply to: