[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:22953] Re: hwclock can't terminate some PC(was Re: Re: unable to complete shutdown, problem of hwclock?)
- From: MATSUDA Yoh-ichi / 松田陽一 <matsuda@xxxxxxxxxxxx>
 
- Subject: [debian-users:22953] Re: hwclock can't terminate some PC(was Re: Re: unable to complete shutdown, problem of hwclock?)
 
- Date: Mon, 26 Jun 2000 01:03:26 +0900
 
- X-dispatcher: imput version 991025(IM133)
 
- X-dispatcher: Nomail 0.4.7 (Caravanserai)
 
- X-ml-info: If you have a question, send a mail with the body	"# help" (without quotes) to the address debian-users-ctl@debian.or.jp;	help=<mailto:debian-users-ctl@debian.or.jp?body=help>
 
- X-ml-name: debian-users
 
- X-mlserver: fml [fml 2.2]; post only (only members can post)
 
- X-moe: 中澤裕子, 保田圭, 飯田圭織, 安倍なつみ, 矢口真里, 石川梨華, 吉澤ひとみ, 後藤真希, 辻希美, 加護亜依
 
- References: <y5aem5q758k.fsf@xxxxxxxxxxxxxxxxxxxx>	<20000622203643K.matsuda@xxxxxxxxxxxx>	<y5aem5nfyc2.fsf@xxxxxxxxxxxxxxxxxxxx>
 
- Message-id: <200006251603.BAA18492@xxxxxxxxxxxxxxxxxxxxx>
 
- X-mail-count: 22953
 
- X-mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
 
こんにちは。松田陽一@PAL-NET三鷹です。
# この案件、長期レポになってます。^^;
今しがた、先週の木曜日の夜にカーネル 2.2.15 に戻した件のマシンにて、
試してみました。
| hoge:/home/yoh# hwclock -D --systohc
| hwclock 2.4c/util-linux-2.10f
| /dev/rtc interface to clock を使います。
| ずれの最終修正は 1969 年以降 961727120 秒時点で行なわれました
| 最終調整は 1969 年以降 961727120 秒時点で行なわれました
| ハードウェアクロックはローカル時刻です
| ハードウェアクロックがローカル時刻を保持しているとみなします
| クロックチックを待っています...
| クロックチックを取得しました
| ハードウェアクロックから読込んだ時刻: 04:21:05
| Hw clock time : 100/06/25 04:21:05 = 961874465 seconds since 1969
| 時刻を参照した時点から 0.998659 秒経過。
| 次の完全な秒まで遅らせます。
| ハードウェアクロックを 00:51:05 に設定 = 1969 年以来 961948265 秒
| ioctl(RTC_SET_TIME) に成功しました。
| 過去 147345 秒の間に、一日あたり -0.000090 秒ずらしているのですが、クロックが 73799 秒
| ずれました。一日あたり 43274.176932 秒ずれを修正します
| hoge:/home/yoh# 
このように、正常に hwclock を実行できたところを鑑みるに、カーネル 2.2.16
のバグの可能性が高いと思われます。
まだ断言できませんが…。
From: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
Subject: [debian-users:22944] Re: hwclock can't terminate some PC(was Re: Re: unable to complete shutdown, problem of hwclock?)
Date: Sat, 24 Jun 2000 14:22:15 +0900
> 佐野@浜松です。
どうもです。^^
> > ところで…
> > hwclock って、ハードウェアクロックが余りにもずれていると、修正できない
> > 代物なのでしょうか?
> 
> 今日見た RCB list には
> 
> Package: util-linux (debian/main)
> Maintainer: Vincent Renardias <vincent@debian.org>
> [HELP] Need fix. (RB)
>   60734  util-linux: hwclock starts too late
>   62688  hwclock sets the time incorrectly if RTC is in local time
>   64079  util-linux: mkswap's -v[01] option is broken
> 
> というのがあるみたいですが、62688 は関係あるのでしょうか。
いえ、このレポートは、マシンが local time に設定されている場合に
hwclock を実行すると間違った日時を設定する、という内容ですよね?
私の場合、 hwclock が正常終了すれば、上述のログのように、 local time
に設定されていても正しい時刻が書き込まれます。
あくまでも「正常終了すれば」の話ですが。
> # もしかして松田さんの出された repot だったらごめんなさい。
> # 確認してないもので。
私は BTS への登録の方法やフォーマット等を存じません。^^;
--
ぱらっぱら ぱらっぱら ぱらっぱらっぱっぱ♪
松田 陽一(yoh)
mailto:matsuda@xxxxxxxxxxxx
http://www2.palnet.or.jp/~matsuda/index.htm