bug-coreutils
[Top][All Lists]
Advanced

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

Solved: Re: Follow Up: Re: date broken in coreutils-6.7 and new glibc-2.


From: Clemens Koller
Subject: Solved: Re: Follow Up: Re: date broken in coreutils-6.7 and new glibc-2.7
Date: Wed, 14 Nov 2007 21:27:53 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Philip Rowlands schrieb:
> On Mon, 12 Nov 2007, Clemens Koller wrote:
>
>> As already mentioned, my problem is that I cannot set the date
>> reliably, working on glibc-2.7 and coreutils-6.9 (including the
>> futimens patch). I did some more tests (the commands have been entered
>> one by one... only some second(s) in between):
>>
>> Right after power-up, login:
>> [stuff deleted]
>> address@hidden:~$ date -u 111214492007.00
>> Mon Nov 12 14:49:00 UTC 2007
>> address@hidden:~$ date
>> Thu Jan  1 01:00:00 CET 1970
>> address@hidden:~$ date
>> Mon Nov 12 15:49:03 CET 2007        <<< working from here!!
>
> Well, that's odd.
>
>>
>> It seems more kernel / glibc related to me, now. And I will have to
>> first understand the expected behaviour of the kernel. (But note: the
>> kernel didn't change in between my toolchain upgrade, so it was
>> working before with the old glibc-2.3.5, same coreutils... ????)
>
> It certainly sounds like a problem with the kernel/RTC interaction. I
> don't know the history of glibc changes with regard to time functions.

Okay, I moved to a newer kernel (and from ARCH=ppc to ARCH=powerpc)
and the problem disappeared! :-)

Thank you, Phil and sorry for the noise here.

Regards,

Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com






reply via email to

[Prev in Thread] Current Thread [Next in Thread]