linux-compat semctl operation - bad address
Joe Love
joe at getsomewhere.net
Fri Sep 9 21:34:59 UTC 2016
Hi,
I have a linux binary I’m 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’m guessing that it’s reaching the end of the switch statement in sys/compat/linux/linux_ipc.c’s linux_semctl(…) function and getting an EINVAL result. That’s a guess, however, as I don’t know enough about debugging at this level in order to tell what it’s 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’s trying to utilize, and with a little luck maybe get a patch created to support whatever operation it’s trying?
Thanks,
-Joe
More information about the freebsd-emulation
mailing list