From owner-freebsd-emulation Fri Feb 21 20:13:40 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 6DB1E37B401; Fri, 21 Feb 2003 20:13:39 -0800 (PST) Received: from mobile.hub.org (u173n136.eastlink.ca [24.224.173.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9AA143FA3; Fri, 21 Feb 2003 20:13:38 -0800 (PST) (envelope-from scrappy@hub.org) Received: by mobile.hub.org (Postfix, from userid 1000) id 75FBB3F73; Sat, 22 Feb 2003 00:13:37 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mobile.hub.org (Postfix) with ESMTP id 706F03F68; Sat, 22 Feb 2003 00:13:37 -0400 (AST) Date: Sat, 22 Feb 2003 00:13:37 -0400 (AST) From: The Hermit Hacker X-X-Sender: scrappy@localhost To: Luoqi Chen Cc: freebsd-stable@FreeBSD.ORG, Tor.Egge@cvsup.no.freebsd.org, freebsd-emulation@FreeBSD.ORG Subject: RE: Raising KVA_PAGES breaks linux emulation? In-Reply-To: Message-ID: <20030222000715.K59175@localhost> References: 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 On Fri, 21 Feb 2003, Luoqi Chen wrote: > > And the core dump provides no information: > > > > #0 0x87c0b256 in ?? () > > (kgdb) where > > #0 0x87c0b256 in ?? () > > #1 0x8014e46c in boot (howto=256) at > > /usr/src/sys/kern/kern_shutdown.c:223 > > #2 0x8014eb91 in panic (fmt=0x8022fcf9 "%s") at > > /usr/src/sys/kern/kern_shutdown.c:595 > > #3 0x801ffb69 in trap_fatal (frame=0xb07c3e50, eva=3217030872) > ^^^^^^^^^^ > eva = 0xbfbffed8, this was user stack for KVA_PAGES=256. Did you > recompile your linux.ko module? venus# ls -lt /kernel /modules/linux.ko -r-xr-xr-x 1 root wheel 1080642 Feb 14 13:39 /modules/linux.ko -r-xr-xr-x 1 root wheel 1723783 Feb 14 13:39 /kernel venus# strings /kernel | grep ^___options ___options KVA_PAGES=512 Now, when I did this the first time, I got a bunch of thread issues, so Tor sent me a patch (included in previous email) to fix it in libc_r ... does the linux module make use of KVA_PAGES as defined in the kernel config file, or do I have to change KVA_PAGES in /sys/i386/include/pmap.h for the modules to recognize the change? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message