Today, by chance, I experienced the proof:
I logged into one of my Radios via SSH and queried the device uptime. The device uptime showed 24 days +19:15. It was 7:00pm. Some hours later, I noticed that the Radio was rebooted, because it showed the main menu instead of the clock. Again, I logged into the device and again queried the device uptime. The uptime now showed that the device must have rebooted at 8:16pm! This means that the reboot occured at a device uptime at 24 days +20:31. This is 24.855 days, corresponding to 2^31/1000/3600/24, thus *corresponding to an overflow of a signed 32bit timer running at 1000Hz*. *So, as previously suspected, the Radios really perform 'spontaneous' reboots at a well-defined interval of 24.855 days, caused by wrapping of the jiffy timer.* Please note that this timer is not based on a real-time clock, thus it is probaly not running at precisely 1000Hz. This means that the reboot interval might be slightly different from device to device. 1x Squeezebox Classic, 3x Radio, 1x Touch, LMS 7.9.1 running on ODROID-U3, Ubuntu 16.04 (Perl-Version: 5.22.1 - arm-linux-gnueabihf-thread-multi-64int, DBD::SQLite 1.34_01 (sqlite 3.7.7.1)) ------------------------------------------------------------------------ Steevee28's Profile: http://forums.slimdevices.com/member.php?userid=36395 View this thread: http://forums.slimdevices.com/showthread.php?t=111650 _______________________________________________ Radio mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/radio
