All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Anthony Sharobaiko <anthony@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai install problems
Date: Mon, 04 Dec 2006 16:22:46 +0100	[thread overview]
Message-ID: <45743D46.8000502@domain.hid> (raw)
In-Reply-To: <20061204143948.GA20411@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2418 bytes --]

Anthony Sharobaiko wrote:
> On Mon, Dec 04, 2006 at 02:45:48PM +0100, Jan Kiszka wrote:
>> Is it a pure user-space crash, or do you also see some oops in the
>> kernel logs?
> 
> Yes, sometimes (I still can not understand what affects this) it crashes with oops:
> === cut here ===
> root@domain.hid# ./run 
> *
> *
> * Type ^C to stop this application.
> *
> *
> Bad mode in prefetch abort handler detected: mode UK13_32
> Internal error: Oops - bad mode: 0 [#1]
> Modules linked in:
> CPU: 0
> PC is at 0x228
> LR is at 0x22b
> pc : [<00000228>]    lr : [<0000022b>]    Not tainted
> sp : c06f1fb8  ip : 4002afd4  fp : be9d3cb8
> r10: 00000000  r9 : 00000000  r8 : 400331b4
> r7 : 00000001  r6 : be9d3e34  r5 : be9d3e3c  r4 : 4001c8dc
> r3 : 4001c8f0  r2 : be9d3cbc  r1 : 00000001  r0 : ffffffda
> Flags: nzcv  IRQs on  FIQs on  Mode UK13_32  Segment user
> Control: 397F  Table: A3F34000  DAC: 00000015
> Process latency (pid: 1099, stack limit = 0xc06f01a0)
> Stack: (0xc06f1fb8 to 0xc06f2000)
> 1fa0:                                                       ffffffda
> 00000001 
> 1fc0: be9d3cbc 4001c8f0 4001c8dc be9d3e3c be9d3e34 00000001 400331b4
> 00000000 
> 1fe0: 00000000 be9d3cb8 4002afd4 c06f1fb8 0000022b 00000228 0000001d
> ffffffff 
> Backtrace: invalid frame pointer 0xbe9d3cb8
> Code: bad PC value.
>  /usr/xenomai/bin/xeno-load: line 247:  1099 Segmentation fault
>  $suflag $* $cmdargs
> === cut here ===
> 
> How can I provide more detailed log? ksymoops?

Give it a try, but the above complaints about invalid PC and frame
pointer sound like your kernel left the tracks and went south long ago.

You said you merged the patch for 2.6.15 on 2.6.16 and applied some
hunks manually. Did you check that the merge is obviously not hiding any
functional changes of the kernel? Do you have a chance to test a 2.6.15
kernel as well to see if this works? Note that I-pipe test does not
cover the whole functionality Xenomai uses.

> 
>> If it's user-space, place attach gdb to find out where it
>> crashes.
> 
> ok, I'll try to put gdbserver in there and look.
> 

Unless a bell is already ringing for some of the ARM gurus here, it
could be helpful to try finding out if a particular syscall/operation of
the latency program triggers the problem. Of course, this direction only
makes sense if the I-pipe merge was most probably clean.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-12-04 15:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 13:37 [Xenomai-help] Xenomai install problems Anthony Sharobaiko
2006-12-04 13:45 ` Jan Kiszka
2006-12-04 14:39   ` Anthony Sharobaiko
2006-12-04 15:22     ` Jan Kiszka [this message]
2006-12-04 16:07       ` Anthony Sharobaiko
2006-12-04 16:21         ` Jan Kiszka
2006-12-04 15:58 ` Gilles Chanteperdrix
2006-12-05 12:08   ` Anthony Sharobaiko
2006-12-05 13:18     ` Gilles Chanteperdrix

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=45743D46.8000502@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=anthony@domain.hid \
    --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.