Just a note:

1. The utopic version of hwclock has a 10 second timeout but does not report a 
timeout error (which is misleading)
2. The trusty version reports the timeout, but prints the errno from the 
previous system call, so the error message is misleading
3. When I get hwclock time-out the following kernel message appears:

   hpet1: lost 20 rtc interrupts

4. I've tested this back to 3.12 and we see the same issue there too.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1333569

Title:
  Hibernate with fwts will cause hwclock command to time out

Status in Firmware Test Suite:
  Incomplete
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  This issue was found in bug 1327075
  If you hibernate a system with fwts, and run the hwclock command, the hwclock 
command will complain that it was unable to access /dev/rtc, you have to reboot 
the system to have it back to normal.

  ubuntu@201401-14542:~$ sudo hwclock -r ; sleep 3;sudo fwts -P s4 
--s4-device-check --s4-device-check-delay=45 --s4-sleep-delay=120; sleep 3 
;sudo hwclock -r
  Tue 24 Jun 2014 03:31:27 AM EDT  -0.875913 seconds
  Running 1 tests, results appended to results.log
  Test: S4 hibernate/resume test.                                             
    S4 hibernate/resume test.                               4 passed, 1 failed  
                                                                                
                                              
  hwclock: select() to /dev/rtc to wait for clock tick timed out: No such file 
or directory
  ubuntu@201401-14542:/dev$ ll rtc
  lrwxrwxrwx 1 root root 4 Jun 23 04:59 rtc -> rtc0

  It can be easily reproduced.

  ubuntu@201401-14542:~$ fwts -v
  fwts, Version V14.05.00, 2014-05-07 01:57:17
  --- 
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  ubuntu     1587 F.... pulseaudio
                        ubuntu     2722 F.... pulseaudio
   /dev/snd/controlC0:  ubuntu     1587 F.... pulseaudio
                        ubuntu     2722 F.... pulseaudio
  CRDA:
   country TW:
        (2402 - 2472 @ 40), (3, 27)
        (5270 - 5330 @ 40), (3, 17), DFS
        (5735 - 5815 @ 40), (3, 30)
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=c009324a-f03b-4149-a917-82aa1d9d2631
  InstallationDate: Installed on 2014-07-25 (6 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Dell Inc. Inspiron 5547
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed 
root=UUID=71694704-97cb-4de1-ae78-cea0afb095b7 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware                             1.127
  StagingDrivers: rts5139
  Tags:  trusty staging
  Uname: Linux 3.13.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 02/12/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X18
  dmi.board.name: 08KNCD
  dmi.board.vendor: Dell Inc.
  dmi.board.version: X01
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: X18
  dmi.modalias: 
dmi:bvnDellInc.:bvrX18:bd02/12/2014:svnDellInc.:pnInspiron5547:pvrX18:rvnDellInc.:rn08KNCD:rvrX01:cvnDellInc.:ct8:cvrX18:
  dmi.product.name: Inspiron 5547
  dmi.product.version: X18
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwts/+bug/1333569/+subscriptions

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

Reply via email to