Felipe Brandão Cavalcanti wrote:
> Hello,
> We are currently trying to install Xenomai (version 2.5rc2) on a Geode GX1
> (PCM 3350 board), kernel 2.6.26 (Debian 5.0).
The Geode is a very very bad choice:
- it is going to disappear any time soon
- its performances in many domains are far from the average x86
performances.
However, we have run into a
> few issues.
>
> Whenever we install the kernel with Local APIC support enabled, xenomai
> gives the error:
>
> Xenomai: Local APIC absent or disabled!
> Disable APIC support or pass "lapic=1" as bootparam.
Ok. I guess your Geode does not have an APIC. I have a Geode and just
checked, it has the same issue, so, you should turn of apic in kernel
configuration. Maybe something is needed in the BIOS to enable it
(because the AMD specs say that the Geode has an APIC).
>
>
> Passing the lapic=1 parameter doesn't seem to do much, so we decided to turn
> off APIC support in the kernel.
>
> The kernel now boots, however, it does so extremely slowly. It is hanging
> (i.e., takes a long time) whenever an IRQ probe is required.
> The latencies are also pretty bad - worst case in xeno-test is 2ms!
>
> So, any ideias on why this is happening?
Probably an issue induced by power management disabling the tsc. So the
usual advices apply, please be sure to disable any smart power
management issue in the bios configuration and to boot with ACPI enabled
(except ACPI_PROCESSOR). Someone, a long time ago, posted on the RTAI
mailing list a way to disable this tsc thing by running an outb at a
well defined address, but I never was able to test it since my Geode
does not have this issue. Another workaround reported to work is to boot
with idle=poll passed on the command line. Yet another workaround is to
avoid using the tsc (by selecting in the kernel configuration a
processor without tsc), but this means a lot of overhead.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help