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

Carsten EHRMANN Carsten.Ehrmann at diehl.com
Tue Mar 3 13:02:38 CET 2020


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?



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: Jan Kiszka <jan.kiszka at siemens.com> 
Sent: Tuesday, March 3, 2020 11:52 AM
To: Carsten EHRMANN <Carsten.Ehrmann at diehl.com>; xenomai at xenomai.org
Subject: Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x

On 03.03.20 11:44, Carsten EHRMANN wrote:
> Hi Jan,
> 
> after a few try and error I got the code compiled. When I try to start 
> the executable I got the following error from rt_pipe_create(): -97
> 
> I use the function as follow: 
> if(rt_pipe_create(&mControlPipe,aControlPipeName,P_MINOR_AUTO,2048) >= 
> 0)
> 
> In the logfile there is no error from the kernel. Latency, Clock and Switch test have been ok.
> 
> Do you know what this mean? I haven't found anything .
> 

EAFNOSUPPORT - seems your kernel lacks support for the pipe or some module is missing. Make sure you have XENO_DRIVERS_RTIPC_XDDP and the xeno_rtipc.ko is loaded (if it's a module).

Jan

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


More information about the Xenomai mailing list