Re: [Xenomai-help] rtcan I/O hang bug with /proc/rtcan/rtcan0/registers

2012-04-25 Thread Wolfgang Grandegger
On 04/24/2012 08:57 PM, Gilles Chanteperdrix wrote: On 04/24/2012 08:47 PM, Andrew Tannenbaum wrote: I'm running Linux 2.6.38.8 Xenomai 2.6.0 Atom N270 CPU I'm talking to CAN with a PEAK PCI SJA1000 CAN adapter. I have a control loop running at 200 Hz, and I use it to

Re: [Xenomai-help] Cross-link.c ---RTSER_RTIOC_WAIT_EVENT

2012-04-25 Thread Minh GIANG
hello, Thank you for helping me solve my problem. You recommend me to update to a more recent version. But I think the xenomai version 2.6.0 is the lastest version over http://www.xenomai.org site. By the way, i have a short question. When i make run cross-link program, i don't understand why

Re: [Xenomai-help] Cross-link.c ---RTSER_RTIOC_WAIT_EVENT

2012-04-25 Thread Wolfgang Grandegger
On 04/25/2012 11:11 AM, Minh GIANG wrote: hello, Thank you for helping me solve my problem. You recommend me to update to a more recent version. But I think the xenomai version 2.6.0 is the lastest version over http://www.xenomai.org site. You are right. The latest fixes are in the git

Re: [Xenomai-help] Using rt_dev_send from user space

2012-04-25 Thread Willy Lambert
2012/4/23 Willy Lambert lambert.wi...@gmail.com: Hi, The short story is that I tried to call rt_dev_send on a CAN RTDM driver, and it fails with an EPERM (Operation not permited) return code. It's as if I was using rtcansend without the RT_TASK rt_task_desc;. Is it an intended behavior ?

Re: [Xenomai-help] libnative and libxenomai dependy problem

2012-04-25 Thread Willy Lambert
2012/4/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org: On 04/23/2012 03:57 AM, Willy Lambert wrote: 2012/4/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org: On 04/23/2012 01:57 AM, Willy Lambert wrote: Hi, I just run into the same kind of problem of a one year old

Re: [Xenomai-help] Smi workaround on ICH8M

2012-04-25 Thread Willy Lambert
2012/4/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org: On 04/23/2012 01:05 PM, Willy Lambert wrote: 2012/4/23 Philippe Gerum r...@xenomai.org: On 04/23/2012 03:51 AM, Willy Lambert wrote: Hi, I have a message  in dmesg about SMI workaround : Xenomai: SMI-enabled chipset found,

Re: [Xenomai-help] libnative and libxenomai dependy problem

2012-04-25 Thread Gilles Chanteperdrix
On 04/25/2012 12:05 PM, Willy Lambert wrote: 2012/4/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org: On 04/23/2012 03:57 AM, Willy Lambert wrote: 2012/4/23 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org: On 04/23/2012 01:57 AM, Willy Lambert wrote: Hi, I just run into the

[Xenomai-help] Xenomai: binding failed: Operation not permitted.

2012-04-25 Thread Frederik Bayart
Hallo, We are switching from linux 2.6.30.8 with xenomai 2.4.10 to linux 2.6.38.8 with xenomai 2.6.0 (stable release) on debian lenny. In our daemon (with real pid root), we are setting effective pid and gid to 1000 and are calling popen to execute a shell command. The popen succeeds, but when

Re: [Xenomai-help] Xenomai: binding failed: Operation not permitted.

2012-04-25 Thread Gilles Chanteperdrix
On 04/25/2012 12:28 PM, Frederik Bayart wrote: Hallo, We are switching from linux 2.6.30.8 with xenomai 2.4.10 to linux 2.6.38.8 with xenomai 2.6.0 (stable release) on debian lenny. In our daemon (with real pid root), we are setting effective pid and gid to 1000 and are calling popen to