From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 25 Feb 2020 09:06:55 -0600 (CST) From: Per Oberg Message-ID: <1253430772.456171.1582643215737.JavaMail.zimbra@wolfram.com> In-Reply-To: <6a5fc541-8519-56d0-f4b4-c7e29f4b38f3@b-tu.de> References: <2eb86315-dc9d-1096-14a7-c3bd2b32a668@b-tu.de> <1021522818.445580.1582639862351.JavaMail.zimbra@wolfram.com> <984885226.450915.1582641841732.JavaMail.zimbra@wolfram.com> <1987057484.452222.1582642123490.JavaMail.zimbra@wolfram.com> <6a5fc541-8519-56d0-f4b4-c7e29f4b38f3@b-tu.de> Subject: Re: Xenomai RTnet - Kernel module not loading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benji Cc: xenomai ----- Den 25 feb 2020, p=C3=A5 kl 15:57, Benji miethben@b-tu.de skrev: > On 2/25/20 3:48 PM, Per Oberg wrote: > >> Then I would say that you have a mismatch between the versioning infor= mation in > >> your module and kernel build. Are they built together or separately? > >> Can you please provide information from "uname -a" and "cat /proc/vers= ion" ? > Yes, there are build together. > > $ uname -a >> Linux build-machine 4.19.89 #2 SMP Tue Feb 18 14:30:42 CET 2020 x86_64 x= 86_64 > > x86_64 GNU/Linux > > $ cat /proc/version >> Linux version 4.19.89 (benji@build-machine) (gcc version 7.4.0 (Ubuntu > > 7.4.0-1ubuntu1~18.04.1)) #2 SMP Tue Feb 18 14:30:42 CET 2020 > >>> Thanks > >>> Benji > >> Best regards > >> Per =C3=96berg >> Oh, and have you tried using "sudo modprobe rtnet". This command is a bi= t >> smarter and loads all the dependencies. (It looks in modules.dep that is > > generated by "depmod -a") >> If there are missing dependencies you should get a warning of you run "d= epmod > > -a" > Results are the same loading with 'modprobe' > > $ sudo modprobe rtnet > > modprobe: ERROR: could not insert 'rtnet': Function not implemented > > Per =C3=96berg Are you sure you are running on the cobalt/rt enabled kernel?=20 When running "dmesg | grep Xenomai" do you see something like=20 # [ 1.417024] [Xenomai] scheduling class idle registered. # [ 1.417025] [Xenomai] scheduling class rt registered. # [ 1.417045] [Xenomai] disabling automatic C1E state promotion on Intel= processor # [ 1.417055] [Xenomai] SMI-enabled chipset found, but SMI workaround di= sabled # [ 1.417088] I-pipe: head domain Xenomai registered. # [ 1.417704] [Xenomai] allowing access to group 1234 # [ 1.417726] [Xenomai] Cobalt v3.0.5 (Sisyphus's Boulder) [DEBUG] > Benji Regards Per =C3=96berg=20