ProLiant Servers (ML,DL,SL)
1753318 Members
6991 Online
108792 Solutions
New Discussion

hwclock Drift on ProLiant DL 380R

 
xymanuel
New Member

hwclock Drift on ProLiant DL 380R

Hi there,
i have a strange Problem with the HW Clock.
The Server is running a SLES 7 Kernel: 2.4.18-64GB-SMP.

The System Clock is keeped uptodate by ntp.
But the hwclock drifts abnormally.
--->
#date;hwclock
Wed Apr 26 08:20:26 CEST 2006
Tue Apr 25 17:20:27 2006 -0.433752 seconds

I've tryed an hwclock -uw and waited 1 Day.
The hwclock and the systemclock were synchron now.
But 2 Days later, the same Picture.
More than 5 Hours drift in 1 Day!!
A little shell script gives me this output:
*snip*
while true
do
date;hwclock
sleep 5
echo --------
done
*snip*

Output:
Wed Apr 26 08:20:26 CEST 2006
Tue Apr 25 17:20:27 2006 -0.433752 seconds
-----------------
Wed Apr 26 08:20:32 CEST 2006
Tue Apr 25 17:20:33 2006 -0.987235 seconds
-----------------
Wed Apr 26 08:20:38 CEST 2006
Tue Apr 25 17:20:33 2006 -0.987267 seconds #HERE, the HWclock didn't count 5 seconds.
-----------------
Wed Apr 26 08:20:44 CEST 2006
Tue Apr 25 17:20:39 2006 -0.986878 seconds
-----------------
Wed Apr 26 08:20:50 CEST 2006
Tue Apr 25 17:21:03 2006 -0.986676 seconds #HERE the HWclock counts 24 seconds (while a 5 seconds sleep)
-----------------
Wed Apr 26 08:20:56 CEST 2006
Tue Apr 25 17:21:09 2006 -0.986497 seconds
-----------------
Wed Apr 26 08:21:02 CEST 2006
Tue Apr 25 17:21:15 2006 -0.985973 seconds
-----------------
Wed Apr 26 08:21:08 CEST 2006
Tue Apr 25 17:21:15 2006 -0.985607 seconds

#cat /etc/adjtime
0.000452 1145881357 0.000000
1145881357
UTC

I think this indicates, that the hwclock runs 0.000452 seconds faster then the systemclock.
--------------------------
I dont know if this is an ntp,hwclock Problem or an Hardwareprob.
Any suggestions?
Thx Manuel