Date: Fri, 9 Sep 2016 16:34:51 -0500 From: Joe Love <joe@getsomewhere.net> To: freebsd-emulation@freebsd.org Subject: linux-compat semctl operation - bad address Message-ID: <276F4863-DE8C-49F7-BB60-F8614F88064C@getsomewhere.net>
next in thread | raw e-mail | index | archive | help
Hi, I have a linux binary I=E2=80=99m trying to run on a 12-CURRENT machine = with the linux_base-c7 (64-bit) port. When trying to run it, it starts up and then spits out this error: shm_semaphores_init: semctl init error: Bad address - trying again I=E2=80=99m guessing that it=E2=80=99s reaching the end of the switch = statement in sys/compat/linux/linux_ipc.c=E2=80=99s linux_semctl(=E2=80=A6= ) function and getting an EINVAL result. That=E2=80=99s a guess, = however, as I don=E2=80=99t know enough about debugging at this level in = order to tell what it=E2=80=99s actually doing. Can anyone tell me how to get the results of the linux_msg() call at the = end of the function to find out what ipc type it=E2=80=99s trying to = utilize, and with a little luck maybe get a patch created to support = whatever operation it=E2=80=99s trying? Thanks, -Joe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?276F4863-DE8C-49F7-BB60-F8614F88064C>