Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2003 00:13:37 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Luoqi Chen <lchen@briontech.com>
Cc:        freebsd-stable@FreeBSD.ORG, Tor.Egge@cvsup.no.freebsd.org, freebsd-emulation@FreeBSD.ORG
Subject:   RE: Raising KVA_PAGES breaks linux emulation?
Message-ID:  <20030222000715.K59175@localhost>
In-Reply-To: <AHEKICEOIHLOGINAFIINIENACAAA.lchen@briontech.com>
References:  <AHEKICEOIHLOGINAFIINIENACAAA.lchen@briontech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030222000715.K59175>