RE: IPCF : could not insert module /lib/modules/5.10.109-rt65+g0bace7fde5f5/extra//ipc-shm-sample.ko

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RE: IPCF : could not insert module /lib/modules/5.10.109-rt65+g0bace7fde5f5/extra//ipc-shm-sample.ko

609 Views
Jitender1203
Contributor III

Hi,

I'm working on a IPCF_Example_S32G274_M7_0.  I am following the description.txt file (attached below) provided by NXP.

getting error : ERROR: could not insert module /lib/modules/5.10.109-rt65+g0bace7fde5f5/extra/ipc-shm-sample.ko: Address already in use

s32g274ardb2 login: root
(XEN) grant_table.c:1839:d1v1 Expanding d1 grant table from 7 to 8 frames
(XEN) grant_table.c:1839:d1v1 Expanding d1 grant table from 8 to 9 frames
root@s32g274ardb2:~# insmod /lib/modules/`uname -r`/extra/ipc-shm-dev.ko
insmod: ERROR: could not insert module /lib/modules/5.10.109-rt65+g0bace7fde5f5/extra/ipc-shm-dev.ko: File exists
root@s32g274ardb2:~# insmod /lib/modules/`uname -r`/extra/ipc-shm-sample.ko
[ 58.320851] ipc-shm-dev: ipc_os_init(): Unable to reserve local shm region
insmod: ERROR: could not insert module /lib/modules/5.10.109-rt65+g0bace7fde5f5/extra/ipc-shm-sample.ko: Address already in use
root@s32g274ardb2:~# echo 10 > /sys/kernel/ipc-shm-sample/ping
-sh: /sys/kernel/ipc-shm-sample/ping: No such file or directory

 

Jitender1203_0-1682676535926.png

 

0 Kudos
Reply
1 Reply

585 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using a modified version of the NXP BSP? We have found bugs under the BSP33.0 release with the IPCF package, seems there was a problem when building it. AN13750 available under the S32G2 product page (link: S32G2 Safe and Secure Vehicle Network Processor | NXP Semiconductors) shows the building of the IPCF package for BSP33.0, this provided us with an IPCF working package under BSP33.0.

Another recommendation, if feasible, is moving to BSP35.0, which we have confirmed that IPCF package is working as the example expects.

Solved: Re: Problem: S32R45 IPCF insmod ipc-shm-sample.ko ... - NXP Community

It is a different platform, but the BSP is shared and share the same concept.

Please, let us know.

0 Kudos
Reply