Skip site navigation (1)Skip section navigation (2)
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’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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?276F4863-DE8C-49F7-BB60-F8614F88064C>