From owner-freebsd-stable@FreeBSD.ORG Sat Dec 8 14:37:14 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D228C16A418 for ; Sat, 8 Dec 2007 14:37:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9217513C45B for ; Sat, 8 Dec 2007 14:37:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id lB8EbCAr009943; Sat, 8 Dec 2007 09:37:12 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Sat, 08 Dec 2007 09:37:13 -0500 (EST) Date: Sat, 8 Dec 2007 09:37:12 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Eugene Grosbein In-Reply-To: <20071208064703.GA40347@svzserv.kemerovo.su> Message-ID: References: <20071207154852.GA22166@grosbein.pp.ru> <20860185@bb.ipt.ru> <20071208042252.GA30019@svzserv.kemerovo.su> <20071208054552.GP83121@deviant.kiev.zoral.com.ua> <20071208055537.GA38551@svzserv.kemerovo.su> <20071208060206.GQ83121@deviant.kiev.zoral.com.ua> <20071208060947.GB38551@svzserv.kemerovo.su> <20071208064703.GA40347@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kostik Belousov , Boris Samorodov , stable@freebsd.org Subject: Re: SOLVED: qemu: freebsd6_mmap -1 errno 12 Cannot allocate memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2007 14:37:14 -0000 On Sat, 8 Dec 2007, Eugene Grosbein wrote: > On Sat, Dec 08, 2007 at 01:09:47PM +0700, Eugene Grosbein wrote: > >>>> Thank you. Now I wonder, how such thing may happen >>>> if qemu was built under 6.2 where there were no >>>> libthr.so.3 and libc.so.7? >>> Most likely, you have rebuilt some library that brough in the dependencies. >>> Check with readelf -d (look for NEEDED tags). >> >> $ readelf -d `which qemu` | grep NEEDED >> 0x00000001 (NEEDED) Shared library: [libm.so.4] >> 0x00000001 (NEEDED) Shared library: [libz.so.3] >> 0x00000001 (NEEDED) Shared library: [libSDL.so.11] >> 0x00000001 (NEEDED) Shared library: [libutil.so.5] >> 0x00000001 (NEEDED) Shared library: [libpthread.so.2] >> 0x00000001 (NEEDED) Shared library: [libc.so.6] >> >> Well, libSDL.so.11 is a culprit here. I'll try to get older version to >> /usr/local/lib/compat and use libmap.conf to resolve this. > > The problem is solved with libSDL.so.11 extracted from backup > to /usr/local/lib/compat and a section in /etc/libmap.conf: > > [qemu] > libSDL.so.11 compat/libSDL.so.11 > > So qemu just works again. Thank you very much! Please reread my original reply to you. If you are going to be rebuilding or installing new ports, then you really need to do a portupgrade -af. The same thing may happen again for some other library. -- DE