From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
To: Wai-Sun Chia <waisun.chia@msa.dec.com>
Subject: Re: HWclock problem on a Sable
Date: 1999/03/23 [thread overview]
Message-ID: <36F7A1DC.564EC9BF@ife.ee.ethz.ch> (raw)
In-Reply-To: 36F7461B.39D77E4E@msa.dec.com
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
next prev parent reply other threads:[~1999-03-23 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-23 5:00 HWclock problem on a Sable Wai-Sun Chia
1999-03-23 5:00 ` Alex Rhomberg [this message]
1999-03-29 5:00 ` Andries Brouwer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox