- Jun 18, 2015
-
-
Adam Wujek authored
Also support HAL and PPSI restarts in wr_mon. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Make monit to start from inittab instead of rcS script. Add config files for: --dropbear --lighttpd
-
Adam Wujek authored
We want that monit don't propagate its state over restart. Move monit.stat to /tmp. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Additionally change startup script to use start-stop-daemon Note: start-stop-daemon does not create pid file Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
When monit is started from inittab instead of script /etc/init.d/monit.sh it will be respawned after its crash. Support stopping/starting monit by /etc/init.d/monit.sh To stop monit, STOP signal is sent to it. By this, init will not respawn monit, because it is still present in process' list. Add disabling monit in dot-config by option CONFIG_MONIT_DISABLE. When monit is disabled by dot-config, monit.sh will sleep forever, to satisfy init and prevent respawning Update dot-config items in user-manual. Include only *.conf instead of all files from /etc/monit.d/. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add explicit error messages when problems with downloaded dot-config file. Messages added in /etc/init.d/dot-config Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 17, 2015
-
-
Adam Wujek authored
parameters show up as a result of copy-paste error Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Move: /etc/init.d/[SK]??<name> to /etc/init.d/<name> Then create symlinks in /etc/init.d/rcS/[SK]??* to all files that previously were /etc/init.d/[SK]??* With exception of monit since monit will start soon from init. Rename all occurences of changed files. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 15, 2015
-
-
Adam Wujek authored
Date was never restored due to wrong filename in /etc/init.d/S70wr_date Use saved_date instead of update_date Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 08, 2015
-
-
Adam Wujek authored
Update required because otherwise setting of auxclk hangs the switch. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- May 12, 2015
-
-
Adam Wujek authored
Add wrs_auxclk to start at boot NOTE: This branch requires new Gateware! wrs_auxclk will hang switch when using gateware from last release of switch.
-
Adam Wujek authored
Added init script /etc/init.d/S70wrs_auxclk to start wrs_auxclk with parameters read from dot-config. Added parameters to Kconfig: --WRSAUXCLK_FREQ --WRSAUXCLK_DUTY --WRSAUXCLK_CSHIFT --WRSAUXCLK_SIGDEL --WRSAUXCLK_PPSHIFT All above are used as parameters to wrs_auxclk, which configure external clock clk2 NOTE: This patch requires new Gateware! wrs_auxclk will hang switch when using gateware from last release of switch. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Now wrs_auxclk returns: 0 on success 1 on fail or not enough parametes provided (help printed) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Introduce saving time before restart, which is restored after restart. Aslo report date of last firmware update.
-
Adam Wujek authored
Add reporting of when last update of switch firmware took place via SNMP. If update date is not known return "0000.00.00-00:00:00" Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Note: Be aware that date of last update may be not accurate. One reason is that it uses date stored before last restart, so time needed to restart is not taken into account. Additionally date stored before restart may be not accurate for many reasons like: --hard restart (last know date was not saved) --date was never received from ntp nor set manually Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--add running all /etc/init.d/K* scripts before restart --add /etc/init.d/K90time_save.sh script to save current date --set saved date in case date cannot be received from ntp --update developer manual Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- May 04, 2015
-
-
Adam Wujek authored
Add reporting via ifconfig: --rx errors (counter RX PCS Errors from pstats) --carrier (counter RX Sync Lost from pstats) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Apr 27, 2015
-
-
Adam Wujek authored
-
Adam Wujek authored
--remove description of CONFIG_PTP_* --add description of CONFIG_PTP_PORT_PARAMS and CONFIG_PTP_CUSTOM --update description of CONFIG_PORTxx_PARAMS, add proto information --update timing configuration section with proto and role information --In apply_dot-config description add hyperlink to chapter where dot-config is described instead of document itself. It looks like this part was copied from developer-manual. --by changes above remove information that role is not used. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Apr 24, 2015
-
-
Adam Wujek authored
This patch is to replace previous way of managing ppsi configuration file. Instead of copying proper file based on chosen configuration PTP_* option in dot-config, now ppsi.conf file is assembled based on PORTXX_PARAMS fields in dot-config. --Kconfig: - remove options: - PTP_WR_DEFAULT - PTP_WR_MASTER - PTP_WR_AUTO - PTP_WR_AUTO_UDP - PTP_NONWR_UDP_ALL - add PTP_PORT_PARAMS (to let assembly ppsi.conf file) - keep option PTP_CUSTOM to use user's ppsi configuration file - move PTP_CUSTOM_FILENAME to different position - add property "proto" to PORTXX_PARAMS --remove predefined ppsi configs (not to be used anymore) from /wr/etc/ppsi-config-pool/: - WR_DEFAULT - WR_MASTER - WR_AUTO - WR_AUTO_UDP - NONWR_UDP_ALL --add new script assembly_ppsi_conf.sh to create ppsi.conf file. ppsi.conf file is assembled based on PORTXX_PARAMS fields like port name, proto(col) and role. All master, slave or auto ports are set to use whiterabbit extension --add file /wr/etc/ppsi-pre.conf to keep top of ppsi.conf including global options (later all options may be moved to dot-conf) --modivy apply_dot-config to use assembly_ppsi_conf.sh instead of old way. NOTE: update of documentation is missing Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Apr 21, 2015
-
-
Adam Wujek authored
Branch include SNMP related work
-
Adam Wujek authored
Add following deamon's start counters: --sshd (dropbear) --https (lighttpd) --snmpd --syslog Update: --start scripts --snmpd --MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Please note that wrsTimingStatus is not implemented. However, wrsMainSystemStatus assumes it is implemented. No changes will be needed to wrsMainSystemStatus during implementation of wrsTimingStatus. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Always return status ok in wrsTimingStatus. Add defines for status values for wrsTimingStatus. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
These functions were used to test caches and cache performance. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Additionally update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Objects added: --wrsEndpointStatus --wrsSwcoreStatus --wrsRTUStatus --update MIB --add parameters to Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
use libwr's interface for dot-config Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsSFPsStatus notify if any SFP report error Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- add wrsOSStatus logic to wrsGeneralStatusGroup.c -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsBootSuccessful object check content of wrsOSStatusGroup Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Checking if all processes from array "userspace_deamons" are running. Can return to snmp: --all running --error (cannot run ps or problem with multiple process' instances) --number of missing processes Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Checking if all modules from array "kernel_modules" are loaded. Can return to snmp: --all loaded --error --number of missing modules Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
keeping the same order in array wrs_version as result from /wr/bin/wrs_version will limit number of string comparisons Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- change script userspace/rootfs_override/wr/sbin/startup-mb.sh to save lm32 load result in file /tmp/load_lm32_status -- update wrsBootStatusGroup.c and wrsBootStatusGroup.h -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
-- change script userspace/rootfs_override/wr/sbin/startup-mb.sh to save load result in file /tmp/load_fpga_status -- update wrsBootStatusGroup.c and wrsBootStatusGroup.h -- update MIB Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-