Skip to content

Fix loading on kernels 4.x and older than 5.10 - #437

Merged
thiagoftsm merged 1 commit into
netdata:masterfrom
thiagoftsm:kernel_5_1_4_x
Nov 2, 2026
Merged

thiagoftsm merged 1 commit into
netdata:masterfrom
thiagoftsm:kernel_5_1_4_x

Conversation

@thiagoftsm

@thiagoftsm thiagoftsm commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor
Summary

A previous change affected loading in ancient kernels breaking wished compatibility. This PR fixes it

Test Plan
  1. Get binaries according to your C library from [this](ADD ACTIONS LINK HERE) link and extract them inside a directory, for example: ../artifacts.
    You can also get everything for glibc [here](UPLOAD FILE WITH ALL BINARIES TO SIMPLIFY REVIEWERS).

  2. Extract them running:

    $ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
    $ for i in `ls *.tar`; do tar -xf $i; rm $i* ; done
  3. Compile branch an run the following tests:

    # make clean; make tester
    # for i in `seq 0 3`; do ./tests/legacy_test --netdata-path ../artifacts --content --iteration 1 --pid $i --log-path file_c_pid$i.txt; done
    # for i in `seq 0 3`; do ./gotests/go_tester --netdata-path ../artifacts --content --iteration 1 --pid $i --log-path file_go_pid$i.txt; done
  4. Every test should ends with Success, unless you do not have a specific target (function) available.

Additional information

This PR was tested on:

Linux Distribution Environment Kernel Version
Slackware current Bare metal 7.2.8
Slackware current VM 6.18.34
Debian 13 VM 6.12.107
Alma 9 VM 5.14.0-607.57.1.el9_8
Slackware current VM 5.10.256
Alma 8 VM 4.18.0-553

@thiagoftsm
thiagoftsm merged commit d1ded5e into netdata:master Nov 2, 2026
55 checks passed
@thiagoftsm
thiagoftsm deleted the kernel_5_1_4_x branch November 2, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants