Skip to contentSkip to conversation

xenomai installation issue.

Xenomai-help garryt 2 participants 5 messages Nov 6, 2008

lore
Share & tools
lore

garryt

author
#0 lore raw

Hello,

I am facing issue with the installation of xenomai on x86_64 system. Obviously i should have configured something not as required, but i cannot figure what. This is a widespread optiplex DELL PC.(I hope someone successfully installed xenomai on this and might help :)

Compilation works fine, then after few minutes system hangs (for example when using xeno-test..).

I have search around the net, look at the TROUBLESHOOTING guide, modify kernel compilation options to reflect as close as possible to the hw ( Core2 Duo processor) and try different configuration (2.6.24 / 2.6.25 ) and IPIPE patches, but still have issues.

Here is attached an archive with latest traces and configuration options.

By the way I had no problem with previous installation on old UP P4 PC...

Help will be appreciated.

Best regards,

#1 lore raw
Quoted 10 lines · garryt

Hello,

I am facing issue with the installation of xenomai on x86_64 system. Obviously i should have configured something not as required, but i cannot figure what. This is a widespread optiplex DELL PC.(I hope someone successfully installed xenomai on this and might help :)

Compilation works fine, then after few minutes system hangs (for example when using xeno-test..).

Quoted 6 lines

I have search around the net, look at the TROUBLESHOOTING guide, modify kernel compilation options to reflect as close as possible to the hw ( Core2 Duo processor) and try different configuration (2.6.24 / 2.6.25 ) and IPIPE patches, but still have issues.

Here is attached an archive with latest traces and configuration options.

The most important thing is missing from this archive: the kernel logs. If your processor has no serial port, please use netconsole (see Documentation/networking/netconsole.txt in the kernel sources).

Signature · 1 line
                                                 Gilles.
#2 lore raw
In reply to garryt
Quoted 10 lines · garryt

Hello,

I am facing issue with the installation of xenomai on x86_64 system. Obviously i should have configured something not as required, but i cannot figure what. This is a widespread optiplex DELL PC.(I hope someone successfully installed xenomai on this and might help :)

Compilation works fine, then after few minutes system hangs (for example when using xeno-test..).

Quoted 6 lines

I have search around the net, look at the TROUBLESHOOTING guide, modify kernel compilation options to reflect as close as possible to the hw ( Core2 Duo processor) and try different configuration (2.6.24 / 2.6.25 ) and IPIPE patches, but still have issues.

Here is attached an archive with latest traces and configuration options.

Could you try enabling CONFIG_ACPI (the only dangerous ACPI option is CONFIG_ACPI_PROCESSOR), could you also try to disable CONFIG_AUDITSYSCALL ?

Signature · 1 line
                                                 Gilles.
author
#3 lore raw

Oups,

It seems i only reply to you and not to the list. For information:
Here is the log (if someone has the same problem).

These new options didn't solve the issue.

Quoting Gilles Chanteperdrix <[email protected]>:

Quoted 29 lines
Quoted 3 lines · garryt

Hello,

I am facing issue with the installation of xenomai on x86_64 system.

Obviously i

Quoted 2 lines

should have configured something not as required, but i cannot figure what. This is a widespread optiplex DELL PC.(I hope someone successfully

installed

Quoted 3 lines

xenomai on this and might help :)

Compilation works fine, then after few minutes system hangs (for example

when

Quoted 3 lines

using xeno-test..).

I have search around the net, look at the TROUBLESHOOTING guide, modify

kernel

Quoted 2 lines

compilation options to reflect as close as possible to the hw ( Core2 Duo processor) and try different configuration (2.6.24 / 2.6.25 ) and IPIPE

patches,

Quoted 3 lines

but still have issues.

Here is attached an archive with latest traces and configuration options.

Could you try enabling CONFIG_ACPI (the only dangerous ACPI option is CONFIG_ACPI_PROCESSOR), could you also try to disable CONFIG_AUDITSYSCALL ?

--
Gilles.

#4 lore raw
Quoted 7 lines · garryt

Oups,

It seems i only reply to you and not to the list. For information:
Here is the log (if someone has the same problem).

These new options didn't solve the issue.

Call Trace:
 [<ffffffff8027a274>] ? xnthread_init+0x68/0x2dc
 [<ffffffff80275a25>] ? xnpod_init_thread+0x4b/0x340
 [<ffffffff8028f46e>] ? rt_task_create+0xc4/0x48d
 [<ffffffff8026a429>] ? xnheap_alloc+0x552/0x568
 [<ffffffff8037ef6f>] ? __up_read+0x13/0x8a
 [<ffffffff8029802f>] ? __rt_task_create+0x136/0x1d6
 [<ffffffff8027fed3>] ? losyscall_event+0xb2/0x189
 [<ffffffff80266751>] ? __ipipe_dispatch_event+0xcd/0x1df
 [<ffffffff8021bd17>] ? __ipipe_syscall_root+0x97/0x156
 [<ffffffff8045b523>] ? __ipipe_syscall_root_thunk+0x35/0x6a
 [<ffffffff8020bcf4>] ? system_call_after_swapgs+0x54/0x94


Code: 00 00 89 05 c9 58 2b 00 eb 04 48 83 cf 02 48 8d 75 50 48 8d 83 80

00 00 00 48 8b 4e 08 48 8b 11 48 89 48 08 48 89 93 80 00 00 00 <48> 89 42 08 48 89 01 ff 46 10 ff 45 68 40 f6 c7 02 0f 85 d8 00 RIP [<ffffffff8027b1d6>] __xntimer_init+0x280/0x3a2
RSP <ffff81007147dca8>
CR2: 0000000000000008

---[ end trace 9a45efdc794cc264 ]---

This is a known issue which has been fixed in trunk and v2.4.x branch. It will be in the upcoming v2.4.6 release.

Signature · 1 line
                                                 Gilles.