All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] hard lock-up
@ 2007-08-09  9:11 andy motten
  2007-08-09  9:42 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 25+ messages in thread
From: andy motten @ 2007-08-09  9:11 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 3527 bytes --]

hello,

We recently (this week) installed a snapshot of the xenomai 2.3.X branch,
using kernel version 2.6.20.9  and ipipe-1.8-05 patch.  When (or even
sometimes after finishing of) executing the included xeno-test program we
observe (what looks like) random hard lock-ups of the system. We didn't find
any indication of what the problem could be in the kernel messages.

Other symptoms are:
 - When loading the Xenomai modules, we get a warning about the failure of
"enabling SMI workaround".
 - 2 applications (Orocos and CANFestival), which make use of Xenomai, did
not pass their tests.

We investigated the failed test of Orocos further by debugging one of the
tests with gdb, the results are showed below:

        gdb ./event-test

                 Couldn't get registers: No such process.
                 (gdb) bt
                 Cannot fetch general-purpose registers for thread
-1238001984: generic error
                 Cannot fetch general-purpose registers for thread
-1238001984: generic error

The latest trunk (revision 2900) with kernel patch ipipe-1.9-03 and kernel
2.6.22.1 do not provide a solution for this problem. The symptoms stay to
same.

When we use the Xenomai 2.2.x branch (Last Changed Rev: 2358) with kernel
patch ipipe-1.5-02 and kernel 2.6.17.14, everything seems to be ok (except
for the SMI workaround problem).

After executing xeno-test, I printed the message buffer of the kernel (with
dmesg):


        For Kernel 2.6.22.1 - ipipe-1.9-03 - Xenomai 2.3.x
         ---------------------------------------------------
        Xenomai: SMI-enabled chipset found, enabling SMI workaround.
        Xenomai: SMI workaround failed!
        Xenomai: starting native API services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting POSIX services.
        Xenomai: starting RTDM services.
        Xenomai: POSIX: destroyed thread ec961320
        Xenomai: stopping RTDM services.
        Xenomai: stopping POSIX services.
        Xenomai: starting POSIX services.
        Xenomai: POSIX: destroyed thread ec961320
        Xenomai: stopping POSIX services.


        For Kernel 2.6.17.14 - ipipe-1.5-02 - Xenomai 2.2.x
         ----------------------------------------------------
        Xenomai: SMI-enabled chipset found, enabling SMI workaround.
        Xenomai: SMI workaround failed!
        Xenomai: starting native API services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: starting POSIX services.
        Xenomai: starting RTDM services.
        Xenomai: stopping RTDM services.
        Xenomai: stopping POSIX services.
        Xenomai: starting POSIX services.
        Xenomai: stopping POSIX services.


There seems to be a difference between the 2 versions (Xenomai: POSIX:
destroyed thread), Is this normal or part of the problem ?

Is there a possibility that this is a bug in Xenomai or in the ipipe patch?
Using the Xenomai 2.2.x branch is not an option since we need the RT can
drivers provided in the Xenomai 2.3.x branch.

Thanks in advance, andy

ps: in attachment are the .config files of the 2 kernels en the config files
of Xenomai

[-- Attachment #1.2: Type: text/html, Size: 5909 bytes --]

[-- Attachment #2: config_files.zip --]
[-- Type: application/zip, Size: 51715 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2007-08-29 14:23 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09  9:11 [Xenomai-help] hard lock-up andy motten
2007-08-09  9:42 ` Gilles Chanteperdrix
2007-08-09 11:24   ` Jan Kiszka
2007-08-09 16:09     ` andy motten
2007-08-09 16:22       ` Philippe Gerum
2007-08-10  7:32         ` Jan Kiszka
2007-08-10  7:54           ` Klaas Gadeyne
2007-08-10 15:05             ` andy motten
2007-08-10 15:12               ` Jan Kiszka
2007-08-13  7:06                 ` Klaas Gadeyne
2007-08-13  7:19                   ` Gilles Chanteperdrix
2007-08-13 15:10                     ` andy motten
2007-08-13 17:01                       ` Jan Kiszka
2007-08-14 15:26                         ` andy motten
2007-08-27 13:27                           ` andy motten
2007-08-27 16:55                             ` Jan Kiszka
2007-08-28 10:06                               ` andy motten
2007-08-28 11:32                                 ` Jan Kiszka
2007-08-29 11:36                                   ` andy motten
2007-08-29  6:11                               ` Jan Kiszka
2007-08-29 13:40                                 ` andy motten
2007-08-29 14:12                                   ` Jan Kiszka
2007-08-29 14:23                                     ` Philippe Gerum
2007-08-29 14:23                                     ` andy motten
2007-08-09 16:26       ` Gilles Chanteperdrix

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.