Skip to contentSkip to conversation

Installing Xenomai Newbie

Xenomai Sebastián Pavez 3 participants 17 messages Oct 16, 2012 – Oct 19, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black and the computer doesn't respond, so I have to execute it with the recuperation mode. In this case I'm able to execute the test for the kernel and latency wich are ok, but the system seems unstable (the cursor sometimes disappear for instance), and I couldnt execute Xenomai, I receive a message of "premission denied". So, I'll appreciate if someone could give me a hand with the starting problem and the execution too. I was considering to do all the process again from the scratch but i don't know how to erase all the changes I have made in my computer.
Thanks for your time, and for your help.

PS: I utilise this configuration http://www.blaess.fr/christophe/files/article-2012-05-02/config-linux-2.6.38.8-xenomai according to this tutorial http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

#1 lore raw
Quoted 7 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Signature · 1 line
                                                                Gilles.
#2 lore raw
Quoted 10 lines · Gilles Chanteperdrix
Quoted 7 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Quoted 6 lines

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel with xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem.
In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot at 2012-10-17 20_46_28.png
Type: image/png
Size: 149983 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121017/1ce6e79e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot at 2012-10-17 20_54_53.png
Type: image/png
Size: 154646 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121017/1ce6e79e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot at 2012-10-17 20_55_41.png
Type: image/png
Size: 133258 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121017/1ce6e79e/attachment-0002.png>

#3 lore raw
Quoted 32 lines · Sebastián Pavez
Quoted 10 lines · Gilles Chanteperdrix
Quoted 7 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Quoted 6 lines

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel with xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

Quoted 2 lines

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Your problem is configuring the kernel. So, please start with the Ubuntu kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest you read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Signature · 1 line
                                                                Gilles.
#4 lore raw
Quoted 36 lines · Gilles Chanteperdrix
Quoted 31 lines · Sebastián Pavez
Quoted 9 lines · Gilles Chanteperdrix
Quoted 7 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Quoted 6 lines

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel with xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

Quoted 2 lines

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Quoted 9 lines

Your problem is configuring the kernel. So, please start with the Ubuntu kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest you read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption Model i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/ . So tomorrow I will try to do this on my own with newer versions of the kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Thank you very much for your help and please don't give up with me :) Best Regards.
<http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.8.tar.bz2>

#5 lore raw
Quoted 48 lines · Sebastián Pavez
Quoted 36 lines · Gilles Chanteperdrix
Quoted 31 lines · Sebastián Pavez
Quoted 9 lines · Gilles Chanteperdrix
Quoted 7 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Quoted 6 lines

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel with xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

Quoted 2 lines

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Quoted 9 lines

Your problem is configuring the kernel. So, please start with the Ubuntu kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest you read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

Quoted 7 lines

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption Model i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 9 lines

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial
http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/
. So tomorrow I will try to do this on my own with newer versions of the kernel and probably with xenomai 2.6.1.

Quoted 7 lines

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Well, simply attach the .config file...

Signature · 1 line
                                                                Gilles.
#6 lore raw

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 81 lines · Sebastián Pavez
Quoted 20 lines · Gilles Chanteperdrix
Quoted 18 lines · Sebastián Pavez
Quoted 17 lines · Gilles Chanteperdrix
Quoted 15 lines · Sebastián Pavez
Quoted 8 lines

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel

with

Quoted 24 lines
Quoted 13 lines
Quoted 10 lines

xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

Quoted 2 lines

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Quoted 9 lines

Your problem is configuring the kernel. So, please start with the Ubuntu kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest you read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

Quoted 7 lines

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption Model i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 6 lines

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial

http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

Quoted 10 lines

. So tomorrow I will try to do this on my own with newer versions of the kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Quoted 6 lines

Well, simply attach the .config file...

--
Gilles.

Well, I did it again disabling the KGDB and the results are the same.
I attach the .config file like you suggested.
Thanks again
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-2.6.38.8-xenomai
Type: application/octet-stream
Size: 137566 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121019/5eb6efe4/attachment.obj>

#7 lore raw
Quoted 85 lines · Sebastian Pavez

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 83 lines · Sebastián Pavez
Quoted 20 lines · Gilles Chanteperdrix
Quoted 18 lines · Sebastián Pavez
Quoted 17 lines · Gilles Chanteperdrix
Quoted 15 lines · Sebastián Pavez
Quoted 8 lines

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that you have all the drivers necessary for the your system to boot, including:
- video display driver
- root file system device driver
- root file system driver

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hi,

I tried to everything from scratch, but i get the same problem. I tried remove the quiet splash and I could see the line
"Fallback graphics default" well, this is when I execute the kernel

with

Quoted 24 lines
Quoted 13 lines
Quoted 10 lines

xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used linux before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

Quoted 2 lines

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Quoted 9 lines

Your problem is configuring the kernel. So, please start with the Ubuntu kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest you read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

Quoted 7 lines

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption Model i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 6 lines

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial

http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

Quoted 10 lines

. So tomorrow I will try to do this on my own with newer versions of the kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Well, simply attach the .config file...

Quoted 7 lines
Quoted 4 lines

--
Gilles.

Well, I did it again disabling the KGDB and the results are the same. I attach the .config file like you suggested.
Thanks again

Does the same configuration work with CONFIG_XENOMAI and CONFIG_IPIPE disabled?

Signature · 1 line
					    Gilles.
#8 lore raw

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 105 lines · Sebastian Pavez
Quoted 13 lines

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 11 lines · Sebastián Pavez
Quoted 10 lines · Gilles Chanteperdrix
Quoted 8 lines · Sebastián Pavez
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Sebastián Pavez
Quoted 4 lines

Hi,

My name is Sebastian and I'm a chilean student from PUCV.

Currently I

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that

you

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

have all the drivers necessary for the your system to boot,

including:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I

tried

Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

remove the quiet splash and I could see the line "Fallback graphics default" well, this is when I execute the kernel

with

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used

linux

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Your problem is configuring the kernel. So, please start with the

Ubuntu

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest

you

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption

Model

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 1 line
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial

http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

Quoted 1 line
Quoted 1 line
Quoted 1 line

. So tomorrow I will try to do this on my own with newer versions of

the

Quoted 13 lines
Quoted 13 lines
Quoted 9 lines

kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Well, simply attach the .config file...

Quoted 7 lines
Quoted 4 lines

--
Gilles.

Well, I did it again disabling the KGDB and the results are the same. I attach the .config file like you suggested.
Thanks again

Quoted 6 lines

Does the same configuration work with CONFIG_XENOMAI and CONFIG_IPIPE disabled?

--
Gilles.

Thank you for your quick answer.
I disabled those options and I got an error. I attach the capture of that. -------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot at 2012-10-19 11:26:14.png
Type: image/png
Size: 504413 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121019/6ea15c86/attachment.png>

#9 lore raw
Quoted 110 lines · Sebastian Pavez

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 108 lines · Sebastian Pavez
Quoted 13 lines

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 11 lines · Sebastián Pavez
Quoted 10 lines · Gilles Chanteperdrix
Quoted 8 lines · Sebastián Pavez
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Sebastián Pavez
Quoted 4 lines

Hi,

My name is Sebastian and I'm a chilean student from PUCV.

Currently I

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that

you

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

have all the drivers necessary for the your system to boot,

including:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I

tried

Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

remove the quiet splash and I could see the line "Fallback graphics default" well, this is when I execute the kernel

with

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case I'm able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used

linux

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

before and I really need to get this operative, so if you or someone else could help me ... in plain language would be awesome ... Thanks in advance

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Your problem is configuring the kernel. So, please start with the

Ubuntu

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

If you do not know how to configure and compile a kernel, I suggest

you

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

I tried one more time from scratch. I used Xenomai 2.6.0 and the kernel Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption

Model

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 1 line
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

I got the same result (black screen with the sistem apparently working behind like I said), I realise that I didn't follow the recomendations mentioned in this page http://kernelnewbies.org/KernelBuild, because I tried to follow this tutorial

http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

Quoted 1 line
Quoted 1 line
Quoted 1 line

. So tomorrow I will try to do this on my own with newer versions of

the

Quoted 13 lines
Quoted 13 lines
Quoted 9 lines

kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the parameters to put it here but the only changes I made are the ones listed above. I have doubts with Preemptible Kernel option because it wasn't listed on the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Well, simply attach the .config file...

Quoted 7 lines
Quoted 4 lines

--
Gilles.

Well, I did it again disabling the KGDB and the results are the same. I attach the .config file like you suggested.
Thanks again

Does the same configuration work with CONFIG_XENOMAI and CONFIG_IPIPE disabled?

Quoted 7 lines
Quoted 3 lines

--
Gilles.

Thank you for your quick answer.
I disabled those options and I got an error. I attach the capture of that.

Ok, try compiling the kernel without running prepare-kernel.sh, but still with the same configuration.

Signature · 1 line
					    Gilles.
#10 lore raw

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 128 lines · Sebastian Pavez
Quoted 39 lines

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 37 lines · Sebastian Pavez
Quoted 13 lines

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 11 lines · Sebastián Pavez
Quoted 10 lines · Gilles Chanteperdrix
Quoted 8 lines · Sebastián Pavez
Quoted 7 lines · Gilles Chanteperdrix
Quoted 5 lines · Sebastián Pavez
Quoted 4 lines

Hi,

My name is Sebastian and I'm a chilean student from PUCV.

Currently I

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

execute ubuntu with the xenomai kernel the screen goes black

Please remove "quiet" from Linux command line, and make sure that

you

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

have all the drivers necessary for the your system to boot,

including:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

- video display driver
- root file system device driver
- root file system driver

Hi,

I tried to everything from scratch, but i get the same problem. I

tried

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

remove the quiet splash and I could see the line "Fallback graphics default" well, this is when I execute the kernel

with

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

xenomai in recovery mode. Because when I tried it in
a normal way I get the blacl screen with a twinkle, in this case

I'm

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

able to put my password and I heard the entry sound (with some distorsion), so like you said it maybe some driver's problem. In the recovery mode I checked the application drivers and nothing. Maybe it's something simple but I'm quite stuck, I've never used

linux

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

before and I really need to get this operative, so if you or

someone

Quoted 12 lines
Quoted 12 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

else could help me ... in plain language would be awesome ... Thanks in advance

PS: In the recovery mode I tried the xenomai tests, I attached the captures ...

Your problem is configuring the kernel. So, please start with the

Ubuntu

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

kernel configuration, and simply disable the problematic options described here:
http://www.xenomai.org/index.php/Configuring_x86_kernels

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

If you do not know how to configure and compile a kernel, I suggest

you

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

read some documentation on the web, such as:
http://kernelnewbies.org/KernelBuild

Thanks Gilles for your answers and time.

I tried one more time from scratch. I used Xenomai 2.6.0 and the

kernel

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Linux 2.6.38.8.
The only changes I made in the configuration are the suggested in the page you send me (_CPU_FREQ, _APM, _ACPI_PROCESSOR _INTEL_IDLE, _PCI_MSI), I also disable _CC_STACKPROTECTOR and in the Preemption

Model

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

i choose "Preemptible Kernel (Low-Latency Desktop)". I have a i3 processor so I choose the Core 2/newer Xeon's Processor family.

You forgot to disable KGDB.

Quoted 2 lines

I got the same result (black screen with the sistem apparently

working

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

behind like I said), I realise that I didn't follow the

recomendations

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

mentioned in this page http://kernelnewbies.org/KernelBuild,

because I

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

tried to follow this tutorial

http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

. So tomorrow I will try to do this on my own with newer versions of

the

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

kernel and probably with xenomai 2.6.1.

Before that I would like to know if the configuration parameters I choose are ok, I don't know how to get a list of all of the

parameters

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

to put it here but the only changes I made are the ones listed

above. I

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

have doubts with Preemptible Kernel option because it wasn't listed

on

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines

the page, so I really don't know what is the cause. If it's not a configuration issue, could be other causes to my problem?? ... I hope not, because at least it's delimited.

Well, simply attach the .config file...

--

Gilles.

Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

Well, I did it again disabling the KGDB and the results are the same. I attach the .config file like you suggested.
Thanks again

Does the same configuration work with CONFIG_XENOMAI and CONFIG_IPIPE disabled?

Quoted 6 lines
Quoted 3 lines

--
Gilles.

Thank you for your quick answer.
I disabled those options and I got an error. I attach the capture of

Quoted 9 lines

that.

Quoted 1 line

Ok, try compiling the kernel without running prepare-kernel.sh, but still with the same configuration.

--
Gilles.

I did that, but after rebooting and selecting the kernel occurs the same thing than before ... :(

#11 lore raw
Quoted 10 lines · Sebastian Pavez

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 6 lines

Ok, try compiling the kernel without running prepare-kernel.sh, but still with the same configuration.

--
Gilles.

I did that, but after rebooting and selecting the kernel occurs the same thing than before ... :(

So, the problem is not related to Xenomai, but a configuration issue of the Linux kernel for your particular hardware configuration. When you have find help for this issue at some other place, we can help you with Xenomai installation.

Signature · 1 line
					    Gilles.
#12 lore raw

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 12 lines · Sebastian Pavez
Quoted 10 lines

2012/10/19 Gilles Chanteperdrix <[email protected]>

Quoted 6 lines

Ok, try compiling the kernel without running prepare-kernel.sh, but still with the same configuration.

--
Gilles.

I did that, but after rebooting and selecting the kernel occurs the same thing than before ... :(

Quoted 8 lines

So, the problem is not related to Xenomai, but a configuration issue of the Linux kernel for your particular hardware configuration. When you have find help for this issue at some other place, we can help you with Xenomai installation.

--
Gilles.

Ok, thanks for your time. I'll do that and hopefully I'll come back with more questions related with working on xenomai and not about the installation.
Best regards

#13 lore raw
In reply to Sebastián Pavez

Xenomai 2.6.0 is installed on Fedora.

For Ubuntu we had to use another older version of Xenomai

Quoted 26 lines · Sebastián Pavez

Hi,

My name is Sebastian and I'm a chilean student from PUCV. Currently I have to develop a RT proyect, but the problem is that I dont have experience with Linux and a lot less with Xenomai. Nevertheless i arrived to install xenomai 2.6.0 on Ubuntu 12.04, but when I try to execute ubuntu with the xenomai kernel the screen goes black and the computer doesn't respond, so I have to execute it with the recuperation mode. In this case I'm able to execute the test for the kernel and latency wich are ok, but the system seems unstable (the cursor sometimes disappear for instance), and I couldnt execute Xenomai, I receive a message of "premission denied".
So, I'll appreciate if someone could give me a hand with the starting problem and the execution too. I was considering to do all the process again from the scratch but i don't know how to erase all the changes I have made in my computer.
Thanks for your time, and for your help.

PS: I utilise this configuration
http://www.blaess.fr/christophe/files/article-2012-05-02/config-linux-2.6.38.8-xenomai
according to this tutorial
http://www.blaess.fr/christophe/2011/12/28/xenomai-2-6-0-sur-ubuntu-11-10/

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

#14 lore raw
Quoted 3 lines · ali hagigat

Xenomai 2.6.0 is installed on Fedora.

For Ubuntu we had to use another older version of Xenomai

Xenomai is distribution agnostic, you should be able to run the latest version of Xenomai with any reasonably recent distribution. So, could you describe the particular problems you had running Xenomai on ubuntu?

Signature · 1 line
					    Gilles.
#15 lore raw

Dear Gilles,

My friend could not install it on Ubuntu. The reason was the script which Xenomai, 2.6.0, is built with is run on Fedora correctly.

Quoted 11 lines · Gilles Chanteperdrix
Quoted 3 lines · ali hagigat

Xenomai 2.6.0 is installed on Fedora.

For Ubuntu we had to use another older version of Xenomai

Xenomai is distribution agnostic, you should be able to run the latest version of Xenomai with any reasonably recent distribution. So, could you describe the particular problems you had running Xenomai on ubuntu?

--
Gilles.

#16 lore raw
Quoted 4 lines · ali hagigat

Dear Gilles,

My friend could not install it on Ubuntu. The reason was the script which Xenomai, 2.6.0, is built with is run on Fedora correctly.

Please post some concrete error messages, that we can help people debug. And you will see that we can install xenomai 2.6.1 on Ubuntu.

Signature · 1 line
					    Gilles.