From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 52BF52F00D for ; Wed, 15 Aug 2001 15:22:13 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f7FJGW730303 for axp-list@listman.redhat.com; Wed, 15 Aug 2001 15:16:32 -0400 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f7FJGVg30298 for ; Wed, 15 Aug 2001 15:16:31 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id NAA10428 for axp-list@redhat.com; Wed, 15 Aug 2001 13:22:05 -0600 Date: Wed, 15 Aug 2001 13:22:05 -0600 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: Changing Clock in AlphaLinux <==> DU Message-ID: <20010815132205.A10403@ellpspace.math.ualberta.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Jeff.Donsbach@compaq.com on Wed, Aug 15, 2001 at 01:57:51PM -0400 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, Aug 15, 2001 at 01:57:51PM -0400, Donsbach, Jeff wrote: > > Does Linux expect it in the Arc/NT format (historical from the MILO days)? No, it does not. > Possible I guess but I'm not familiar with that part of the Linux kernel > code. There is more than two possible formats in which hardware clock stores a time information on Alpha boards. Current versions of 'hwclock' attempt to guess which one to use and, in most cases, they are doing pretty good job with that so actually _not using_ flags like '-A' is preferred. OTOH it is possible that in some situations communications between hardware, kernel and 'hwclock' are going awry. For that 'hwclock' has a number of flags, described on its manpage, like '--funky-toy', '--bad-year', '--epoch' and so on. It is a good idea to actually look at this documentation in case of problems. I do not know if every possible conflict can be resolved but one can do at least a credible effort in this direction. Michal p.s. One of bugs in older startup scripts from Red Hat was that on Ruffian (UX) they were doing "aha, you are booting with milo so you should use -A option" regardless of what was specified in /etc/sysconfig/clock. This resulted in shifting your clock by twenty years as a format used by Ruffian hardware clock for some reasons is not ARC. Very annoying; especially during an installation when you did not have an opportunity yet to apply corrective measures. A time related information in rpm database was also messed up and made hard to use in a future system administration.