Skip to contentSkip to conversation

old version's bug

Xenomai-help Racconico Lambrati 3 participants 6 messages Aug 20, 2007 – Aug 21, 2007

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm working with fusion 0.9.1 but now I found a bug... in vxworks skin, when I spawn a task from another task all system crushes.

I want to know if in xenomai this problem was resolved or I must trash my old program and rewrite it under the native api...

thanks, Racconico

#1 lore raw
Quoted 9 lines · Racconico Lambrati

Hi all.

I'm working with fusion 0.9.1 but now I found a bug... in vxworks skin, when I spawn a task from another task all system crushes.

I want to know if in xenomai this problem was resolved or I must trash my old program and rewrite it under the native api...

thanks, Racconico

Try a more recent Xenomai release, if you still observe the bug, we will try and find a fix.

Signature · 1 line
					    Gilles Chanteperdrix.
#2 lore raw

Because I'm having some problem with the compilation for a xenomai's kernel (why don't you create a .conf for a standard kernel, or make a live distro with xen?) I have take the decision to port my program under native API.

I'm searching without succes the corrisponding for these vxworks function.

intLock, intUnLock, sysClkConnect and tickGet

thanks for the help

Racconico

2007/8/20, Gilles Chanteperdrix <[email protected]>:

Quoted 22 lines
Quoted 3 lines · Racconico Lambrati

Hi all.

I'm working with fusion 0.9.1 but now I found a bug... in vxworks skin,

when

Quoted 3 lines

I spawn a task from another task all system crushes.

I want to know if in xenomai this problem was resolved or I must trash

my

Quoted 3 lines

old program and rewrite it under the native api...

thanks, Racconico

Try a more recent Xenomai release, if you still observe the bug, we will try and find a fix.

--

Gilles Chanteperdrix.

#3 lore raw
Quoted 1 line · Racconico Lambrati

Because I'm having some problem with the compilation for a xenomai's kernel

If you have some problems getting a configuration that works, I suggest you first try to compile a kernel for your machine, not patched with Adeos/Xenomai, then once you have the configuration that works, run prepare-kernel.sh, run make oldconfig to reuse the same configuration, and configure the Xenomai support.

Note that a lot of things evolved since fusion 0.9.1. Most notably, the vxworks skin got a real user-space system call interface, which should work better than the UVM based interface. So, I strongly recommend you to move to a recent release.

Quoted 2 lines

(why don't you create a .conf for a standard kernel, or make a live distro with xen?)

There used to be a live-cd, but the build system changed, and nobody volunteered to make a live-cd for the new build system. So, it is a simple matter of human ressources. As for a .config for a standard kernel, it would change for every kernel release, but if you want one, you can use the one of the distribution you use.

Quoted 1 line

I have take the decision to port my program under native API.

It may be a good idea, but I would go for it with a working vxworks emulator so as to be able to port gradually the program.

Quoted 4 lines

I'm searching without succes the corrisponding for these vxworks function.

intLock, intUnLock,

These ones have no equivalent. They are not even available in the user-space emulator, because there is no portable way to implement them in user-space.

Quoted 1 line

sysClkConnect

We should not have implemented this one in the first place. You can easily get rid of it by using timers.

A code where you need intLock, intUnlock or sysClkConnect really look like driver code, so I recommend porting this code to RTDM while porting your application to the native skin.

Quoted 1 line

and tickGet

rt_timer_read is the native equivalent to tickGet.

Signature · 1 line
                                               Gilles Chanteperdrix
#4 lore raw
Quoted 6 lines · Gilles Chanteperdrix
Quoted 2 lines · Racconico Lambrati

(why don't you create a .conf for a standard kernel, or make a live distro with xen?)

There used to be a live-cd, but the build system changed, and nobody volunteered to make a live-cd for the new build system.

Currently have a Live CD under test incorporating RTnet running on top of a patched Xenomai kernel - When time allows, I'll update it with a 2.4.0-rcX (or wait for a final 2.4.0 release).
As this is built from Debian packages, the kernel and Xenomai debs will also be available for both AMD64 and i386.

Regards, Paul.

#5 lore raw

2007/8/21, Paul <[email protected]>:

Quoted 18 lines · Gilles Chanteperdrix
Quoted 6 lines · Racconico Lambrati
Quoted 2 lines

(why don't you create a .conf for a standard kernel, or make a live distro with xen?)

There used to be a live-cd, but the build system changed, and nobody volunteered to make a live-cd for the new build system.

Currently have a Live CD under test incorporating RTnet running on top of a
patched Xenomai kernel - When time allows, I'll update it with a 2.4.0-rcX (or wait for a final 2.4.0 release).
As this is built from Debian packages, the kernel and Xenomai debs will also
be available for both AMD64 and i386.

Quoted 1 line

Regards, Paul.

thank you Gilles for your complete explanation...

Can you keep me informated about your liveCD Paul?

Racconico