Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750767AbWC2BqN (ORCPT ); Tue, 28 Mar 2006 20:46:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750766AbWC2BqN (ORCPT ); Tue, 28 Mar 2006 20:46:13 -0500 Received: from mx0.towertech.it ([213.215.222.73]:49288 "HELO mx0.towertech.it") by vger.kernel.org with SMTP id S1750767AbWC2BqN (ORCPT ); Tue, 28 Mar 2006 20:46:13 -0500 Date: Wed, 29 Mar 2006 03:45:55 +0200 From: Alessandro Zummo To: Matt Mackall Cc: Benjamin Herrenschmidt , Andi Kleen , akpm@osdl.org, torvalds@osdl.org, davem@davemloft.net, kkojima@rr.iij4u.or.jp, lethal@linux-sh.org, paulus@samba.org, ralf@linux-mips.org, rmk@arm.linux.org.uk, linux-kernel@vger.kernel.org, Matthias Urlichs , Harlan Stenn , Bryan Henderson , Adrian Bunk , LaMont Jones Subject: Re: 11 minute RTC update (was Re: Remove RTC UIP) Message-ID: <20060329034555.11785044@inspiron> In-Reply-To: <20060329012137.GB3642@waste.org> References: <200603270920.k2R9KYYx007214@shell0.pdx.osdl.net> <20060327111836.GA79131@muc.de> <20060327163218.GD3642@waste.org> <20060327190037.GB27030@muc.de> <20060327211143.55ef7c4e@inspiron> <1143512075.2284.2.camel@localhost.localdomain> <20060329000215.683eb2d5@inspiron> <20060329000345.GZ3642@waste.org> <20060329031102.0e056d85@inspiron> <20060329012137.GB3642@waste.org> Organization: Tower Technologies X-Mailer: Sylpheed Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1509 Lines: 41 On Tue, 28 Mar 2006 19:21:37 -0600 Matt Mackall wrote: > > > With existing NTP setups, and the kernel no longer writing to the RTC, > > > you might have the RTC drift far enough that NTP failed to sync on the > > > next boot. (Correct me if I'm wrong, of course.) > > > > That's probably true, I'm not expert on the matter. The new subsystem only > > covers platforms that were not covered before (i.e. without external patches), > > so that this should not impact users because the NTP update mode > > was not working on them. > > > > The problem might arise when other RTC drivers (i.e. x86) will be converted > > and deployed. > > > > We need a migration plan. Any suggestion? > > I guess the question then becomes: is existing userspace (ntpd) > already doing its own updates. If so, we can schedule the feature for > removal in the near future. If not, it may take quite a bit longer. I think it isn't. Ideally ntpd should open /dev/rtcX and write the time, but I'm not sure if it belongs to it or if a simple hwclock --systohc /dev/rtcX should be used. Obviously hwclock needs to be updated to support multiple RTCs. -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/