Luotao Fu wrote:
> Hi Philipe,
> 
> On Tue, Apr 18, 2006 at 06:03:43PM +0200, Philippe Gerum wrote:
>> Luotao Fu wrote:
>> Your configuration works perfectly here over #944. You might want to 
>> restart building from a freshly patched kernel anew, there seems to be 
>> something badly broken in your current tree, perhaps some mismatching 
>> modules that have not been recompiled properly?
>>
>> -- 
>>
>> Philippe.
> Thanx for testing. I, however could locate the problem at the APIC
> Timer function in the kernel: With 
> ......
> CONFIG_X86_UP_APIC=y
> CONFIG_X86_UP_IOAPIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
> ......
> I could reproduce the problem (loading rtdm driver causes oops, cannot run
> any application using native or posix skin) reliably on my machine. 
> (Celeron 733MHz. 256MB RAM...a normal PC) Shutting off the APIC stuffs,
> however, solves the problem........ Have I overlooked
> anything or does Xenomai have problems with the apic controller on
> celeron (since it seems to work for you)?
> 

Do you pass "lapic" via the kernel command line? If lapic is missing,
this would not work anyway. This illegal combination used to cause
crashes, but the detection should have been fixed some weeks ago.

I just tried to reproduce your scenario - and I was "successful": All
APIC stuff on, up to RTDM all xeno stuff built in, "forgotten" lapic in
bootparam, and then modprobe xeno_timerbench, oops.

The oops is a minor issue which I will try to address more gracefully
later. The major issue is that missing lapic. You should have this in
your kernel log:

...
Xenomai: Local APIC absent or disabled!
         Disable APIC support or pass "lapic=1" as bootparam.
Xenomai: system init failed, code -19.
Xenomai: starting POSIX services.
Xenomai: POSIX skin init failed, code -19.
Xenomai: RTDM skin init failed, code -19.
...

So, all fine from the xenomai POV, except for that bug in
rtdm_dev_register().

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to