Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* HWclock problem on a Sable
@ 1999-03-23  5:00 Wai-Sun Chia
  1999-03-23  5:00 ` Alex Rhomberg
  1999-03-29  5:00 ` Andries Brouwer
  0 siblings, 2 replies; 3+ messages in thread
From: Wai-Sun Chia @ 1999-03-23  5:00 UTC (permalink / raw)
  To: Compaq Linux List

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.

System is able to boot again once I unconfigure the RTC.

It's not exactly a show-stopper as I can manually set the system date
and time, but then I'll have to restart some daemons (notably sendmail)
manually too.


-- 
Wai-Sun "squidster" Chia
Internet Solution Architect
Network & System Intergration Services
MSA



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HWclock problem on a Sable
  1999-03-23  5:00 HWclock problem on a Sable Wai-Sun Chia
@ 1999-03-23  5:00 ` Alex Rhomberg
  1999-03-29  5:00 ` Andries Brouwer
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Rhomberg @ 1999-03-23  5:00 UTC (permalink / raw)
  To: Wai-Sun Chia

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HWclock problem on a Sable
  1999-03-23  5:00 HWclock problem on a Sable Wai-Sun Chia
  1999-03-23  5:00 ` Alex Rhomberg
@ 1999-03-29  5:00 ` Andries Brouwer
  1 sibling, 0 replies; 3+ messages in thread
From: Andries Brouwer @ 1999-03-29  5:00 UTC (permalink / raw)


Wai-Sun Chia <waisun.chia@msa.dec.com> writes:

: 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: <error msg deleted>

Could you try a recent hwclock, like the one in util-linux-2.9o.tar.gz
(on ftp://ftp.cwi.nl/pub/aeb/util-linux/
 or ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/
)?

The idea is that this one should work on all architectures,
including all types of alpha.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-29  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-23  5:00 HWclock problem on a Sable Wai-Sun Chia
1999-03-23  5:00 ` Alex Rhomberg
1999-03-29  5:00 ` Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox