Skip to contentSkip to conversation

Xenomai unstable

Xenomai-help CHABAL David 3 participants 6 messages May 2, 2007

lore
Share & tools
lore
#0 lore raw

Hello everybody,

I have a problem of stability with Xenomai.

When I run the program xenomai/examples/rtdm/profiles/serial/cross-link, the first execution is correct, I quit with Ctrl-C, I launch again and... my PC is frozen.

I have this behavior with my own dev and other binaries of the Xeno distrib.
The PC either freeze or reboot.

My box is a HP dc7700 with a Pentium D (dual core) 3.4Ghz.

I use the Mandriva free 2007.0 (64 bits) patched with:
- adeos-ipipe-2.6.20-x86_64-1.0-06.patch
and
- a version of Xenomai checkouted from the trunk, revision 2381 (because the 2.3.1 doesn't support the x86_64 arch in prepare-kernel.sh).

I boot with the "noapic" option, otherwise the Linux kernel doesn't boot (dark screen, common problem with the dc7700). A Moxa PCI card with 8 serial ports is also installed.

I've tried a lot of things with my .config:
- compiling for generic x86_64
- enable/disable HPET/MTRR/Nucleus Debug support
- fire the SMP support but the box doesn't boot anymore

TIA
David
-------------------------------------
xeno-info output:

[[email protected] bin]# ./xeno-info
If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

Linux simusrf 2.6.20.6 #42 SMP PREEMPT Mon Apr 30 17:51:13 CEST 2007
x86_64 Intel(R) Pentium(R) D CPU 3.40GHz GNU/Linux

Gnu C                  4.1.1
Gnu make               3.81
util-linux             2.12r
mount                  2.12r
module-init-tools      3.2.2
e2fsprogs              1.39
Linux C Library        > libc.2.4
Dynamic linker (ldd)   2.4
Procps                 3.2.6
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.97
Modules Loaded         i915 drm e1000 snd_seq_dummy snd_seq_oss

snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss af_packet snd_hda_intel snd_hda_codec snd_pcm snd_timer snd_page_alloc snd soundcore ide_cd ide_core binfmt_misc loop intel_agp ehci_hcd uhci_hcd usbcore evdev ext3 jbd sd_mod ahci ata_piix

#1 lore raw
Quoted 3 lines · CHABAL David

Hello everybody,

I have a problem of stability with Xenomai.

Well, you are running the unstable version of Xenomai, what do you expect? ;)

There are two patches pending for x86_64. One is here [1], I think the other is not yet publicly available, there is only an i386 version [2]. The latter could bite you if CONFIG_PCI_MSI is on. Is it? Your .config may help us.

Quoted 8 lines

When I run the program xenomai/examples/rtdm/profiles/serial/cross-link, the first execution is correct, I quit with Ctrl-C, I launch again and... my PC is frozen.

I have this behavior with my own dev and other binaries of the Xeno distrib.
The PC either freeze or reboot.

If above doesn't help, you could try to catch the last words of your box via serial console.

Quoted 11 lines

My box is a HP dc7700 with a Pentium D (dual core) 3.4Ghz.

I use the Mandriva free 2007.0 (64 bits) patched with:
- adeos-ipipe-2.6.20-x86_64-1.0-06.patch
and
- a version of Xenomai checkouted from the trunk, revision 2381 (because the 2.3.1 doesn't support the x86_64 arch in prepare-kernel.sh).

I boot with the "noapic" option, otherwise the Linux kernel doesn't boot (dark screen, common problem with the dc7700). A Moxa PCI card with

common == also with vanilla Linux?

Quoted 6 lines

8 serial ports is also installed.

I've tried a lot of things with my .config:
- compiling for generic x86_64
- enable/disable HPET/MTRR/Nucleus Debug support
- fire the SMP support but the box doesn't boot anymore

I.e. !CONFIG_SMP doesn't boot at all when CONFIG_IPIPE is enabled? Same
here: try the patch and !CONFIG_PCI_MSI, then catch the console output.

Thanks for reporting!
Jan

[1] https://mail.gna.org/public/adeos-main/2007-04/msg00075.html
[2] https://mail.gna.org/public/xenomai-help/2007-04/msg00213.html

#2 lore raw
Quoted 10 lines · Jan Kiszka
Quoted 3 lines · CHABAL David

Hello everybody,

I have a problem of stability with Xenomai.

Well, you are running the unstable version of Xenomai, what do you expect? ;)

There are two patches pending for x86_64. One is here [1], I think the other is not yet publicly available, there is only an i386 version [2].

No other arch beyond x86 needs this patch.

Signature · 1 line
Philippe.
#3 lore raw
In reply to Jan Kiszka
Quoted 2 lines · Jan Kiszka

I.e. !CONFIG_SMP doesn't boot at all when CONFIG_IPIPE is enabled? Same
here: try the patch and !CONFIG_PCI_MSI, then catch the console output.

.config welcome.

Does this break over qemu, or real hw?

Signature · 1 line
Philippe.