ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hwclock & kernel 2.6.26-alt0.8
@ 2008-07-04  5:01 Alexey Sidorov
  2008-07-05 21:59 ` Michael Shigorin
  2008-07-06 15:08 ` Konstantin A. Lepikhov
  0 siblings, 2 replies; 8+ messages in thread
From: Alexey Sidorov @ 2008-07-04  5:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте.
Поставил ядро 2.6.26-alt0.8 с unsafe.ru (i586)
При загрузке вываливается это:

Jul  4 12:49:38 alex hwclock: hwclock: ioctl() to /dev/rtc to turn on update interrupts failed 
unexpectedly, errno = Inappropriate ioctl for device (25).
Jul  4 12:49:38 alex hwclock: 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.
Jul  4 12:49:38 alex clock: Setting system clock (localtime): failed

как это победить?
-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225


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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-04  5:01 [sisyphus] hwclock & kernel 2.6.26-alt0.8 Alexey Sidorov
@ 2008-07-05 21:59 ` Michael Shigorin
  2008-07-06 15:08 ` Konstantin A. Lepikhov
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2008-07-05 21:59 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Fri, Jul 04, 2008 at 09:01:58AM +0400, Alexey Sidorov wrote:
> Jul  4 12:49:38 alex hwclock: 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.

#16196

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-04  5:01 [sisyphus] hwclock & kernel 2.6.26-alt0.8 Alexey Sidorov
  2008-07-05 21:59 ` Michael Shigorin
@ 2008-07-06 15:08 ` Konstantin A. Lepikhov
  2008-07-06 21:23   ` Dmitry V. Levin
  1 sibling, 1 reply; 8+ messages in thread
From: Konstantin A. Lepikhov @ 2008-07-06 15:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Hi Alexey!

Friday 04, at 09:01:58 AM you wrote:

> Здравствуйте.
> Поставил ядро 2.6.26-alt0.8 с unsafe.ru (i586)
> При загрузке вываливается это:
> 
> Jul  4 12:49:38 alex hwclock: hwclock: ioctl() to /dev/rtc to turn on update interrupts failed 
> unexpectedly, errno = Inappropriate ioctl for device (25).
> Jul  4 12:49:38 alex hwclock: 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.
> Jul  4 12:49:38 alex clock: Setting system clock (localtime): failed
> 
> как это победить?
как советуют - использовать параметр --fast для hwclock.

-- 
WBR et al.


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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-06 15:08 ` Konstantin A. Lepikhov
@ 2008-07-06 21:23   ` Dmitry V. Levin
  2008-07-06 21:29     ` Michael Shigorin
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dmitry V. Levin @ 2008-07-06 21:23 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

On Sun, Jul 06, 2008 at 07:08:58PM +0400, Konstantin A. Lepikhov wrote:
> Friday 04, at 09:01:58 AM you wrote:
> 
> > Здравствуйте.
> > Поставил ядро 2.6.26-alt0.8 с unsafe.ru (i586)
> > При загрузке вываливается это:
> > 
> > Jul  4 12:49:38 alex hwclock: hwclock: ioctl() to /dev/rtc to turn on update interrupts failed 
> > unexpectedly, errno = Inappropriate ioctl for device (25).
> > Jul  4 12:49:38 alex hwclock: 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.
> > Jul  4 12:49:38 alex clock: Setting system clock (localtime): failed
> > 
> > как это победить?
> как советуют - использовать параметр --fast для hwclock.

Начиная с startup-0.9.8.19-alt1 это можно сделать, указав
FAST=true в /etc/sysconfig/clock

2legion: Интересно, как себя ведёт сверхновый hwclock?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-06 21:23   ` Dmitry V. Levin
@ 2008-07-06 21:29     ` Michael Shigorin
  2008-07-06 21:32     ` Alexey Gladkov
  2008-11-19 14:38     ` Sergey
  2 siblings, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2008-07-06 21:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Mon, Jul 07, 2008 at 01:23:52AM +0400, Dmitry V. Levin wrote:
> Начиная с startup-0.9.8.19-alt1 это можно сделать, указав
> FAST=true в /etc/sysconfig/clock

Наверное, надо учесть в alterator-sysconfig.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-06 21:23   ` Dmitry V. Levin
  2008-07-06 21:29     ` Michael Shigorin
@ 2008-07-06 21:32     ` Alexey Gladkov
  2008-07-14  0:44       ` Alexey Gladkov
  2008-11-19 14:38     ` Sergey
  2 siblings, 1 reply; 8+ messages in thread
From: Alexey Gladkov @ 2008-07-06 21:32 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Dmitry V. Levin wrote:
> Начиная с startup-0.9.8.19-alt1 это можно сделать, указав
> FAST=true в /etc/sysconfig/clock
> 
> 2legion: Интересно, как себя ведёт сверхновый hwclock?

Проверю как доберусь до ядра и тестовой машины. Надеюсь, Костя мне 
поможет.

-- 
Rgrds, legion



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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-06 21:32     ` Alexey Gladkov
@ 2008-07-14  0:44       ` Alexey Gladkov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Gladkov @ 2008-07-14  0:44 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Alexey Gladkov wrote:
> Dmitry V. Levin wrote:
>> Начиная с startup-0.9.8.19-alt1 это можно сделать, указав
>> FAST=true в /etc/sysconfig/clock
>>
>> 2legion: Интересно, как себя ведёт сверхновый hwclock?

Он себя ведёт правильно. Но проблема в том, что версия из util-linux и 
версия из сизифа отличаются ... и достаточно сильно. Вот например ключи:

$ comm /tmp/old-hwclock /tmp/new-hwclock
	adjfile
		adjust
arc
		badyear
correct
		date
debug
		directisa
		epoch
fast
funky-toy
		getepoch
		hctosys
	help
jensen
		localtime
	noadjfile
nodrift
		rtc
set
		setepoch
		show
slew
srm
		systohc
test
		utc
		version

Опции srm, arc и fast используются у нас startup.

-- 
Rgrds, legion



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

* Re: [sisyphus] hwclock & kernel 2.6.26-alt0.8
  2008-07-06 21:23   ` Dmitry V. Levin
  2008-07-06 21:29     ` Michael Shigorin
  2008-07-06 21:32     ` Alexey Gladkov
@ 2008-11-19 14:38     ` Sergey
  2 siblings, 0 replies; 8+ messages in thread
From: Sergey @ 2008-11-19 14:38 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Monday 07 July 2008, Dmitry V. Levin wrote:

> Начиная с startup-0.9.8.19-alt1 это можно сделать, указав
> FAST=true в /etc/sysconfig/clock

Как выяснилось, это тоже работает не всегда. В смысле, --fast
Ошибка не возникает, но и не делается ничего.

> 2legion: Интересно, как себя ведёт сверхновый hwclock?
 
Из util-linux-2.14-alt1 работает.

-- 
С уважением, Сергей
a_s_y@sama.ru


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

end of thread, other threads:[~2008-11-19 14:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-04  5:01 [sisyphus] hwclock & kernel 2.6.26-alt0.8 Alexey Sidorov
2008-07-05 21:59 ` Michael Shigorin
2008-07-06 15:08 ` Konstantin A. Lepikhov
2008-07-06 21:23   ` Dmitry V. Levin
2008-07-06 21:29     ` Michael Shigorin
2008-07-06 21:32     ` Alexey Gladkov
2008-07-14  0:44       ` Alexey Gladkov
2008-11-19 14:38     ` Sergey

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git