[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] on RH6 BETA16: unresolved symbol __return_flags



> If I want to insert a driver witch needs  interrupts (like the
> networkcard) I go the following message:
> babuschka:[net]# modprobe ne
> /lib/modules/2.2.12-RTLBETA16/net/8390.o: unresolved symbol
> __return_flags
> /lib/modules/2.2.12-RTLBETA16/net/8390.o: unresolved symbol
> __restore_flags
> /lib/modules/2.2.12-RTLBETA16/net/8390.o: unresolved symbol __cli

You're using modules compiled with __SMP__ with a non-SMP kernel.
Try recompiling the modules and doing make modules_install.
> 
> The question is why?
> 
> BTW: how does IRQ work in RTL_9? Where is the enable_hard_irq?

It's in <rtl_core.h>
Initially (after handler installation) the interrupt is disabled.
You have to use rtl_hard_enable_irq.

Michael.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/