All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai: /dev/rtheap is missing
@ 2014-09-27 13:01 Hasret Sarıyer
  2014-09-27 15:55 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 13:01 UTC (permalink / raw)
  To: Xenomai

I want to run small code with xenomai. I used this page to  compile kernel
and install xenomai.

http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/#comment-3379

I didn't change configuration options.When I run "sudo
./trivial-periodic",the output is Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254).

In this question, xenomai 2.6.0 was recommended -> .
http://www.xenomai.org/pipermail/xenomai/2011-October/024664.html

And I use xenomai 2.6.2.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-09-27 13:01 Hasret Sarıyer
@ 2014-09-27 15:55 ` Gilles Chanteperdrix
  2014-09-27 16:40   ` Hasret Sarıyer
  0 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 15:55 UTC (permalink / raw)
  To: Hasret Sarıyer, Xenomai

On 09/27/2014 03:01 PM, Hasret Sarıyer wrote:
> I want to run small code with xenomai. I used this page to  compile kernel
> and install xenomai.
> 
> http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/#comment-3379
> 
> I didn't change configuration options.When I run "sudo
> ./trivial-periodic",the output is Xenomai: /dev/rtheap is missing
> (chardev, major=10 minor=254).
> 
> In this question, xenomai 2.6.0 was recommended -> .
> http://www.xenomai.org/pipermail/xenomai/2011-October/024664.html

Please:
- use the latest stable version, that is Xenomai 2.6.4
- follow the installation instructions here:
http://xenomai.org/2014/06/building-debian-packages/


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-09-27 15:55 ` Gilles Chanteperdrix
@ 2014-09-27 16:40   ` Hasret Sarıyer
  2014-09-27 16:41     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Hasret Sarıyer @ 2014-09-27 16:40 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

My PC is Ubuntu 12.04. This tutorial is for debian. Some commands contain a
"debian" word.Should I replace "ubuntu"?

2014-09-27 18:55 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:

> On 09/27/2014 03:01 PM, Hasret Sarıyer wrote:
> > I want to run small code with xenomai. I used this page to  compile
> kernel
> > and install xenomai.
> >
> >
> http://www.stanley.gatech.edu/skelly/uncategorized/installing-xenomai-on-ubuntu-12-04/#comment-3379
> >
> > I didn't change configuration options.When I run "sudo
> > ./trivial-periodic",the output is Xenomai: /dev/rtheap is missing
> > (chardev, major=10 minor=254).
> >
> > In this question, xenomai 2.6.0 was recommended -> .
> > http://www.xenomai.org/pipermail/xenomai/2011-October/024664.html
>
> Please:
> - use the latest stable version, that is Xenomai 2.6.4
> - follow the installation instructions here:
> http://xenomai.org/2014/06/building-debian-packages/
>
>
> --
>                                                                 Gilles.
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-09-27 16:40   ` Hasret Sarıyer
@ 2014-09-27 16:41     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-27 16:41 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On 09/27/2014 06:40 PM, Hasret Sarıyer wrote:
> My PC is Ubuntu 12.04. This tutorial is for debian. Some commands contain a
> "debian" word.Should I replace "ubuntu"?

ubuntu is a derivative of debian. The debian instructions should work
just fine.

Please do not top-post.


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Xenomai] Xenomai: /dev/rtheap is missing
@ 2014-10-14  0:18 Hasret Sarıyer
  2014-10-14  2:31 ` Lennart Sorensen
  2014-10-14  4:50 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 10+ messages in thread
From: Hasret Sarıyer @ 2014-10-14  0:18 UTC (permalink / raw)
  To: Xenomai

I installed xenomai 2.6.4 and linux kernel 3.14.17 without any error using
below guide.

http://xenomai.org/2014/06/building-debian-packages/#Building_a_Xenomai_patched_Linux_kernel_package

Kernel Configuration :

* `Real-time sub-system`
   * ENABLE `Xenomai`
 * `Power management and ACPI options`
   * `ACPI (Advanced Configuration and Power Interface) Support`
     * DISABLE `Processor`
   * `CPU Frequency scaling`
     * DISABLE `CPU Frequency scaling`
 * `Processor Type and Features`
   * SET `Processor family`

Processor family is x86. "uname -a"'s command output is
"3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux"


After these steps, is the xenomai ready for use? When I run below code, the
output was there.

$/usr/share/libxenomai-dev/examples/native/
$sudo make
$sudo ./trivial-periodic

Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-10-14  0:18 [Xenomai] Xenomai: /dev/rtheap is missing Hasret Sarıyer
@ 2014-10-14  2:31 ` Lennart Sorensen
  2014-10-14  4:50 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 10+ messages in thread
From: Lennart Sorensen @ 2014-10-14  2:31 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On Tue, Oct 14, 2014 at 03:18:22AM +0300, Hasret Sarıyer wrote:
> I installed xenomai 2.6.4 and linux kernel 3.14.17 without any error using
> below guide.
> 
> http://xenomai.org/2014/06/building-debian-packages/#Building_a_Xenomai_patched_Linux_kernel_package
> 
> Kernel Configuration :
> 
> * `Real-time sub-system`
>    * ENABLE `Xenomai`
>  * `Power management and ACPI options`
>    * `ACPI (Advanced Configuration and Power Interface) Support`
>      * DISABLE `Processor`
>    * `CPU Frequency scaling`
>      * DISABLE `CPU Frequency scaling`
>  * `Processor Type and Features`
>    * SET `Processor family`
> 
> Processor family is x86. "uname -a"'s command output is
> "3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux"

You applied the 3.14.17 patch to a 3.16.0 kernel?  I would imagine a
lot of work to make that happen.

> After these steps, is the xenomai ready for use? When I run below code, the
> output was there.
> 
> $/usr/share/libxenomai-dev/examples/native/
> $sudo make
> $sudo ./trivial-periodic
> 
> Xenomai: /dev/rtheap is missing
> (chardev, major=10 minor=254)

Well either you are not running the xenomai enabled kernel at all,
or you made it a module and did not load the module yet.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-10-14  0:18 [Xenomai] Xenomai: /dev/rtheap is missing Hasret Sarıyer
  2014-10-14  2:31 ` Lennart Sorensen
@ 2014-10-14  4:50 ` Gilles Chanteperdrix
  2014-10-14  7:11   ` Hasret Sarıyer
  1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-10-14  4:50 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On Tue, Oct 14, 2014 at 03:18:22AM +0300, Hasret Sarıyer wrote:
> I installed xenomai 2.6.4 and linux kernel 3.14.17 without any error using
> below guide.
> 
> http://xenomai.org/2014/06/building-debian-packages/#Building_a_Xenomai_patched_Linux_kernel_package
> 
> Kernel Configuration :
> 
> * `Real-time sub-system`
>    * ENABLE `Xenomai`
>  * `Power management and ACPI options`
>    * `ACPI (Advanced Configuration and Power Interface) Support`
>      * DISABLE `Processor`
>    * `CPU Frequency scaling`
>      * DISABLE `CPU Frequency scaling`
>  * `Processor Type and Features`
>    * SET `Processor family`

There are other options to change. I already gave you the link to
the page with the list. Besides, the reliable way to refer to options
is by their name in the .config, the particular positions in the
menus changes over time, the config options names are stable.

> 
> Processor family is x86. "uname -a"'s command output is
> "3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux"

So, you patched a 3.14.17 kernel, uname tells you that you are
running a 3.16.0 kernel and you you need to send a mail to the
xenomai mailing list to ask what you did wrong. Seriously?

> 
> 
> After these steps, is the xenomai ready for use? When I run below code, the
> output was there.
> 
> $/usr/share/libxenomai-dev/examples/native/
> $sudo make
> $sudo ./trivial-periodic
> 
> Xenomai: /dev/rtheap is missing
> (chardev, major=10 minor=254)

As I already told you, and as is documented in the installation
instructions, the first program to run to check that Xenomai works
correctly is the latency test (but I guess you would get an error
with latency too, if not running on a Xenomai patched kernel).

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-10-14  4:50 ` Gilles Chanteperdrix
@ 2014-10-14  7:11   ` Hasret Sarıyer
  2014-10-14  7:49     ` Gilles Chanteperdrix
  2014-10-14  8:06     ` Jeroen Van den Keybus
  0 siblings, 2 replies; 10+ messages in thread
From: Hasret Sarıyer @ 2014-10-14  7:11 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai

2014-10-14 7:50 GMT+03:00 Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org>:

> On Tue, Oct 14, 2014 at 03:18:22AM +0300, Hasret Sarıyer wrote:
> > I installed xenomai 2.6.4 and linux kernel 3.14.17 without any error
> using
> > below guide.
> >
> >
> http://xenomai.org/2014/06/building-debian-packages/#Building_a_Xenomai_patched_Linux_kernel_package
> >
> > Kernel Configuration :
> >
> > * `Real-time sub-system`
> >    * ENABLE `Xenomai`
> >  * `Power management and ACPI options`
> >    * `ACPI (Advanced Configuration and Power Interface) Support`
> >      * DISABLE `Processor`
> >    * `CPU Frequency scaling`
> >      * DISABLE `CPU Frequency scaling`
> >  * `Processor Type and Features`
> >    * SET `Processor family`
>
> There are other options to change. I already gave you the link to
> the page with the list. Besides, the reliable way to refer to options
> is by their name in the .config, the particular positions in the
> menus changes over time, the config options names are stable.
>
> >
> > Processor family is x86. "uname -a"'s command output is
> > "3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014
> > x86_64 x86_64 x86_64 GNU/Linux"
>
> So, you patched a 3.14.17 kernel, uname tells you that you are
> running a 3.16.0 kernel and you you need to send a mail to the
> xenomai mailing list to ask what you did wrong. Seriously?
>
> >
> >
> > After these steps, is the xenomai ready for use? When I run below code,
> the
> > output was there.
> >
> > $/usr/share/libxenomai-dev/examples/native/
> > $sudo make
> > $sudo ./trivial-periodic
> >
> > Xenomai: /dev/rtheap is missing
> > (chardev, major=10 minor=254)
>
> As I already told you, and as is documented in the installation
> instructions, the first program to run to check that Xenomai works
> correctly is the latency test (but I guess you would get an error
> with latency too, if not running on a Xenomai patched kernel).
>
> --
>                                             Gilles.
>


There are below i-pipe verison under Xenomai 2.6.4 patches folder. So, I
installed kernel 3.14.17.

ipipe-core-3.10.32-x86-4.patch
ipipe-core-3.8.13-x86-4.patch
ipipe-core-3.14.17-x86-4.patch

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-10-14  7:11   ` Hasret Sarıyer
@ 2014-10-14  7:49     ` Gilles Chanteperdrix
  2014-10-14  8:06     ` Jeroen Van den Keybus
  1 sibling, 0 replies; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-10-14  7:49 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

On 10/14/2014 09:11 AM, Hasret Sarıyer wrote:
> 2014-10-14 7:50 GMT+03:00 Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org>:
> 
>> On Tue, Oct 14, 2014 at 03:18:22AM +0300, Hasret Sarıyer wrote:
>>> I installed xenomai 2.6.4 and linux kernel 3.14.17 without any error
>> using
>>> below guide.
>>>
>>>
>> http://xenomai.org/2014/06/building-debian-packages/#Building_a_Xenomai_patched_Linux_kernel_package
>>>
>>> Kernel Configuration :
>>>
>>> * `Real-time sub-system`
>>>    * ENABLE `Xenomai`
>>>  * `Power management and ACPI options`
>>>    * `ACPI (Advanced Configuration and Power Interface) Support`
>>>      * DISABLE `Processor`
>>>    * `CPU Frequency scaling`
>>>      * DISABLE `CPU Frequency scaling`
>>>  * `Processor Type and Features`
>>>    * SET `Processor family`
>>
>> There are other options to change. I already gave you the link to
>> the page with the list. Besides, the reliable way to refer to options
>> is by their name in the .config, the particular positions in the
>> menus changes over time, the config options names are stable.
>>
>>>
>>> Processor family is x86. "uname -a"'s command output is
>>> "3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014
>>> x86_64 x86_64 x86_64 GNU/Linux"
>>
>> So, you patched a 3.14.17 kernel, uname tells you that you are
>> running a 3.16.0 kernel and you you need to send a mail to the
>> xenomai mailing list to ask what you did wrong. Seriously?
>>
>>>
>>>
>>> After these steps, is the xenomai ready for use? When I run below code,
>> the
>>> output was there.
>>>
>>> $/usr/share/libxenomai-dev/examples/native/
>>> $sudo make
>>> $sudo ./trivial-periodic
>>>
>>> Xenomai: /dev/rtheap is missing
>>> (chardev, major=10 minor=254)
>>
>> As I already told you, and as is documented in the installation
>> instructions, the first program to run to check that Xenomai works
>> correctly is the latency test (but I guess you would get an error
>> with latency too, if not running on a Xenomai patched kernel).
>>
>> --
>>                                             Gilles.
>>
> 
> 
> There are below i-pipe verison under Xenomai 2.6.4 patches folder. So, I
> installed kernel 3.14.17.
> 
> ipipe-core-3.10.32-x86-4.patch
> ipipe-core-3.8.13-x86-4.patch
> ipipe-core-3.14.17-x86-4.patch
> 

Ok. I am done helping you. You will no longer receive any answer from me.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Xenomai: /dev/rtheap is missing
  2014-10-14  7:11   ` Hasret Sarıyer
  2014-10-14  7:49     ` Gilles Chanteperdrix
@ 2014-10-14  8:06     ` Jeroen Van den Keybus
  1 sibling, 0 replies; 10+ messages in thread
From: Jeroen Van den Keybus @ 2014-10-14  8:06 UTC (permalink / raw)
  To: Hasret Sarıyer; +Cc: Xenomai

> There are below i-pipe verison under Xenomai 2.6.4 patches folder. So, I
> installed kernel 3.14.17.
>
> ipipe-core-3.10.32-x86-4.patch
> ipipe-core-3.8.13-x86-4.patch
> ipipe-core-3.14.17-x86-4.patch
>


The point the previous posters are trying to make is that you did _*build_*
the 3.14 kernel, but you apparently aren't _*running_* it (which is what
'uname' tells you, BTW the build date is there as well, Aug. 3, a dead
giveaway). You are just rebooting into your original 3.16 kernel which has
no Xenomai support of course.

If you can't spot this right away, I'm afraid you may not be ready for this
yet and I would advise you to get acquainted with building a Linux kernel
from kernel.org first (and selecting that kernel to boot) before even
attempting to patch it.

Most importantly, by 'getting acquainted' I mean that you should thoroughly
understand what you are doing and not just follow steps from an online
guide.


J.

_______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-10-14  8:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14  0:18 [Xenomai] Xenomai: /dev/rtheap is missing Hasret Sarıyer
2014-10-14  2:31 ` Lennart Sorensen
2014-10-14  4:50 ` Gilles Chanteperdrix
2014-10-14  7:11   ` Hasret Sarıyer
2014-10-14  7:49     ` Gilles Chanteperdrix
2014-10-14  8:06     ` Jeroen Van den Keybus
  -- strict thread matches above, loose matches on Subject: below --
2014-09-27 13:01 Hasret Sarıyer
2014-09-27 15:55 ` Gilles Chanteperdrix
2014-09-27 16:40   ` Hasret Sarıyer
2014-09-27 16:41     ` Gilles Chanteperdrix

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.