Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

Richard Weinberger richard at nod.at
Thu Mar 5 12:07:21 CET 2020


----- Ursprüngliche Mail -----
> Von: "Carsten EHRMANN" <Carsten.Ehrmann at diehl.com>
> An: "Jan Kiszka" <jan.kiszka at siemens.com>, "Richard Weinberger" <richard.weinberger at gmail.com>
> CC: "xenomai" <xenomai at xenomai.org>
> Gesendet: Donnerstag, 5. März 2020 11:17:26
> Betreff: RE: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

> Hi Jan,
> 
> sry, my fault.
> 
> I enabled RTIPC as well as XDDP
> 
> 
> ______________________________________
> # Real-time IPC drivers
> #
> CONFIG_XENO_DRIVERS_RTIPC=m
> CONFIG_XENO_DRIVERS_RTIPC_XDDP=y
> CONFIG_XENO_DRIVERS_RTIPC_IDDP=y
> CONFIG_XENO_OPT_IDDP_NRPORT=32
> CONFIG_XENO_DRIVERS_RTIPC_BUFP=y
> CONFIG_XENO_OPT_BUFP_NRPORT=32
> ______________________________________
> 
> Then build the kernel again.
> 
> Then I checked weather xeno_rtipc.ko was loaded, it wasn't. I tried it with
> insmod and modprobe but both got error: Unknown symbol in module
> 
> The Dmesg:
> [  230.190867] xeno_rtipc: Unknown symbol xnmap_delete (err 0)
> [  230.190900] xeno_rtipc: Unknown symbol xnpipe_connect (err 0)
> [  230.191011] xeno_rtipc: Unknown symbol xnpipe_states (err 0)
> [  230.191043] xeno_rtipc: Unknown symbol xnmap_enter (err 0)
> [  230.191068] xeno_rtipc: Unknown symbol xnpipe_mfixup (err 0)
> [  230.191122] xeno_rtipc: Unknown symbol xnpipe_disconnect (err 0)
> [  230.191180] xeno_rtipc: Unknown symbol xnmap_create (err 0)
> [  230.191231] xeno_rtipc: Unknown symbol xnmap_remove (err 0)
> [  230.191310] xeno_rtipc: Unknown symbol xnpipe_send (err 0)
> [  230.191341] xeno_rtipc: Unknown symbol xnpipe_recv (err 0)
> 
> 
> 
> Do I need some other xenomai settings enabled or  libraries?

Looks more like kernel and module do not match.
A common problem is that one enables drivers and just copies the new modules
but enabling drivers changes also core kernel stuff and therefore you need
also to install the recently build kernel.

Thanks,
//richard



More information about the Xenomai mailing list