- 25 Feb, 2016 6 commits
-
-
Adam Wujek authored
Apply zero bias at every read from FPGA. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
zeros keep only value read from FPGA at zeroing. The rest can be zeroed simply in software. Change the size of cntrs and userv from unsigned long long to uint64_t. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Use different OID for pstats. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
move wrsPstatsTable (wrSwitchMIB.7.4) to wrsPstatsHCTable (wrSwitchMIB.7.7) Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 24 Feb, 2016 15 commits
-
-
Adam Wujek authored
HC will use 64bit counters. Rename files and make them compile. wrsPstatsHCTable will go to .7.7 in MIB Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Because 32bit kernel does not export 64bit values via sysctl in a easy way, each pstats counter is split into two 32bit values which have to assembled into one value in software that reads pstats counters. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add if-mib/ifXTable to the SNMPd. It adds 64bit (HC) counters to the ifTable. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Replace time() calls with monotinic version from libwr Fix bug 1164 and similar problems in other programs. It was possible that SNMP objects in expert branch don't update. It pop-up in following scenario: 1. slave switch is started with no ntp configured 2. read via snmp from slave 3. master switch is started with no ntp configured 4. slave sync to master and set it's time, by this system clock on slave is set to earlier date 5. read via snmp from slave will end up in the same results in expert branch of the MIB. 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
Audit done. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Proper timeout will not work when clock is set to the past. It is unlikely that problem pop up here, but just to be safe. Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Problem simillar to bug 1164. Check commit: userspace/snmpd: bugfix 1164, replace time() with monotinic version Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It was possible that SNMP objects in expert branch don't update. It pop-up in following scenario: 1. slave switch is started with no ntp configured 2. read via snmp from slave 3. master switch is started with no ntp configured 4. slave sync to master and set it's time, by this system clock on slave is set to earlier date 5. read via snmp from slave will end up in the same results in expert branch of the MIB. Our part of SNMP implementation used "time" function for calculating SNMP's cache timeouts. When clock is set backwards then cache can be valid for very long time. Monotonic clock is used instead from ulit.c (libwr) Add util.c to the compilation. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add function get_monotonic_tics and get_monotonic_sec to the libwr to keep them in the one place. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 18 Feb, 2016 4 commits
-
-
Tjeerd Pinkert authored
- Help (-h) option was added. - The tool now uses WR time to display the state every second. - The show statistics (-s) mode was changed to display statistics in a segregated way. - The -i option was added to show TIME information as second, nanosecond pair - The -m option was added to show only the MASTER ports information - The -s option was changed to show only the SLAVE ports information - The -o option was added to show only the OTHER ports information - The -e option was added to show only the SERVO information - The -t option was added to show only the TEMPERATURE information - The show X options can be combined, e.g. -i -t shows time and temperature information - The -a option was added to show all information (convenience option) - The -b option was unchanged and shows the gui in black and white - The -w option shows the WEB interface information unchanged, but the underlying code has been rewritten to be less of a hack. - Toggle printing on/off (t) during display should now work. Signed-off-by: Tjeerd Pinkert <t.j.pinkert@alumnus.utwente.nl> Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
The upstream address for lsof is not working. While the download script tries buildroot.net if upstream fails, getting lsof got stuck for no connection to the server. With this commit it times out after 15 seconds to then proceed using the buildroot address. I expect the problem to affect other upstream files over time, so the commit doesn't fix the link but the tool. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Cesar Prados authored
Split a rule into two rules, to make make happy. In previous versions of make it was acceptable to list one or more explicit targets followed by one or more pattern targets in the same rule and it worked "as expected". However, this was not documented as acceptable and if you listed any explicit targets AFTER the pattern targets, the entire rule would be mis-parsed. This release removes this ability completely: make will generate an error message if you mix explicit and pattern targets in the same rule. You must split these rules into two rules: one for the pattern and one for the explicit targets. The Linux kernel source has already been modified in this way (in newer kernels).
-
- 12 Feb, 2016 15 commits
-
-
Adam Wujek authored
Use hostname if available as a prompt instead of wrs-<IP_address> When hostname is not availalble use wrs-<IP_address> Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Hostname can be configured in dot-config to be set via DHCP or statically. Additionally update documentation. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Check in scripts if dot-config option is equal to "y" not if it is empty. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Adam Wujek authored
Improve doc/wrs_failures document. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
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>
-