I believe /sbin/hwclock is the default tool for manually setting the
hwclock in Linux. I’m nervous that higher level workloads may depend on
the correct functioning of the /sbin/hwclock tool for their successful
operation.

The /sbin/hwclock tool is shipped with the util-linux package.

Adding util-linux as impacted and assigning to Foundations team to
comment on whether the /sbin/hwclock tool not operating on witherspoon
is a serious issue or not.


** Also affects: util-linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-power-systems
     Assignee: bugproxy (bugproxy) => Canonical Foundations Team 
(canonical-foundations)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1837443

Title:
  [Power9][Witherspoon dd2.3] unable to set hwclock

Status in The Ubuntu-power-systems project:
  Triaged
Status in util-linux package in Ubuntu:
  New

Bug description:
  On the upgraded witherspoon Power9 system we are unable to set
  hwclock.

  ubuntu@bobone:~$ uname -a 
  Linux bobone 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:31:42 UTC 2019 
ppc64le ppc64le ppc64le GNU/Linux
  ubuntu@bobone:~$ cat /etc/issue
  Ubuntu 19.04 \n \l

  ubuntu@bobone:~$ date 
  Mon Jul 22 18:25:04 UTC 2019
  ubuntu@bobone:~$ sudo /sbin/hwclock --set --date "2004/11/22 04:10:00"; sleep 
5s; sudo /sbin/hwclock
  2019-07-22 18:25:26.799805+00:00
  ubuntu@bobone:~$ 

  ubuntu@bobone:~$ sudo /sbin/hwclock --set --date "2004/11/22 04:10:00"; sleep 
5s; sudo /sbin/hwclock --verbose
  hwclock from util-linux 2.33.1
  System Time: 1563820048.938797
  Trying to open: /dev/rtc0
  Using the rtc interface to the clock.
  Last drift adjustment done at 1101096600 seconds after 1969
  Last calibration done at 1101096600 seconds after 1969
  Hardware clock is on UTC time
  Assuming hardware clock is kept in UTC time.
  Waiting for clock tick...
  ioctl(4, RTC_UIE_ON, 0): Invalid argument
  Waiting in loop for time from /dev/rtc0 to change
  ...got clock tick
  Time read from Hardware Clock: 2019/07/22 18:27:29
  Hw clock time : 2019/07/22 18:27:29 = 1563820049 seconds since 1969
  Time since last adjustment is 462723449 seconds
  Calculated Hardware Clock drift is 0.000000 seconds
  2019-07-22 18:27:28.877732+00:00
  ubuntu@bobone:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1837443/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to