• Bug#1102248: [kernel] support of EDAC (Error Detection And Correction)

    From Jean-Marc LACROIX@21:1/5 to All on Sun Apr 6 19:30:02 2025
    XPost: linux.debian.kernel

    Package: linux-image-amd64
    Version: 6.1.129-1
    Severity: wishlist

    Dear kernel support team,

    Could you please set CONFIG_EDAC_DEBUG (Error Detection And Correction)
    in kernel generation, so that it is possible to use ECC RAM when
    building NAS target with ZFS ?


    ansible@hn-asusgl752-400:~$ uname -a
    Linux hn-asusgl752-400 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian
    6.1.129-1 (2025-03-06) x86_64 GNU/Linux


    ansible@hn-asusgl752-400:~$ grep CONFIG_EDAC_DEBUG
    /boot/config-6.1.0-32-amd64
    # CONFIG_EDAC_DEBUG is not set


    ansible@hn-asusgl752-400:~$ cat /etc/debian_version
    12.10


    Thanks in advance

    --
    -- Jean-Marc LACROIX --
    -- mailto : jeanmarc.lacroix@free.fr --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Marc LACROIX@21:1/5 to All on Sun Apr 6 21:20:01 2025
    XPost: linux.debian.kernel

    Le 06/04/2025 à 21:10, Salvatore Bonaccorso a écrit :
    Control: tags -1 + moreinfo

    On Sun, Apr 06, 2025 at 07:25:04PM +0200, Jean-Marc LACROIX wrote:
    Package: linux-image-amd64
    Version: 6.1.129-1
    Severity: wishlist

    Dear kernel support team,

    Could you please set CONFIG_EDAC_DEBUG (Error Detection And Correction) in >> kernel generation, so that it is possible to use ECC RAM when building NAS >> target with ZFS ?


    ansible@hn-asusgl752-400:~$ uname -a
    Linux hn-asusgl752-400 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian
    6.1.129-1 (2025-03-06) x86_64 GNU/Linux


    ansible@hn-asusgl752-400:~$ grep CONFIG_EDAC_DEBUG
    /boot/config-6.1.0-32-amd64
    # CONFIG_EDAC_DEBUG is not set

    Why would that be needed for building NAS target with ZFS?

    The config option clearly describes:

    config EDAC_DEBUG
    bool "Debugging"
    select DEBUG_FS
    help
    This turns on debugging information for the entire EDAC subsystem.
    You do so by inserting edac_module with "edac_debug_level=x." Valid
    levels are 0-4 (from low to high) and by default it is set to 2.
    Usually you should select 'N' here.

    Can you elaborate on why CONFIG_EDAC_DEBUG is needed?

    Regards,
    Salvatore

    It seems the this module is not available on standard Debian product

    ansible@hn-asusgl752-400:~$ find /lib/modules/6.1.0-* -name edac_module ansible@hn-asusgl752-400:~$


    Regards
    --
    -- Jean-Marc LACROIX () --
    -- mailto : jeanmarc.lacroix@free.fr --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Salvatore Bonaccorso@21:1/5 to Jean-Marc LACROIX on Sun Apr 6 21:20:02 2025
    XPost: linux.debian.kernel

    Control: tags -1 + moreinfo

    On Sun, Apr 06, 2025 at 07:25:04PM +0200, Jean-Marc LACROIX wrote:
    Package: linux-image-amd64
    Version: 6.1.129-1
    Severity: wishlist

    Dear kernel support team,

    Could you please set CONFIG_EDAC_DEBUG (Error Detection And Correction) in kernel generation, so that it is possible to use ECC RAM when building NAS target with ZFS ?


    ansible@hn-asusgl752-400:~$ uname -a
    Linux hn-asusgl752-400 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian
    6.1.129-1 (2025-03-06) x86_64 GNU/Linux


    ansible@hn-asusgl752-400:~$ grep CONFIG_EDAC_DEBUG /boot/config-6.1.0-32-amd64
    # CONFIG_EDAC_DEBUG is not set

    Why would that be needed for building NAS target with ZFS?

    The config option clearly describes:

    config EDAC_DEBUG
    bool "Debugging"
    select DEBUG_FS
    help
    This turns on debugging information for the entire EDAC subsystem.
    You do so by inserting edac_module with "edac_debug_level=x." Valid
    levels are 0-4 (from low to high) and by default it is set to 2.
    Usually you should select 'N' here.

    Can you elaborate on why CONFIG_EDAC_DEBUG is needed?

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Salvatore Bonaccorso@21:1/5 to Jean-Marc LACROIX on Mon Apr 7 06:40:01 2025
    XPost: linux.debian.kernel

    HI Jean-Marc,,

    On Sun, Apr 06, 2025 at 09:16:55PM +0200, Jean-Marc LACROIX wrote:
    Le 06/04/2025 à 21:10, Salvatore Bonaccorso a écrit :
    Control: tags -1 + moreinfo

    On Sun, Apr 06, 2025 at 07:25:04PM +0200, Jean-Marc LACROIX wrote:
    Package: linux-image-amd64
    Version: 6.1.129-1
    Severity: wishlist

    Dear kernel support team,

    Could you please set CONFIG_EDAC_DEBUG (Error Detection And Correction) in
    kernel generation, so that it is possible to use ECC RAM when building NAS
    target with ZFS ?


    ansible@hn-asusgl752-400:~$ uname -a
    Linux hn-asusgl752-400 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux


    ansible@hn-asusgl752-400:~$ grep CONFIG_EDAC_DEBUG /boot/config-6.1.0-32-amd64
    # CONFIG_EDAC_DEBUG is not set

    Why would that be needed for building NAS target with ZFS?

    The config option clearly describes:

    config EDAC_DEBUG
    bool "Debugging"
    select DEBUG_FS
    help
    This turns on debugging information for the entire EDAC subsystem.
    You do so by inserting edac_module with "edac_debug_level=x." Valid
    levels are 0-4 (from low to high) and by default it is set to 2.
    Usually you should select 'N' here.

    Can you elaborate on why CONFIG_EDAC_DEBUG is needed?

    Regards,
    Salvatore

    It seems the this module is not available on standard Debian product

    ansible@hn-asusgl752-400:~$ find /lib/modules/6.1.0-* -name edac_module ansible@hn-asusgl752-400:~$

    That does not really answer my question ;-)

    Again, CONFIG_EDA_DEBUG is debugging module, and I was wondering why
    it is needed for working with NAS targets with ZFS. Can you elaborate?

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jean-Marc LACROIX@21:1/5 to All on Mon Apr 7 18:40:01 2025
    XPost: linux.debian.kernel

    Le 06/04/2025 à 21:10, Salvatore Bonaccorso a écrit :
    Control: tags -1 + moreinfo

    On Sun, Apr 06, 2025 at 07:25:04PM +0200, Jean-Marc LACROIX wrote:
    Package: linux-image-amd64
    Version: 6.1.129-1
    Severity: wishlist

    Dear kernel support team,

    Could you please set CONFIG_EDAC_DEBUG (Error Detection And Correction) in >> kernel generation, so that it is possible to use ECC RAM when building NAS >> target with ZFS ?


    ansible@hn-asusgl752-400:~$ uname -a
    Linux hn-asusgl752-400 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian
    6.1.129-1 (2025-03-06) x86_64 GNU/Linux


    ansible@hn-asusgl752-400:~$ grep CONFIG_EDAC_DEBUG
    /boot/config-6.1.0-32-amd64
    # CONFIG_EDAC_DEBUG is not set

    Why would that be needed for building NAS target with ZFS?

    The config option clearly describes:

    config EDAC_DEBUG
    bool "Debugging"
    select DEBUG_FS
    help
    This turns on debugging information for the entire EDAC subsystem.
    You do so by inserting edac_module with "edac_debug_level=x." Valid
    levels are 0-4 (from low to high) and by default it is set to 2.
    Usually you should select 'N' here.

    Can you elaborate on why CONFIG_EDAC_DEBUG is needed?

    Regards,
    Salvatore

    Salvatore,

    I'm working on a project to use the Odroid H4 SBC card as a NAS server.
    It seems possible to use ECC memory because the development team
    validated it in 2024. Therefore, it is essential to load a dedicated
    kernel module to detect potential exceptions, as suggested in the
    following thread.

    https://forum.odroid.com/viewtopic.php?t=48377

    Regards
    --
    -- Jean-Marc LACROIX () --
    -- mailto : jeanmarc.lacroix@free.fr --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastian Blank@21:1/5 to Jean-Marc LACROIX on Mon Apr 7 20:40:01 2025
    XPost: linux.debian.kernel

    On Sun, Apr 06, 2025 at 09:16:55PM +0200, Jean-Marc LACROIX wrote:
    It seems the this module is not available on standard Debian product

    ansible@hn-asusgl752-400:~$ find /lib/modules/6.1.0-* -name edac_module ansible@hn-asusgl752-400:~$

    The module would be named "edac_core", but it is built-in since 4.19.

    Bastian

    --
    Humans do claim a great deal for that particular emotion (love).
    -- Spock, "The Lights of Zetar", stardate 5725.6

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)