[SOLVED] Building 5.15 LTS kernel

Questions about other topics and general discussion about LMDE
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

[SOLVED] Building 5.15 LTS kernel

Post by jwiz »

After configuring & building a custom 5.15 LTS kernel (from kerneL.org) using oldconfig, I've come across some ELF header warnings in syslog which seem to point nowhere:

Code: Select all

kernel: [    2.536037] Invalid ELF header magic: != ELF
kernel: [    2.536676] Invalid ELF header magic: != ELF
kernel: [    2.599269] raid6: avx2x4   gen() 32608 MB/s
kernel: [    2.655932] raid6: avx2x4   xor() 14433 MB/s
kernel: [    2.712598] raid6: avx2x2   gen() 37625 MB/s
kernel: [    2.769268] raid6: avx2x2   xor() 23184 MB/s
kernel: [    2.825949] raid6: avx2x1   gen() 31959 MB/s
kernel: [    2.882598] raid6: avx2x1   xor() 18512 MB/s
kernel: [    2.939282] raid6: sse2x4   gen() 15424 MB/s
kernel: [    2.995935] raid6: sse2x4   xor()  9054 MB/s
kernel: [    3.052598] raid6: sse2x2   gen() 15846 MB/s
kernel: [    3.109264] raid6: sse2x2   xor()  9670 MB/s
kernel: [    3.165932] raid6: sse2x1   gen() 13237 MB/s
kernel: [    3.222599] raid6: sse2x1   xor()  6561 MB/s
kernel: [    3.222599] raid6: using algorithm avx2x2 gen() 37625 MB/s
kernel: [    3.222600] raid6: .... xor() 23184 MB/s, rmw enabled
kernel: [    3.222601] raid6: using avx2x2 recovery algorithm
kernel: [    3.222741] Invalid ELF header magic: != ELF
kernel: [    3.229159] Invalid ELF header magic: != ELF
kernel: [    3.229726] xor: automatically using best checksumming function   avx       
kernel: [    3.229868] Invalid ELF header magic: != ELF
kernel: [    3.294238] Btrfs loaded, crc32c=crc32c-intel, zoned=yes, fsverity=yes
I'm a bit at a loss what to make of them, as I have build custom kernels on Debian 10/11 systems before and never run into these.
Any ideas how to further investigate?
Last edited by LockBot on Sat Mar 18, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AscLinux
Level 4
Level 4
Posts: 477
Joined: Sat Oct 29, 2016 3:32 pm
Location: Acadiana
Contact:

Re: Building 5.15 LTS kernel

Post by AscLinux »

Boot with previous kernel to confirm it is kernel related.
I'd suspect filesystem corruption, have you checked it.
Master Foo Discourses on GUI.
First Linux 1997. Last Windows 2004.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: Building 5.15 LTS kernel

Post by jwiz »

It is definitvly kernel related as I don't get the ELF warnings with the standard LMDE 5.10 kernel.
I'm just at a loss where to start looking.
jwiz
Level 4
Level 4
Posts: 347
Joined: Tue Dec 20, 2016 6:59 am

Re: [SOLVED] Building 5.15 LTS kernel

Post by jwiz »

After switching the loadable module compression mode from 'xz' back to 'none' the ELF header warnings disappeared.
Seems bugged to me.
Locked

Return to “Other Topics & Open Discussion”