clock jumps suddenly

Hello,

I have a program running on my beagleboard and it use the system clock to know when do any task. I see my program doesn’t work correctly but it isn’t from my code is from the system clock because if I open the system log I’ve seen time has changed but the ntp in few minutes changes to correct hour. Below I put portion of log where it sees.

Jan 10 07:09:01 arm kernel: [68317.245056] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:09:01 arm CRON[27466]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:09:01 arm kernel: [68317.266357] omap_wdt: Unexpected close, not stopping!
Jan 10 07:09:01 arm CRON[27482]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 10 07:09:01 arm CRON[27487]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 10 07:09:01 arm CRON[27483]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 10 07:09:01 arm CRON[27493]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 10 07:09:02 arm CRON[27467]: (CRON) error (grandchild #27475 failed with exit status 127)
Jan 10 07:09:02 arm CRON[27467]: (CRON) info (No MTA installed, discarding output)
Jan 11 19:34:39 arm kernel: [68321.077301] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:34:39 arm kernel: [68321.120452] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:34:39 arm kernel: [68321.153594] omap_wdt: Unexpected close, not stopping!
Jan 11 19:34:39 arm CRON[27528]: (root) CMD ( var/control/control_ejecucion_webchanges)
Jan 11 19:34:39 arm CRON[27531]: (root) CMD ( /var/control/PowerCheck)
Jan 11 19:34:39 arm CRON[27532]: (root) CMD (/var/control/control_ejecucion_wvdial.sh)
Jan 11 19:34:39 arm CRON[27533]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 11 19:34:39 arm CRON[27535]: (root) CMD ( echo “1” > /dev/watchdog)
Jan 11 19:34:39 arm CRON[27529]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 11 19:34:39 arm CRON[27536]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 11 19:34:40 arm kernel: [68321.831054] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:34:40 arm kernel: [68321.834625] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:34:40 arm CRON[27542]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 11 19:34:40 arm CRON[27515]: (CRON) info (No MTA installed, discarding output)
Jan 11 19:34:40 arm kernel: [68321.968444] omap_wdt: Unexpected close, not stopping!
Jan 11 19:34:40 arm CRON[27516]: (CRON) error (grandchild #27528 failed with exit status 127)
Jan 11 19:34:40 arm CRON[27516]: (CRON) info (No MTA installed, discarding output)
Jan 11 19:35:01 arm CRON[27580]: (root) CMD ( echo “1” > /dev/watchdog)
Jan 11 19:35:02 arm CRON[27581]: (root) CMD ( /var/control/PowerCheck)
Jan 11 19:35:02 arm CRON[27579]: (root) CMD (/var/control/control_ejecucion_wvdial.sh)
Jan 11 19:35:02 arm CRON[27582]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 11 19:35:02 arm kernel: [68344.509887] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:35:02 arm CRON[27587]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 11 19:35:02 arm kernel: [68344.551696] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 11 19:35:02 arm kernel: [68344.551788] omap_wdt: Unexpected close, not stopping!
Jan 11 19:35:02 arm CRON[27571]: (CRON) info (No MTA installed, discarding output)
Jan 11 19:35:02 arm CRON[27583]: (root) CMD ( /var/control/control_ejecucion_webchanges)
Jan 11 19:35:02 arm CRON[27588]: (root) CMD (sudo echo 3 > /proc/sys/vm/drop_caches)
Jan 11 19:35:02 arm CRON[27584]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 11 19:35:02 arm CRON[27590]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 11 19:35:02 arm CRON[27593]: (root) CMD (/sbin/route add default gw 10.64.64.64 dev ppp0)
Jan 11 19:35:02 arm CRON[27578]: (CRON) error (grandchild #27593 failed with exit status 7)
Jan 11 19:35:02 arm CRON[27578]: (CRON) info (No MTA installed, discarding output)
Jan 11 19:35:02 arm CRON[27572]: (CRON) error (grandchild #27583 failed with exit status 127)
Jan 11 19:35:02 arm CRON[27572]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:09:37 arm kernel: [68352.680908] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:09:37 arm kernel: [68352.692657] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:09:37 arm kernel: [68352.700805] omap_wdt: Unexpected close, not stopping!
Jan 10 07:09:37 arm CRON[27468]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:09:37 arm CRON[27633]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 10 07:09:37 arm CRON[27634]: (root) CMD ( /var/control/PowerCheck)
Jan 10 07:09:37 arm CRON[27636]: (root) CMD ( /var/control/control_ejecucion_webchanges)
Jan 10 07:09:37 arm CRON[27635]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 10 07:09:37 arm CRON[27637]: (root) CMD ( echo “1” > /dev/watchdog)
Jan 10 07:09:37 arm CRON[27626]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:09:37 arm kernel: [68353.209716] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:09:37 arm CRON[27642]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 10 07:09:37 arm CRON[27640]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete)
Jan 10 07:09:37 arm CRON[27646]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 10 07:09:37 arm CRON[27645]: (root) CMD (/var/control/control_ejecucion_wvdial.sh)
Jan 10 07:09:37 arm kernel: [68353.270874] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:09:37 arm kernel: [68353.270904] omap_wdt: Unexpected close, not stopping!
Jan 10 07:09:38 arm CRON[27627]: (CRON) error (grandchild #27636 failed with exit status 127)
Jan 10 07:09:38 arm CRON[27627]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:09:38 arm CRON[27628]: (CRON) info (No MTA installed, discarding output)
Jan 8 18:44:06 arm CRON[27517]: (CRON) info (No MTA installed, discarding output)
Jan 8 18:44:06 arm CRON[27689]: (root) CMD ( /var/control/PowerCheck)
Jan 8 18:44:06 arm CRON[27685]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 8 18:44:06 arm CRON[27686]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 8 18:44:06 arm CRON[27687]: (root) CMD (/var/control/control_ejecucion_wvdial.sh)
Jan 8 18:44:06 arm CRON[27688]: (root) CMD ( /var/control/control_ejecucion_webchanges)
Jan 8 18:44:06 arm CRON[27690]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 8 18:44:06 arm CRON[27691]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 8 18:44:06 arm CRON[27696]: (root) CMD ( echo “1” > /dev/watchdog)
Jan 8 18:44:06 arm kernel: [68354.827941] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:06 arm kernel: [68354.831604] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:06 arm kernel: [68354.831634] omap_wdt: Unexpected close, not stopping!
Jan 8 18:44:06 arm CRON[27679]: (CRON) info (No MTA installed, discarding output)
Jan 8 18:44:06 arm CRON[27680]: (CRON) error (grandchild #27688 failed with exit status 127)
Jan 8 18:44:06 arm CRON[27680]: (CRON) info (No MTA installed, discarding output)
Jan 8 18:44:07 arm CRON[27681]: (CRON) info (No MTA installed, discarding output)
Jan 8 18:44:26 arm kernel: [68374.837463] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:26 arm kernel: [68374.841522] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:26 arm kernel: [68374.841918] omap_wdt: Unexpected close, not stopping!
Jan 8 18:44:35 arm kernel: [68383.194122] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:35 arm kernel: [68383.200073] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:35 arm kernel: [68383.200347] omap_wdt: Unexpected close, not stopping!
Jan 8 18:44:36 arm kernel: [68384.860351] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:36 arm kernel: [68384.870758] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 8 18:44:36 arm kernel: [68384.871032] omap_wdt: Unexpected close, not stopping!
Jan 10 07:10:26 arm CRON[27573]: (CRON) info (No MTA installed, discarding output)

Jan 10 07:10:27 arm CRON[27735]: (root) CMD ( /var/control/PowerCheck)
Jan 10 07:10:27 arm CRON[27738]: (root) CMD ( /var/control/control_ejecucion_webchanges)
Jan 10 07:10:27 arm CRON[27737]: (root) CMD (/var/control/control_ejecucion_wvdial.sh)
Jan 10 07:10:27 arm CRON[27736]: (ubuntu) CMD (/media/data/bin/filesystem_watchdog.sh > /dev/null 2>&1)
Jan 10 07:10:27 arm CRON[27734]: (root) CMD ( echo “1” > /dev/watchdog)
Jan 10 07:10:27 arm CRON[27739]: (ubuntu) CMD (/media/data/bin/apiwatch.sh > /dev/null 2>&1)
Jan 10 07:10:27 arm kernel: [68402.814697] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:10:27 arm kernel: [68402.852233] omap_hwmod: wd_timer2: _wait_target_disable failed
Jan 10 07:10:27 arm kernel: [68402.852325] omap_wdt: Unexpected close, not stopping!
Jan 10 07:10:27 arm CRON[27740]: (root) CMD ( sleep 30 && echo “1” > /dev/watchdog)
Jan 10 07:10:27 arm CRON[27726]: (CRON) info (No MTA installed, discarding output)
Jan 10 07:10:27 arm CRON[27743]: (ubuntu) CMD (/media/data/bin/node_watchdog.sh > /dev/null 2>&1)
Jan 10 07:10:27 arm CRON[27747]: (root) CMD (sudo echo 3 > /proc/sys/vm/drop_caches)
Jan 10 07:10:27 arm CRON[27759]: (root) CMD (/sbin/route add default gw 10.64.64.64 dev ppp0)
Jan 10 07:10:27 arm CRON[27733]: (CRON) error (grandchild #27759 failed with exit status 7)

nobody know where is the mistake? I spend a lot of time looking how correct this failure but I can’t

thanks

Any chance you can say which BeagleBoard this is?

Gerald