All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-help] Validating installation of Xenomai
@ 2010-09-02  9:36 C Robinson
  0 siblings, 0 replies; 4+ messages in thread
From: C Robinson @ 2010-09-02  9:36 UTC (permalink / raw)
  To: xenomai

To provide some further info, I tried the command make in the examples directory:

sudo make XENO=/home/charles/xenomai-2.5.4/

which did many things, but eventually gave the following errors:
----------------------------------------------------------------------------------------------------------------------------
xddp-echo.c: In function ‘realtime_thread’:
xddp-echo.c:115: error: ‘SOL_XDDP’ undeclared (first use in this function)
xddp-echo.c:115: error: (Each undeclared identifier is reported only once
xddp-echo.c:115: error: for each function it appears in.)
xddp-echo.c:115: error: ‘XDDP_POOLSZ’ undeclared (first use in this function)
make[1]: *** [xddp-echo] Error 1
---------------------------------------------------------------------------------------------------------------------------

and shortly afterwards ended with:

make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/xenomai_egs/xenomai-head/examples/posix'


Charles


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

* Re: [Xenomai-help] Validating installation of Xenomai
  2010-09-02  8:50 ` Gilles Chanteperdrix
@ 2010-09-02 12:31   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2010-09-02 12:31 UTC (permalink / raw)
  To: C Robinson; +Cc: xenomai

Gilles Chanteperdrix wrote:
> C Robinson wrote:
>> Hello,
>>
>> I followed the suggested install procedure to setup a Xenomai kernel on my x86 Ubuntu system.  
>> (http://www.xenomai.org/index.php/Building_Debian_packages)  
>> I would like to verify that everything is hunky-dory, but I'm not quite sure how.   I have read in some places that "user space" needs to be set up, although this is not mentioned in the reference I followed.   Is this still necessary?
>>
>> The command:
>> 	dmesg | grep Xenomai
>> Shows:	
>> -------------------------------------------------------------------------------------------------------------
>> 	[    0.659903] I-pipe: Domain Xenomai registered.
>> 	[    0.659928] Xenomai: hal/i386 started.
>> 	[    0.659942] Xenomai: scheduling class idle registered.
>> 	[    0.659944] Xenomai: scheduling class rt registered.
>> 	[    0.660450] Xenomai: real-time nucleus v2.5.4 (Sleep Walk) loaded.
>> 	[    0.660570] Xenomai: starting native API services.
>> 	[    0.660572] Xenomai: starting POSIX services.
>> 	[    0.660599] Xenomai: starting RTDM services.
>> -------------------------------------------------------------------------------------------------------------
>>
>> The command: 
>> 	xeno-test
>> Is not quite so promising (there was more of the same text above and below the output shown below):
> 
> We get that a lot. Fixing xeno-test is on our todo list, but not just
> for right now.
> In the mean-time, you can run the tests one by one.
> 
> The following paper:
> http://download.intel.com/design/intarch/papers/322386.pdf
> 
> Is not really up to date with regard to kernel configuration, but gives
> an overview of our testsuite.

Actually, the tests descriptions are the ones from the manual pages
which should have been installed with xenomai.

-- 
					    Gilles.


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

* Re: [Xenomai-help] Validating installation of Xenomai
  2010-09-02  8:23 C Robinson
@ 2010-09-02  8:50 ` Gilles Chanteperdrix
  2010-09-02 12:31   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2010-09-02  8:50 UTC (permalink / raw)
  To: C Robinson; +Cc: xenomai

C Robinson wrote:
> Hello,
> 
> I followed the suggested install procedure to setup a Xenomai kernel on my x86 Ubuntu system.  
> (http://www.xenomai.org/index.php/Building_Debian_packages)  
> I would like to verify that everything is hunky-dory, but I'm not quite sure how.   I have read in some places that "user space" needs to be set up, although this is not mentioned in the reference I followed.   Is this still necessary?
> 
> The command:
> 	dmesg | grep Xenomai
> Shows:	
> -------------------------------------------------------------------------------------------------------------
> 	[    0.659903] I-pipe: Domain Xenomai registered.
> 	[    0.659928] Xenomai: hal/i386 started.
> 	[    0.659942] Xenomai: scheduling class idle registered.
> 	[    0.659944] Xenomai: scheduling class rt registered.
> 	[    0.660450] Xenomai: real-time nucleus v2.5.4 (Sleep Walk) loaded.
> 	[    0.660570] Xenomai: starting native API services.
> 	[    0.660572] Xenomai: starting POSIX services.
> 	[    0.660599] Xenomai: starting RTDM services.
> -------------------------------------------------------------------------------------------------------------
> 
> The command: 
> 	xeno-test
> Is not quite so promising (there was more of the same text above and below the output shown below):

We get that a lot. Fixing xeno-test is on our todo list, but not just
for right now.
In the mean-time, you can run the tests one by one.

The following paper:
http://download.intel.com/design/intarch/papers/322386.pdf

Is not really up to date with regard to kernel configuration, but gives
an overview of our testsuite.


> I am also attempting to follow the instructions to set up the examples (http://www.xenomai.org/index.php/Examples).    I extracted the examples to:
> /usr/xenomai_egs/xenomai-head/examples/
> so this would be the directory I would use for the first step. (Although I notice that I also have something at /usr/share/xenomai/testsuite/unit/)  
> 
> The second step, I come across the reference to 'user space', the step being:
> 
> make XENO=<xenomai-installation-path> KSRC=<xenomai-kernel-source>
> 
> I do not need a second argument (since I am in the patched kernel)
> but the first argument is the user space directory.	
> So my next question is to check if the user space (i.e. the XENO variable) refers to the directory /home/<user name>/xenomai-2.5.4 and if so, is it ok to use my default user name? 

I am not really familiar with these examples, I will let other people
answer.

-- 
					    Gilles.


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

* [Xenomai-help] Validating installation of Xenomai
@ 2010-09-02  8:23 C Robinson
  2010-09-02  8:50 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: C Robinson @ 2010-09-02  8:23 UTC (permalink / raw)
  To: xenomai

Hello,

I followed the suggested install procedure to setup a Xenomai kernel on my x86 Ubuntu system.  
(http://www.xenomai.org/index.php/Building_Debian_packages)  
I would like to verify that everything is hunky-dory, but I'm not quite sure how.   I have read in some places that "user space" needs to be set up, although this is not mentioned in the reference I followed.   Is this still necessary?

The command:
	dmesg | grep Xenomai
Shows:	
-------------------------------------------------------------------------------------------------------------
	[    0.659903] I-pipe: Domain Xenomai registered.
	[    0.659928] Xenomai: hal/i386 started.
	[    0.659942] Xenomai: scheduling class idle registered.
	[    0.659944] Xenomai: scheduling class rt registered.
	[    0.660450] Xenomai: real-time nucleus v2.5.4 (Sleep Walk) loaded.
	[    0.660570] Xenomai: starting native API services.
	[    0.660572] Xenomai: starting POSIX services.
	[    0.660599] Xenomai: starting RTDM services.
-------------------------------------------------------------------------------------------------------------

The command: 
	xeno-test
Is not quite so promising (there was more of the same text above and below the output shown below):
-------------------------------------------------------------------------------------------------------------
2323:  A....
 2324:  A....
 2325:  A....
 2336:  G...V
 2337:  G...V
[Domain info]
id=0x00000000
priority=100

Thu Sep  2 09:40:44 CEST 2010
running: cat /proc/ipipe/Xenomai
       +----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)
       |+---- Sticky
       ||+--- Locked
       |||+-- Exclusive
       ||||+- Virtual
[IRQ]  |||||
 2313:  W....
 2316:  W..X.
 2317:  GS...
 2338:  W...V
[Domain info]
id=0x58454e4f
priority=topmost

Thu Sep  2 09:40:44 CEST 2010
running: cat /proc/ipipe/version
2.7-01

Thu Sep  2 09:40:44 CEST 2010
running: generate_loads 1
dd workload started, pids 1970 stored in /var/lock/xeno-test.1829.pids
 1970 pts/0    00:00:00 dd
something died a 1970 or
something died a 1970 or
-------------------------------------------------------------------------------------------------------------

I am also attempting to follow the instructions to set up the examples (http://www.xenomai.org/index.php/Examples).    I extracted the examples to:
/usr/xenomai_egs/xenomai-head/examples/
so this would be the directory I would use for the first step. (Although I notice that I also have something at /usr/share/xenomai/testsuite/unit/)  

The second step, I come across the reference to 'user space', the step being:

make XENO=<xenomai-installation-path> KSRC=<xenomai-kernel-source>

I do not need a second argument (since I am in the patched kernel)
but the first argument is the user space directory.	
So my next question is to check if the user space (i.e. the XENO variable) refers to the directory /home/<user name>/xenomai-2.5.4 and if so, is it ok to use my default user name? 

Many thanks,

Charles











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

end of thread, other threads:[~2010-09-02 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02  9:36 [Xenomai-help] Validating installation of Xenomai C Robinson
  -- strict thread matches above, loose matches on Subject: below --
2010-09-02  8:23 C Robinson
2010-09-02  8:50 ` Gilles Chanteperdrix
2010-09-02 12:31   ` 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.