Skip to contentSkip to conversation

Testing RTNet in Xenomai

Xenomai-help prakash srinivasan 3 participants 8 messages Jul 8, 2010 – Jul 9, 2010

lore
Share & tools
lore
#0 lore raw

Dear All,

I am new to Xenomai. But I am already using RTAI. I referred this page, http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing and tested RTNet in RTAI. Its working fine. However now I would like to test the same RTNet in Xenomai. According to the wiki page, i could not able to start the rtnet successfully. When I tried to start the rtnet, I am getting the segmentation fault error. The errors clearly shows that the dependent modules are not loaded.

Like RTAI dependent modules rtai_hal, rtai_lxrt, rtai_sem and rtai_rtdm, I did not loaded any modules in Xenomai. Even I never found any "modules" folder in my xenomai installation directory, /usr/xenomai/. I would like to know whether my xenomai is not properly installed or what are the other reasons rtnet is not started?. Kindly give me more about about from this wiki page, "If you have built the RTDM support of Xenomai into the kernel, nothing has to be done.". Do I no need to insert any modules?. Help me to resolve the above issues.

-Prakash

#1 lore raw
Quoted 12 lines · prakash srinivasan

Dear All,

I am new to Xenomai. But I am already using RTAI. I referred this page, http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing
and tested RTNet in RTAI. Its working fine. However now I would like to test the same RTNet in Xenomai. According to the wiki page, i could not able to start the rtnet successfully. When I tried to start the rtnet, I am getting the segmentation fault error. The errors clearly shows that the dependent modules are not loaded.

Quoted 9 lines

Like RTAI dependent modules rtai_hal, rtai_lxrt, rtai_sem and rtai_rtdm, I did not loaded any modules in Xenomai. Even I never found any "modules" folder in my xenomai installation directory, /usr/xenomai/. I would like to know whether my xenomai is not properly installed or what are the other reasons rtnet is not started?. Kindly give me more about about from this wiki page, "If you have built the RTDM support of Xenomai into the kernel, nothing has to be done.". Do I no need to insert any modules?. Help me to resolve the above issues.

To install Xenomai, please follow the installation instructions. You will find them in the README.INSTALL file in Xenomai sources distribution, or online:
http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 10 lines

To install Xenomai, please follow the installation instructions. You

will find them in the README.INSTALL file in Xenomai sources

Quoted 5 lines

distribution, or online:

http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

Dear Gilles,

Thanks for the info. I justed followed the document, http://download.intel.com/design/intarch/papers/322386.pdf Coz I am also testing in the same ARCH. I followed the steps. Everything was fine without any issues and tested the xenomai-2.4.6 as they mentioned in the doc.

But I have doubt that there is no modules created after it was installed successfully in /usr/xenomai/. I just like to know whether xenomai installation will create any "modules" folder in /usr/xenomai/ or not?. Like in RTAI mechanism(loading .ko modules one by one manually) is not necessary in xenomai?. Since I am new to xenomai, I found that I have zero .ko modules in my installation directory, /usr/xenomai. In other words I am not aware of Xenomai installed file structure. Do I need to load any modules to test RTNet in xenomai?.

-Prakash

#3 lore raw
Quoted 16 lines · prakash srinivasan
Quoted 8 lines

To install Xenomai, please follow the installation instructions. You

will find them in the README.INSTALL file in Xenomai sources

distribution, or online:

http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

Dear Gilles,
Thanks for the info. I justed followed the document,
http://download.intel.com/design/intarch/papers/322386.pdf Coz I am also testing in the same ARCH. I followed the steps. Everything was fine without any issues and tested the xenomai-2.4.6 as they mentioned in the doc.

Quoted 3 lines

But I have doubt that there is no modules created after it was installed successfully in /usr/xenomai/. I just like to know whether xenomai installation will create any "modules" folder in /usr/xenomai/ or not?.

You ask me a question.
I answer you: "read README.INSTALL".
You tell me: "I did not read README.INSTALL", then proceed to ask your question again.
Are you kidding me?

Signature · 1 line
					    Gilles.
#7 lore raw
In reply to prakash srinivasan
Quoted 18 lines · prakash srinivasan
Quoted 10 lines

To install Xenomai, please follow the installation instructions. You

will find them in the README.INSTALL file in Xenomai sources

Quoted 5 lines

distribution, or online:

http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

Quoted 5 lines

Dear Gilles,

Thanks for the info. I justed followed the document, http://download.intel.com/design/intarch/papers/322386.pdf Coz I am also testing in the same ARCH. I followed the steps. Everything was fine without any issues and tested the xenomai-2.4.6 as they mentioned in the doc.

But I have doubt that there is no modules created after it was installed successfully in /usr/xenomai/. I just like to know whether xenomai installation will create any "modules" folder in /usr/xenomai/ or not?. Like in RTAI mechanism(loading .ko modules one by one manually) is not necessary in xenomai?. Since I am new to xenomai, I found that I have zero .ko modules in my installation directory, /usr/xenomai. In other words I am not aware of Xenomai installed file structure. Do I need to load any modules to test RTNet in xenomai?.

Xenomai is integrated into the kernel tree and you have the option to link Xenomai interfaces and drivers statically or dynamically (as modules). So it depends on your kernel configuration. By default everything is compiled statically! You should see Xenomai related output when your system boots. Then, you just need to load the RTnet modules.

Wolfgang.

#4 lore raw
In reply to Gilles Chanteperdrix

On Thu, 08 Jul 2010 19:36:57 +0530 wrote

Quoted 84 lines
Quoted 64 lines · prakash srinivasan
Quoted 24 lines

To install Xenomai, please follow the installation instructions. You

will find them in the README.INSTALL file in Xenomai sources

distribution, or online:

Quoted 1 line

http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL

Dear Gilles,

Thanks for the info. I justed followed the document,

http://download.intel.com/design/intarch/papers/322386.pdf Coz I am also

testing in the same ARCH. I followed the steps. Everything was fine

without any issues and tested the xenomai-2.4.6 as they mentioned in the

doc.

But I have doubt that there is no modules created after it was installed

Quoted 5 lines

successfully in /usr/xenomai/. I just like to know whether xenomai

installation will create any "modules" folder in /usr/xenomai/ or not?.

Quoted 5 lines

You ask me a question.

I answer you: "read README.INSTALL".

Yes. But I am sure, it was irrelevant to my query.

Quoted 5 lines

You tell me: "I did not read README.INSTALL", then proceed to ask your

question again.

I never said, "I did not read README.INSTALL". I referred both of the files, the README.INSTALL and pdf file What I mentioned.

Quoted 1 line

Are you kidding me?

Never. I guess you are kidding me. But whatever it may be, We are not sitting here for kidding each others. May be you misread my queries or my words were not clear. If you think I am kidding you, I would like to apologies for that. I dont like to waste your valuable time. So dont take my topics seriously in future and kindly ignore my threads.

I got the expected info from wolfgang.

Thanks for your reply anyway.

-Prakash

#5 lore raw
Quoted 5 lines · prakash srinivasan
Quoted 1 line

I answer you: "read README.INSTALL".

Yes. But I am sure, it was irrelevant to my query.

And you are wrong. It answers exactly your question. It explains that the build was split in two, a user-space part and a kernel-space part, which is why, in particular, you will not get any module when compiling the user-space part. It also explains that you have the possibility to compile Xenomai support to be built-in the kernel, in which case you will not get any Xenomai modules at all. How is that irrelevant to your query.

Signature · 1 line
					    Gilles.
#6 lore raw

On Fri, 09 Jul 2010 13:32:15 +0530 wrote

Quoted 12 lines
Quoted 5 lines · prakash srinivasan
Quoted 1 line

I answer you: "read README.INSTALL".

Yes. But I am sure, it was irrelevant to my query.

Quoted 5 lines

And you are wrong. It answers exactly your question. It explains that

the build was split in two, a user-space part and a kernel-space part,

which is why, in particular, you will not get any module when >compiling the user-space part. It also explains that you have the >possibility to compile Xenomai support to be built-in the kernel, in >which case you will not get any Xenomai modules at all. How is that >irrelevant to your query.

Including me, most of the beginners are reading the README/INSTALL file first. But they are struggling at the begging coz of not clear about this documents. I referred both of the documentations. But I was not clear.

Now I got the clear idea about it. Thanks for the info.

-Prakash