Re: freebsd binary and kern.usrstack

2012-09-12 Thread Joerg Sonnenberger
On Wed, Sep 12, 2012 at 10:28:23PM +0200, Manuel Bouyer wrote: Hello, I'm trying to run a FreeBSD binary under emulation, but it dies in this piece of code: if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1) PANIC(Cannot get kern.usrstack from sysctl); (this is in

Re: freebsd binary and kern.usrstack

2012-09-12 Thread Manuel Bouyer
On Wed, Sep 12, 2012 at 10:51:55PM +0200, Joerg Sonnenberger wrote: On Wed, Sep 12, 2012 at 10:28:23PM +0200, Manuel Bouyer wrote: Hello, I'm trying to run a FreeBSD binary under emulation, but it dies in this piece of code: if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1)

re: freebsd binary and kern.usrstack

2012-09-12 Thread matthew green
OK. Indeed it doesn't looks very good. The 32bit binary aborts on a 32bit host becuase of the missing above sysctl , but I couldn't get neither the 32 or 64bit binaries to run at all on a 64bit host. doesn't look like amd64 has any support for freebsd at all.

Re: freebsd binary and kern.usrstack

2012-09-12 Thread Christos Zoulas
In article 20120912202823.ga5...@antioche.eu.org, Manuel Bouyer bou...@antioche.eu.org wrote: Hello, I'm trying to run a FreeBSD binary under emulation, but it dies in this piece of code: if (sysctl(mib, 2, _usrstack, len, NULL, 0) == -1) PANIC(Cannot get kern.usrstack from