Comment 0 for bug 1333569

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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