Re: [Xenomai-core] system() question

2007-02-08 Thread Gilles Chanteperdrix
Stéphane ANCELOT wrote: > my linux user task uses a system() call in order to call a bash script > to restart the realtime task as follow : > > user interface C call : > system("restart_task.sh"); > give back hand to user interface > > > > > > bash script restart_task.sh : >

Re: [Xenomai-core] Linux lock-up with rtcanrecv

2007-02-08 Thread Wolfgang Grandegger
Jan Kiszka wrote: Jan Kiszka wrote: Hi all, fiddling with latest Xenomai trunk and 2.3.x on one of our robots (there is still a bug in trunk /wrt broken timeouts of rt_dev_read on xeno_16550A - different issue...), I ran into a weird behaviour of rtcanrecv: I have a continuous stream of a few

[Xenomai-core] Re: Linux lock-up with rtcanrecv

2007-02-08 Thread Wolfgang Grandegger
Hi Jan, Jan Kiszka wrote: Hi all, fiddling with latest Xenomai trunk and 2.3.x on one of our robots (there is still a bug in trunk /wrt broken timeouts of rt_dev_read on xeno_16550A - different issue...), I ran into a weird behaviour of rtcanrecv: I have a continuous stream of a few thousand p

[Xenomai-core] Fixed two timer base regressions

2007-02-08 Thread Jan Kiszka
Hi Philippe, the "trivial" bugs are fixed already: see #2152 for the reason why rt_dev_read timeouts took too long (the timer mode was ignored by xnsynch_sleep_on), and I also found a yet invisible bug in rtdm_toseq_init that would have picked the wrong time base (#2153). Now just that rtcanrecv

[Xenomai-core] Re: Linux lock-up with rtcanrecv

2007-02-08 Thread Jan Kiszka
Wolfgang Grandegger wrote: > Hi Jan, > > Jan Kiszka wrote: >> Hi all, >> >> fiddling with latest Xenomai trunk and 2.3.x on one of our robots (there >> is still a bug in trunk /wrt broken timeouts of rt_dev_read on >> xeno_16550A - different issue...), I ran into a weird behaviour of >> rtcanrecv:

[Xenomai-core] Re: Fixed two timer base regressions

2007-02-08 Thread Philippe Gerum
On Thu, 2007-02-08 at 09:38 +0100, Jan Kiszka wrote: > Hi Philippe, > > the "trivial" bugs are fixed already: see #2152 for the reason why > rt_dev_read timeouts took too long (the timer mode was ignored by > xnsynch_sleep_on), Ok. > and I also found a yet invisible bug in > rtdm_toseq_init tha

[Xenomai-core] Re: Fixed two timer base regressions

2007-02-08 Thread Jan Kiszka
Philippe Gerum wrote: > On Thu, 2007-02-08 at 09:38 +0100, Jan Kiszka wrote: >> Hi Philippe, >> >> the "trivial" bugs are fixed already: see #2152 for the reason why >> rt_dev_read timeouts took too long (the timer mode was ignored by >> xnsynch_sleep_on), > > Ok. > >> and I also found a yet inv

[Xenomai-core] Re: Fixed two timer base regressions

2007-02-08 Thread Philippe Gerum
On Thu, 2007-02-08 at 10:21 +0100, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Thu, 2007-02-08 at 09:38 +0100, Jan Kiszka wrote: > >> Hi Philippe, > >> > >> the "trivial" bugs are fixed already: see #2152 for the reason why > >> rt_dev_read timeouts took too long (the timer mode was ignored by

Re: [Xenomai-core] Re: Fixed two timer base regressions

2007-02-08 Thread Jan Kiszka
Jan Kiszka wrote: > Philippe Gerum wrote: >> On Thu, 2007-02-08 at 09:38 +0100, Jan Kiszka wrote: >>> Hi Philippe, >>> >>> the "trivial" bugs are fixed already: see #2152 for the reason why >>> rt_dev_read timeouts took too long (the timer mode was ignored by >>> xnsynch_sleep_on), >> Ok. >> >>> a

Re: [Xenomai-core] Re: Linux lock-up with rtcanrecv

2007-02-08 Thread Jan Kiszka
Jan Kiszka wrote: > Wolfgang Grandegger wrote: >> Hi Jan, >> >> Jan Kiszka wrote: >>> Hi all, >>> >>> fiddling with latest Xenomai trunk and 2.3.x on one of our robots (there >>> is still a bug in trunk /wrt broken timeouts of rt_dev_read on >>> xeno_16550A - different issue...), I ran into a weird

[Xenomai-core] [PATCH] Enable usage of pthread_set_{mode, name}_np from kernel space

2007-02-08 Thread Stelian Pop
Hi, Is there a reason why pthread_set_{mode,name}_np are not allowed to be called from a kernel space POSIX thread ? If there is none, please apply the patch below. Thanks. Index: ksrc/skins/posix/thread.c === --- ksrc/skins/posix/

Re: [Xenomai-core] [PATCH] Enable usage of pthread_set_{mode, name}_np from kernel space

2007-02-08 Thread Gilles Chanteperdrix
Stelian Pop wrote: > Hi, > > Is there a reason why pthread_set_{mode,name}_np are not allowed to be > called from a kernel space POSIX thread ? > > If there is none, please apply the patch below. No, this is completely unintended. Thanks. --