Linux emulation on FreeBSD AMD64

Martin Cracauer cracauer at cons.org
Wed Oct 31 12:44:06 PDT 2007


Valery V.Chikalov wrote on Sun, Oct 28, 2007 at 12:08:38AM +0300: 
> Oct 27 19:42:59 tiger kernel: mprotect addr:2a27d000, return 0
> Oct 27 19:42:59 tiger kernel: mprotect addr:2a7c1000, return 0
> Oct 27 19:42:59 tiger kernel: mprotect addr:2a7cd000, return 0
> Oct 27 19:42:59 tiger kernel: mprotect addr:2a7e2000, return 0
> Oct 27 19:42:59 tiger kernel: mprotect addr:2a7ef000, return 0
> Oct 27 19:43:09 tiger kernel: mprotect addr:55c00000, return 13
> Oct 27 19:43:09 tiger kernel: mprotect addr:55c81000, return 13

You need to check whether these is anything mapped there in the first
place and what the permissions are.

This is probably best done by changing your debugging code in the
Linuxulator to print amessage, then sleep for 10 seconds giving you
time to copy the memory map to a safe place, then look up what the
mapping at the position was.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer at cons.org>   http://www.cons.org/cracauer/
FreeBSD - where you want to go, today.      http://www.freebsd.org/


More information about the freebsd-emulation mailing list