Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#4929 - rc.sysinit - hwclock timeouts without --directisa

Attached to Project: Arch Linux
Opened by Martin Skytte (marteus) - Saturday, 01 July 2006, 11:17 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 02 July 2006, 07:34 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


My new laptop requires the --directisa option for hwclock calls otherwise it will fail

$ LANG=en_US hwclock --debug
hwclock from util-linux-2.12r
Using /dev/rtc interface to clock.
Last drift adjustment done at 1147832697 seconds after 1969
Last calibration done at 1147832697 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
select() to /dev/rtc to wait for clock tick timed out clock tick

and the clock will be set incorrectly (two hours ahead)

--directisa should be harmless according to the man page:

is meaningful only on an ISA machine or an Alpha (which imple-
ments enough of ISA to be, roughly speaking, an ISA machine for
hwclock's purposes). For other machines, it has no effect.
This option tells hwclock to use explicit I/O instructions to
access the Hardware Clock. Without this option, hwclock will
try to use the /dev/rtc device (which it assumes to be driven
by the rtc device driver). If it is unable to open the device
(for read), it will use the explicit I/O instructions anyway.

The rtc device driver was new in Linux Release 2.
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 04 July 2006, 16:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added to rc.sysinit
Comment by Florian (fk) - Tuesday, 04 July 2006, 13:00 GMT

I can confirm this

Laptop is Lenovo Thinkpad X60s