- Jul 03, 2019
-
-
Jean-Claude BAU authored
The system clock monitor measures the offset between the local time and the NTP time. If this offset exceed a given threshold an alarm will be raised .
-
Jean-Claude BAU authored
KConfig has been improved adding new extra constraints when the timing mode is changed. It has an impact on port configuration (externalPortConfiguration & default bmc mode) and also on the overwritten clock class.
-
- Jun 26, 2019
-
-
Maciej Lipinski authored
Using date was not a good ideal (i.e. format "file_name-date") because the date on the switch can change due to PTP synchronization. Now, files are indexed with number
-
Maciej Lipinski authored
Updates: - information in the body of the message about severity was not aligned with the severity reported to syslog, now all is aligned - aligned format of all messages from snmpd that use snmp_log()
-
Maciej Lipinski authored
Another option is added in Kconfig that applies to all the deamons that provide <facility*8+priority> in their messages. If logging in Kconfig is set to "default_syslog", the logger is run with the option --prio-prefix. With this option, the facility/priority from message is used. All the other otions for "Logint directions.." are left unchnaged.
-
Maciej Lipinski authored
-
Maciej Lipinski authored
Logger can interpret get log facility & level (error, info, etc) from log message if such info is provided properly. I.e. it needs to be enclosed in <> and the first thing in the message. The wrs-msg.c file in the libwr was changed such that the log facility & level ares properly printed in log messages, and thus later properly interpreted by the syslog elastic search on the server. For this, wrs_msg lib needs to know the faciltiy of the application that uses it. Thus, the wrs_msg_init() function was updated (in the library and all its calls in applications)
-
- Add a new tool (wrs_leapsec) to check for an incoming leap second. It is done by parsing the leap second file. If a leap second is detected then adjustment parameters for the clock algoritm are set in the kernel. - Start the tool at startup - With cron, execute the tool every 3 hours - As many tools need to parse the leap seconds file, functions have been added in the library and then called by these tools
-
- Install cron - New leap_seconds_file_update script. Launched at startup and then 1 time per day by cron - Kconfig update to setup from where the file should be downloaded
-
The boot server IP is saved into /tmp/boot_server_ip. It can be useful to get it to download files from this location in other scripts.
-
-
The -n option in the wr_date tool is used for a dry run. It execute the code without applying changes in the system and the hardware. However calling "wr_date -n set host" was not setting the date but applying the TAI offset. To make things more consistant, a new option has been added. Calling "wr_date set host tai" now sets only the TAI offset. The wr_date script has been changed to take into account this modification of the behavior.
-
- Jun 25, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Otherwise most of the time is spent with the HAL's shmem locked. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
If the build or image is broken and sdb-read is missing don't try to overwrite hwinfo Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Forward messages from scripts running before syslog is available to the kernel log. Before these messages were printed only to the console. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 24, 2019
-
-
This reduces the size of a firmware by 5MB. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Uplift util-linux to a version 2.28.2 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 21, 2019
-
-
Jean-Claude BAU authored
-
- Jun 19, 2019
-
-
Jean-Claude BAU authored
Having just a small message indicating that a build error has been detected at the end of the script is not sufficient. The tarball is created but is invalid and might be used. Now, when an error is detected the build procedure is immediately aborted. The tarball is not then created.
-
- Jun 14, 2019
-
-
Jean-Claude BAU authored
- Was returning the !busy before. return busy value (1=busy, 0=not busy) is more clear to understand.
-
- Jun 12, 2019
-
-
Maciej Lipinski authored
Init scripts start logger that prints output of deamons into syslogs. This logger is run with -p to attach tag. This tag is interpreted as the process that produces the following message. In the many init scripts this tag was set to wr-switch, incorrectly. This commit corrects it to include the name of the daemon.
-
Maciej Lipinski authored
rsyslog outputs syslog to /tmp/syslog until the file is ~1MB, then the file is moved/renamed to a "rotate file" (name includes date & time) while the /tmp/syslog is filled by rsyslog from zero. Max number of 10 "rotate files" are kept. The oldest is removed when new file from rsyslog comes. Next step is to make this a default option in kconfig
-
Maciej Lipinski authored
changed parameter for showing backplane version from -p to -b, left -p for backward compatibility/WWW
-
Jean-Claude BAU authored
As HA profile, the WR profile must always have the asymmetryCorrection enabled.
-
- Jun 11, 2019
-
-
Jean-Claude BAU authored
- Add round trip delay (delayMM) - For pp_time structure, display in time in ns unit if the time is less than 1 second (in absolute)
-
Jean-Claude BAU authored
- Remove HA profile. Can be re-enabled easily in the gen_kconfig_port_timing.sh script - Add extra help to externalPortConfiguration
-
Grzegorz Daniluk authored
Compiled from commit 780ed52 of wrpc-sw repository.
-
Grzegorz Daniluk authored
-
- Jun 07, 2019
-
-
Jean-Claude BAU authored
-
Adam Wujek authored
When the passwd is called on a system with a date set to 1st Jan 1970, the change date is set to 0, which has a special meaning: "The value 0 has a special meaning, which is that the user should change her pasword the next time she will log in the system." Thanks to this patch, when the password is changed on 1st on Jun 1970 the change date is set to 1. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jun 06, 2019
-
-
Adam Wujek authored
Revert part of a commit: f14e28c9 Setup default config for the switch (WR profile by default) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Jean-Claude BAU authored
-
- Jun 05, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
partly revert the commit: 70c80659 Add Kconfig-sfp-fiber.in in dot-config The file Kconfig_sfp_fiber.in is copied during the build from the repo's root. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Jean-Claude BAU authored
- Include missing in wr-constants.h - Get Hw specification from halshmem instead of define - Some modifications to access to FPGA
-
- Jun 04, 2019
-
-
Jean-Claude BAU authored
- update PPSi submodule - Adapt the display of wr_mon to PPSi changes
-
Jean-Claude BAU authored
-