Re: [Xenomai-help] xeno-test fail ????

2011-05-12 Thread Gilles Chanteperdrix
On 05/12/2011 10:50 PM, Tadele Shiferaw wrote: > > On May 12, 2011, at 10:42 PM, Gilles Chanteperdrix wrote: > >> On 05/12/2011 10:39 PM, Tadele Shiferaw wrote: >>> I dont understand what that means but I run xeno-test from >>> xenomai/bin and that was the ou

Re: [Xenomai-help] xeno-test fail ????

2011-05-12 Thread Gilles Chanteperdrix
On 05/12/2011 10:39 PM, Tadele Shiferaw wrote: > I dont understand what that means but I run xeno-test from > xenomai/bin and that was the output. I saw a previous discussion with > same problem and one suggestion was not to build the kernel with > CONFIG_ACPI all disabled rather only CONFIG_ACPI_P

Re: [Xenomai-help] xeno-test fail ????

2011-05-12 Thread Gilles Chanteperdrix
On 05/12/2011 08:40 PM, Tadele Shiferaw wrote: > After installing xenomai 2.5.6 with kernel linux 2.6.37 on my ibm laptop, I > perform xeno-test and i get the following output > > dd workload started, pids 2801 stored in /va r/lock/xeno-test.2659.pids > 2801 pts/000:00:00 dd > something d

Re: [Xenomai-help] IDDP/XDDP File/Socket descriptors with select/epoll

2011-05-12 Thread Gilles Chanteperdrix
On 05/12/2011 08:02 PM, Guvenc Gulce wrote: > Hi > The Xenomai IPC Mechanisms IDDP and XDDP use the Posix Socket API. > Is it possible to monitor the returned file/socket descriptors of IDDP/XDDP > sockets using the select/epoll mechanisms ? > > For example can we monitor the socket descriptors of

Re: [Xenomai-help] Fast-sync and auto-relaxed priority 0 threads

2011-05-12 Thread Gilles Chanteperdrix
On 05/12/2011 02:07 PM, Henri Roosen wrote: > Hi, > > We are using the auto-relax patches on top of the latest Xenomai 2.5.6 > release. This means our priority 0 task is in secondary domain most of > the time. > > We've seen a lot of domain switching and gatekeeper activity when this > task is ac

Re: [Xenomai-help] preferred uid?

2011-05-11 Thread Gilles Chanteperdrix
On 05/11/2011 05:31 PM, luxInteg wrote: > On Tuesday 10 May 2011 20:23:43 Gilles Chanteperdrix wrote: >> On 05/10/2011 07:23 PM, luxInteg wrote: >>> greetings >>> >>> I normally compile stuff as an ordinary user, but I noticed in this >>> area peo

Re: [Xenomai-help] message pipe message boundaries

2011-05-11 Thread Gilles Chanteperdrix
On 05/11/2011 12:48 PM, dietmar.schind...@manroland.com wrote: >> From: Philippe Gerum [mailto:r...@xenomai.org] >> Sent: Wednesday, May 11, 2011 11:21 AM >> ... >> Also, let's avoid constructs like these: >> >>> buf = iovec->iov_base, count = iovec++->iov_len; >> >> Disk spac

Re: [Xenomai-help] message pipe message boundaries

2011-05-11 Thread Gilles Chanteperdrix
On 05/09/2011 09:36 AM, dietmar.schind...@manroland.com wrote: >> From: Gilles Chanteperdrix >> [mailto:gilles.chanteperd...@xenomai.org] Sent: Thursday, May 05, >> 2011 10:15 AM ... You can provide the readv implementation, and >> implement read in terms of readv by passin

Re: [Xenomai-help] Is Xenomai Fully Functional for me(newbie) on Linux 2.6.37.6

2011-05-10 Thread Gilles Chanteperdrix
On 05/10/2011 02:38 PM, Sambasiva Rao Manchili wrote: > Hi Gilles, > After browing through Xenomai Help Server(Gna), I found my problem is > very close to the one of the users by name BONOS Antonis, who requested > for help on an issue"Installation problem" yesterday!!! > As I followed the pdf >

Re: [Xenomai-help] preferred uid?

2011-05-10 Thread Gilles Chanteperdrix
On 05/10/2011 07:23 PM, luxInteg wrote: > greetings > > I normally compile stuff as an ordinary user, but I noticed in this area > > people often compile as root as kernel modules are involved. I note > xenomai can be compiled either as user or root so is there a preferred way ? As

Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so

2011-05-09 Thread Gilles Chanteperdrix
On 05/09/2011 08:57 AM, Aurele Traynard wrote: > Hello > > it is activate... is it bad or is there a workaround > CONFIG_IWMMXT=y I am unable to find the exact post, but at some point in the past around august 2009, we commented out the code in Xenomai context switch, which takes care of IWMMXT.

Re: [Xenomai-help] share momory under RTAI-SKIN

2011-05-07 Thread Gilles Chanteperdrix
On 05/07/2011 02:08 PM, 陆小虎 wrote: > hello to everyone, is there anybody succees in using SHEM under the > RTAI-SKIN. i need to use the shared memory which were allocated in > the kernal space, but always get a NULL pointer. so would you please > give me some advise on the detail which i need to pa

Re: [Xenomai-help] Installation problem

2011-05-06 Thread Gilles Chanteperdrix
On 05/06/2011 05:18 PM, BONOS Antonis wrote: > Hello, > > I'm compiling a 2.6.35.9 kernel patched with xenomai 2.5.6, on a Core I7 > PC, and experiencing problems running xeno-test, and my own real time > programs. > > I attached the .config file I used for the kernel, the dmesg log, and > xeno-t

Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so

2011-05-06 Thread Gilles Chanteperdrix
On 05/06/2011 05:13 PM, Aurele Traynard wrote: > hello all, > > I have a problem whith user-space support : > I compile a program with makefile of Xenomai and when i want to use it this > apear : > > Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: > Assertion`nlist > 1' fail

Re: [Xenomai-help] message pipe message boundaries

2011-05-05 Thread Gilles Chanteperdrix
On 05/04/2011 04:34 PM, dietmar.schind...@manroland.com wrote: >> From: Gilles Chanteperdrix >> [mailto:gilles.chanteperd...@xenomai.org] Sent: Wednesday, May 04, >> 2011 8:41 AM >> >> What I suggest, is that you make a patch which removes the read >&g

Re: [Xenomai-help] reading/writing registers

2011-05-04 Thread Gilles Chanteperdrix
On 05/04/2011 10:59 AM, Aurele Traynard wrote: > 2011/5/4 Gilles Chanteperdrix > >> On 05/04/2011 09:11 AM, Aurele Traynard wrote: >>> Ok I will explain more things : >>> My software makes the system freezing, when my interrupt handler is >> called >&

Re: [Xenomai-help] reading/writing registers

2011-05-04 Thread Gilles Chanteperdrix
On 05/04/2011 09:11 AM, Aurele Traynard wrote: > Ok I will explain more things : > My software makes the system freezing, when my interrupt handler is called > for the first time I think that he is called again and again and again and > this never stops. And so this freeze the system > but I am not

Re: [Xenomai-help] message pipe message boundaries

2011-05-03 Thread Gilles Chanteperdrix
On 05/04/2011 08:36 AM, dietmar.schind...@manroland.com wrote: >> From: Gilles Chanteperdrix [mailto:gilles.chanteperd...@xenomai.org] >> Sent: Tuesday, May 03, 2011 7:36 PM >> ... >>>> On 05/03/2011 10:15 AM, dietmar.schind...@manroland.com wrote: >>>>

Re: [Xenomai-help] [Xenomai-core] xenomai.org downtime.

2011-05-03 Thread Gilles Chanteperdrix
On 05/03/2011 09:02 PM, Gilles Chanteperdrix wrote: > > Hi, > > the site web is down due to a failed upgrade. I am working to get it up > again as soon as possible. > > Sorry for the inconvenience. The site should be back. Please tell me if y

[Xenomai-help] xenomai.org downtime.

2011-05-03 Thread Gilles Chanteperdrix
Hi, the site web is down due to a failed upgrade. I am working to get it up again as soon as possible. Sorry for the inconvenience. -- Gilles. ___ Xenomai-help mailing list Xenomai-hel

Re: [Xenomai-help] Problem with the configuration of new system

2011-05-03 Thread Gilles Chanteperdrix
On 05/03/2011 07:45 PM, Franz Engel wrote: > Hello, > > I've a problem with my new system. I already patched the system with > adeos and also with the preperation skript of Xenomai. For the first > configuration I use a kernel-configuration where xenomai is disabled > and only ipipe is enabled. Ev

Re: [Xenomai-help] reading/writing registers

2011-05-03 Thread Gilles Chanteperdrix
On 05/03/2011 02:07 PM, Aurele Traynard wrote: > hello, > > I am writing a little test. I put all my RT things in a module : one ISR and > one RT task. > in init_module I call : > > drv->data.regs = ioremap(0x0400, 64*1024*1024); > drv->data.gpio = ioremap(0x40E0, 64*1024*1024); > this is

Re: [Xenomai-help] message pipe message boundaries

2011-05-03 Thread Gilles Chanteperdrix
On 05/03/2011 01:27 PM, dietmar.schind...@manroland.com wrote: >> From: xenomai-help-boun...@gna.org > [mailto:xenomai-help-boun...@gna.org] >> On Behalf Of Gilles Chanteperdrix >> Sent: Tuesday, May 03, 2011 1:01 PM >> >> On 05/03/2011 10:15 AM, diet

Re: [Xenomai-help] message pipe message boundaries

2011-05-03 Thread Gilles Chanteperdrix
On 05/03/2011 10:15 AM, dietmar.schind...@manroland.com wrote: >> From: xenomai-help-boun...@gna.org > [mailto:xenomai-help-boun...@gna.org] >> On Behalf Of dietmar.schind...@manroland.com >> Sent: Friday, April 29, 2011 8:31 AM >> Cc: xenomai-help@gna.org >> Subject: Re: [Xenomai-help] message pip

Re: [Xenomai-help] dlopen of libnative fails

2011-04-29 Thread Gilles Chanteperdrix
martin mangard wrote: > Hello, > > I installed xenomai Version 2.5.6 on a x86 machine. I use dlopen in > order to use the xenomai libraries. > > > hXenomai=dlopen("/usr/lib/libxenocalls-2.5.6.so",RTLD_NOW); > if(!hXenomai) > { > fprintf (stderr, "%s\n", dlerror()); >

Re: [Xenomai-help] rt_task_join() call hangs in shared lib destructor

2011-04-28 Thread Gilles Chanteperdrix
Mauro Salvini wrote: >> Gilles Chanteperdrix wrote: >>> Mauro Salvini wrote: >>>>> It looks like a typical pthread_join deadlock. The thread you >>>>> are joining is locked on a pthread mutex, that some other >>>>> thread (I would say, t

Re: [Xenomai-help] rt_task_join() call hangs in shared lib destructor

2011-04-28 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Mauro Salvini wrote: >>> It looks like a typical pthread_join deadlock. The thread you are >>> joining is locked on a pthread mutex, that some other thread (I >>> would say, the one calling pthread_join) has. It can not work. You &g

Re: [Xenomai-help] rt_task_join() call hangs in shared lib destructor

2011-04-28 Thread Gilles Chanteperdrix
Mauro Salvini wrote: > >> It looks like a typical pthread_join deadlock. The thread you are >> joining is locked on a pthread mutex, that some other thread (I >> would say, the one calling pthread_join) has. It can not work. You >> should not call pthread_join while holding a mutex. > > Yes, it

Re: [Xenomai-help] FW: rtdm_iomap_to_user() I-pipe error

2011-04-27 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Asier Tamayo wrote: >> Hello, >> >> Thanks for your help. >> >> I know my Xenomai version is quite out of date. However, as I'm using >> the ELinOS distribution (which already has its own patches), I find >> it really

Re: [Xenomai-help] rt_task_join() call hangs in shared lib destructor

2011-04-27 Thread Gilles Chanteperdrix
Mauro Salvini wrote: > Hi, > > as from mail subject, I have an issue with rt_task_join() when called into > shared object destructor. > > I run xenomai 2.5.5.2 IPipe patch 2.7-4 on x86 2.6.35.7 kernel, Ubuntu Lucid > 10.04.1. > I have a simple code attached to mail, where main program opens a

Re: [Xenomai-help] FW: rtdm_iomap_to_user() I-pipe error

2011-04-27 Thread Gilles Chanteperdrix
Asier Tamayo wrote: > Hello, > > Thanks for your help. > > I know my Xenomai version is quite out of date. However, as I'm using > the ELinOS distribution (which already has its own patches), I find > it really difficult to upgrade to Xenomai 2.4.10. Anyway, I can apply > changes to some files.

Re: [Xenomai-help] rt_task_join() call hangs in shared lib destructor

2011-04-26 Thread Gilles Chanteperdrix
Mauro Salvini wrote: > Hi, > > as from mail subject, I have an issue with rt_task_join() when called into > shared object destructor. > > I run xenomai 2.5.5.2 IPipe patch 2.7-4 on x86 2.6.35.7 kernel, Ubuntu Lucid > 10.04.1. Do you have the same issue with the latest version of the branch y

Re: [Xenomai-help] rt_task_join() small issue on not-joinable task

2011-04-26 Thread Gilles Chanteperdrix
Mauro Salvini wrote: >> Why would not it be correct? I mean, Linux threads are joinable by >> default, so, it is normal that rt_task_join succeeds. Now, we can >> implement a different behaviour, but for what reason? > > OK sorry, I wrongly think that rt_task_shadow() follows > rt_task_create()

Re: [Xenomai-help] FW: rtdm_iomap_to_user() I-pipe error

2011-04-26 Thread Gilles Chanteperdrix
Asier Tamayo wrote: > Hello again, > > When one doesn't get replies to his questions, it may be either > because: i) they are too obvious (RTFM), ii) too difficult, iii) > there is little information and it makes the checking in one's system > impossible, or iv) they haven't been correctly explain

Re: [Xenomai-help] FAQ, context switch latency

2011-04-25 Thread Gilles Chanteperdrix
Eric Eric wrote: > On Sat, Apr 23, 2011 at 5:41 PM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Eric Eric wrote: >>> Hello, I've asked a lot of questions here and gotten very prompt and >> helpful >>> responses, so I

Re: [Xenomai-help] Calling rt_task_shadow from a POSIX thread with --enable-dlopen-skins

2011-04-24 Thread Gilles Chanteperdrix
Simon Leonard wrote: > I have code based on the POSIX skin. For a (python related) reason, I > had to re-compile Xenomai with --enable-dlopen-skins. The result is that > unless I call rt_task_shadow, my threads don't work like they used to. Mmmm. Normally, without --enable-dlopen-skins, only the

Re: [Xenomai-help] apt-get mmap() error after upgrading to Xenomai 2.5.6

2011-04-24 Thread Gilles Chanteperdrix
at91_enthus wrote: > On Sun, Apr 24, 2011 at 1:37 AM, Gilles Chanteperdrix >> What FCSE options have you configured? >> > > FCSE mode (guaranteed) That is probably the issue then. In guaranteed mode, a process can not have an address space larger than 32MB. apt-get probably

Re: [Xenomai-help] apt-get mmap() error after upgrading to Xenomai 2.5.6

2011-04-23 Thread Gilles Chanteperdrix
at91_enthus wrote: > Hi. > > I patched a 2.6.35 kernel with Xenomai 2.5.6. > > I was able to do a first update and even install a few packages on my > Atmel board. > However, when I tried to install some more on the board, I got his > error message: > -

Re: [Xenomai-help] FAQ, context switch latency

2011-04-23 Thread Gilles Chanteperdrix
Eric Eric wrote: > Hello, I've asked a lot of questions here and gotten very prompt and helpful > responses, so I summarized them in a FAQ since I figure others may have > similar questions. See http://ericrebates.zzl.org/xen_faq.txt . If this > seems useful maybe someone can append them to the e

Re: [Xenomai-help] rt_task_join() small issue on not-joinable task

2011-04-23 Thread Gilles Chanteperdrix
Mauro Salvini wrote: > Hi to all, > > I'm running Xenomai 2.5.5.2 IPipe 2.7-04 on kernel 2.6.35.7-x86. > > I have a main real time task that creates a thread: this thread calls > rt_task_shadow() to turns itself into real-time task I discovered > this: if I exit from this task and then call rt_ta

Re: [Xenomai-help] first module help

2011-04-22 Thread Gilles Chanteperdrix
Aurele Traynard wrote: > 2011/4/22 Gilles Chanteperdrix > >> Aurele Traynard wrote: >>> ok i'm sorry i wasn't clear at all... >>> my problem is : when i call readl in a rt_task, the task is stopped... >>> (maybe because the rt_task is launched in

Re: [Xenomai-help] first module help

2011-04-22 Thread Gilles Chanteperdrix
Aurele Traynard wrote: > ok i'm sorry i wasn't clear at all... > my problem is : when i call readl in a rt_task, the task is stopped... > (maybe because the rt_task is launched in a module?) > "Xenomai: suspending kernel thread bf0041c8 ('test_rt') at 0xbf003824 after > exception #0" > if i remove

Re: [Xenomai-help] first module help

2011-04-22 Thread Gilles Chanteperdrix
Aurele Traynard wrote: > hello, > > I am new in xenomai, I am trying to make a module to read a "FPGA register" > who is on the "data bus". > without xenomai I use "ioremap" and "readl/writel" but with xenomai those > doesn't work... > > so i would like to know how i could read this register? > i

Re: [Xenomai-help] first module help

2011-04-22 Thread Gilles Chanteperdrix
Aurele Traynard wrote: > hello, > > I am new in xenomai, I am trying to make a module to read a "FPGA register" > who is on the "data bus". > without xenomai I use "ioremap" and "readl/writel" but with xenomai those > doesn't work... How do you mean they do not work? If they did not work, your ke

Re: [Xenomai-help] [Xenomai-core] xenomai and framebuffer-ipu on target iMx35

2011-04-20 Thread Gilles Chanteperdrix
François Beaufort wrote: > > >> Date: Wed, 20 Apr 2011 12:54:00 +0200 >> From: gilles.chanteperd...@xenomai.org >> To: francois.beauf...@live.fr >> CC: xenomai-help@gna.org >> Subject: Re: [Xenomai-core] xenomai and framebuffer-ipu on target iMx35 >> >> François Beaufort wrote: >>> I can't show y

Re: [Xenomai-help] [Xenomai-core] xenomai and framebuffer-ipu on target iMx35

2011-04-20 Thread Gilles Chanteperdrix
François Beaufort wrote: > I can't show you /proc/interrupts when ipu and I-pipe are enabled > because the system doesn't start in this case. Ok. I failed to get that from your first mail. I do not know either if you are using a vanilla kernel, or a patched one? If a patched one, then you have t

Re: [Xenomai-help] Xenomai rt_printf() don't print

2011-04-19 Thread Gilles Chanteperdrix
davide doninelli wrote: > Hi, > sorry i precise > Linux kernel v.2.6.29.6 > Adeos patch 2.6.29 2.6.26-mxc > Xenomai v. 2.4.8 As mentioned in the first paragraph, please try and verify that the problem exists with the latest version of that branch (2.4.10). Please also send us a small self-contain

Re: [Xenomai-help] Xenomai rt_printf() don't print

2011-04-19 Thread Gilles Chanteperdrix
davide doninelli wrote: > Hi, > With xenomai on the APF27, the commands rt_printf() don't print on console? > Have someone the same issue? > Or i need to change some output ? (on which serial print out) > > > rt_printk() works fine. > http://www.xenomai.org/index.php/Request_for_information

Re: [Xenomai-help] Exception handlers in primary domain / user-space signals

2011-04-15 Thread Gilles Chanteperdrix
Henri Roosen wrote: > Ok, I'm back on this one now. > > I couldn't find the 'the signal rebase over the mayday support' > patches which Philippe mentioned. I searched the xenomai-2.5 and > xenomai-head trees. Is it somewhere available? It might be a good > starting point. When Philippe said: "So

Re: [Xenomai-help] avoiding page faults

2011-04-14 Thread Gilles Chanteperdrix
Jeff Weber wrote: > On Thu, Apr 14, 2011 at 7:18 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Jeff Weber wrote: >>> I wish to avoid unwanted transitions of POSIX pthreads to secondary mode >> due >>> to page faults.

Re: [Xenomai-help] avoiding page faults

2011-04-14 Thread Gilles Chanteperdrix
Jeff Weber wrote: > I wish to avoid unwanted transitions of POSIX pthreads to secondary mode due > to page faults. > > Does calling > mlockall(MCL_CURRENT | MCL_FUTURE) > > lock pages when the memory is allocated, or referenced? > > From reviewing Xenomai, Linux RT_PREEMPT, and RTAI code, it app

Re: [Xenomai-help] pthread exit and PTHREAD_WARNSW

2011-04-14 Thread Gilles Chanteperdrix
Jeff Weber wrote: > On Tue, Apr 12, 2011 at 10:20 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Jeff Weber wrote: >>> Gilles: >>> >>> On Tue, Apr 12, 2011 at 9:38 AM, Gilles Chanteperdrix < >>> gilles

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-14 Thread Gilles Chanteperdrix
Nolan Waite wrote: > On 2011-04-12, at 5:12 AM, Gilles Chanteperdrix wrote: > >> In the kernel configuration. Could you try changing the following >> configuration options: CONFIG_FTRACE to n CONFIG_SECURITY to n >> CONFIG_DEBUG_RODATA to n CONFIG_KGDB to n CONFIG_AUDIT

Re: [Xenomai-help] pthread exit and PTHREAD_WARNSW

2011-04-12 Thread Gilles Chanteperdrix
Jeff Weber wrote: > Gilles: > > On Tue, Apr 12, 2011 at 9:38 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Jeff Weber wrote: >> >> Hi Jeff, >> >> any news about the hostrt patch I sent you for x86_32? Does

Re: [Xenomai-help] pthread exit and PTHREAD_WARNSW

2011-04-12 Thread Gilles Chanteperdrix
Jeff Weber wrote: Hi Jeff, any news about the hostrt patch I sent you for x86_32? Does it work? > From testing, I found that if I enable PTHREAD_WARNSW for a pthread, I must > explicitly disable this mode before the thread terminates, or the thread > draws a signal 24 SIGXCPU. Yes, the problem

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-12 Thread Gilles Chanteperdrix
Nolan Waite wrote: > Hello, > > Thanks for the help so far. > > On 2011-04-08, at 7:19 PM, Gilles Chanteperdrix wrote: > >> The question being, do you get the text of a kernel oops when the >> bug happens? Because if this is what happens, what we would like is &g

Re: [Xenomai-help] ioremap domain

2011-04-09 Thread Gilles Chanteperdrix
Doninelli Davide wrote: > Hi, > ioremap and related function like readw/l or writew/l are executed in which > domain? The notion of "service X is executed in domain Y", only applies to user-space services, because such services go through syscalls, and Xenomai is able to switch automatically the

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-08 Thread Gilles Chanteperdrix
Nolan Waite wrote: > Hi, thanks for taking a look. > > Before trying the suggestions below, I configured the kernel as requested in > your other reply: I disabled Xenomai debug and turned off the function > tracer. I attached the new .config for reference. Ok. Still in the kernel configuration.

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-08 Thread Gilles Chanteperdrix
Nolan Waite wrote: > On 2011-04-08, at 1:13 AM, no...@nolanw.ca wrote: > >> I've attached a zip containing the output of dmesg (as run just before >> running the latency test), the output of `cat /proc/interrupts`, and my >> kernel .config file. I set up netconsole immediately prior to running t

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-08 Thread Gilles Chanteperdrix
Nolan Waite wrote: > Hi, thanks for taking a look. > > Before trying the suggestions below, I configured the kernel as requested in > your other reply: I disabled Xenomai debug and turned off the function > tracer. I attached the new .config for reference. > > On 2011-04-0

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-08 Thread Gilles Chanteperdrix
Nolan Waite wrote: > I've attached a zip containing the output of dmesg (as run just > before running the latency test), the output of `cat > /proc/interrupts`, and my kernel .config file. I set up netconsole > immediately prior to running the latency test, but received nothing, > so I believe the

Re: [Xenomai-help] Total system lockup doing anything real-time

2011-04-08 Thread Gilles Chanteperdrix
Nolan Waite wrote: > I've attached a zip containing the output of dmesg (as run just > before running the latency test), the output of `cat > /proc/interrupts`, and my kernel .config file. I set up netconsole > immediately prior to running the latency test, but received nothing, > so I believe the

Re: [Xenomai-help] commercial users of xenomai, commercial support, JTAG

2011-04-06 Thread Gilles Chanteperdrix
Richard Cochran wrote: > On Wed, Apr 06, 2011 at 09:02:33AM +0200, Gilles Chanteperdrix wrote: >> Guenter Ebermann wrote: >>> In germany there are denx (www.denx.de) and pengutronix >>> (http://www.pengutronix.de/). >>> Perhaps there are even more but these ar

Re: [Xenomai-help] commercial users of xenomai, commercial support, JTAG

2011-04-06 Thread Gilles Chanteperdrix
Guenter Ebermann wrote: > Eric Eric wrote: >> - Are there any examples of commercial projects that use Xenomai? I'm >> specifically looking for propaganda like this RTEMS flier: >> http://www.rtems.com/sites/default/files/RTEMS-Users-V2.pdf > > A big HIL supplier in germany uses xenomai in his pr

Re: [Xenomai-help] commercial users of xenomai, commercial support, JTAG

2011-04-04 Thread Gilles Chanteperdrix
Eric Eric wrote: > Hello, in the course of evaluating migration from Integrity to > Xenomai, a few questions have come up that I am having a hard time > finding info on: > > - Are there any examples of commercial projects that use Xenomai? I'm > specifically looking for propaganda like this RTEMS

Re: [Xenomai-help] Priority coupling broken?

2011-04-01 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > (*) Unless I find a way to direct the linux scheduler to the "right" > task in the migration case, but so far, I found none (none that would be > sane, I mean). In Henri particular case. Maybe there would be a way to call wake_up_process first, then look into the (Linux) sc

Re: [Xenomai-help] process on linux

2011-04-01 Thread Gilles Chanteperdrix
davide doninelli wrote: > ok, two more questions... > What's main thread and manager thread roles? The main thread is the one running the "main" function. The manager thread is something internal to linuxthreads, so, if it is documented somewhere, it must be in some documentation related to linux

Re: [Xenomai-help] Priority coupling broken?

2011-04-01 Thread Gilles Chanteperdrix
Henri Roosen wrote: > > Thanks Gilles for your input. This Priority Coupling stuff is a little > complex and input about the corner cases is always welcome and > helpful! > > I did a little more tests with xnpod_schedule() commented out on > LO_WAKEUP_REQ. Scheduling shows as expected to me: the

Re: [Xenomai-help] process on linux

2011-04-01 Thread Gilles Chanteperdrix
davide doninelli wrote: > Hi > i see in linux proces 3 xenomai processes per xenomai RT task . > I don't understand what are the first 2 process. > Is that right? What are used for? Tasks are like in envelope? > i don't find information about that. > > #ps > > 483 root ./interrupt_xeno_

Re: [Xenomai-help] Priority coupling broken?

2011-03-31 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Henri Roosen wrote: >> Did some more tracing to see why the lower priority thread is >> scheduled before the higher prio thread is ended. >> >> The highest priority task makes a system call and gets relaxed by >> xnshadow_relax. The rp

Re: [Xenomai-help] Priority coupling broken?

2011-03-31 Thread Gilles Chanteperdrix
Henri Roosen wrote: > Did some more tracing to see why the lower priority thread is > scheduled before the higher prio thread is ended. > > The highest priority task makes a system call and gets relaxed by > xnshadow_relax. The rpi is pushed here and a Linux call with > LO_WAKEUP_REQ is scheduled.

Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP

2011-03-30 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Gilles Chanteperdrix wrote: >> Jeff Weber wrote: >>> On Wed, Mar 30, 2011 at 5:00 PM, Gilles Chanteperdrix < >>> gilles.chanteperd...@xenomai.org> wrote: >>> >>>> Jeff Weber wrote: >>>>> On Wed, Ma

Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP

2011-03-30 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > Jeff Weber wrote: >> On Wed, Mar 30, 2011 at 5:00 PM, Gilles Chanteperdrix < >> gilles.chanteperd...@xenomai.org> wrote: >> >>> Jeff Weber wrote: >>>> On Wed, Mar 23, 2011 at 2:37 AM, Gilles Chanteperdrix < >>&g

Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP

2011-03-30 Thread Gilles Chanteperdrix
Jeff Weber wrote: > On Wed, Mar 30, 2011 at 5:00 PM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Jeff Weber wrote: >>> On Wed, Mar 23, 2011 at 2:37 AM, Gilles Chanteperdrix < >>> gilles.chanteperd...@xenomai.org> wrote: >&

Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP

2011-03-30 Thread Gilles Chanteperdrix
Jeff Weber wrote: > On Wed, Mar 23, 2011 at 2:37 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> Jeff Weber wrote: >>> I need to timetag events from a realtime context with a NPT-synchronized >>> system clock. This topic co

Re: [Xenomai-help] Scheduling questions...

2011-03-30 Thread Gilles Chanteperdrix
Eric Eric wrote: > Thanks Philippe. I was thinking of avoiding POSIX only because some > of my colleagues have noticed severe performance hits using non-native > skins in commercial RTOSs, particularly Integrity. Would you expect > POSIX performance to be roughly the same as native? Hi Eric, po

Re: [Xenomai-help] Priority coupling broken?

2011-03-29 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Tue, 2011-03-29 at 21:19 +0200, Gilles Chanteperdrix wrote: >> Philippe Gerum wrote: >>> On Tue, 2011-03-29 at 21:11 +0200, Gilles Chanteperdrix wrote: >>>> Philippe Gerum wrote: >>>>> On Tue, 2011-03-29 at 16:41 +0200, Henri

Re: [Xenomai-help] Priority coupling broken?

2011-03-29 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Tue, 2011-03-29 at 21:11 +0200, Gilles Chanteperdrix wrote: >> Philippe Gerum wrote: >>> On Tue, 2011-03-29 at 16:41 +0200, Henri Roosen wrote: >>>> Hi, >>>> >>>> I have several Xenomai RT threads (prio > 0)

Re: [Xenomai-help] Priority coupling broken?

2011-03-29 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Tue, 2011-03-29 at 16:41 +0200, Henri Roosen wrote: >> Hi, >> >> I have several Xenomai RT threads (prio > 0) that get ready to run all >> at the same time. Priority coupling is enabled in the kernel. >> >> If one of them (unfortunately) makes a Linux system call, I see t

Re: [Xenomai-help] request

2011-03-29 Thread Gilles Chanteperdrix
suresh reddy wrote: > I have red from from some mail that the port for xenomai support on > PandaBoard is going on. Is it true? > This is the third time you ask, how many times are you going to ask? Yes, it is ongoing. But as I am doing this on my free time, I do this at the pace I choose. --

Re: [Xenomai-help] task switching logging

2011-03-25 Thread Gilles Chanteperdrix
Johann Obermayr wrote: > Hello, > > we use follow function to report task switching. > rt_task_add_hook(T_HOOK_SWITCH, (void(*)(void*))taskSwitchXenomai); > sched_info_install_switch_hook(taskSwitchLinux); > > we does not get a hook callback for switch from gatekeeper to primary > doma

Re: [Xenomai-help] Scheduling questions...

2011-03-25 Thread Gilles Chanteperdrix
Eric Eric wrote: > Hello, I've been reading through some of the documentation and have a > few questions regarding scheduling: > > - API docs say that rt_task_set_mode can allow a task to undergo > round-robin scheduling. This seems to imply that we can have an > environment of mixed round-robin

Re: [Xenomai-help] Xenomai Kernel panic

2011-03-25 Thread Gilles Chanteperdrix
George Afonso wrote: > Spam detection software, running on the system "xenomai.org", has > identified this incoming email as possible spam. The original message > has been attached to this so you can view it (if it isn't spam) or label > similar future email. If you have any questions, see > the

Re: [Xenomai-help] unable to build xenomai-head

2011-03-24 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Wed, 2011-03-23 at 15:11 -0500, Jeff Weber wrote: >> I am unable to build the xenomai head. "make modules" gives >> >> >> CHK include/linux/version.h >> CHK include/generated/utsrelease.h >> CALLscripts/checksyscalls.sh >> CC [M] kernel/xenomai/nucleu

Re: [Xenomai-help] unable to build xenomai-head

2011-03-23 Thread Gilles Chanteperdrix
Jeff Weber wrote: > I am unable to build the xenomai head. "make modules" gives Hi, I am able to build xenomai head. The things which makes the difference is probably the .config. TIA, -- Gilles. _

Re: [Xenomai-help] CLOCK_REALTIME synchronized to NTP

2011-03-23 Thread Gilles Chanteperdrix
Jeff Weber wrote: > I need to timetag events from a realtime context with a NPT-synchronized > system clock. This topic comes up periodically on the mailing list. Last I > recall, there was talk of adding the capability via an alternate > (non-CLOCK_REALTIME) clock_id. What is the status of this

Re: [Xenomai-help] Problem with Posix Skin and RTnet

2011-03-22 Thread Gilles Chanteperdrix
Franz Engel wrote: > Is there something wrong? The way to compile applications for Xenomai posix skin is described here: http://www.xenomai.org/index.php/Porting_POSIX_applications_to_Xenomai#Compilation_flags I do not know about cmake, but you should teach cmake to use xeno-config to obtain the

Re: [Xenomai-help] Xenomai System Call

2011-03-21 Thread Gilles Chanteperdrix
Peter Warner wrote: > Hi Gillies, It's Gilles. > > Thank you for your mail. I have only one Question now. > Do I need to recompile the patched kernel once again? Every time you modify kernel sources, you have to recompile it, yes. But you can compile any skin as a module, and so, only recompi

Re: [Xenomai-help] Xenomai-core Digest, Vol 66, Issue 9

2011-03-21 Thread Gilles Chanteperdrix
suresh reddy wrote: > Hi, > > I would like to port xenomai to PandaBoard .ARM coretex a9 board. Can > any one let me know how can i do that? You already asked that question, and I already answered, see: https://mail.gna.org/public/xenomai-help/2011-03/msg00121.html --

Re: [Xenomai-help] Xenomai-core Digest, Vol 66, Issue 9

2011-03-20 Thread Gilles Chanteperdrix
alamo hwuang wrote: > Thanks for your help..[?] And please no private mail, use the xenomai-help mailing list. -- Gilles. ___ Xenomai-help mailing list Xenomai

Re: [Xenomai-help] Xenomai-core Digest, Vol 66, Issue 9

2011-03-20 Thread Gilles Chanteperdrix
alamo hwuang wrote: > Hi gilles, > > the toolchain of building xenomai and kernel is gcc 4.3.4. > > linux-xkps1:~/Desktop # gcc -v > Using built-in specs. > Target: x86_64-suse-linux > Configured with: ../configure --prefix=/usr --infodir=/usr/share/info > --mandir=/usr/share/man --libdir=/usr/li

Re: [Xenomai-help] Xenomai System Call

2011-03-20 Thread Gilles Chanteperdrix
Peter Warner wrote: > Hi All, > > My System Detail: > Operating System: Ubuntu 10.04 > Xenomai: 2.5.5.2 > > I Just want to implement some system calls for xenomai. Can you Please > Suggest me How It can be done. What you want may be creating a new skin, or adding a syscall to an existing skin. E

Re: [Xenomai-help] Xenomai-core Digest, Vol 66, Issue 9

2011-03-20 Thread Gilles Chanteperdrix
alamo hwuang wrote: > The crash down infomation of strace tool is below First of all, what is the toolchain you use? Second, do the applications bundled with Xenomai, such as "latency" run correctly? P.S: redirecting to xenomai-help as this is more appropriate. --

Re: [Xenomai-help] Xenomai and select() function - don't work correctly

2011-03-18 Thread Gilles Chanteperdrix
Jens Köhler wrote: > Yes, CONFIG_PREEMPT is set. We will try in first step what happens when it's > not set. I am sorry to insist, but IMO, you should try disabling CONFIG_XENOMAI and CONFIG_IPIPE in the kernel configuration, in order to be sure that these options are causing what you are seeing.

Re: [Xenomai-help] Xenomai and select() function - don't work correctly

2011-03-18 Thread Gilles Chanteperdrix
Jens Köhler wrote: > Hello, > > on my atom processor based computer is Xenomai installed. (Kernel 2.6.26, > 1000Hz, Xenomai 2.4.10, PREEMPT patch, no xenomai application running). > > A normal linux application reads serial data from an UART > (16550A) and checks by select() function if there are

Re: [Xenomai-help] request

2011-03-16 Thread Gilles Chanteperdrix
suresh reddy wrote: > thanks for the reply. > > inorder to progress my project i have to do porting xenomai on pandaboard as > soon as possible .how > > can i try to work it on pandaboard ? > Sure you can. We even have a guide for porting Xenomai on ARM board. You will find it in Xenomai FAQ.

Re: [Xenomai-help] request

2011-03-16 Thread Gilles Chanteperdrix
suresh reddy wrote: > Hi, > > iam running ubuntu on Pandaboard . I would like to add the xenomai to this > ubuntu on pandaboard. > > Please let me know anyone whether xenomai supports pandaboard .If not what > should i do to make it support the pandaboard. Port on the pandaboard is underway. >

Re: [Xenomai-help] [solved]: Xenomai Posix skin init, device or resource busy

2011-03-16 Thread Gilles Chanteperdrix
Lin Zhang wrote: > Dear all, > > Last week I had "Device or resource busy" error when I run my > program, yesterday I found a solution. (Only for my application,but > could be helpful for someone else..). > > When building xenomai, I used "./configure --enable-dlopen-skins ..", > which is not nec

Re: [Xenomai-help] Xenomai-help Digest, Vol 66, Issue 24

2011-03-15 Thread Gilles Chanteperdrix
egemen kaleli wrote: > ohh so sorry,I had thought that nobody had answered my previous post(that > problem is not fixed anyway). I will prepare a report as soon as possible. You are still posting HTML. -- Gilles.

Re: [Xenomai-help] Xenomai support for pandaboard

2011-03-15 Thread Gilles Chanteperdrix
Gilles Chanteperdrix wrote: > davide doninelli wrote: >> Hi, >> On the supported board list, pandaboard result unsupported. >> >> I would like to now if is supported? > > No. I would very much like to have a pandaboard, but have ordered a one > on digi-ke

<    1   2   3   4   5   6   7   8   9   10   >