tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freebsd binary and kern.usrstack



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 FreeBSD's src/lib/libthr/thread/thr_init.c).

Is there something that can be done about it easily ?
And, BTW, do we support FreeBSD threaded binaries ?

sysctl "kern.smp.cpus" may also be needed ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index