On Sat, Sep 17, 2011 at 8:03 PM, Jim Cromie <jim.cro...@gmail.com> wrote: > hi all, > > on daily-build 20110917, Im getting watchdog reboots > before the kernel is up. > > I havent investigated much yet, thought Id ask 1st, > has watchdog setup changed in last month ? > > [ 33.817570] SC1x00 Watchdog driver by Inprimis Technolgies. > [ 33.819467] wd1100.c: a few hacks by erich.t...@think.ch > [ 33.828233] Last reboot was by watchdog! > [ 33.947664] scx200_acb: probe failed > ... > > > Starting watchdog keepalive daemon: wd_keepalive. > [ 54.472543] wd_keepalive (1673): /proc/1673/oom_adj is deprecated, > please use /proc/1673/oom_score_adj instead. > Starting kernel log daemon.... > Starting OpenBSD Secure Shell server: sshd. > Starting DNS forwarder and DHCP server: dnsmasq. > > > POST: 012345689bcefghipsajklnopqr,,,tvwxy >
Ok, I looked into this, found problem. My doing :-/ installer parses $VOYAGE_SYSTEM_MODULES, writes modules with provided options into /etc/modprobe.d/$profile.conf But lines were missing the module-name, so options for watchdog module didnt get loaded with the module, and it caused reboots. with the patch, writes a good file, and boots cleanly.
From d3405e9ca4616df4e35e39edf83e3803d9ca5203 Mon Sep 17 00:00:00 2001 From: Jim Cromie <jim.cro...@gmail.com> Date: Wed, 23 Nov 2011 01:07:59 -0700 Subject: [PATCH] fix /etc/modprobe.d/$profile.conf writer above file generated during install is incorrect; its missing the module name between options keyword and the options themselves. This manifested as spontaneous reboots by watchdog, cuz it didnt have the expected options. --- usr/local/sbin/update-config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/usr/local/sbin/update-config.sh b/usr/local/sbin/update-config.sh index 4633558..474adc7 100755 --- a/usr/local/sbin/update-config.sh +++ b/usr/local/sbin/update-config.sh @@ -40,7 +40,7 @@ update_modules() { moduleslist="$moduleslist\n$nameonly" # modprobe doesnt like empty options [ -n "$modopts" ] && \ - modoptslist="$modoptslist\noptions $modopts" + modoptslist="$modoptslist\noptions $nameonly $modopts" done IFS=$saveifs -- 1.7.7.3
_______________________________________________ Voyage-linux mailing list Voyage-linux@list.voyage.hk http://list.voyage.hk/mailman/listinfo/voyage-linux