From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 25 Mar 2022 13:26:08 +0100 (CET) From: Paal Tamas Subject: xeno-test fails when kernel 64bit userland 32bit Message-ID: MIME-Version: 1.0 Content-Type: text/plain; CHARSET=UTF-8 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Dear All, I am using xenomai_3.2.1 with kernel 5.10-dovetail on x86_64 platform. I compile the kernel to 64bit, but I need to have the userspace as 32bit. So I configured the userspace compilation the following way: ./configure --with-core=cobalt --enable-smp --enable-pshared --host=i686-linux CFLAGS="-m32 -D_FILE_OFFSET_BITS=64" LDFLAGS=-m32 host_alias=i686-linux I tried to start RTNET, but I get "Inappropriate ioctl for device" errors. I reported this issue in another thread. The problem seems to be not RTNET realted, since xeno-test fails with the same error: desktop:/usr/xenomai/bin$ sudo ./xeno-test Started child 2202: /bin/bash /usr/xenomai/bin/xeno-test-run-wrapper ./xeno-test ++ echo 0 ++ testdir=/usr/xenomai/bin ++ which systemctl ++ systemctl is-active --quiet systemd-timesyncd ++ timesyncd_was_running=true ++ systemctl stop systemd-timesyncd ++ /usr/xenomai/bin/smokey --run random_alloc_rounds=64 pattern_check_rounds=64 arith OK bufp skipped (no kernel support) cpu_affinity skipped (no kernel support) fpu_stress OK gdb OK iddp skipped (no kernel support) leaks OK memory_coreheap OK memory_heapmem OK memory_tlsf OK setup.c:96, ioctl(fd, IOC_RT_IFINFO, &cmd): Inappropriate ioctl for device /usr/xenomai/bin/smokey: test net_packet_dgram failed: Inappropriate ioctl for device + start_timesyncd + true + systemctl start systemd-timesyncd + timesyncd_was_running=false child 2202 returned: exited with status 1 What am I doing wrong? Thank you, Tamas