** Description changed:

  Binary package hint: util-linux
  
- I have timezone UTC+0300 and my hardware clock set to local time and 
/etc/default/rcS have UTC=no, timezone set correctly. But when I type:
- $hwclock --localtime
- 1200 (BIOS time)
- $hwclock --utc
- 1500 (but also must be 0900!)
+ $ dpkg-reconfigure tzdata
+ 
+ Current default time zone: 'Europe/Minsk'
+ Local time is now:      Tue Sep  1 19:09:48 EEST 2009.
+ Universal Time is now:  Tue Sep  1 16:09:48 UTC 2009.
+ 
+ $ cat /etc/default/rcS
+ #
+ # /etc/default/rcS
+ #
+ # Default settings for the scripts in /etc/rcS.d/
+ #
+ # For information about these variables see the rcS(5) manual page.
+ #
+ # This file belongs to the "initscripts" package.
+ 
+ TMPTIME=0
+ SULOGIN=no
+ DELAYLOGIN=no
+ UTC=no
+ VERBOSE=no
+ FSCKFIX=no
+ RAMRUN=yes
+ RAMLOCK=yes
+ 
+ $ /sbin/hwclock --debug --show
+ hwclock from util-linux-ng 2.14.2
+ Using /dev interface to clock.
+ Last drift adjustment done at 1251821496 seconds after 1969
+ Last calibration done at 1251821496 seconds after 1969
+ Hardware clock is on local time
+ Assuming hardware clock is kept in local time.
+ Waiting for clock tick...
+ /dev/rtc does not have interrupt functions. Waiting in loop for time from 
/dev/rtc to change
+ ...got clock tick
+ Time read from Hardware Clock: 2009/09/01 19:12:14
+ Hw clock time : 2009/09/01 19:12:14 = 1251821534 seconds since 1969
+ Tue 01 Sep 2009 19:12:14 EEST  -0.338360 seconds
+ 
+ $ /sbin/hwclock --utc
+ Tue 01 Sep 2009 22:12:52 EEST  -0.772105 seconds
+ 
+ $ date
+ Tue Sep  1 19:13:24 EEST 2009
+ 
+ $ dmesg |grep hpet
+ [    0.000000] Kernel command line: root=/dev/sdb6 hpet=force
+ [    0.083552] hpet clockevent registered
+ [    0.083628] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
+ [    0.083752] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
+ $ dmesg |grep Time
+ [    0.000000] ACPI: PM-Timer IO Port: 0x4008
+ [    0.140118] Real Time Clock Driver v1.12b
+ 
+ $ cat /boot/config-2.6.31-rc7-bb | grep RTC
+ CONFIG_HPET_EMULATE_RTC=y
+ CONFIG_RTC=y
+ CONFIG_SND_RTCTIMER=m
+ # CONFIG_RTC_CLASS is not set
  
  Every system's reboot clock goes on 3 hours up (/etc/init.d/hwclock.sh 
does???).
  This happened when I compiled the kernel whith Enhanced Real Time Clock 
Support.

** Changed in: util-linux (Ubuntu)
       Status: Incomplete => New

-- 
hwclock --utc wrong calculate  Universal Coordinated Time
https://bugs.launchpad.net/bugs/421566
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to