Steevee28 wrote: 
> 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 of 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 probably not running at precisely 1000Hz. This means that the reboot
> interval might be slightly different from device to device.Interesting. How 
> do you query the uptime? I'll check mine.

Sent from my Pixel 3a using Tapatalk




------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=111650

_______________________________________________
Radio mailing list
Radio@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to