Now I'm seeing this. I have lost complete control at this point....argh....
[ 149.017562] WARNING: at kernel/softirq.c:137 __local_bh_enable+0x44/0xac() [ 149.024765] Modules linked in: vme_pd_drv [ 149.029014] [<c00566fc>] (unwind_backtrace+0x0/0xe0) from [<c007db0c>] (warn_slowpath_common+0x4c/0x64) [ 149.038892] [<c007db0c>] (warn_slowpath_common+0x4c/0x64) from [<c007db3c>] (warn_slowpath_null+0x18/0x1c) [ 149.049019] [<c007db3c>] (warn_slowpath_null+0x18/0x1c) from [<c0083138>] (__local_bh_enable+0x44/0xac) [ 149.118865] [<c0083138>] (__local_bh_enable+0x44/0xac) from [<c008481c>] (irq_enter+0x44/0x60) [ 149.127899] [<c008481c>] (irq_enter+0x44/0x60) from [<c0046018>] (asm_do_IRQ+0x18/0x98) [ 149.136302] [<c0046018>] (asm_do_IRQ+0x18/0x98) from [<c00b9af0>] (__ipipe_sync_stage+0x154/0x188) -----Original Message----- From: Philippe Gerum [mailto:[email protected]] Sent: Friday, January 20, 2012 11:04 AM To: [email protected] Cc: Terry Fryar Subject: Re: [Xenomai-help] rtdm difficulties On 01/20/2012 05:17 PM, Terry Fryar wrote: > Using xenomai 2.6.0 with 2.6.38 kernel and rtdm. Been working on a > rtdm driver for awhile and all of a sudden I've lost stability. So, > I've backed off all code except for registering an empty realtime irq > handler using rtdm_irq_request(). I'm getting kernel oops, and I don't know why? > The irq handler simply returns RTDM_IRQ_HANDLED and that's it. I've > rebuilt my kernel several times, and I'm wondering if I'm missing a > .config entry for something related to xenomai?? If I take out the irq > handler registration, all is fine. This driver's been working for > about > 2 weeks, but all of a sudden I'm getting kernel faults. Here's what > I'm getting from my driver (vme_pd_drv): > [ 795.986316] Unable to handle kernel paging request at virtual > address > 80b112d6 > [ 795.993905] Unable to handle kernel paging request at virtual > address > e28cca55 > [ 796.001475] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.009045] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.016615] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.044130] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.051696] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.059262] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.106868] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.124353] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.131920] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.139484] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.207081] Unable to handle kernel paging request at virtual > address > e5bcf074 > [ 796.214711] pgd = c0004000 > [ 796.217544] [e5bcf074] *pgd=00000000 [ 796.221294] Internal error: > Oops: 5 [#1] PREEMPT [ 796.266149] last sysfs file: > /sys/devices/virtual/irqdrv/irqdrv0/uevent > [ 796.273082] Modules linked in: vme_pd_drv [last unloaded: > vme_pd_drv] [ 796.279846] CPU: 0 Not tainted (2.6.38-ipipe-dirty #53) > [ 796.315847] PC is at show_pte+0x18/0xb0 [ 796.319868] LR is at > __do_kernel_fault+0x54/0x84 [ 796.384733] pc : [<c0059170>] lr : > [<c00592f8>] psr: a0000113 [ 796.384740] sp : c058f1c8 ip : fb020000 > fp : 0000031b [ 796.396765] r10: 00000005 r9 : 20000113 r8 : 00000000 > [ 796.402237] r7 : c058f2a8 r6 : e5bcf050 r5 : e5bcf050 r4 : e5bcf074 > [ 796.449104] r3 : c058f1cc r2 : c04fbb6f r1 : e5bcf074 r0 : c04fbac9 > [ 796.455945] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment > kernel [ 796.463604] Control: 10c5387d Table: 9e52c019 DAC: 00000017 [ > 796.519769] Process ΓΌ (pid: -598785, stack limit = 0xc058e2f0) ^^^^^^^^^^^^^^^^^^^^^^^^ UhOh... This very muck looks like stack overflow / corruption. > > > > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
