Bug 13633 - init.d/clock: при использование xen для hwclock требуется --fast
Summary: init.d/clock: при использование xen для hwclock требуется --fast
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: startup (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 21:39 MSK by solo
Modified: 2008-02-05 18:54 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solo 2007-12-07 21:39:09 MSK
init.d/clock: При использовании xen сервис clock не выполняет своих функций,
ругаясь следующим образом:

service clock sync
Setting hardware clock (utc): Fri Dec  7 20:55:50 MSK 2007 hwclock: ioctl() to
/dev/misc/rtc to turn on update interrupts failed unexpectedly, errno =
Inappropriate ioctl for device (25).
Unable to synchronize to a clock tick, which means we cannot get better than one
second precision from the hardware clock.  If this is OK with you, run with the
--fast option.
                                                                               
                                                    [FAILED]

Если параметр --fast добавить к строке вызова hwclock -- всё приходит в норму.
Comment 1 solo 2007-12-07 22:22:54 MSK
В incoming/Daedalus залил startup-0.9.8.17-alt1.1.src.rpm
(http://git.altlinux.org/people/solo/packages/?p=startup.git;a=commit;h=e6b30e00d096539fdc719d5b89609c3a2187abbb).
Это NMU добавляющий в /etc/sysconfig/clock параметр FAST, а в init.d/clock --
его обработку.
Comment 2 Dmitry V. Levin 2008-02-05 18:54:13 MSK
Applied in 0.9.8.18-alt1.