[LITMUS^RT] litmus-dev Digest, Vol 59, Issue 1
lambros bersentes
lambrosbersentes118 at hotmail.com
Thu Jan 5 10:43:04 CET 2017
Thanks Bjorn,
I installed it successfully and make it work.
However cairo seems pretty complicating.
I get following error which is really hard to debug.
Traceback (most recent call last):
File "/home/labros/myLitmus/ft_tools/st-draw", line 146, in <module>
main()
File "/home/labros/myLitmus/ft_tools/st-draw", line 136, in main
sched_trace.draw.render(opts, trace)
File "/home/labros/myLitmus/ft_tools/sched_trace/draw.py", line 130, in render
pdf = cairo.PDFSurface(opts.output, width, height)
IOError: error while writing to output stream
Does anyone have any hint about this error?
Thanks,
Lampros
________________________________
From: litmus-dev-bounces at lists.litmus-rt.org <litmus-dev-bounces at lists.litmus-rt.org> on behalf of litmus-dev-request at lists.litmus-rt.org <litmus-dev-request at lists.litmus-rt.org>
Sent: Sunday, January 1, 2017 11:00 AM
To: litmus-dev at lists.litmus-rt.org
Subject: litmus-dev Digest, Vol 59, Issue 1
Send litmus-dev mailing list submissions to
litmus-dev at lists.litmus-rt.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.litmus-rt.org/listinfo/litmus-dev
or, via email, send a message with subject or body 'help' to
litmus-dev-request at lists.litmus-rt.org
You can reach the person managing the list at
litmus-dev-owner at lists.litmus-rt.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of litmus-dev digest..."
Today's Topics:
1. Kernel Error (lambros bersentes)
2. Re: Kernel Error (Meng Xu)
----------------------------------------------------------------------
Message: 1
Date: Sat, 31 Dec 2016 19:04:29 +0000
From: lambros bersentes <lambrosbersentes118 at hotmail.com>
To: "litmus-dev at lists.litmus-rt.org" <litmus-dev at lists.litmus-rt.org>
Subject: [LITMUS^RT] Kernel Error
Message-ID:
<VI1PR0901MB16131F5C2327FBE84FECBA51F46B0 at VI1PR0901MB1613.eurprd09.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
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
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.
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
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
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?
Thanks in advance,
Lampros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20161231/03cab544/attachment-0001.html>
------------------------------
Message: 2
Date: Sat, 31 Dec 2016 14:28:27 -0500
From: Meng Xu <xumengpanda at gmail.com>
To: litmus-dev at lists.litmus-rt.org
Subject: Re: [LITMUS^RT] Kernel Error
Message-ID:
<CAENZ-+=Kyfi-wmprB7T=ZPR9nG0TbEWYcRip4FtXjbP+SM-uQA at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
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/
Biography - University of Pennsylvania<http://www.cis.upenn.edu/~mengxu/>
www.cis.upenn.edu
I received the Master of Scinece in Engineering in Computer and Information Science at University of Pennsylvania in May 2013 and the Bachelor in Software Engineering ...
------------------------------
_______________________________________________
litmus-dev mailing list
litmus-dev at lists.litmus-rt.org
https://lists.litmus-rt.org/listinfo/litmus-dev
End of litmus-dev Digest, Vol 59, Issue 1
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20170105/e5cf38d3/attachment.html>
More information about the litmus-dev
mailing list