You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built cFS v6.8 on my host computer with ubuntu18.04 and was able to run it communicating with Cosmos.
Also I was able to build a docker container for cFS v6.8 with s390x/ubuntu (IBM zSeries Based Linux, big endian CPU), but I have an error when I build cFS in the docker container and run it.
root@hkim:~/cfs/build/exe/cpu1# ./core-cpu1
CFE_PSP: Default Reset SubType = 1
CFE_PSP: Default CPU ID = 1
CFE_PSP: Default Spacecraft ID = 43
CFE_PSP: Default CPU Name: cpu1
OS_Posix_TableMutex_Init():220:Error: pthread_mutex_init failed: Operation not supported
OS_API_Init():116:OS_API_Impl_Init(0x1) failed to initialize: -1
OS_API_Init():195:Warning: Microsecs per sec value of 0 does not equal 1000000 (MicroSecPerTick: 0 TicksPerSecond: 0)
CFE_PSP: OS_API_Init() failure
Aborted (core dumped)
The error occurs in osal/src/os/posix/src/os-impl-common.c.
OSAL: Development Build: 5.0.0+dev247
But if I build the docker container by changing to i686/ubuntu or i386/ubuntu (little endian CPU) in the same Dockerfile, I have no run-time errors and can run cFS with problems. I wonder if anyone had the same problem with s390x and found a way to fix this error.
If you know another big endian CPU that I can build a docker container with, please let me know.
Thank you!
Harry Kim
The text was updated successfully, but these errors were encountered:
Hi,
I have built cFS v6.8 on my host computer with ubuntu18.04 and was able to run it communicating with Cosmos.
Also I was able to build a docker container for cFS v6.8 with s390x/ubuntu (IBM zSeries Based Linux, big endian CPU), but I have an error when I build cFS in the docker container and run it.
root@hkim:~/cfs/build/exe/cpu1# ./core-cpu1
CFE_PSP: Default Reset SubType = 1
CFE_PSP: Default CPU ID = 1
CFE_PSP: Default Spacecraft ID = 43
CFE_PSP: Default CPU Name: cpu1
OS_Posix_TableMutex_Init():220:Error: pthread_mutex_init failed: Operation not supported
OS_API_Init():116:OS_API_Impl_Init(0x1) failed to initialize: -1
OS_API_Init():195:Warning: Microsecs per sec value of 0 does not equal 1000000 (MicroSecPerTick: 0 TicksPerSecond: 0)
CFE_PSP: OS_API_Init() failure
Aborted (core dumped)
The error occurs in osal/src/os/posix/src/os-impl-common.c.
OSAL: Development Build: 5.0.0+dev247
But if I build the docker container by changing to i686/ubuntu or i386/ubuntu (little endian CPU) in the same Dockerfile, I have no run-time errors and can run cFS with problems. I wonder if anyone had the same problem with s390x and found a way to fix this error.
If you know another big endian CPU that I can build a docker container with, please let me know.
Thank you!
Harry Kim
The text was updated successfully, but these errors were encountered: