This documentation is subject to changes, The version 4.6 has not been officially released.

OS checks

Check Internet and DNS Connectivity

To get started with the AI Manager, ensure you have internet access and a functioning DNS. To troubleshoot and verify internet connectivity and DNS functionality on a Linux system, follow these steps:

1.. Test Internet Connectivity

To test if you have internet connectivity, you can try pinging an external server like Google's DNS server.

  • Ping an external server: Run the following command:

    ping -c 4 8.8.8.8

    This command sends four ICMP echo requests to Google's DNS server. If you receive replies, your internet connection is working.

2. Verify DNS Functionality

If your network connection is active but you suspect DNS issues, you should verify that DNS resolution functions correctly.

  • Ping a domain name: To check if DNS is working, try pinging a domain name:

    ping -c 4 google.com

    If the domain name resolves to an IP address and you receive replies, your DNS works. If not, you might see an error like "unknown host," indicating a DNS resolution issue.

Failed to create SHM:: Function not implemented

The issue is that the image on the device has not been compiled with the SHM flag. We work with shared memory. (By default, Ubuntu, and Debian, have SHM enabled.) In other words, CONFIG_SYSVIPC=y needs to be enabled.

Explanation and Clarification:

  1. The Issue:

    The problem arises because the software image (likely an operating system or kernel) on a particular device was not compiled with the SHM (Shared Memory) flag enabled. This flag is necessary for certain features related to shared memory to work properly.

  2. Shared Memory:

    Shared memory is a method of inter-process communication (IPC) that allows multiple processes to access the same segment of memory. This is essential for certain applications that need to exchange data quickly without going through the slower process of sending data through sockets or files.

  3. Ubuntu Default:

    Ubuntu (which is likely the base operating system being used) has shared memory support enabled by default. This means that the necessary settings for shared memory are turned on in the standard Ubuntu configuration.

  4. CONFIG_SYSVIPC=y:

    This is a configuration option in the Linux kernel. CONFIG_SYSVIPC controls whether System V IPC (which includes shared memory, semaphores, and message queues) is enabled in the kernel. The y indicates that this option should be enabled. Without this setting, shared memory and other IPC mechanisms would not be available.

Summary: The current device's software image doesn't support shared memory because the SHM flag wasn't enabled during compilation. To fix this, the CONFIG_SYSVIPC=y option needs to be enabled in the kernel configuration.

Last updated