Bug 6184

Summary: hwclock on Alpha may need recent clock patches for Jensen
Product: [Retired] Red Hat Linux Reporter: mchampig
Component: clockAssignee: Cristian Gafton <gafton>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-27 19:16:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mchampig 1999-10-21 13:20:38 UTC
This is more a heads-up than a bug report. I've heard that
the maintainer of hwclock has ported some patches from
clock which fixes Jensen bugs. Recently you've put together
a clock-1.1-7 package (which works on the Jensen). Please
let the hwclock maintainer know about the recent fixes
so that hwclock can be kept in sync. Maybe you can get rid
of clock forever once hwclock has all the bells and
whistles. This would streamline the init scripts a little
too.

Comment 1 Bill Nottingham 1999-10-21 20:05:59 UTC
Hmm... if you change line 327 (or so) of the latest util-linux
from:

 cmos_write(10, (save_freq_select | 0x70));

to

 cmos_write(10, (save_freq_select | clock_ctl_addr));

does the util-linux hwclock then work for you?

Comment 2 mchampig 1999-10-25 13:49:59 UTC
Actually, in this case you want the 0x70 because this is used as
a bitmask...not a clock address! This was the same bug fixed in
the Jensen patch to the clock. It should always be 0x70 regardless
of the Alpha platform it's running on.

Comment 3 mchampig 1999-10-27 13:26:59 UTC
The hwclock in Bill's util-linux-2.9w works fine on all the Alpha's
I tested on, including Jensen. I think this one can be relegated
to "NEXTRELEASE". :-)

Comment 4 Bill Nottingham 1999-10-27 19:16:59 UTC
Fixed in util-linux-2.9w-26, initscripts-4.59, timeconfig-3.0.2-1.