• Adam Wujek's avatar
    [BUG: 1590] userspace/snmpd: fix fail to start when using non-wr SFPs · 607129b7
    Adam Wujek authored
    When many (10 or more) non-wr compatible SFPs were used then could happen that
    snmpd was not able to start (sometimes even crashing).
    The problem appeared only when the logs from snmpd were not redirected,
    so it too long to print the logs to the slow serial console.
    Before logs were printed, the content of HAL's shmem changed and this caused
    to re-read HAL's shmem and print logs again and again...
    
    The fix is to print logs after the shmem is read.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    607129b7
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile Loading commit data...
WR-SWITCH-MIB.txt Loading commit data...
dot-config.c Loading commit data...
init.c Loading commit data...
shmem.c Loading commit data...
show-pstats Loading commit data...
snmp_msg.c Loading commit data...
snmp_shmem.c Loading commit data...
snmp_shmem.h Loading commit data...
util.c Loading commit data...
wrsBootStatusGroup.c Loading commit data...
wrsBootStatusGroup.h Loading commit data...
wrsCpuLoadGroup.c Loading commit data...
wrsCpuLoadGroup.h Loading commit data...
wrsCurrentTimeGroup.c Loading commit data...
wrsCurrentTimeGroup.h Loading commit data...
wrsDiskTable.c Loading commit data...
wrsDiskTable.h Loading commit data...
wrsGeneralStatusGroup.c Loading commit data...
wrsGeneralStatusGroup.h Loading commit data...
wrsGroupTemplate.h Loading commit data...
wrsMemoryGroup.c Loading commit data...
wrsMemoryGroup.h Loading commit data...
wrsNetworkingStatusGroup.c Loading commit data...
wrsNetworkingStatusGroup.h Loading commit data...
wrsOSStatusGroup.c Loading commit data...
wrsOSStatusGroup.h Loading commit data...
wrsPortStatusTable.c Loading commit data...
wrsPortStatusTable.h Loading commit data...
wrsPstatsHCTable.c Loading commit data...
wrsPstatsHCTable.h Loading commit data...
wrsPtpDataTable.c Loading commit data...
wrsPtpDataTable.h Loading commit data...
wrsScalar.c Loading commit data...
wrsSnmp.h Loading commit data...
wrsSpllStatusGroup.c Loading commit data...
wrsSpllStatusGroup.h Loading commit data...
wrsSpllVersionGroup.c Loading commit data...
wrsSpllVersionGroup.h Loading commit data...
wrsStartCntGroup.c Loading commit data...
wrsStartCntGroup.h Loading commit data...
wrsTableTemplate.h Loading commit data...
wrsTemperatureGroup.c Loading commit data...
wrsTemperatureGroup.h Loading commit data...
wrsTimingStatusGroup.c Loading commit data...
wrsTimingStatusGroup.h Loading commit data...
wrsVersionGroup.c Loading commit data...
wrsVersionGroup.h Loading commit data...