Package: rasdaemon
Version: 0.6.8-1.1

rasdaemon upstream offers the ability to offline memory when failures are 
detected (see <https://github.com/mchehab/rasdaemon/commit/9ae6b70eff>).

Debian's rasdaemon includes the configuration files to do that at 
/etc/default/rasdaemon, with lines like:

 PAGE_CE_REFRESH_CYCLE="24h"
 PAGE_CE_THRESHOLD="50"
 PAGE_CE_ACTION="soft"

This makes it look like the feature is enabled.

However, those settings in /etc/default/rasdaemon are never actually used, and 
rasdaemon will never try to offline failing memory, because the Debian package 
is not compiled with the necessary "--enable-memory-ce-pfa" flag.

Compiling rasdaemon with "--enable-memory-ce-pfa" would fix this. I tested 
compiling with that extra flag, and if you do so, these new lines are emitted 
in the logs when it is started, indicating the code is working:

 rasdaemon: Page offline choice on Corrected Errors is soft
 rasdaemon: Threshold of memory Corrected Errors is 50 / 24h

I'd like to suggest that this option be enabled. If people don't want to use 
this feature, they can edit /etc/default/rasdaemon as documented to change it 
to PAGE_CE_ACTION="off".

If it is decided not to enable this feature, then /etc/default/rasdaemon should 
be modified to remove these options so it doesn't look like it is enabled.

-- 
Robert L Mathews

Reply via email to