All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtdm difficulties
Date: Fri, 20 Jan 2012 18:03:58 +0100	[thread overview]
Message-ID: <4F199E7E.8010101@domain.hid> (raw)
In-Reply-To: <C65BAE4E2DF04BD68697066C4075EC78@domain.hid>

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
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


  reply	other threads:[~2012-01-20 17:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-20 16:17 [Xenomai-help] rtdm difficulties Terry Fryar
2012-01-20 17:03 ` Philippe Gerum [this message]
2012-01-20 17:42   ` Terry Fryar
2012-01-20 18:19 ` Gilles Chanteperdrix
2012-01-20 18:24   ` Terry Fryar
2012-01-20 18:32     ` Gilles Chanteperdrix
2012-01-20 19:37       ` Terry Fryar
2012-01-20 20:47         ` Philippe Gerum
2012-01-20 21:05           ` [Xenomai-help] rtdm difficulties..fixed Terry Fryar
2012-01-20 21:12           ` [Xenomai-help] rtdm difficulties...not fixed Terry Fryar
2012-01-21 16:05         ` [Xenomai-help] rtdm difficulties Gilles Chanteperdrix
2012-01-22 23:32           ` Terry Fryar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F199E7E.8010101@domain.hid \
    --to=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.