Hi,
After patching my kernel ( 2.2.0 ) with rtai patch , all works fine
with my driver.
( I just changed udelay with rt_sleep(nano2count(DELAY_NS)) )
And I've got a strange error :
when removing exemples modules , I got :
"spurious APIC interrupt on CPU#1, should never happen."
and then my CPU stop !
This seems to be a 2.2.0 bug ( the freeze , not the message )
cause it does not freeze with 2.2.6
I've now found that in smp.c :
#####################################################################
/*
* This interrupt should _never_ happen with our APIC/SMP architecture
*/
asmlinkage void smp_spurious_interrupt(void)
{
ack_APIC_irq();
/* see sw-dev-man vol 3, chapter 7.4.13.5 */
printk("spurious APIC interrupt on CPU#%d, should never happen.\n",
smp_processor_id());
}
#####################################################################
the ack_APIC_irq() must be present to prevent freeze.
But why does this interrupt happen ( it is written that it should never
happen !) ?
If it becomes just a warning , we should remove the printk and just keep
the
acknowledgement.(I don't really know what is this
'smp_spurious_interrupt')
-- KUMSTA Christophe
-- <[EMAIL PROTECTED]>
-- real-time system developper
-- RT-Linux (Use the source luke)
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/