From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 3 10:52:55 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DFD16A41A for ; Sat, 3 Nov 2007 10:52:55 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 7CACF13C4B6 for ; Sat, 3 Nov 2007 10:52:54 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1E4EC669A9C; Sat, 3 Nov 2007 10:34:56 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0TMDoe-o5pi; Sat, 3 Nov 2007 10:34:54 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9F0DD669A70; Sat, 3 Nov 2007 10:34:54 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lA39Yr05063122; Sat, 3 Nov 2007 10:34:53 +0100 (CET) (envelope-from rdivacky) Date: Sat, 3 Nov 2007 10:34:53 +0100 From: Roman Divacky To: "Valery V.Chikalov" Message-ID: <20071103093453.GA63079@freebsd.org> References: <4721AB07.20708@novakom.com.ua> <4723A8D6.6020002@chikalov.dp.ua> <20071031180639.GA93259@cons.org> <47298F10.4050301@chikalov.dp.ua> <20071101152550.GA10868@cons.org> <472B0454.9040408@chikalov.dp.ua> <472B9CD1.1010607@chikalov.dp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <472B9CD1.1010607@chikalov.dp.ua> User-Agent: Mutt/1.4.2.3i Cc: Martin Cracauer , freebsd-emulation@freebsd.org Subject: Re: Linux emulation on FreeBSD AMD64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 10:52:55 -0000 > Ok, I have fond what is so special with this memory. Oracle uses SYSV > shared memory, and comparing output from "ipcs -mb" and > /compat/linux/proc//maps it's became clear that that suspiciously > looking too high addresses of memory chunks with missed execution bit > are SYSV shared memory areas. > > > 50000000-55c00000 rw-p 05c83000 00:00 0 - this is main chunk which > can be seen in output of "show sga" sqlplus command > > > 55c00000-55c01000 r--p 05c83000 00:00 0 > > 55c01000-55c81000 rw-p 05c83000 00:00 0 > > 55c81000-55c82000 r--p 05c83000 00:00 0 > > 55c82000-55c83000 rw-p 05c83000 00:00 0 - this are adjusted to the > end small (4096) pieces > > So, the question is what is changed in AMD64 arch with respect to SYSV > shared memory? > Why vm_map_protect from /sys/vm/vm_mmap.c returns > KERN_PROTECTION_FAILURE in attempts to change protection of such type of > memory? please try www.vlakno.cz/~rdivacky/pav.patch, I wrote that some time ago... it might not apply cleanly.. I am sure you'll cope with that :) please report back roman p.s. when replying please dont include WHOLE mail you reply to.. its very hard to read :(