From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18031 invoked from network); 20 Mar 2000 03:35:08 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Mar 2000 03:35:08 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA08610 for ; Sun, 19 Mar 2000 22:35:07 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id UAA06972; Sun, 19 Mar 2000 20:34:52 -0700 From: Michal Jaegermann Message-Id: <200003200334.UAA06972@ellpspace.math.ualberta.ca> Subject: Re: RTC-Clock misfunction on AS 400 To: jbglaw@lug-owl.de Date: Sun, 19 Mar 2000 20:34:52 -0700 (MST) Cc: axp-list@redhat.com In-Reply-To: <20000320024749.A12342@lug-owl.de> from "Jan-Benedict Glaw" at Mar 20, 2000 02:47:49 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jan-Benedict Glaw wrote: > > > I think this may be a pure userspace problem... *If* you use the rtc driver > and hwclock, all will be fine. hwclock mis-detects in not-up-to-date versio= > ns > the epoche when accessing the RTC chip on older machines via inb()/outb(). The current versions of 'hwclock' have this interesting property that with -A flags on UX they will set you back by twenty years. OTOH Red Hat startup scripts, at least from 6.0 and 6.1 distributions try to second-guess you and upon detection of a milo (UX has to boot with milo) add this -A. The net effect is that does not matter what you put in /etc/sysconfig/clock your time will wrong until you will edit startup scripts (you cannot delay that to local stuff as a number of time stamps will be already wrong). > This should be fixed in the most recent versions. This will be not fixed as the hwclock author insists that this is exactly like it should be. If you added -A flag where your clock is not really ARC clock (technically this is correct as UX is using AlphaBIOS and not ARC and a clock behaviour is different so this is not ARC clock) then this means that you really **wanted** some funny offset. Why back by 20 years - beats me but this is as good any other one. :-) I mentioned that on this list a few months ago. Michal