From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,2e1ffc7a2637b764 X-Google-Attributes: gid111c93,public From: Alex Rhomberg Subject: Re: HWclock problem on a Sable Date: 1999/03/23 Message-ID: <36F7A1DC.564EC9BF@ife.ee.ethz.ch>#1/1 X-Deja-AN: 457980157 Content-Transfer-Encoding: 7bit References: <36F7461B.39D77E4E@msa.dec.com> To: Wai-Sun Chia Content-Type: text/plain; charset=us-ascii X-Trace: 23 Mar 1999 15:14:52 +0100, beethoven.ee.ethz.ch Organization: Electronics Lab, ETH Zurich, Switzerland MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha Wai-Sun Chia wrote: > > Hello folks, > I'm running a Sable (AS2100 4/275) on Debian 2.1 (slink), and it's > running fine with a single exception. Apparently kernel is unable to set > system clock during boot. Running hwclock gives: > > [root@slinky /root]# hwclock --debug > Open of /dev/rtc failed, errno = Operation not supported by device > (19). falling back to more primitive clock access method. > determine_clock_access_method() returned invalid value: 3. > Cannot access the Hardware Clock via any known method. Use --debug > option to see the details of our search for an access method. > > hwclock is looking for the /dev/rtc device, which of course I haven't > compiled in the kernel. > > So obviously, the solution is to compile it in (2.2.3-ac2), which I > happily did. On rebooting to my dismay, the boot process is being hung > at "calculating idle loop..." or something like that (didn't capture the > exact message, sorry). I think it's just after or before the Bogomips > section. I had a similar problem once. My solution was simply to delete /sbin/hwclock and it worked again :) explanation: I run Redhat, which usually uses /sbin/clock to set the time. Strangely enough, the init scripts prefer /sbin/hwclock if it exists, which in turn only runs, when rtc is enabled. So if you get 'clock' and use it instead of hwclock (with the correct parameters) it should work again. btw, rtc kernels hang on my machines only when I reboot. first boot works ok, second one needs powercycle. HTH - Alex