Hi Jan,

sry, my fault.

I enabled RTIPC as well as XDDP 


_________________________________________________________________________________________________________
Bitte überlegen Sie, ob Sie diese Nachricht wirklich ausdrucken müssen/ before 
printing, think about environmental responsibility.
Diehl Metering GmbH, Industriestraße 13, 91522 Ansbach
Telefon + 49 981 1806 0, Telefax +49 981 1806 615
Sitz der Gesellschaft: Ansbach, Registergericht: Ansbach HRB 69
Geschäftsführer: Dr. Christof Bosbach (Sprecher), Thomas Gastner, Jean-François 
Marguet
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
enthält vertrauliche und/oder rechtlich geschützte Informationen. Informieren 
Sie uns bitte, wenn Sie diese E-Mail fälschlicherweise erhalten haben. Bitte 
löschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der 
Reproduktion, Bekanntgabe, Änderung, Verteilung und/oder Publikation dieser 
E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail 
contains confidential and/or legally protected information. Please inform us if 
you have received this e-mail by mistake and delete it in such a case. Each 
unauthorized reproduction, disclosure, alteration, distribution and/or 
publication of this e-mail is strictly prohibited.
Informationen zum Datenschutz finden Sie auf unserer Homepage.
https://www.diehl.com/metering/de/diehl-metering/data-protection
Information about data protection can be found on our homepage.
https://www.diehl.com/metering/en/diehl-metering/data-protection


______________________________________
# 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?


Carsten


-----Original Message-----
From: Jan Kiszka <jan.kis...@siemens.com> 
Sent: Tuesday, March 3, 2020 6:00 PM
To: Carsten EHRMANN <carsten.ehrm...@diehl.com>; Richard Weinberger 
<richard.weinber...@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

On 03.03.20 14:02, Carsten EHRMANN wrote:
> Thanks, I added --posix to
> 
> shell  $$XENO_CONFIG --skin=native --ldflags --posix
> 
> so I have this call:
> 
> g++ -c -pipe -I/usr/xenomai/include/trank/posix 
> g++ -I/usr/xenomai/include/trank -D__XENO_COMPAT__ 
> g++ -I/usr/xenomai/include/cobalt -I/usr/xenomai/include -m32 -O2 
> g++ -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables 
> g++ -D__COBALT__ -I/usr/xenomai/include/alchemy -D__COBALT_WRAP__ -O2 
> g++ -Wall -W -fPIC -DQT_NO_DEBUG_OUTPUT -DNDEBUG -I. 
> g++ -I/usr/xenomai/include -I. -I../inc -I../inc/CSRTDaemon/ 
> g++ -I../inc/CSBase -I../inc/CSPosixAbstraction -I../inc/CSProxies 
> g++ -I../inc/CSApplication -I../inc/CSApplication/telegrams 
> g++ -I../inc/CSApplication/tasks -I../inc/CSApplication/ques 
> g++ -I../inc/CSApplication/events 
> g++ -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o 
> g++ ../tmp/obj/CSRTDaemon/release/CSRTPosixQue.o CSRTPosixQue.cpp
> 
> 
> 
> but I still have the same error.
> 

Please read our suggestions carefully: Go to your kernel build folder, invoke 
"make menuconfig" and check under Xenomai settings if RTIPC as well as XDDP are 
enable. If not, change that, rebuild, install, profit.

Jan

> 
> Carsten
> 
> 
> 
> ______________________________________________________________________
> ___________________________________
> Bitte überlegen Sie, ob Sie diese Nachricht wirklich ausdrucken müssen/ 
> before printing, think about environmental responsibility.
> Diehl Metering GmbH, Industriestraße 13, 91522 Ansbach Telefon + 49 
> 981 1806 0, Telefax +49 981 1806 615 Sitz der Gesellschaft: Ansbach, 
> Registergericht: Ansbach HRB 69
> Geschäftsführer: Dr. Christof Bosbach (Sprecher), Thomas Gastner, 
> Jean-François Marguet Der Inhalt der vorstehenden E-Mail ist nicht rechtlich 
> bindend. Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail 
> fälschlicherweise erhalten haben. Bitte löschen Sie in diesem Fall die 
> Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Änderung, 
> Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> The contents of the above mentioned e-mail is not legally binding. This 
> e-mail contains confidential and/or legally protected information. Please 
> inform us if you have received this e-mail by mistake and delete it in such a 
> case. Each unauthorized reproduction, disclosure, alteration, distribution 
> and/or publication of this e-mail is strictly prohibited.
> Informationen zum Datenschutz finden Sie auf unserer Homepage.
> https://www.diehl.com/metering/de/diehl-metering/data-protection
> Information about data protection can be found on our homepage.
> https://www.diehl.com/metering/en/diehl-metering/data-protection
> 
> 
> -----Original Message-----
> From: Richard Weinberger <richard.weinber...@gmail.com>
> Sent: Tuesday, March 3, 2020 1:08 PM
> To: Carsten EHRMANN <carsten.ehrm...@diehl.com>
> Cc: Jan Kiszka <jan.kis...@siemens.com>; xenomai@xenomai.org
> Subject: Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 
> Xenomai 3.x
> 
> On Tue, Mar 3, 2020 at 1:03 PM Carsten EHRMANN via Xenomai 
> <xenomai@xenomai.org> wrote:
>>
>> Hi Jan,
>>
>> I don't have one of the files
>>
>> - /usr/src/linux-4.9.146/include/config/xeno/drivers/rtipc/xddp.h
>>
>> - /lib/modules/4.9.146/kernel/drivers/xenomai /ipc/xeno_rtipc.ko
>>
>>
>> Where do I get them? Do they have to be installed when building the kernel?
> 
> Did you enable CONFIG_XENO_DRIVERS_RTIPC_XDDP in your kernel.
> 
> --
> Thanks,
> //richard
> 

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center 
Embedded Linux

Reply via email to