ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yura Zotov <yz@altlinux.ru>
To: Sisyphus List <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] QEMU и часы
Date: Fri, 11 Feb 2005 00:01:27 +0300
Message-ID: <20050210210127.GA13282@vezyolka.homeip.net> (raw)
In-Reply-To: <20050210125107.GA13492@sirius.home>

On Thu, Feb 10, 2005 at 03:51:07PM +0300, Sergey Vlasov wrote:
> On Thu, Feb 10, 2005 at 03:06:14PM +0300, Yura Zotov wrote:
> > При запуске QEMU мне сообщал
> > 
> > Could not configure '/dev/rtc' to have a 1024 Hz timer. This is
> > not a fatal
> > error, but for better emulation accuracy either use a 2.6 host
> > Linux kernel or
> > type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
> > 
> > Хотя, у меня ядро 2.6.10, я последовал его рекомендациям и
> > выполнил "echo 1024...". Теперь часы спешат примерно на одну
> > секунду за 5 минут. Помогите вернуть часы на место, пожалуйста.
> 
> Странно... вообще-то эта опция не должна влиять подобным образом.
> 
> С другой стороны, если в dmesg есть "Using pmtmr for high-res
> timesource", возможно, проблема в том, что pmtmr на этой машине
> нормально не работает.  Попробуйте параметры загрузки clock=tsc или
> clock=pit.  Кроме того, clock=tsc может плохо себя вести при
> использовании cpufreq.

В общем, я провёл эксперименты...

Опции не помогают. pit замедляет скорость убегания вперёд
примерно в 2 раза. tsc, похоже, не влияет.

Зато, я загрузил 2.6.9 и в нём всё было нормально без всяких
опций. А в 2.6.10 после этого всё равно также спешили. Поэтому у
меня закралось подозрение, что часы шли неправильно всё время с
ядром 2.6.10 и "echo 1024..." на них не влияло, просто я заметил
неправильный ход часов только в связи с QEMU. Так что имеет смысл
разобраться с 2.6.10.

У меня ещё на ядре 2.4 тоже была подобная проблема с часами. Они
тоже сильно спешили. А после обновления ядра всё само
исправилось. Так что, вероятно, в ядре присутствует какая-то
ошибка или нестабильность... Вот так вот...

--
Юрий А. Зотов



  reply	other threads:[~2005-02-10 21:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-10 12:06 Yura Zotov
2005-02-10 12:12 ` Vasya Makarov
2005-02-10 12:51 ` Sergey Vlasov
2005-02-10 21:01   ` Yura Zotov [this message]
2005-02-11 10:06     ` Vitaly Lipatov
2005-02-11 11:15       ` Yura Zotov
2005-02-11 13:56         ` Sergey Vlasov
2005-02-11 18:52           ` Yura Zotov
2005-02-11 19:45             ` Sergey Vlasov
2005-02-10 13:18 ` [sisyphus] " Vitaly Ostanin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050210210127.GA13282@vezyolka.homeip.net \
    --to=yz@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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