All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Tests with 2.5rc1
@ 2009-04-20 18:05 Martin Shepherd
  2009-04-20 18:28 ` Gilles Chanteperdrix
  2009-04-20 18:34 ` [Xenomai-help] Tests with 2.5rc1 Gilles Chanteperdrix
  0 siblings, 2 replies; 8+ messages in thread
From: Martin Shepherd @ 2009-04-20 18:05 UTC (permalink / raw)
  To: xenomai

Over the weekend I experimented with Xenomai 2.5-rc1. Unfortunately
the freeze problems that I have been experiencing continued with this
update. I have tried a lot of things to home in on the problem.

1. First I tried swapping memory sticks again, but the symtoms
    didn't change.

2. Then I tried enabling the local-APIC and NMI watchdog at compile
    time with a threshold of 200us, and set lapic=1 and nmi_watchdog=2
    on the kernel invokation line in grub. The following messages from
    dmesg showed that this was being picked up:

    [    0.000000] Local APIC disabled by BIOS -- reenabling.
    [    0.000000] Found and enabled local APIC!
    [    0.000000] mapped APIC to ffffb000 (fee00000)
    ...
    [    0.029054] Using local APIC timer interrupts.
    [    0.029057] calibrating APIC timer ...
    [    0.032000] ... lapic delta = 1250114
    [    0.032000] ... PM timer delta = 357974
    [    0.032000] ... PM timer result ok
    [    0.032000] ..... delta 1250114
    [    0.032000] ..... mult: 53688631
    [    0.032000] ..... calibration result: 800072
    [    0.032000] ..... CPU clock speed is 850.0310 MHz.
    [    0.032000] ..... host bus clock speed is 200.0072 MHz.
    ...
    [    0.140956] Xenomai: NMI watchdog started (threshold=200 us).

    However this didn't seem to do anything whenever the system hung,
    and I later unfroze it by moving the mouse, even though the system
    clock lost seconds of time.  It froze many times during the
    switchbench part of xeno-test, without any complaints from Xenomai
    or the kernel. I couldn't get it to freeze this time during the
    latency tests.

    Is there anything else that I need to do to get the watchdog to
    do something?

3. Next I tried enabling the IO APIC in the kernel configuration, and
    including nmi_watchdog=1, to use the IO APIC timer for the NMI
    watchdog, but dmesg included the following error:

     [    0.708944] IO APIC resources could be not be allocated.

    and when I tried eliciting hangs, again nothing happened.

4. I enabled SMI workarounds, thinking that perhaps hammering the
    system with dd might be causing overheating, and corresponding
    SMI interrupts. However the hangs continued.

5. Finally I tried disabling everything that didn't look important in
    the kernel configuration (and reduced the compilation time from 4 hours
    to 2:20 in the process :-). However after rebooting into the slimmed
    down kernel, the hangs when running "dd if=/dev/zero of=/dev/null"
    continued unchanged.

I believe that today I will finally receive the new computers that I
ordered. So hopefully these problems won't turn up again on them.
Regardless, I would have liked to have figured out what the problem
was, just in case it is something serious that just happens less often
on newer computers.

Martin


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

end of thread, other threads:[~2009-04-23  1:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-20 18:05 [Xenomai-help] Tests with 2.5rc1 Martin Shepherd
2009-04-20 18:28 ` Gilles Chanteperdrix
2009-04-20 19:16   ` Martin Shepherd
2009-04-20 22:13   ` [Xenomai-help] Success! (was Re: Tests with 2.5rc1) Martin Shepherd
2009-04-22 17:18     ` Gilles Chanteperdrix
2009-04-23  1:43       ` Martin Shepherd
2009-04-20 18:34 ` [Xenomai-help] Tests with 2.5rc1 Gilles Chanteperdrix
2009-04-20 18:46   ` Martin Shepherd

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.