qemu: freebsd6_mmap -1 errno 12 Cannot allocate memory

Daniel Eischen deischen at freebsd.org
Fri Dec 7 09:17:46 PST 2007


On Fri, 7 Dec 2007, Boris Samorodov wrote:

> On Fri, 7 Dec 2007 22:48:52 +0700 Eugene Grosbein wrote:
>
>> There is FreeBSD box that was 6.2-STABLE before, now it became
>> 7.0-BETA3 via source upgrade. The kernel has 'options COMPAT_FREEBSD6'
>
> How did you upgrade the OS? Did you use "make delete-old-libs"?
> Did you install compat-6x?
>
>> compiled in. However, qemu-0.8.2s.20061225_1 stopped to work,
>
> Seems to be a rather old qemu version...
>
>> it dumps core when started with an error:
>
>> Fatal error 'Cannot allocate red zone for initial thread' at line 384 in
>> file /usr/local/obj/src/lib/libthr/thread/thr_init.c (errno = 12)

You have to either rebuild/install _no_ ports, or rebuild _all_
ports (portupgrade -af).  You now seem to have applications
or libraries that are linked to multiple FreeBSD library versions
(e.g., libc.so.6 and libc.so.7, libthr.so.2 and libthr.so.3,
etc) and that doesn't work and is not supported.

-- 
DE



More information about the freebsd-stable mailing list