All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Total system lockup doing anything real-time
@ 2011-04-08  7:12 Nolan Waite
  2011-04-08  7:25 ` Gilles Chanteperdrix
  2011-04-08  7:29 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 12+ messages in thread
From: Nolan Waite @ 2011-04-08  7:12 UTC (permalink / raw)
  To: xenomai

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

Hello,

I'm having a problem where my system becomes unusable as soon as I try to start a realtime task.

Versions:
Linux kernel: 2.6.35.9
Adeos patch: adeos-ipipe-2.6.35.9-x86-2.8-04.patch
Xenomai version: 2.5.6
Linux distro: Ubuntu 10.04
Compiler: gcc 4.4.3

Arguments to Xenomai configure script: --enable-smp

This procedure consistently reproduces the issue for me:
1. Boot using Xenomai-patched kernel.
2. Once at the desktop, open a Terminal.
3. Run `sudo /usr/xenomai/bin/latency`
4. Observe the following output:
== Sampling period: 100us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
5. Observe that my mouse and keyboard now no longer function, the system no longer responds to ping, yet the cursor in the Terminal window blinks endlessly.

I have retried this procedure several times. Exactly one time, approximately two minutes after observing the above symptoms, the screen went black with nothing but the text "could not write bytes: Broken pipe". I have not seen this or any other text or messages before or since, while the total lack of response to input happens every time.

Only when the realtime task starts do I have problems. The kernel and system seem otherwise perfectly stable and functional.

Thanks to a couple of added printf's, I've narrowed the offending line of latency.c to the call to rt_sem_p() at line 247; immediately after this line executes, the system is unusable as I describe above.

I've attached a zip containing the output of dmesg (as run just before running the latency test), the output of `cat /proc/interrupts`, and my kernel .config file. I set up netconsole immediately prior to running the latency test, but received nothing, so I believe the attached kernel log to be whole.

-Nolan


[-- Attachment #2: nolanw_logs_etc.zip --]
[-- Type: application/zip, Size: 47159 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <mailman.5107.1302246791.23203.xenomai@xenomai.org>]

end of thread, other threads:[~2011-04-14 12:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08  7:12 [Xenomai-help] Total system lockup doing anything real-time Nolan Waite
2011-04-08  7:25 ` Gilles Chanteperdrix
2011-04-08 23:59   ` Nolan Waite
2011-04-09  1:19     ` Gilles Chanteperdrix
2011-04-12  1:41       ` Nolan Waite
2011-04-12 11:12         ` Gilles Chanteperdrix
2011-04-13  2:08           ` Nolan Waite
2011-04-14 12:07             ` Gilles Chanteperdrix
2011-04-09  1:53     ` Gilles Chanteperdrix
2011-04-08  7:29 ` Gilles Chanteperdrix
     [not found] <mailman.5107.1302246791.23203.xenomai@xenomai.org>
2011-04-08  7:18 ` Nolan Waite
2011-04-09  1:31   ` 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.