colinuxの時間が狂う

枯葉

date すると、13時間前に時間がずれている
どうしたらいいのだろう?

$sudo cp /usr/share/zoneinfo/Japan /etc/localtime
  • 変更前:2007年 10月 3日 水曜日 22:04:49 EDT
  • 変更後:2007年 10月 4日 木曜日 11:07:39 JST
$ cat /etc/sysconfig/clock
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="America/New_York"
UTC=true
ARC=false
$ sudo system-config-date
Password:
テキストモードのインターフェースは廃止になる予定です
$ cat /etc/sysconfig/clock
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Tokyo"
UTC=false
ARC=false
$ sudo /sbin/hwclock
Password:
hwclock は I/O ポートアクセスができません: iopl(3) コールに失敗。

う〜ん

結局、coLinuxでは hwclockを無効にするしかないのかあなぁ・・

  1. Syncing hardware clock to system time hwclock is unable to get I/O port access: the iopl(3) call failed.
    1. hwclockコマンドが使えない -> コメントアウトして対処
      1. http://d.hatena.ne.jp/masahi6/searchdiary?word=*%5BcoLinux%5D
    2. kernel の RTC (Real Time Clock) が、ハードウエアの時刻を参照するときにうまくいかない -> --directisa オプションをつける
      1. http://d.hatena.ne.jp/atm/20050131#p1