* [Xenomai-help] Unknown symbol xnshadow_send_sig
@ 2006-05-10 8:35 Klaas Gadeyne
2006-05-10 8:41 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Klaas Gadeyne @ 2006-05-10 8:35 UTC (permalink / raw)
To: xenomai
Hi,
When using the xenomai-v2.1.x branch (tested with r1058, and a
snapshot from a couple of days ago, using the "Champagne" version of
the nucleus IIRC), I get the above error while trying to load the
xeno_native kernel module. Relevant data is below:
[kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
lsmod | grep xeno_nucleus
xeno_nucleus 222112 0
[kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
sudo modprobe xeno_native
FATAL: Error inserting xeno_native
(/lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/skins/native/xeno_native.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
[kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
dmesg | tail -n 5
Xenomai: hal/x86 started.
I-pipe: Domain IShield registered.
Xenomai: real-time nucleus v2.1.1 (Trundrumbalind) loaded.
xeno_native: Unknown symbol xnshadow_send_sig
xeno_native: Unknown symbol xnshadow_send_sig
[kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
nm --defined-only
/lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/nucleus/xeno_nucleus.ko
| grep xnshadow_send_sig
0000e050 T xnshadow_send_sig
[kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
nm
/lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/skins/native/xeno_native.ko
| grep xnshadow_send_sig
U xnshadow_send_sig
The signatures of the function seem to match to and I don't get the
error when using xenomai-trunk with 2.6.16adeos-ipipe-1.3-01.
Any clues? Am I missing something obvious?
regards,
Klaas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Unknown symbol xnshadow_send_sig
2006-05-10 8:35 [Xenomai-help] Unknown symbol xnshadow_send_sig Klaas Gadeyne
@ 2006-05-10 8:41 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-05-10 8:41 UTC (permalink / raw)
To: Klaas Gadeyne; +Cc: xenomai
Klaas Gadeyne wrote:
> Hi,
>
> When using the xenomai-v2.1.x branch (tested with r1058, and a
> snapshot from a couple of days ago, using the "Champagne" version of
> the nucleus IIRC), I get the above error while trying to load the
> xeno_native kernel module. Relevant data is below:
>
> [kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
> lsmod | grep xeno_nucleus
> xeno_nucleus 222112 0
> [kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
> sudo modprobe xeno_native
> FATAL: Error inserting xeno_native
> (/lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/skins/native/xeno_native.ko):
>
> Unknown symbol in module, or unknown parameter (see dmesg)
> [kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
> dmesg | tail -n 5
> Xenomai: hal/x86 started.
> I-pipe: Domain IShield registered.
> Xenomai: real-time nucleus v2.1.1 (Trundrumbalind) loaded.
> xeno_native: Unknown symbol xnshadow_send_sig
> xeno_native: Unknown symbol xnshadow_send_sig
>
> [kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
> nm --defined-only
> /lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/nucleus/xeno_nucleus.ko
>
> | grep xnshadow_send_sig
> 0000e050 T xnshadow_send_sig
> [kgad@domain.hid /lib/modules/2.6.16adeos-ipipe-1.2-05]$
> nm
> /lib/modules/2.6.16adeos-ipipe-1.2-05/kernel/kernel/xenomai/skins/native/xeno_native.ko
>
> | grep xnshadow_send_sig
> U xnshadow_send_sig
>
>
> The signatures of the function seem to match to and I don't get the
> error when using xenomai-trunk with 2.6.16adeos-ipipe-1.3-01.
>
Missing export inthe v2.1 branch which has been fixed in the v2.2 one,
the patch below fixes it. A work-around is to build the native interface
statically into the kernel, and not as a module.
--- ksrc/nucleus/shadow.c (revision 1000)
+++ ksrc/nucleus/shadow.c (working copy)
@@ -1898,4 +1898,5 @@
EXPORT_SYMBOL(xnshadow_unregister_interface);
EXPORT_SYMBOL(xnshadow_wait_barrier);
EXPORT_SYMBOL(xnshadow_suspend);
+EXPORT_SYMBOL(xnshadow_send_sig);
EXPORT_SYMBOL(nkgkptd);
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-10 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-10 8:35 [Xenomai-help] Unknown symbol xnshadow_send_sig Klaas Gadeyne
2006-05-10 8:41 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.