From: Krishna Chaitanya <chaitanya.mgit@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
mmarek@suse.cz, arnd@arndb.de
Subject: Re: Module versioning + Missing CRC in symvers + export tracepoints
Date: Tue, 4 May 2021 17:22:01 +0530 [thread overview]
Message-ID: <CABPxzY+USNoiFDO8VYtLzFDK-0+PU1wD8ah7KGPWGZ+uEStH-g@mail.gmail.com> (raw)
In-Reply-To: <CABPxzYKjxW+P_cMLmZgtQN7nbCB3zzksYQWpChC70tbVb6VJCA@mail.gmail.com>
On Tue, Apr 20, 2021 at 6:26 PM Krishna Chaitanya
<chaitanya.mgit@gmail.com> wrote:
>
> Hi,
>
> I am seeing an issue of no CRC being generated in the Module.symvers for a
> driver module even when CONFIG_MODVERSIONS Is enabled, this causes
> modpost warnings about missing versioning.
>
> The module in questions only exports tracepoint related symbols (as
> struct tracepoint is
> part of the module CRC), I have seen this with other modules also e.g.
> iwlwifi with CONFIG_MODVERSIONS.
>
> Though I am trying on 5.12.-rc2, also, seeing this issue with older kernels with
> CONFIG_MODVERSIONS enabled e.g. 4.15.0, Below are a couple of snippets
> to demonstrate the issue.
>
> modpost warnings
> ===============
>
> WARNING: modpost: EXPORT symbol "__tracepoint_iwlwifi_dev_ucode_event"
> [drivers/net/wireless/intel/iwlwifi//iwlwifi.ko] version generation
> failed, symbol will not be versioned.
> WARNING: modpost: EXPORT symbol "iwl_remove_notification"
> [drivers/net/wireless/intel/iwlwifi//iwlwifi.ko] version generation
> failed, symbol will not be versioned.
>
>
> Module.symvers (after modpost)
> ==============
> 0x00000000 iwl_remove_notification
> drivers/net/wireless/intel/iwlwifi//iwlwifi EXPORT_SYMBOL_GPL
> 0x00000000 __tracepoint_iwlwifi_dev_ucode_event
> drivers/net/wireless/intel/iwlwifi//iwlwifi EXPORT_SYMBOL
>
> Any ideas?
Adding people from this
https://patchwork.kernel.org/project/linux-kbuild/patch/CA+55aFxCKgTrh1gS-cMyhBa0QoLW2DL2+DYxOAcA-Bd15H15vg@mail.gmail.com/
thread to throw some light on non-asm version of the issue.
prev parent reply other threads:[~2021-05-04 11:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 12:56 Module versioning + Missing CRC in symvers + export tracepoints Krishna Chaitanya
2021-05-04 11:52 ` Krishna Chaitanya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABPxzY+USNoiFDO8VYtLzFDK-0+PU1wD8ah7KGPWGZ+uEStH-g@mail.gmail.com \
--to=chaitanya.mgit@gmail.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.