Date: Sat, 29 Nov 2025 07:17:12 +0000
From: bugzilla-noreply@freebsd.org
To: emulation@FreeBSD.org
Subject: [Bug 281489] linux: unsupported ioctl TIOCGPTPERR / linux_ioctl_fallback cmd=0x5441 ('T',65) and cmd=0x541c ('T',28) is not implemented..
Message-ID: <bug-281489-4077-cxltzGfC78@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281489-4077@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281489 --- Comment #2 from ykla <yklaxds@gmail.com> --- root@ykla:/home/ykla # truss -f chroot /compat/arch /bin/bash 3371: mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 56625092100096 (0x33800e800000) 3371: mprotect(0x52694101d000,8192,PROT_READ) = 0 (0x0) 3371: issetugid() = 0 (0x0) 3371: sigfastblock(0x1,0x526941020640) = 0 (0x0) 3371: open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01640030030) = 3 (0x3) 3371: fstat(3,{ mode=-rw-r--r-- ,inode=17954,size=35,blksize=4096 }) = 0 (0x0) 3371: read(3,"includedir /usr/local/etc/libmap"...,35) = 35 (0x23) 3371: close(3) = 0 (0x0) 3371: open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0165) = 3 (0x3) 3371: fcntl(3,F_ISUNIONSTACK,0x0) = 0 (0x0) 3371: getdirentries(3,"\M^@\M-y^B\0\0\0\0\0^A\0\0\0\0"...,4096,{ 0x0 }) = 104 (0x68) 3371: open("/usr/local/etc/libmap.d/mesa.conf",O_RDONLY|O_CLOEXEC,0165) = 4 (0x4) 3371: fstat(4,{ mode=-rw-r--r-- ,inode=194945,size=38,blksize=4096 }) = 0 (0x0) 3371: read(4,"libGLX_indirect.so.0 libGLX_mesa"...,38) = 38 (0x26) 3371: close(4) = 0 (0x0) 3371: getdirentries(3,0x33800e805008,4096,{ 0x171dc51c }) = 0 (0x0) 3371: close(3) = 0 (0x0) 3371: open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,036710554401) = 3 (0x3) 3371: read(3,"Ehnt^A\0\0\0\M^@\0\0\0G^A\0\0"...,128) = 128 (0x80) 3371: fstat(3,{ mode=-r--r--r-- ,inode=360832,size=455,blksize=4096 }) = 0 (0x0) 3371: pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,327,0x80) = 327 (0x147) 3371: close(3) = 0 (0x0) 3371: open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) 3371: fstat(3,{ mode=-r--r--r-- ,inode=132102,size=1957616,blksize=131072 }) = 0 (0x0) 3371: mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 47047505272832 (0x2aca19d6e000) 3371: mmap(0x0,3158016,PROT_NONE,MAP_GUARD,-1,0x0) = 47047514763264 (0x2aca1a67b000) 3371: mmap(0x2aca1a67b000,544768,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 47047514763264 (0x2aca1a67b000) 3371: mmap(0x2aca1a700000,1355776,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x84000) = 47047515308032 (0x2aca1a700000) 3371: mmap(0x2aca1a84b000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1ce000) = 47047516663808 (0x2aca1a84b000) 3371: mmap(0x2aca1a855000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1d7000) = 47047516704768 (0x2aca1a855000) 3371: mmap(0x2aca1a85c000,1187840,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 47047516733440 (0x2aca1a85c000) 3371: munmap(0x2aca19d6e000,4096) = 0 (0x0) 3371: close(3) = 0 (0x0) 3371: mprotect(0x2aca1a84b000,40960,PROT_READ) = 0 (0x0) 3371: mprotect(0x2aca1a84b000,40960,PROT_READ|PROT_WRITE) = 0 (0x0) 3371: mprotect(0x2aca1a84b000,40960,PROT_READ) = 0 (0x0) 3371: readlink("/etc/malloc.conf",0x2aca17ed8540,1024) ERR#2 'No such file or directory' 3371: issetugid() = 0 (0x0) 3371: mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 56625094197248 (0x33800ea00000) 3371: mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 56625096294400 (0x33800ec00000) 3371: mmap(0x0,6291456,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 56625098391552 (0x33800ee00000) 3371: mprotect(0x2ac1f7230000,4096,PROT_READ) = 0 (0x0) 3371: __sysctl("kern.ngroups",2,0x2aca17ed98d4,0x2aca17ed98d8,0x0,0) = 0 (0x0) 3371: chdir("/compat/arch") = 0 (0x0) 3371: chroot(".") = 0 (0x0) 3371: execve("/bin/bash",0x2aca17ed9a30,0x2aca17ed9a40) EJUSTRETURN 3371: linux_brk(0x0) = 18141184 (0x114d000) 3371: linux_access("/etc/ld.so.preload",R_OK) ERR#-2 'No such file or directory' 3371: linux_openat(0xffffff9c,0x8011641ca,0x80000,0x0) = 3 (0x3) 3371: linux_newfstat(3,0x7fffffffb670) = 0 (0x0) 3371: linux_mmap2(0x0,0x53cf,0x1,0x2,0x3,0x0) = 34378039296 (0x801174000) 3371: close(3) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x801173f90,0x80000,0x0) = 3 (0x3) 3371: read(0,0x0,0) = 832 (0x340) 3371: linux_newfstat(3,0x7fffffffb660) = 0 (0x0) 3371: linux_mmap2(0x0,0x2000,0x3,0x22,0xffffffff,0x0) = 34378063872 (0x80117a000) 3371: linux_mmap2(0x0,0x5ac68,0x1,0x802,0x3,0x0) = 34378072064 (0x80117c000) 3371: linux_mmap2(0x801192000,0x32000,0x5,0x812,0x3,0x16000) = 34378162176 (0x801192000) 3371: linux_mmap2(0x8011c4000,0x9000,0x1,0x812,0x3,0x48000) = 34378366976 (0x8011c4000) 3371: linux_mmap2(0x8011cd000,0x9000,0x3,0x812,0x3,0x51000) = 34378403840 (0x8011cd000) 3371: linux_mmap2(0x8011d6000,0xc68,0x3,0x32,0xffffffff,0x0) = 34378440704 (0x8011d6000) 3371: close(3) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x80117a510,0x80000,0x0) = 3 (0x3) 3371: read(0,0x0,0) = 832 (0x340) 3371: linux_pread(0x3,0x7fffffffb330,0x380,0x40) = 896 (0x380) 3371: linux_newfstat(3,0x7fffffffb640) = 0 (0x0) 3371: linux_pread(0x3,0x7fffffffb210,0x380,0x40) = 896 (0x380) 3371: linux_mmap2(0x0,0x211c30,0x1,0x802,0x3,0x0) = 34378612736 (0x801200000) 3371: linux_mmap2(0x801224000,0x171000,0x5,0x812,0x3,0x24000) = 34378760192 (0x801224000) 3371: linux_mmap2(0x801395000,0x6f000,0x1,0x812,0x3,0x195000) = 34380271616 (0x801395000) 3371: linux_mmap2(0x801404000,0x6000,0x3,0x812,0x3,0x203000) = 34380726272 (0x801404000) 3371: linux_mmap2(0x80140a000,0x7c30,0x3,0x32,0xffffffff,0x0) = 34380750848 (0x80140a000) 3371: close(3) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x80117aa40,0x80000,0x0) = 3 (0x3) 3371: read(0,0x0,0) = 832 (0x340) 3371: linux_newfstat(3,0x7fffffffb620) = 0 (0x0) 3371: linux_mmap2(0x0,0x6ece0,0x1,0x802,0x3,0x0) = 34380783616 (0x801412000) 3371: linux_mmap2(0x80141f000,0x47000,0x5,0x812,0x3,0xd000) = 34380836864 (0x80141f000) 3371: linux_mmap2(0x801466000,0x16000,0x1,0x812,0x3,0x54000) = 34381127680 (0x801466000) 3371: linux_mmap2(0x80147c000,0x5000,0x3,0x812,0x3,0x6a000) = 34381217792 (0x80147c000) 3371: close(3) = 0 (0x0) 3371: linux_mmap2(0x0,0x2000,0x3,0x22,0xffffffff,0x0) = 34378444800 (0x8011d7000) 3371: linux_arch_prctl(0x1002,0x8011d7b80) = 0 (0x0) 3371: linux_set_tid_address(0x8011d7e50) = 3371 (0xd2b) 3371: linux_set_robust_list(0x8011d7e60,0x18) = 0 (0x0) 3371: linux_rseq(0x8011d7ac0,0x20,0x0,0x53053053) ERR#-38 'Function not implemented' 3371: linux_mprotect(0x801404000,0x4000,0x1) = 0 (0x0) 3371: linux_mprotect(0x80147c000,0x4000,0x1) = 0 (0x0) 3371: linux_mprotect(0x8011cd000,0x3000,0x1) = 0 (0x0) 3371: linux_mprotect(0x1137000,0x3000,0x1) = 0 (0x0) 3371: linux_mprotect(0x801170000,0x2000,0x1) = 0 (0x0) 3371: linux_prlimit64(0x0,0x3,0x0,0x7fffffffc1d0) = 0 (0x0) 3371: linux_getrandom(0x80140f200,0x8,0x1) = 8 (0x8) 3371: munmap(0x801174000,21455) = 0 (0x0) 3371: linux_openat(0xffffffffffffff9c,0x1108a00,0x802,0x0) = 3 (0x3) 3371: close(3) = 0 (0x0) 3371: linux_brk(0x0) = 18141184 (0x114d000) 3371: linux_brk(0x116e000) = 18276352 (0x116e000) 3371: linux_openat(0xffffff9c,0x8013b92d0,0x80000,0x0) = 3 (0x3) 3371: linux_newfstat(3,0x801409800) = 0 (0x0) 3371: linux_mmap2(0x0,0x320580,0x1,0x2,0x3,0x0) = 34382807040 (0x801600000) 3371: close(3) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x8013b49f0,0x80000,0x0) = 3 (0x3) 3371: linux_newfstat(3,0x7fffffffbf70) = 0 (0x0) 3371: linux_mmap2(0x0,0x6982,0x1,0x1,0x3,0x0) = 34378452992 (0x8011d9000) 3371: close(3) = 0 (0x0) 3371: linux_sys_futex(0x80140972c,0x81,0x7fffffff,0x0,0x80140972c,0x0) = 0 (0x0) 3371: getresuid(0x113a4a0,0x113a4a4,0x113a4a8) = 0 (0x0) 3371: getresgid(0x113a4ac,0x113a4b0,0x113a4b4) = 0 (0x0) 3371: linux_rt_sigprocmask(0x0,0x0,0x1143b08,0x8) = 0 (0x0) 3371: linux_ioctl(0x0,0x802c542a,0x7fffffffc290) ERR#-22 'Invalid argument' 3371: linux_rt_sigaction(0x11,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x11,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x2,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x2,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x3,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x3,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x14,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x14,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x15,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x15,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x16,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x16,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_rt_sigprocmask(0x0,0x0,0x11436e0,0x8) = 0 (0x0) 3371: linux_rt_sigaction(0x3,0x7fffffffbee0,0x7fffffffbf80,0x8) = 0 (0x0) 3371: linux_newuname(0x7fffffffbff0) = 0 (0x0) 3371: linux_newfstatat(0xffffff9c,0x1154b00,0x7fffffffbf10,0x0) ERR#-2 'No such file or directory' 3371: linux_getcwd(0x11562a0,0x1000) = 2 (0x2) 3371: linux_getpid() = 3371 (0xd2b) 3371: linux_getppid() = 3370 (0xd2a) 3371: linux_getpid() = 3371 (0xd2b) 3371: linux_getppid() = 3370 (0xd2a) 3371: linux_getpid() = 3371 (0xd2b) 3371: linux_getppid() = 3370 (0xd2a) 3371: getpgrp() = 3370 (0xd2a) 3371: linux_ioctl(0x2,0x540f,0x7fffffffc164) = 0 (0x0) 3371: linux_rt_sigaction(0x11,0x7fffffffbec0,0x7fffffffbf60,0x8) = 0 (0x0) 3371: linux_prlimit64(0x0,0x6,0x0,0x7fffffffc130) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x7fffffffbe90,0x80000,0x0) = 3 (0x3) 3371: linux_newfstat(3,0x7fffffffbca0) = 0 (0x0) 3371: read(0,0x0,0) = 2998 (0xbb6) 3371: read(0,0x0,0) = 0 (0x0) 3371: close(3) = 0 (0x0) 3371: linux_openat(0xffffff9c,0x115dc10,0x0,0x0) = 3 (0x3) 3371: linux_newfstat(3,0x7fffffffc050) = 0 (0x0) 3371: linux_mmap2(0x0,0x2b192,0x1,0x2,0x3,0x0) = 34381238272 (0x801481000) 3371: close(3) = 0 (0x0) 3371: linux_rt_sigprocmask(0x0,0x0,0x1143be8,0x8) = 0 (0x0) 3371: linux_fcntl(0x0,0x3,0x0) = 2 (0x2) 3371: linux_newfstat(0,0x7fffffffc1f0) = 0 (0x0) 3371: linux_lseek(0,0,SEEK_CUR) = 1956117 (0x1dd915) -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281489-4077-cxltzGfC78>
