Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Clock skew problems
@ 2001-04-19 13:22 Andreas Thienemann
  2001-04-19 18:02 ` Grant Grundler
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Thienemann @ 2001-04-19 13:22 UTC (permalink / raw)
  To: parisc-linux

Hi,

I finally got my HP9000D to work with yesterdays CVS snapshot.

But now I'm havving problems with the clock.
I'm using the basplus-20010404.tar.gz as my NFS root and set
/etc/localtime /etc/timezone to point to
/usr/share/timezone/Europe/Berlin.

So far so good.

Then I set the clock to my current date, and run a 'hwlock --systohc
--utc'.

Just as usual.

But now, when I try do compile some software I'm having problems.

I'm getting the following message from make:

make: *** Warning: File `libdb.a' has modification time in the future
(2001-04-19 15:15:33 > 2001-04-19 15:15:04)

And I have absolutely no Idea why this is happening.

Thanks for any advice,
 andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Clock skew problems
  2001-04-19 13:22 [parisc-linux] Clock skew problems Andreas Thienemann
@ 2001-04-19 18:02 ` Grant Grundler
  2001-04-19 18:18   ` Andreas Thienemann
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2001-04-19 18:02 UTC (permalink / raw)
  To: Andreas Thienemann; +Cc: parisc-linux

Andreas Thienemann wrote:
> But now, when I try do compile some software I'm having problems.
> 
> I'm getting the following message from make:
> 
> make: *** Warning: File `libdb.a' has modification time in the future
> (2001-04-19 15:15:33 > 2001-04-19 15:15:04)
>
> And I have absolutely no Idea why this is happening.

Everytime one updates the kernel time and it gets set *back*,
make will notice the derived objects (ie libdb.a) are newer than
current time and complain.

However, I suspect the kernel isn't keeping time perfectly and updating
from the HW clock (YMMV: historically, some servers had better RTC crystals)
is causing the problem. Having a bad RTC will also look like
the kernel isn't keeping time when in fact it is.

a500# date
Thu Apr 19 11:11:02 MDT 2001
a500# hwclock
Thu Apr 19 11:11:01 2001  -1.003308 seconds
a500# uptime
 11:11:36 up 21:25,  1 user,  load average: 0.00, 0.04, 0.04

So not doing too badly - but it needs to be fixed.
I'm assuming the A500 has a good RTC.
I'll submit a bug for you.

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Clock skew problems
  2001-04-19 18:02 ` Grant Grundler
@ 2001-04-19 18:18   ` Andreas Thienemann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Thienemann @ 2001-04-19 18:18 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

Hi Grant,

On Thu, 19 Apr 2001, Grant Grundler wrote:

> Everytime one updates the kernel time and it gets set *back*,
> make will notice the derived objects (ie libdb.a) are newer than
> current time and complain.
Yes, I knew that. I still can remember when it happened to me for the
first time. I was a fresh linux novice running RedHat 3.0.3 and  compiling
his first kernel when I played with the timeconfig panel in another
xterm. Whoaps! One failed build attempt. ;)
 
> I'm assuming the A500 has a good RTC.
I've got a 821/D250 and I don't know anything about the accuracy of the
RTC clock.
But hwclock tells me the following:

[root@hp9000 root]# hwclock
Thu Apr 19 20:17:25 2001  -1.063290 seconds

> I'll submit a bug for you.
Thanks!

bye,
 andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-19 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-19 13:22 [parisc-linux] Clock skew problems Andreas Thienemann
2001-04-19 18:02 ` Grant Grundler
2001-04-19 18:18   ` Andreas Thienemann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox