rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Thanner <e580@thomasthanner.de>
To: rust-for-linux@vger.kernel.org
Subject: Re: Error building sample modules
Date: Wed, 26 May 2021 20:22:22 +0200	[thread overview]
Message-ID: <269315c9-56af-6914-2315-b1248519a737@thomasthanner.de> (raw)
In-Reply-To: <CANiq72keqzr2vraGSOcC4=Ew=Ax6ds_m7E3Gy2az3JLzmtcnsg@mail.gmail.com>

Hi Miguel,

yes, thanks, that worked.

Now I have two built-in rust modules. And two loadable modules.

I have to compare that to normal linux modules. The built-in 
rust_minimal doesn't show up in /sys/module. If I do insmod 
rust_minimal.ko then it shows up. I have to do that a bit more 
systematically with the four modules.

Thanks for the moment

Thomas


On 26.05.21 04:21, Miguel Ojeda wrote:
> On Tue, May 25, 2021 at 8:24 PM Thomas Thanner <e580@thomasthanner.de> 
> wrote:
>> ERROR: modpost: too long symbol
>> "_RNvXsp_NtCsbDqzXfLQacH_6kernel12module_paramjNtB5_11ModuleParam5value"
>> [samples/rust/rust_module_parameters.ko]
> Sven privately told me he recalls this being CONFIG_MODVERSIONS (thanks!).
>
> Thomas, can you try disabling:
>
> Enable loadable module support --->
> Module versioning support
>
> (Ref: https://github.com/Rust-for-Linux/linux/issues/59)
>
> Cheers,
> Miguel

  reply	other threads:[~2021-05-26 18:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25 17:46 Error building sample modules Thomas Thanner
2021-05-25 18:52 ` Miguel Ojeda
2021-05-26  2:21 ` Miguel Ojeda
2021-05-26 18:22   ` Thomas Thanner [this message]
2021-05-26 18:38     ` Greg KH

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=269315c9-56af-6914-2315-b1248519a737@thomasthanner.de \
    --to=e580@thomasthanner.de \
    --cc=rust-for-linux@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).