Skip to contentSkip to conversation

"top" doesn't start ?

Xenomai-core Hannes Mayer 2 participants 2 messages Feb 26, 2006

lore
Share & tools
lore
#0 lore raw

Hi all!

I just recognized that "top" doesn't start if the
RTDM demo
http://www.captain.at/xenomai-real-time-driver-example.php
runs.

=> "user" runs, "top" is started:
"top" doesn't start as long as "user" is running.

When "user" is terminated, "top" displays the ncurses screen.

xeno-2.1-rc3
K2.6.15

Anyone got an idea ?

Thanks & best regards,
Hannes.

#1 lore raw
Quoted 10 lines · Hannes Mayer

Hi all!

I just recognized that "top" doesn't start if the
RTDM demo
http://www.captain.at/xenomai-real-time-driver-example.php
runs.

=> "user" runs, "top" is started:
"top" doesn't start as long as "user" is running.

Quoted 6 lines

When "user" is terminated, "top" displays the ncurses screen.

xeno-2.1-rc3
K2.6.15

Anyone got an idea ?

That's because you grab the standard timer but do not propagate it to Linux (all timed activity of Linux freezes, not just top). Moreover, this demo only works in case Xenomai is using the APIC timer. Otherwise, that IRQ is blocked for RT drivers (Dmitry's shared IRQ patch is not yet merged).

Jan