[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:22924] 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:22924] Re: hwclock can't terminate some PC (was Re: Re: unable to complete shutdown, problem of hwclock?)
- Date: Wed, 21 Jun 2000 12:24:44 +0900
- X-dispatcher: imput version 991025(IM133)
- 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: <20000616172913L.matsuda@xxxxxxxxxxxx> <20000619152833F.matsuda@xxxxxxxxxxxx> <y5awvjk7h68.fsf@xxxxxxxxxxxxxxxxxxxx>
- Message-id: <20000621122440U.matsuda@xxxxxxxxxxxx>
- X-mail-count: 22924
- X-mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
こんにちは。松田陽一@PAL-NET三鷹です。
From: Taketoshi Sano <kgh12351@xxxxxxxxxxx>
Subject: [debian-users:22919] Re: hwclock can't terminate some PC (was Re: Re: unable to complete shutdown, problem of hwclock?)
Date: Tue, 20 Jun 2000 19:59:10 +0900
> 佐野@浜松です。
どうもです。^^
> (最近いろいろ忙しくてなかなか反応できないです _o_)
同上。
reply 感謝です。(__)
> 最初に書かれていた
>
> "Setting the System Clock using the Hardware Clock as reference..."
>
> は "/etc/init.d/hwclock.sh start" の時のメッセージのようなので、
> 「どうして shutdown の時にこれが表示されるのだろう ?」と不思議に
> 思っていたのですが、これは単に写し間違えたものでしょうか ?
> それとも本当に上記のメッセージが出ていました ?
多分、写し間違えだと思います。^^;
> あと、hwclock.sh の中にある
>
> # hwclock --adjust $GMT
>
> はコメントアウトされてますよね ?
| hoge:/home/yoh# grep adjust /etc/init.d/hwclock.sh|grep GMT
| # hwclock --adjust $GMT
> 上記の「ずれの最終修正は 1969 年以降 961162737 秒時点で行なわれました」
> というメッセージを見ると、どうも --adjust を使われているような気が
> します。もしそうなら、その行はコメントアウトして、かつ /etc/adjtime を
> いったん削除してしまったほうが良いでしょう。
…で、やってみました。
| hoge:/home/yoh# ls -l /etc/adj*
| -rw-r--r-- 1 root root 49 Jun 16 22:38 /etc/adjtime
| hoge:/home/yoh# mv -v /etc/adjtime /etc/adjtime.old
| /etc/adjtime -> /etc/adjtime.old
| hoge:/home/yoh# ls -l /etc/adj*
| -rw-r--r-- 1 root root 49 Jun 16 22:38 /etc/adjtime.old
| hoge:/home/yoh# hwclock -D --systohc
| hwclock 2.4c/util-linux-2.10f
| /dev/rtc interface to clock を使います。
| ハードウェアクロックがローカル時刻を保持しているとみなします
| クロックチックを待っています...
ここでウンともスンとも言わなくなり、仕方なく ^C しました。
ところで、このマシンはサーバなのでコンソールの方を見てなかったのです
が、コンソールを見たら
| set_rtc_mmss: can't update from 54 to 2
といったメッセージが延々と表示され続けていました。
/usr/src/linux/arch/i386/kernel/time.c の、
printk(KERN_WARNING
"set_rtc_mmss: can't update from %d to %d\n",
cmos_minutes, real_minutes);
の部分だと思います。
だからと言って原因は判らないのですが…。^^;
なんとなくカーネル側に原因がありそうな気もしなくもないので、時間の空
いている時に 2.2.15 に戻して試したいと思います。
--
ぱらっぱら ぱらっぱら ぱらっぱらっぱっぱ♪
松田陽一(yoh)
mailto:matsuda@xxxxxxxxxxxx
http://www2.palnet.or.jp/~matsuda/index.htm