From: "Terry Fryar" Date: Fri, 6 Jan 2012 08:11:18 -0600 Message-ID: <56E1AEF6484D429588063ADA1D312704@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01CCCC4A.C6259620" Subject: [Xenomai-help] IRQ issue List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------=_NextPart_000_0019_01CCCC4A.C6259620 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Using Xen 2.6 with 2.6.38 kernel, have a kernel module with an ISR registered using rtdm_irq_request() that schedules a work queue. This queue thread makes an spi call. All seems to work fine, but I'm seeing this message periodically: [ 4465.323999] Xenomai: unlocking unlocked nucleus lock c0bc79c8 on CPU #0 [ 4465.324010] owner = kernel/xenomai/nucleus/intr.c:450 (xnintr_irq_handler(), CPU #0) [ 4465.340102] [] (unwind_backtrace+0x0/0xe0) from [] (show_stack+0x10/0x14) [ 4465.349080] [] (show_stack+0x10/0x14) from [] (xnintr_irq_handler+0x210/0x3a0) [ 4465.358524] [] (xnintr_irq_handler+0x210/0x3a0) from [] (__ipipe_dispatch_wired_nocheck+0x50/0xa0) [ 4465.369770] [] (__ipipe_dispatch_wired_nocheck+0x50/0xa0) from [] (gpio_demux_inner+0x3c/0x54) [ 4465.380700] [] (gpio_demux_inner+0x3c/0x54) from [] (gpio_irq_handler+0x12c/0x168) [ 4465.390537] [] (gpio_irq_handler+0x12c/0x168) from [] (__ipipe_handle_irq+0xf0/0x154) [ 4465.400649] [] (__ipipe_handle_irq+0xf0/0x154) from [] (__ipipe_grab_irq+0x48/0x64) [ 4465.410576] [] (__ipipe_grab_irq+0x48/0x64) from [] (__irq_svc+0x44/0xe8) [ 4465.419589] [] (__irq_svc+0x44/0xe8) from [] (__ipipe_unstall_root+0x2c/0x34) [ 4465.428959] [] (__ipipe_unstall_root+0x2c/0x34) from [] (cpu_idle+0x8c/0xe4) [ 4465.438243] [] (cpu_idle+0x8c/0xe4) from [] (start_kernel+0x2b0/0x30c) [ 4465.446938] [] (start_kernel+0x2b0/0x30c) from [<80008034>] (0x80008034) Not sure what this one means?? I see the "cpu_idle", and I vaguely recall some issue with that....but I don't remember what this was? ------=_NextPart_000_0019_01CCCC4A.C6259620 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Using = Xen 2.6 with=20 2.6.38 kernel, have a kernel module with an ISR registered using = rtdm_irq_request() that = schedules a work=20 queue.  This queue thread makes an spi = call.
 
All = seems to work=20 fine, but I'm seeing this message periodically:
 
[ 4465.323999] Xenomai: unlocking = unlocked nucleus=20 lock c0bc79c8 on CPU #0
[=20 4465.324010]          = owner  =3D=20 kernel/xenomai/nucleus/intr.c:450 (xnintr_irq_handler(), CPU #0)
[=20 4465.340102] [<c00572ac>] (unwind_backtrace+0x0/0xe0) from=20 [<c0055078>] (show_stack+0x10/0x14)
[ 4465.349080] = [<c0055078>]=20 (show_stack+0x10/0x14) from [<c00e1a20>]=20 (xnintr_irq_handler+0x210/0x3a0)
[ 4465.358524] [<c00e1a20>]=20 (xnintr_irq_handler+0x210/0x3a0) from [<c00c16dc>]=20 (__ipipe_dispatch_wired_nocheck+0x50/0xa0)
[ 4465.369770] = [<c00c16dc>]=20 (__ipipe_dispatch_wired_nocheck+0x50/0xa0) from [<c006f5f8>]=20 (gpio_demux_inner+0x3c/0x54)
[ 4465.380700] [<c006f5f8>]=20 (gpio_demux_inner+0x3c/0x54) from [<c006f73c>]=20 (gpio_irq_handler+0x12c/0x168)
[ 4465.390537] [<c006f73c>]=20 (gpio_irq_handler+0x12c/0x168) from [<c0058cb0>]=20 (__ipipe_handle_irq+0xf0/0x154)
[ 4465.400649] [<c0058cb0>]=20 (__ipipe_handle_irq+0xf0/0x154) from [<c0058db8>]=20 (__ipipe_grab_irq+0x48/0x64)
[ 4465.410576] [<c0058db8>]=20 (__ipipe_grab_irq+0x48/0x64) from [<c0465bc4>] = (__irq_svc+0x44/0xe8)
[=20 4465.419589] [<c0465bc4>] (__irq_svc+0x44/0xe8) from = [<c00c189c>]=20 (__ipipe_unstall_root+0x2c/0x34)
[ 4465.428959] [<c00c189c>]=20 (__ipipe_unstall_root+0x2c/0x34) from [<c005243c>]=20 (cpu_idle+0x8c/0xe4)
[ 4465.438243] [<c005243c>] = (cpu_idle+0x8c/0xe4)=20 from [<c00088bc>] (start_kernel+0x2b0/0x30c)
[ 4465.446938]=20 [<c00088bc>] (start_kernel+0x2b0/0x30c) from [<80008034>]=20 (0x80008034)
Not = sure what this=20 one means??  I see the "cpu_idle", and I vaguely recall some issue = with=20 that....but I don't remember what this = was?
------=_NextPart_000_0019_01CCCC4A.C6259620--