Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

make 6.2.0 compilable #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

victoryang00
Copy link

Default ubuntu 23.04 release's kernel 6.2.0-20-generic misses a lot of the symbol, the dmesg shows below.

[    1.446775] atlantic: no symbol version for module_layout
[    1.446835] atlantic: module verification failed: signature and/or required key missing - tainting kernel
[    1.446842] atlantic: disagrees about version of symbol __tracepoint_xdp_exception
[    1.446843] atlantic: Unknown symbol __tracepoint_xdp_exception (err -22)
[    1.446862] atlantic: Unknown symbol kmem_cache_alloc_trace (err -2)
[    1.446868] atlantic: Unknown symbol kmalloc_order_trace (err -2)
[    1.446882] atlantic: Unknown symbol del_timer_sync (err -2)
[    1.446886] atlantic: Unknown symbol macsec_pn_wrapped (err -2)
[    1.446889] atlantic: Unknown symbol cpu_number (err -2)
[    1.446890] atlantic: Unknown symbol __preempt_count (err -2)

I remove the symbol and add conditional compilation for macsec_context *ctx->prepare not exists in 6.2.0 and different function signature for macsec_pn_wrapped and aq_dash_pre_doit.

Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz>
@peci1
Copy link

peci1 commented Jul 2, 2024

This PR breaks build on older kernels. See victoryang00#1 for the fix. If @victoryang00 merges the PR, then this PR will also include the fix.

EDIT: The PR was merged.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants