<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Thanks Bjorn,</p>
<p><br>
</p>
<p><br>
</p>
<p>I installed it successfully and make it work.</p>
<p><br>
</p>
<p>However cairo seems pretty complicating.</p>
<p><br>
</p>
<p>I get following error which is really hard to debug.</p>
<p><br>
</p>
<p></p>
<div>Traceback (most recent call last):</div>
<div> File "/home/labros/myLitmus/ft_tools/st-draw", line 146, in <module></div>
<div> main()</div>
<div> File "/home/labros/myLitmus/ft_tools/st-draw", line 136, in main</div>
<div> sched_trace.draw.render(opts, trace)</div>
<div> File "/home/labros/myLitmus/ft_tools/sched_trace/draw.py", line 130, in render</div>
<div> pdf = cairo.PDFSurface(opts.output, width, height)</div>
<div>IOError: error while writing to output stream</div>
<div><br>
</div>
<br>
<p></p>
<p>Does anyone have any hint about this error?</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Lampros</p>
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> litmus-dev-bounces@lists.litmus-rt.org <litmus-dev-bounces@lists.litmus-rt.org> on behalf of litmus-dev-request@lists.litmus-rt.org <litmus-dev-request@lists.litmus-rt.org><br>
<b>Sent:</b> Sunday, January 1, 2017 11:00 AM<br>
<b>To:</b> litmus-dev@lists.litmus-rt.org<br>
<b>Subject:</b> litmus-dev Digest, Vol 59, Issue 1</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Send litmus-dev mailing list submissions to<br>
litmus-dev@lists.litmus-rt.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" id="LPlnk672384" previewremoved="true">
https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
litmus-dev-request@lists.litmus-rt.org<br>
<br>
You can reach the person managing the list at<br>
litmus-dev-owner@lists.litmus-rt.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of litmus-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Kernel Error (lambros bersentes)<br>
2. Re: Kernel Error (Meng Xu)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 31 Dec 2016 19:04:29 +0000<br>
From: lambros bersentes <lambrosbersentes118@hotmail.com><br>
To: "litmus-dev@lists.litmus-rt.org" <litmus-dev@lists.litmus-rt.org><br>
Subject: [LITMUS^RT] Kernel Error<br>
Message-ID:<br>
<VI1PR0901MB16131F5C2327FBE84FECBA51F46B0@VI1PR0901MB1613.eurprd09.prod.outlook.com><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi all,<br>
<br>
Thanks Bjorn for your reply.<br>
<br>
Well , i followed the instructions for installing the kernel first with following commands :<br>
<br>
1. make menuconfig<br>
2. make bzImage<br>
3. make modules<br>
<br>
What i find pretty peculiar is that after the installation of the modules i had to create manually following folders:<br>
/proc/litmus and /dev/litmus which i placed under liblitmus folder.<br>
<br>
My question is , am I supposed to do that or during the installation procedure these 2 folders should have been constructed automatically.<br>
<br>
? do have this file structure as you suggested in your email but i still get errors running some tools under liblitmus.<br>
<br>
Trying for example to run a task with the command rtspin 10 100 4 I get following error :<br>
<br>
init_kernel_iface: cannot open LITMUS^RT control page (No such file or directory)<br>
could not setup rt task params: Function not implemented<br>
<br>
My device has following kernel:<br>
<br>
uname --all<br>
<br>
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<br>
<br>
I installed all the folders (rt_linux, liblitmus , ft-tools) under Desktop.<br>
<br>
How can I use the tools under liblitmus and ft-tools without having these incompatibilities?<br>
<br>
Thanks in advance,<br>
Lampros<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20161231/03cab544/attachment-0001.html" id="LPlnk416817" previewremoved="true">http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20161231/03cab544/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 31 Dec 2016 14:28:27 -0500<br>
From: Meng Xu <xumengpanda@gmail.com><br>
To: litmus-dev@lists.litmus-rt.org<br>
Subject: Re: [LITMUS^RT] Kernel Error<br>
Message-ID:<br>
<CAENZ-+=Kyfi-wmprB7T=ZPR9nG0TbEWYcRip4FtXjbP+SM-uQA@mail.gmail.com><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Sat, Dec 31, 2016 at 2:04 PM, lambros bersentes<br>
<lambrosbersentes118@hotmail.com> wrote:<br>
> Hi all,<br>
><br>
> Thanks Bjorn for your reply.<br>
><br>
> Well , i followed the instructions for installing the kernel first with<br>
> following commands :<br>
><br>
> 1. make menuconfig<br>
> 2. make bzImage<br>
> 3. make modules<br>
<br>
You have to install the kernel by<br>
sudo make modules_install install<br>
<br>
You also need to boot into litmus.<br>
<br>
><br>
> What i find pretty peculiar is that after the installation of the modules i<br>
> had to create manually following folders:<br>
> /proc/litmus and /dev/litmus which i placed under liblitmus folder.<br>
<br>
This will be created if you boot in litmus.<br>
<br>
><br>
> My question is , am I supposed to do that or during the installation<br>
> procedure these 2 folders should have been constructed automatically.<br>
><br>
> ? do have this file structure as you suggested in your email but i still get<br>
> errors running some tools under liblitmus.<br>
><br>
> Trying for example to run a task with the command rtspin 10 100 4 I get<br>
> following error :<br>
><br>
> init_kernel_iface: cannot open LITMUS^RT control page (No such file or<br>
> directory)<br>
> could not setup rt task params: Function not implemented<br>
<br>
Two reasons:<br>
1) It's not booted in LITMUS<br>
2) You should run under root user or sudo privilege.<br>
<br>
><br>
> My device has following kernel:<br>
><br>
> uname --all<br>
><br>
> Linux labros-Qosmio-F60 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32<br>
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
This confirmed it's not running LITMUS kernel.<br>
<br>
<br>
><br>
> I installed all the folders (rt_linux, liblitmus , ft-tools) under Desktop.<br>
><br>
> How can I use the tools under liblitmus and ft-tools without having these<br>
> incompatibilities?<br>
<br>
Please check LITMUS's wiki about how to install the kernel.<br>
If you followed it step by step, you should be able to do it very easily.<br>
<br>
Best,<br>
<br>
Meng<br>
<br>
><br>
> Thanks in advance,<br>
> Lampros<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> litmus-dev mailing list<br>
> litmus-dev@lists.litmus-rt.org<br>
> <a href="https://lists.litmus-rt.org/listinfo/litmus-dev" id="LPlnk197035" previewremoved="true">
https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
><br>
<br>
<br>
<br>
-- <br>
-----------<br>
Meng Xu<br>
PhD Student in Computer and Information Science<br>
University of Pennsylvania<br>
<a href="http://www.cis.upenn.edu/~mengxu/" id="LPlnk524009" previewremoved="true">http://www.cis.upenn.edu/~mengxu/</a>
<div id="LPBorder_GT_14836093680500.8415784900599428" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14836093680410.004902460430442179" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14836093680450.2668083949566773" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14836093680450.9810403245907888"></div>
<div id="LPTitle_14836093680450.9263894302918365" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14836093680470.8040133854997653" href="http://www.cis.upenn.edu/~mengxu/" target="_blank" style="text-decoration: none;">Biography - University of Pennsylvania</a></div>
<div id="LPMetadata_14836093680470.4012529348792282" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
www.cis.upenn.edu</div>
<div id="LPDescription_14836093680490.4310804704764868" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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 ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
litmus-dev mailing list<br>
litmus-dev@lists.litmus-rt.org<br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" id="LPlnk706317" previewremoved="true">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
<br>
<br>
End of litmus-dev Digest, Vol 59, Issue 1<br>
*****************************************<br>
</div>
</span></font></div>
</div>
</body>
</html>