Re: Version Magic Mismatch for Kernel Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1. aarch64 on an sd410
2. spidev & rtc_pm8xxx

spidev seems to work as expected despite the error.
rtc_pm8xxx doesn't perform all the expected functionality, but I don't
think that has anything to do with the version magic mismatch.

On Wed, Dec 14, 2022 at 5:49 PM Clark Williams <williams@xxxxxxxxxx> wrote:
>
> I've not seen this before. A couple of questions:
>
> 1. What arch are you building?
> 2. Which modules report version magic mis-match?
>
> Thanks,
> Clark
>
>
> On Wed, Dec 14, 2022 at 2:09 PM Brian Wrenn <dcbrianw@xxxxxxxxx> wrote:
>>
>> Hi, I've patched the Linux Kernel v5.15.7 with rt23 and used
>> menuconfig to select the fully preemptable kernel.  The boot process
>> for two modules reports an unexpected version magic.  It reads the
>> following:
>>
>> <module name>: version magic '<kernel version> SMP preempt mode_unload
>> <arch>' should be '<kernel version> SMP preemp_rt mod_unload <arch>
>>
>> This only happens for two modules, and I've built all the modules
>> under the same source tree with the same make command.  This warning
>> makes sense since I have indeed built and imaged my SOM with the
>> preempt kernel.  The command 'uname -v' returns, "SMP PREEMPT_RT
>> <date>".
>>
>> Even though I've never built this source tree without the PREEMPT_RT
>> patch, I've done a clean build to remove any doubt about obsolete
>> object files.  Can offer a hint as to what I need to change to get
>> those modules to build with the correct version magic?
>>
>> Thank you for any help,
>> Brian
>>



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux