From owner-freebsd-hackers Sun Apr 21 20: 4: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 58E2E37B405 for ; Sun, 21 Apr 2002 20:03:55 -0700 (PDT) Received: (qmail 18432 invoked from network); 22 Apr 2002 03:03:43 -0000 Received: from ken.yumyumyum.org (192.168.0.2) by router.yumyumyum.org with SMTP; 22 Apr 2002 03:03:43 -0000 Content-Type: text/plain; charset="us-ascii" From: Kenneth Culver To: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: more on mmap2 Date: Sun, 21 Apr 2002 23:04:09 -0400 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204212304.09259.culverk@yumyumyum.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alright, sorry for the cross-post, not sure where to send this. I THINK I= got=20 linux's mmap2 working, but for some reason, the program I'm testing with = (the=20 linux version of winex, the one that runs all those neat windows directx = 8=20 games ;-) ) still does this (from truss) linux_mmap2(0x65430000,0x100000,0x0,0x22,0xffffffff,0x6) =3D 1698889728=20 (0x65430000) linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) =3D 1698889728 (0x65430= 000) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2b70,0x8) =3D 0 (0x0) write(4,0x286b2c08,64) =3D 64 (0x40) read(0x5,0x286b2c08,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2b70,0x0,0x8) =3D 0 (0x0) close(9) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) =3D 0 (0x0) writev(0x4,0x286b2c38,0x2) =3D 98 (0x62) read(0x5,0x286b2d14,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) =3D 0 (0x0) mprotect(0x65430000,0x100000,0x7) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c90,0x8) =3D 0 (0x0) write(4,0x286b2d20,64) =3D 64 (0x40) read(0x5,0x286b2d20,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c90,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) =3D 0 (0x0) write(4,0x286b2d10,64) =3D 64 (0x40) read(0x5,0x286b2d10,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_mmap2(0x0,0x120000,0x0,0x22,0xffffffff,0x6) =3D 678707200 (0x287440= 00) munmap(0x28744000,0xc000) =3D 0 (0x0) munmap(0x28860000,0x4000) =3D 0 (0x0) mprotect(0x28750000,0x10000,0x7) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_open("/",0x8000,00) =3D 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument= ' close(6) =3D 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) =3D 0 (0x0) linux_open("/",0x18800,00) =3D 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) =3D 0 (0x0) linux_fcntl64(0x6,0x2,0x1) =3D 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) =3D 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_open("/",0x8000,00) =3D 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument= ' close(6) =3D 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) =3D 0 (0x0) linux_open("/",0x18800,00) =3D 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) =3D 0 (0x0) linux_fcntl64(0x6,0x2,0x1) =3D 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) =3D 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ce0,0x8) =3D 0 (0x0) write(4,0x286b2d74,64) =3D 64 (0x40) read(0x5,0x286b2d74,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ce0,0x0,0x8) =3D 0 (0x0) exit(0x0) process exit, rval =3D 0 this is the end of the truss output, can anyone tell me if anything in th= is=20 truss output looks like it would cause the program to exit without doing=20 anything? (this is what happens, it doesn't do ANYTHING at all Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message