Re: [Xenomai] Target frozen with rtcan_virt

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 11:41 PM, Gilles Chanteperdrix wrote: > Another possible fix would be to lock xenomai scheduler when taking an > rtdm_spin_lock, as it is almost always wrong to call xnpod_schedule in > such a situation. It works for other RT-CAN drivers, because they call > rtdm_sem_up from interrup

Re: [Xenomai] Target frozen with rtcan_virt

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 11:34 PM, Gilles Chanteperdrix wrote: > On 10/09/2012 02:45 PM, Thierry Bultel wrote: >> (snip) > >> (gdb) bt >> #0 __ticket_spin_lock (lock=) at >> /home/thierry/workspace/Buildroot/output/build/linux-3.2.21/arch/x86/include/asm/spinlock.h:63 >> #1 arch_spin_lock (lock=) at >>

Re: [Xenomai] Target frozen with rtcan_virt

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 02:45 PM, Thierry Bultel wrote: > (snip) > (gdb) bt > #0 __ticket_spin_lock (lock=) at > /home/thierry/workspace/Buildroot/output/build/linux-3.2.21/arch/x86/include/asm/spinlock.h:63 > #1 arch_spin_lock (lock=) at > /home/thierry/workspace/Buildroot/output/build/linux-3.2.21/arc

Re: [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 10:55 PM, Wayne Warren wrote: > > > On Sat, 2012-10-06 at 11:46 +0200, Gilles Chanteperdrix wrote: >> On 10/06/2012 06:29 AM, Wayne Warren wrote: >> >>> Gilles, >>> >>> I should have mentioned this earlier... I did as you mentioned in one of >>> your previous e-mails and added DEBU

Re: [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel

2012-10-09 Thread Wayne Warren
On Sat, 2012-10-06 at 11:46 +0200, Gilles Chanteperdrix wrote: > On 10/06/2012 06:29 AM, Wayne Warren wrote: > > > Gilles, > > > > I should have mentioned this earlier... I did as you mentioned in one of > > your previous e-mails and added DEBUG_LL_OMAP3(3, am3517evm) after finding > > that thi

Re: [Xenomai] [PATCH] rtcan: driver for the Advantech PCI cards

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 10:21 PM, Thierry Bultel wrote: > Le 09/10/2012 21:34, Wolfgang Grandegger a écrit : >> Hi Thierry, >> >> please do not drop the CC to the Xenomai mailing list. > > ok, sorry > >> >> On 10/09/2012 06:07 PM, Thierry Bultel wrote: > Do you still plan to add the flexcan RTDM ? >>>

Re: [Xenomai] [PATCH] rtcan: driver for the Advantech PCI cards

2012-10-09 Thread Thierry Bultel
Le 09/10/2012 21:34, Wolfgang Grandegger a écrit : Hi Thierry, please do not drop the CC to the Xenomai mailing list. ok, sorry On 10/09/2012 06:07 PM, Thierry Bultel wrote: Do you still plan to add the flexcan RTDM ? I have already something running but it's not yet good enough for mainl

Re: [Xenomai] [PATCH] rtcan: driver for the Advantech PCI cards

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 09:34 PM, Wolfgang Grandegger wrote: > Hi Thierry, > > please do not drop the CC to the Xenomai mailing list. > > On 10/09/2012 06:07 PM, Thierry Bultel wrote: >> Do you still plan to add the flexcan RTDM ? >>> I have already something running but it's not yet good enough for

Re: [Xenomai] [PATCH] rtcan: driver for the Advantech PCI cards

2012-10-09 Thread Wolfgang Grandegger
Hi Thierry, please do not drop the CC to the Xenomai mailing list. On 10/09/2012 06:07 PM, Thierry Bultel wrote: > >>> Do you still plan to add the flexcan RTDM ? >> I have already something running but it's not yet good enough for >> mainline. Will need more time. Anyway, I could send my prelim

Re: [Xenomai] Oops while running "cat /proc/xenomai/stat"

2012-10-09 Thread Stefan Roese
On 10/09/2012 04:24 PM, Philippe Gerum wrote: > On 10/09/2012 08:48 AM, Stefan Roese wrote: > >> [ 65.601569] [c716bba0] [c009adf0] rtdm_event_signal+0x50/0xe4 >> [ 65.607440] [c716bbc0] [cb132588] fpga_dma_done_callback+0x18/0x28 >> [rt_fpga] >> [ 65.614641] [c716bbd0] [cb101114] mpc52xx_l

Re: [Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Philippe Gerum
On 10/09/2012 05:28 PM, Henri Roosen wrote: > On Tue, Oct 9, 2012 at 5:27 PM, Gilles Chanteperdrix > wrote: >> On 10/09/2012 05:24 PM, Henri Roosen wrote: >>> On Tue, Oct 9, 2012 at 4:10 PM, Philippe Gerum wrote: On 10/09/2012 02:32 PM, Henri Roosen wrote: > Hi, > > I'm using the

Re: [Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Henri Roosen
On Tue, Oct 9, 2012 at 5:27 PM, Gilles Chanteperdrix wrote: > On 10/09/2012 05:24 PM, Henri Roosen wrote: >> On Tue, Oct 9, 2012 at 4:10 PM, Philippe Gerum wrote: >>> On 10/09/2012 02:32 PM, Henri Roosen wrote: Hi, I'm using the current git heads of core-3.4 and xenomai 2.6.1 for x

Re: [Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 05:24 PM, Henri Roosen wrote: > On Tue, Oct 9, 2012 at 4:10 PM, Philippe Gerum wrote: >> On 10/09/2012 02:32 PM, Henri Roosen wrote: >>> Hi, >>> >>> I'm using the current git heads of core-3.4 and xenomai 2.6.1 for x86 >>> with the attached config file. >>> >>> When compiling the mod

Re: [Xenomai] When will adeos-ipipe-3.1.0-arm.patch be released?

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 03:04 PM, Morning wrote: > I want to use xenomai with linux kernel 3.1.0 on AM3359 platform , > but there is no appropriate patch for this kernel. Could you tell me > when will adeos-ipipe-3.1.0-arm.patch be released please ? No release planned, we released 3.2, 3.4 is "in the pipe"

Re: [Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Henri Roosen
hanks, >> Henri. >> -- next part -- >> A non-text attachment was scrubbed... >> Name: .config >> Type: application/octet-stream >> Size: 57776 bytes >> Desc: not available >> URL: >> <http://www.xenom

Re: [Xenomai] Oops while running "cat /proc/xenomai/stat"

2012-10-09 Thread Philippe Gerum
On 10/09/2012 08:48 AM, Stefan Roese wrote: > [ 65.601569] [c716bba0] [c009adf0] rtdm_event_signal+0x50/0xe4 > [ 65.607440] [c716bbc0] [cb132588] fpga_dma_done_callback+0x18/0x28 > [rt_fpga] > [ 65.614641] [c716bbd0] [cb101114] mpc52xx_lpbfifo_bcom_irq+0x114/0x1c4 > [rt_mpc52xx_lpbfifo] I

Re: [Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Philippe Gerum
d... > Name: .config > Type: application/octet-stream > Size: 57776 bytes > Desc: not available > URL: > <http://www.xenomai.org/pipermail/xenomai/attachments/20121009/524a0516/attachment.obj> > ___ >

Re: [Xenomai] xenomai 2.6.1 - bug list ?

2012-10-09 Thread Philippe Gerum
On 10/09/2012 02:21 PM, Jean-Baptiste Tredez wrote: > Hello, > > I am looking for known bug of xenomai 2.6.1 (x86). Is there any place > where I can find this ? Nowhere, but the mailing list, and the commits fixing issues in the git maintenance branch over 2.6.1. > > Regards, > > Jean-Baptiste

[Xenomai] When will adeos-ipipe-3.1.0-arm.patch be released?

2012-10-09 Thread Morning
I want to use xenomai with linux kernel 3.1.0 on AM3359 platform , but there is no appropriate patch for this kernel. Could you tell me when will adeos-ipipe-3.1.0-arm.patch be released please ? ___ Xenomai mailing list Xenomai@xenomai.org http://www.xe

Re: [Xenomai] Target frozen with rtcan_virt

2012-10-09 Thread Thierry Bultel
Hi, I would like to re-open this thread I have reproduced the same target freeze, on another configuration. linux-3.2.21+ipipe-core-3.2.21-x86-1.patch running on kvm (only one core) rtcan0 and rtcan1 are devices of the unmodifed "rtcan_virt" rtdm driver. The test sample is the unmodified "xen

[Xenomai] Exporting __ipipe_get_cs_tsc

2012-10-09 Thread Henri Roosen
e: application/octet-stream Size: 57776 bytes Desc: not available URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20121009/524a0516/attachment.obj> ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

[Xenomai] xenomai 2.6.1 - bug list ?

2012-10-09 Thread Jean-Baptiste Tredez
Hello, I am looking for known bug of xenomai 2.6.1 (x86). Is there any place where I can find this ? Regards, Jean-Baptiste Tredez ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai

Re: [Xenomai] Oops while running "cat /proc/xenomai/stat"

2012-10-09 Thread Stefan Roese
On 10/09/2012 11:47 AM, Gilles Chanteperdrix wrote: > On 10/09/2012 08:48 AM, Stefan Roese wrote: >> root@generic-powerpc:~# cat /proc/xenomai/stat >> [ 65.215600] Oops: Kernel access of bad area, sig: 11 [#1] >> [ 65.221118] mpc5200-simple-platform >> [ 65.224671] Modules linked in: rt_fpga

Re: [Xenomai] Oops while running "cat /proc/xenomai/stat"

2012-10-09 Thread Gilles Chanteperdrix
On 10/09/2012 08:48 AM, Stefan Roese wrote: > root@generic-powerpc:~# cat /proc/xenomai/stat > [ 65.215600] Oops: Kernel access of bad area, sig: 11 [#1] > [ 65.221118] mpc5200-simple-platform > [ 65.224671] Modules linked in: rt_fpga(O) rt_mpc52xx_lpbfifo(O) > [ 65.230718] NIP: c0066914 L