From owner-freebsd-emulation Fri Feb 21 10: 8: 8 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D1037B401; Fri, 21 Feb 2003 10:08:06 -0800 (PST) Received: from hub.org (hub.org [64.49.215.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A5C43F3F; Fri, 21 Feb 2003 10:08:06 -0800 (PST) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [64.49.215.141]) by hub.org (Postfix) with ESMTP id 612D58AA48C; Fri, 21 Feb 2003 14:08:05 -0400 (AST) Date: Fri, 21 Feb 2003 14:08:05 -0400 (AST) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org Cc: freebsd-emulation@freebsd.org Subject: Raising KVA_PAGES breaks linux emulation? Message-ID: <20030221140043.Y68094@hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Morning all ... I've just increased my KVA_PAGES to 512, based on recommendations, and fixed the issue with libc_r, based on a patch I received ... the system as a whole is working working quite well now, but, linux emulation no longer appears to be working ... linux is loaded: 4 1 0x87beb000 15000 linux.ko and libraries are installed: venus# ls -lt /compat/linux/lib/libpthread* lrwxr-xr-x 1 root wheel 17 Dec 31 20:31 /compat/linux/lib/libpthread.so.0 -> libpthread-0.9.so -rwxr-xr-x 1 root wheel 559279 Oct 10 11:49 /compat/linux/lib/libpthread-0.9.so but if I try and run the linux javac, it gives me: error while loading shared libraries: libpthread.so.0: cannot open shared object file: Error 14 if I try to run /compat/linux/sbin/ldconfig (as in /etc/rc when linux_enable is YES), I get: venus# /compat/linux/sbin/ldconfig /compat/linux/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf: Bad address /compat/linux/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Bad address did raising KVA_PAGES break the linux emulation / libraries, or is this something else I'm missing? As a side note, on another server that I raised KVA_PAGES to 512 on, I tried doing a 'make install' of linux_base, and each time I ran it (did it a couple of times, just to confirm that it was that that was causing the crash), the server would crash, but I was unable to get core to dump ... I had thought maybe it was a problem with that server, but now I'm suspecting it might be the linux emulation itself ... Server code is relatively up to date: 4.7-STABLE #32: Fri Feb 14 12:58:45 CST 2003 Thoughts? Suggestions? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message