All of lore.kernel.org
 help / color / mirror / Atom feed
From: Per Oberg <pero@wolfram.com>
To: Benji <miethben@b-tu.de>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: Xenomai RTnet - Kernel module not loading
Date: Tue, 25 Feb 2020 08:11:02 -0600 (CST)	[thread overview]
Message-ID: <1021522818.445580.1582639862351.JavaMail.zimbra@wolfram.com> (raw)
In-Reply-To: <2eb86315-dc9d-1096-14a7-c3bd2b32a668@b-tu.de>


----- Den 25 feb 2020, på kl 15:02, xenomai xenomai@xenomai.org skrev:

> Hello all,

> I'm a student working on a project comparing different real time OS
> approaches. Trying to get RTnet working on a Xenomai Cobalt kernel, but
> stuck on loading required kernel modules.

> System is running on Ubuntu 18.04 and uses following versions to build
> Xenomai kernel:

> Linux Kernel: 4.19.89
> IPIPE: 4.19.89
> Xenomai: 3.1

> Kernel is build as described in Xenomai wiki and configured with RTnet
> as kernel module.

> After installing xenomai kernel and checking the module, everything
> looks ok.

> > $ sudo modinfo /lib/modules/4.19.89/kernel/drivers/xenomai/net/stack/rtnet.ko
> > filename: /lib/modules/4.19.89/kernel/drivers/xenomai/net/stack/rtnet.ko
> > description: RTnet stack core
> > license: GPL
> > srcversion: E1B65CA6F28C7B08C111720
> > depends:
> > retpoline: Y
> > intree: Y
> > name: rtnet
> > vermagic: 4.19.89 SMP mod_unload
> > signat: PKCS#7
> > signer:
> > sig_key:
> > sig_hashalgo: md4
> > parm: stack_mgr_prio:Priority of the stack manager task (uint)
>> parm: socket_rtskbs:Default number of realtime socket buffers in socket pools
> > (uint)
> > parm: global_rtskbs:Number of realtime socket buffers in global pool (uint)
>> parm: device_rtskbs:Number of additional global realtime socket buffers per
> > network adapter (uint)

> But kernel module can't be loaded.

> > $ sudo insmod /lib/modules/4.19.89/kernel/drivers/xenomai/net/stack/rtnet.ko
>> insmod: ERROR: could not insert module
>> /lib/modules/4.19.89/kernel/drivers/xenomai/net/stack/rtnet.ko: Function not
> > implemented

> Has anybody a hint how to build/ load RTnet kernel module properly?

Can you load any other modules? Did you include "loadable module support" in your kernel config? 

If you do a simple "lsmod", does it say anything about other loaded modules ?


> Thanks
> Benji


Per Öberg 


  reply	other threads:[~2020-02-25 14:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 14:02 Xenomai RTnet - Kernel module not loading Benji
2020-02-25 14:11 ` Per Oberg [this message]
2020-02-25 14:24   ` Benji
2020-02-25 14:44     ` Per Oberg
2020-02-25 14:48       ` Per Oberg
2020-02-25 14:57         ` Benji
2020-02-25 15:06           ` Per Oberg
2020-02-25 15:15             ` Benji
2020-02-25 15:31               ` Per Oberg
2020-02-27 15:37                 ` Benji
2020-02-27 15:51                   ` Greg Gallagher
2020-02-27 18:51                     ` Benji
2020-02-27 18:55                       ` Jan Kiszka
2020-03-02 14:49                         ` Benji

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=1021522818.445580.1582639862351.JavaMail.zimbra@wolfram.com \
    --to=pero@wolfram.com \
    --cc=miethben@b-tu.de \
    --cc=xenomai@xenomai.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 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.