Skip to contentSkip to conversation

xenomai installation

Xenomai-help George Pitich 2 participants 5 messages Apr 25, 2008 – Apr 27, 2008

lore
Share & tools
lore
#0 lore raw

I'm pretty much sure this was answered before. If this is the case could you please refer me to the post?

I'm getting a bit frustrated in my attempts to install xenomai. I'm following the readme.install from xenomai-2.4.3 but to no avail. When I execute make menuconfig after patching the kernel with prepare-kernel.sh, Real-time sub-system presents me with:

-- NOTE: Xenomai conflicts with PC speaker support. --- (menu Device Drivers/Input device support/Miscellaneous devices)
--- NOTE: Xenomai needs either X86_LOCAL_APIC enabled
or HPET_TIMER disabled. │ │
--- (menu Processor type and features)).

None of this options is selectable nor configurable.

By looking into .config, I can see only one xeno option CONFIG_XENO_GENERIC_STACKPOOL=y. After compiling the kernel and booting it, xenomai build looks incomplete. I can't find xenomai LKMs and therefore can't run testsuite.

I hope it is not because of AMD Athlon cpu on the box. Many Thanks.

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

#1 lore raw
Quoted 9 lines · George Pitich

I'm pretty much sure this was answered before. If this is the case could you please refer me to the post?

I'm getting a bit frustrated in my attempts to install xenomai. I'm following the readme.install from xenomai-2.4.3 but to no avail. When I execute make menuconfig after patching the kernel with prepare-kernel.sh, Real-time sub-system presents me with:

Please do the following in Linux kernel configuration:

Quoted 4 lines

-- NOTE: Xenomai conflicts with PC speaker support. --- (menu Device Drivers/Input device support/Miscellaneous devices)

disable PC speaker support (you will find it in the Device Drivers/Input device support/Miscellaneous devices menu).

Quoted 3 lines

--- NOTE: Xenomai needs either X86_LOCAL_APIC enabled
or HPET_TIMER disabled. │ │
--- (menu Processor type and features)).

Enable Local APIC option (if your box has a local APIC, but anything recent probably has an APIC), or disable HPET timer option (you will find these options in the Processor type and features menu).

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 18 lines

Please do the following in Linux kernel
configuration:

Quoted 2 lines

-- NOTE: Xenomai conflicts with PC speaker

support.

Quoted 2 lines

--- (menu Device Drivers/Input device
support/Miscellaneous devices)

disable PC speaker support (you will find it in the Device Drivers/Input
device support/Miscellaneous devices menu).

Quoted 1 line

--- NOTE: Xenomai needs either X86_LOCAL_APIC

enabled

Quoted 1 line

or HPET_TIMER disabled. │

│

Quoted 9 lines
Quoted 1 line

--- (menu Processor type and features)).

Enable Local APIC option (if your box has a local APIC, but anything
recent probably has an APIC), or disable HPET timer option (you will find
these options in the Processor type and features menu).

Thanks for the help, now I made a progress and installed xenomai. I had to compile it with --enable-x86-tsc=no flag since my testsuite won't run without a TSC support and I don't know where to configure this flag during the initial kernel config process (make menuconfig)? Is it a processor family specific?

Interestingly enough after a boot, klatency test runs, but if i stop it (ctrl-c) and run it again it segfaults:

/usr/xenomai/bin/xeno-load: line 180: 22756
Segmentation fault $suflag $* $cmdargs

irqbench also won't run:

irqloop: error starting test: Inappropriate ioctl for device

Regards,

g.

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

#3 lore raw
Quoted 7 lines

Interestingly enough after a boot, klatency test
runs,
but if i stop it (ctrl-c) and run it again it
segfaults:

/usr/xenomai/bin/xeno-load: line 180: 22756
Segmentation fault $suflag $* $cmdargs

just figured out that it might be because of (ARCH) uname -i gives unknown?

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

#4 lore raw
In reply to George Pitich
Quoted 28 lines · George Pitich
Quoted 18 lines

Please do the following in Linux kernel
configuration:

Quoted 2 lines

-- NOTE: Xenomai conflicts with PC speaker

support.

Quoted 2 lines

--- (menu Device Drivers/Input device
support/Miscellaneous devices)

disable PC speaker support (you will find it in the Device Drivers/Input
device support/Miscellaneous devices menu).

Quoted 1 line

--- NOTE: Xenomai needs either X86_LOCAL_APIC

enabled

Quoted 1 line

or HPET_TIMER disabled. │

│

Quoted 9 lines
Quoted 1 line

--- (menu Processor type and features)).

Enable Local APIC option (if your box has a local APIC, but anything
recent probably has an APIC), or disable HPET timer option (you will find
these options in the Processor type and features menu).

Quoted 7 lines

Thanks for the help, now I made a progress and installed xenomai. I had to compile it with --enable-x86-tsc=no flag since my testsuite won't run without a TSC support and I don't know where to configure this flag during the initial kernel config process (make menuconfig)? Is it a processor family specific?

It depends on the processor you select.

Quoted 7 lines

Interestingly enough after a boot, klatency test runs, but if i stop it (ctrl-c) and run it again it segfaults:

/usr/xenomai/bin/xeno-load: line 180: 22756
Segmentation fault $suflag $* $cmdargs

Please select the klatency kernel support as a module, not built-in kernel. Will fix.

Signature · 1 line
					    Gilles.