From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Cyril Wallois <walloiscyril@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xeno-test problem
Date: Wed, 02 Jun 2010 18:13:21 +0200 [thread overview]
Message-ID: <4C068321.1000902@domain.hid> (raw)
In-Reply-To: <AANLkTikLJC_pFm9l6G1t7vlUfzrqMAt7zu9t_uRNZV15@domain.hid>
Cyril Wallois wrote:
> Thanks for your fast reply gilles,
>
> I don't use the right word to explain my problem, the lock-up with
> xeno-test is solve with newer version of xenomai and linux kernel.
Not quite. It will work with the newer version because the default
period of the latency test is 1000us instead of 100us. But your ARM is
still probably not able to sustain a 100us period.
>
> I have always to solve my problem when running rtnet :
>
> Xenomai: suspending kernel thread bf0270e0 ('rtnet-rtpc') at 0xbf02b814
> after exception #8
What you need is to type cat /proc/modules on the target to see the
module to which the address 0xbf02b814 corresponds. Then run objdump to
disassemble the faulting module. But I believe Jan explained you all
that when answering the original request.
>
> Now, I'm searching for tools to debug the kernel on a remote target and
> read the value in the register.
> https://mail.gna.org/listinfo/xenomai-help
To print the values of registers, you can add some printks to the
xnpod_trap_fault function in the ksrc/nucleus/pod.c file in Xenomai
sources. We could arguably add that to Xenomai code, but we did not do
it yet.
As for the alignment issue itself, please take care, on the receive path
of your driver to pass, to the rtnet stack, buffers where the IP header
is aligned on a 4 bytes boundary. Since the ethernet header is 6 bytes
long, it means that the ethernet header alignement should be 2 modulo 4.
--
Gilles.
next prev parent reply other threads:[~2010-06-02 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 16:00 [Xenomai-help] xeno-test problem Cyril Wallois
2010-06-02 16:13 ` Gilles Chanteperdrix [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-06-02 15:36 Cyril Wallois
2010-06-02 15:46 ` 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=4C068321.1000902@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=walloiscyril@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.