Hi Robert,

Thanks for the suggestion. You may be interested in the following
information and questions:

- 0.8.1-1 complied with all features enabled is now in Sid. Please
help to verify if it resolves your request if you don't mind.
- Do you happen to know how to verify if this feature is enabled
properly apart from the log messaged raised when the daemon starts?
That will help the testing more solid and help more people involved to
help testing.

Kind regards,
Tai

On Wed, Jan 24, 2024 at 12:27 AM Robert L Mathews <[email protected]> wrote:
>
> 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