Skip to contentSkip to conversation

Xenomai on Athlon XP (and PIII)

Xenomai-help Wolfgang Grandegger 3 participants 6 messages Nov 7, 2006 – Nov 8, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

I will be more precise when time permits.

Wolfgang.

#1 lore raw
Quoted 9 lines · Wolfgang Grandegger

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

No known issues, both scenarios *must* work, the P-III at least in PIC mode when Linux refuses to enabled lapic on boot.

Quoted 3 lines

I will be more precise when time permits.

Kind of weird that both systems fail. Compiler issue? Though there are no known issues here as well. Well, you know the usual information required to dig deeper...

Jan

#2 lore raw
Quoted 13 lines · Jan Kiszka
Quoted 9 lines · Wolfgang Grandegger

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

Quoted 2 lines

No known issues, both scenarios *must* work, the P-III at least in PIC mode when Linux refuses to enabled lapic on boot.

Some athlons have a buggy local APIC, so disabling it may be the best option.

Signature · 1 line
                                                 Gilles Chanteperdrix
#3 lore raw
Quoted 14 lines · Gilles Chanteperdrix
Quoted 13 lines · Jan Kiszka
Quoted 9 lines · Wolfgang Grandegger

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

Quoted 5 lines
Quoted 2 lines

No known issues, both scenarios *must* work, the P-III at least in PIC mode when Linux refuses to enabled lapic on boot.

Some athlons have a buggy local APIC, so disabling it may be the best option.

Ah, I found some similar statement on the RTAI mailing list as well.

Thanks for the info.

Wolfgang.

#4 lore raw
Quoted 17 lines · Wolfgang Grandegger
Quoted 16 lines · Gilles Chanteperdrix
Quoted 15 lines · Jan Kiszka
Quoted 11 lines · Wolfgang Grandegger

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at
boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the
latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

No known issues, both scenarios *must* work, the P-III at least in PIC mode when Linux refuses to enabled lapic on boot.

Some athlons have a buggy local APIC, so disabling it may be the best option.

Ah, I found some similar statement on the RTAI mailing list as well.

Still, it must neither oops nor hang in this case - or does plain Linux so as well?

Jan

#5 lore raw
Quoted 17 lines · Jan Kiszka
Quoted 16 lines · Wolfgang Grandegger
Quoted 15 lines · Gilles Chanteperdrix
Quoted 14 lines · Jan Kiszka
Quoted 11 lines · Wolfgang Grandegger

Hello,

I'm currently setting up a PC for Xenomai-Tests. I'm using my good old PC with an Athlon XP (Thunderbird) for this purpose. The kernel hangs at
boot time when I enable APIC via boot argument (lapic). With local APIC disabled the kernel boots but I see some Opps messages while running the
latency test and trying a slogin to the system (in the scheduler). Are there any known issues with this X86 arch? I remember, that I have seen similar problems with my (old) PIII-Notebook (lapic did not work).

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

No known issues, both scenarios *must* work, the P-III at least in PIC mode when Linux refuses to enabled lapic on boot.

Some athlons have a buggy local APIC, so disabling it may be the best option.

Ah, I found some similar statement on the RTAI mailing list as well.

Still, it must neither oops nor hang in this case - or does plain Linux so as well?

On my Athlon, plain Linux boots and runs with the boot argument "lapic" and reports that APIC is enabled, but I'm don't know if it's used. With Xenomai in the kernel and "lapic" the kernel hangs shortly after the Xenomai services have been successfully enabled. The Oops happened with local APIC _disabled_ but I cannot reproduce it today. Likely a "make clean" helped. And with the PIII, I just remembered that I had similar problems half a year ago. Sorry for confusion. I have now a Xenomai test PC up and running and was already able to test the PEAK CAN dongle :-). The latency test reports latencies around 15..20us, which looks good.

Thanks.

Wolfgang.