[LITMUS^RT] Kernel Error

Meng Xu xumengpanda at gmail.com
Sat Dec 31 20:28:27 CET 2016


On Sat, Dec 31, 2016 at 2:04 PM, lambros bersentes
<lambrosbersentes118 at hotmail.com> wrote:
> Hi all,
>
> Thanks Bjorn for your reply.
>
> Well , i followed the instructions for installing the kernel first with
> following commands :
>
> 1. make menuconfig
> 2. make bzImage
> 3. make modules

You have to install the kernel by
sudo make modules_install install

You also need to boot into litmus.

>
> What i find pretty peculiar is that after the installation of the modules i
> had to create manually following folders:
> /proc/litmus and /dev/litmus which i placed under liblitmus folder.

This will be created if you boot in litmus.

>
> My question is , am I supposed to do that or during the installation
> procedure these 2 folders should have been constructed automatically.
>
> Ι do have this file structure as you suggested in your email but i still get
> errors running some tools under liblitmus.
>
> Trying for example to run a task with the command rtspin 10 100 4  I get
> following error :
>
> init_kernel_iface: cannot open LITMUS^RT control page (No such file or
> directory)
> could not setup rt task params: Function not implemented

Two reasons:
1) It's not booted in LITMUS
2) You should run under root user or sudo privilege.

>
> My device has following kernel:
>
> uname --all
>
> Linux labros-Qosmio-F60 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

This confirmed it's not running LITMUS kernel.


>
> I installed all the folders (rt_linux, liblitmus , ft-tools) under Desktop.
>
> How can I use the tools under liblitmus and ft-tools without having these
> incompatibilities?

Please check LITMUS's wiki about how to install the kernel.
If you followed it step by step, you should be able to do it very easily.

Best,

Meng

>
> Thanks in advance,
> Lampros
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> litmus-dev mailing list
> litmus-dev at lists.litmus-rt.org
> https://lists.litmus-rt.org/listinfo/litmus-dev
>



-- 
-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/




More information about the litmus-dev mailing list