From owner-freebsd-emulation Sun Apr 21 12:25: 4 2002 Delivered-To: freebsd-emulation@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 6551137B41A for ; Sun, 21 Apr 2002 12:24:54 -0700 (PDT) Received: (qmail 16373 invoked from network); 21 Apr 2002 19:24:44 -0000 Received: from ken.yumyumyum.org (192.168.0.2) by router.yumyumyum.org with SMTP; 21 Apr 2002 19:24:44 -0000 Content-Type: text/plain; charset="us-ascii" From: Kenneth Culver To: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: implementing linux mmap2 syscall Date: Sun, 21 Apr 2002 15:25:08 -0400 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204211525.08827.culverk@yumyumyum.org> 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 Hi, =09I have recently been trying to implement the linux mmap2 syscall into = our=20 linuxulator, and I have run into a little problem.=20 I looked at the code that was used to implement the regular linux_mmap=20 syscall, and I've also looked in the linux kernel at the code that they u= se=20 for mmap and mmap2. Basically this is in the linux kernel: This is what mmap does in linux... static inline unsigned long do_mmap(struct file *file, unsigned long addr= , =09unsigned long len, unsigned long prot, =09unsigned long flag, unsigned long offset) { =09unsigned long ret =3D -EINVAL; =09if ((offset + PAGE_ALIGN(len)) < offset) =09=09goto out; =09if (!(offset & ~PAGE_MASK)) =09=09ret =3D do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_S= HIFT); out: =09return ret; } This is what mmap2 does: andstatic inline long do_mmap2( =09unsigned long addr, unsigned long len, =09unsigned long prot, unsigned long flags, =09unsigned long fd, unsigned long pgoff) { =09int error =3D -EBADF; =09struct file * file =3D NULL; =09flags &=3D ~(MAP_EXECUTABLE | MAP_DENYWRITE); =09if (!(flags & MAP_ANONYMOUS)) { =09=09file =3D fget(fd); =09=09if (!file) =09=09=09goto out; =09} =09down_write(¤t->mm->mmap_sem); =09error =3D do_mmap_pgoff(file, addr, len, prot, flags, pgoff); =09up_write(¤t->mm->mmap_sem); =09if (file) =09=09fput(file); out: =09return error; } So what it looks like to me is that mmap2 expects an offset that's alread= y=20 page-aligned (I'm not sure if this is the right way to say it), where mma= p=20 doesn't. the FreeBSD code in the linuxulator basically just takes the off= set=20 that is passed in with the linux mmap, and uses that to call FreeBSD's mm= ap=20 (the kernel version, not the one called from userland). So basically I'm=20 kinda stuck as to what to do to implement linux's mmap2. The only thing I= can=20 think of is to implement a FreeBSD "mmap2" that basically assumes that th= e=20 offset passed in is already page aligned or whatever, and just uses it, a= nd=20 then have linux_mmap2() just call the FreeBSD mmap2(). Any ideas? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Apr 21 15: 5:12 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mailbox-13.st1.spray.net (mailbox-13.st1.spray.net [212.78.202.113]) by hub.freebsd.org (Postfix) with ESMTP id DA87037B405 for ; Sun, 21 Apr 2002 15:05:08 -0700 (PDT) Received: from firemail.de (acn.pl [212.76.32.13]) by mailbox-13.st1.spray.net (8.8.8/8.8.8) with SMTP id AAA25544 for ; Mon, 22 Apr 2002 00:03:02 +0200 (DST) Posted-Date: Mon, 22 Apr 2002 00:03:02 +0200 (DST) Message-Id: <200204212203.AAA25544@mailbox-13.st1.spray.net> From: "Manto" To: Subject: USED FORMWORK MANTO HUENNEBECK Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 22 Apr 2002 00:05:29 +0200 Content-Transfer-Encoding: quoted-printable 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 DEAR SIR, OUR COMPANY IS TRADING WITH USED CONSTRUCTION EQUIPMENT IN WEST AND EAS= T = EUROPE. WE HAVE FOR SALE MANTO HUENNEBECK FORMWORK IN VERY GOOD CONDITION COMPL= ET = WITH CLAMPS. 1 000 SQM LOCATION GERMANY ALSO FOR SALE PERI/DOKA/THYSSEN HUENNEBECK IF INTEREST WE CAN SEND YOU PICTURES PER E-MAIL. PRICE 10 % FROM NEW PRICE. BEST REGARDS. S.BUTAUX VISIT OUR WEB SITE FOR USED CONSTRUCTION EQUIPMENT: HTTP://WWW.BAU-CENTER.COM TEL: 00 49 177 57 57 329 TEL: 00 48 604 280 506 FAX: 00 49 25 61 95 950 4001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Apr 21 20: 4: 2 2002 Delivered-To: freebsd-emulation@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 5850837B404 for ; Sun, 21 Apr 2002 20:03:54 -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-emulation@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-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 8:47:56 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8E2F137B431; Mon, 22 Apr 2002 08:46:24 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id KAA02472; Mon, 22 Apr 2002 10:07:25 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g3ME6tV42317; Mon, 22 Apr 2002 10:06:55 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.6399.62081.426193@grasshopper.cs.duke.edu> Date: Mon, 22 Apr 2002 10:06:55 -0400 (EDT) To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: implementing linux mmap2 syscall In-Reply-To: <200204211525.08827.culverk@yumyumyum.org> References: <200204211525.08827.culverk@yumyumyum.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Kenneth Culver writes: > static inline unsigned long do_mmap(struct file *file, unsigned long addr, <..> > ret = do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); > out: > return ret; > } > > This is what mmap2 does: > > andstatic inline long do_mmap2( > unsigned long addr, unsigned long len, > unsigned long prot, unsigned long flags, > unsigned long fd, unsigned long pgoff) <...> > error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); > > So what it looks like to me is that mmap2 expects an offset that's already > page-aligned (I'm not sure if this is the right way to say it), where mmap > doesn't. the FreeBSD code in the linuxulator basically just takes the offset To me, it looks like mmap2 takes an offset that's a page index, rather than a byte position. Since linux passes the offset with a 32-bit long, rather than a 64-bit off_t like we do, they need to do this in order to be able to map offsets larger than 4GB into a file. For linux_mmap2, I'd think we want to do roughly the same things as linux_mmap, but with bsd_args.pos = ctob((off_t)linux_args.pos) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 11:41:37 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from ns.bsag.ch (ns.bsag.ch [62.2.201.74]) by hub.freebsd.org (Postfix) with ESMTP id F1E4937B419 for ; Mon, 22 Apr 2002 11:41:34 -0700 (PDT) Received: from gw.bsag.ch (root@localhost) by ns.bsag.ch with ESMTP id g3MIeGQ02716 for ; Mon, 22 Apr 2002 20:40:16 +0200 (CEST) Received: from ns.bsag.ch (bs13.bsag.ch [192.168.1.13]) by gw.bsag.ch with ESMTP id g3MIeGU02712 for ; Mon, 22 Apr 2002 20:40:16 +0200 (CEST) Received: from bsag.ch (bs82 [192.168.1.82]) by ns.bsag.ch (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g3MIbr122180 for ; Mon, 22 Apr 2002 20:37:53 +0200 Received: (from hpr@localhost) by bsag.ch (8.11.6/8.11.6) id g3MIbqI00980 for freebsd-emulation@freebsd.org; Mon, 22 Apr 2002 20:37:52 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Mon, 22 Apr 2002 20:37:52 +0200 From: Hanspeter Roth To: freebsd-emulation@freebsd.org Subject: Vmware2, suspend and Rtc Message-ID: <20020422203752.A885@bsag.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 I have NT4 as a guest OS on vmware2-2.0.4.1142 on linux_base-6.1_1 with devices from linux_base-6.1. When I boot NT it comes into idle state. When I resume from suspend with Rtc connected Vmware is using 99% Cpu even though Nt thinks it's idle. As long as I disconnect Rtc Vmware becomes quite until I reconnect Rtc again. What's wrong? I haven't seen this with Linux as host OS. -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 13: 6:45 2002 Delivered-To: freebsd-emulation@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 3A33637B405 for ; Mon, 22 Apr 2002 13:06:33 -0700 (PDT) Received: (qmail 22813 invoked from network); 22 Apr 2002 20:04:19 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 22 Apr 2002 20:04:19 -0000 Date: Mon, 22 Apr 2002 16:04:18 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15556.6399.62081.426193@grasshopper.cs.duke.edu> Message-ID: <20020422155927.E22719-100000@alpha.yumyumyum.org> 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 > To me, it looks like mmap2 takes an offset that's a page index, rather > than a byte position. Since linux passes the offset with a 32-bit > long, rather than a 64-bit off_t like we do, they need to do this in > order to be able to map offsets larger than 4GB into a file. > > For linux_mmap2, I'd think we want to do roughly the same things as > linux_mmap, but with bsd_args.pos = ctob((off_t)linux_args.pos) > > Drew > > AHH, ok I was wondering where PAGE_SHIFT was for FreeBSD. I guess ctob does what I need it to. I think that's probably why it still wasn't working yet... I think it also has to be page aligned before you pass it in though, I have to look at linux's do_mmap_pgoff() (I think that's the right function name) to see if it's expecting an already page-aligned arg, or if it's aligning it before it uses it. Thanks Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 13:12:23 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from beamer.mchh.siemens.de (beamer.mchh.siemens.de [194.138.158.163]) by hub.freebsd.org (Postfix) with ESMTP id 7B97A37B405 for ; Mon, 22 Apr 2002 13:12:16 -0700 (PDT) Received: from blues.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.227]) by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id SAA05562; Mon, 22 Apr 2002 18:02:31 +0200 (MET DST) Received: from mchh274e.demchh201e.icn.siemens.de ([139.21.200.84]) by blues.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id SAA10065; Mon, 22 Apr 2002 18:02:09 +0200 (MET DST) Received: by MCHH274E with Internet Mail Service (5.5.2653.19) id <268QGGDD>; Mon, 22 Apr 2002 18:02:40 +0200 Message-ID: <67E0BE167008D31185F60008C7289DA0E13189@MCHH218E> From: Reifenberger Michael EXT To: "'Andrew Gallatin'" , Kenneth Culver Cc: freebsd-emulation@FreeBSD.ORG Subject: AW: implementing linux mmap2 syscall Date: Mon, 22 Apr 2002 18:02:39 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable 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 Hi, BTW: NETBSD seems so have the newer syscalls implemented. Take a look at: http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/compat/linux/common/linux= _misc.c?rev=3D1.107&content-type=3Dtext/x-cvsweb-markup versus old mmap at: http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/compat/linux/common/linux= _oldmmap.c?rev=3D1.58&content-type=3Dtext/x-cvsweb-markup Bye/2 ------ Michael Reifenberger - IT, UNIX, R/3-Basis Work: Michael.Reifenberger@plaut.de Proj: = Michael.Reifenberger.gp@icn.siemens.de Pers: Michael@Reifenberger.com Webspace: http://www.reifenberger.com -----Urspr=FCngliche Nachricht----- Von: Andrew Gallatin [mailto:gallatin@cs.duke.edu] Gesendet: Montag, 22. April 2002 16:07 An: Kenneth Culver Cc: freebsd-hackers@FreeBSD.ORG; freebsd-emulation@FreeBSD.ORG Betreff: Re: implementing linux mmap2 syscall Kenneth Culver writes: > static inline unsigned long do_mmap(struct file *file, unsigned long = addr, <..> > ret =3D do_mmap_pgoff(file, addr, len, prot, flag, offset >> = PAGE_SHIFT); > out: > return ret; > } >=20 > This is what mmap2 does: >=20 > andstatic inline long do_mmap2( > unsigned long addr, unsigned long len, > unsigned long prot, unsigned long flags, > unsigned long fd, unsigned long pgoff) <...> > error =3D do_mmap_pgoff(file, addr, len, prot, flags, pgoff); >=20 > So what it looks like to me is that mmap2 expects an offset that's = already=20 > page-aligned (I'm not sure if this is the right way to say it), = where mmap=20 > doesn't. the FreeBSD code in the linuxulator basically just takes = the offset=20 To me, it looks like mmap2 takes an offset that's a page index, rather than a byte position. Since linux passes the offset with a 32-bit long, rather than a 64-bit off_t like we do, they need to do this in order to be able to map offsets larger than 4GB into a file. For linux_mmap2, I'd think we want to do roughly the same things as linux_mmap, but with bsd_args.pos =3D ctob((off_t)linux_args.pos) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 13:25:37 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 5C37637B61B; Mon, 22 Apr 2002 13:24:33 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA14970; Mon, 22 Apr 2002 16:23:28 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g3MKMwe02443; Mon, 22 Apr 2002 16:22:58 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.28962.259876.509643@grasshopper.cs.duke.edu> Date: Mon, 22 Apr 2002 16:22:58 -0400 (EDT) To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <20020422155927.E22719-100000@alpha.yumyumyum.org> References: <15556.6399.62081.426193@grasshopper.cs.duke.edu> <20020422155927.E22719-100000@alpha.yumyumyum.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Kenneth Culver writes: > > To me, it looks like mmap2 takes an offset that's a page index, rather > > than a byte position. Since linux passes the offset with a 32-bit > > long, rather than a 64-bit off_t like we do, they need to do this in > > order to be able to map offsets larger than 4GB into a file. > > > > For linux_mmap2, I'd think we want to do roughly the same things as > > linux_mmap, but with bsd_args.pos = ctob((off_t)linux_args.pos) > > > > Drew > > > > > AHH, ok I was wondering where PAGE_SHIFT was for FreeBSD. I guess ctob > does what I need it to. I think that's probably why it still wasn't > working yet... I think it also has to be page aligned before you pass it > in though, I have to look at linux's do_mmap_pgoff() (I think that's the > right function name) to see if it's expecting an already page-aligned arg, > or if it's aligning it before it uses it. The name implies that do_mmap_pgoff() takes page-shift'ed args. An offset specified as a page-shift is page-aligned by definition. Eg, when you call ctob(pgoff) this turns out to be (pgoff << PAGE_SHIFT) bytes. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 13:32:11 2002 Delivered-To: freebsd-emulation@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 7418237B50C for ; Mon, 22 Apr 2002 13:31:33 -0700 (PDT) Received: (qmail 21100 invoked from network); 22 Apr 2002 13:23:05 -0000 Received: from ken.yumyumyum.org (192.168.0.2) by router.yumyumyum.org with SMTP; 22 Apr 2002 13:23:05 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Kenneth Culver To: Terry Lambert Subject: Re: implementing linux mmap2 syscall Date: Mon, 22 Apr 2002 09:23:35 -0400 X-Mailer: KMail [version 1.4] References: <200204211525.08827.culverk@yumyumyum.org> <3CC3E619.8AD5EFF9@mindspring.com> In-Reply-To: <3CC3E619.8AD5EFF9@mindspring.com> Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204220923.35667.culverk@yumyumyum.org> 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 Monday 22 April 2002 06:29 am, you wrote: > Kenneth Culver wrote: > > So what it looks like to me is that mmap2 expects an offset that's > > already page-aligned (I'm not sure if this is the right way to say it= ), > > where mmap doesn't. the FreeBSD code in the linuxulator basically jus= t > > takes the offset that is passed in with the linux mmap, and uses that= to > > call FreeBSD's mmap (the kernel version, not the one called from > > userland). So basically I'm kinda stuck as to what to do to implement > > linux's mmap2. The only thing I can think of is to implement a FreeBS= D > > "mmap2" that basically assumes that the offset passed in is already p= age > > aligned or whatever, and just uses it, and then have linux_mmap2() ju= st > > call the FreeBSD mmap2(). Any ideas? > > This is too much work. > > Basically, it just wants to bitch when the offset is not page > aligned, and then call the old mmap if it doesn't bitch. > OK, I think I can do that, thanks for the help. Will anyone be interested= in=20 patches when/if I get this working? I also implemented ftruncate64 (which= =20 just calls ftruncate).=20 Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 13:47:27 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mailbox-14.st1.spray.net (mailbox-14.st1.spray.net [212.78.202.114]) by hub.freebsd.org (Postfix) with ESMTP id 812B837B69B for ; Mon, 22 Apr 2002 13:46:02 -0700 (PDT) Received: from firemail.de (acn.pl [212.76.32.13]) by mailbox-14.st1.spray.net (8.8.8/8.8.8) with SMTP id RAA04444 for ; Mon, 22 Apr 2002 17:46:27 +0200 (DST) Posted-Date: Mon, 22 Apr 2002 17:46:27 +0200 (DST) Message-Id: <200204221546.RAA04444@mailbox-14.st1.spray.net> From: "www.bau-center.com" To: "freebsd-emulation@FreeBSD.org" Subject: Construction Equipment Program Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 22 Apr 2002 17:48:36 +0200 Content-Transfer-Encoding: quoted-printable 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 Dear Sir, You are offering or searching for used and new Construction equipment i= n = Europe? We offer you program to contact all the most active companies for = Construction Equipment trading in Europe in one hour! You can order this program by clicking on the link below: http://www.bau-center.com/german.php3?german=3Dorder You can also add any advert for free in our web site, the most visited = site = for Building Machinery Adverts in Europe and the only free one. For any comments on our site would we be pleased to hear from you, just= = reply us under: info@bau-center.com. = Best Regards. Your BMC Euronewspaper team. Sehr geehrte Damen und Herren, wir bitten CD ROM mit Mailing programm und 10 000 E mail Adresse in der= Bau = bzw Baumaschinen Branche. Damit koennen Sie Ihre neue Kunde in West und= Ost = Europa erreichen. Kicken Sie dafuer: http://www.bau-center.com/german.php3?german=3Dorder Mit freundlichen Gruessen. Ihre BMC Team. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 15:21:21 2002 Delivered-To: freebsd-emulation@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 2E34A37C55B for ; Mon, 22 Apr 2002 15:12:48 -0700 (PDT) Received: (qmail 23745 invoked from network); 22 Apr 2002 22:12:14 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 22 Apr 2002 22:12:14 -0000 Date: Mon, 22 Apr 2002 18:12:14 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15556.28962.259876.509643@grasshopper.cs.duke.edu> Message-ID: <20020422172703.C23429-100000@alpha.yumyumyum.org> 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 > > AHH, ok I was wondering where PAGE_SHIFT was for FreeBSD. I guess ctob > > does what I need it to. I think that's probably why it still wasn't > > working yet... I think it also has to be page aligned before you pass it > > in though, I have to look at linux's do_mmap_pgoff() (I think that's the > > right function name) to see if it's expecting an already page-aligned arg, > > or if it's aligning it before it uses it. > > The name implies that do_mmap_pgoff() takes page-shift'ed args. > An offset specified as a page-shift is page-aligned by definition. > Eg, when you call ctob(pgoff) this turns out to be (pgoff << > PAGE_SHIFT) bytes. > > Drew > > That makes sense, regular linux mmap seems to expect the offset to be in bytes (from linux's mmap): ret = do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); Where linux's mmap2 does this: error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); so this looks to me like do_mmap_pgoff expects a page-aligned offset, meaning that the difference between a regular linux mmap, and linux's mmap2 is that mmap expects bytes, and mmap2 expects a page offset instead... even more is that linux's old_mmap (the one that we actually emulate in linux_mmap(), calls do_mmap2 with these args: err = do_mmap2(a.addr, a.len, a.prot, a.flags, a.fd, a.offset >> PAGE_SHIFT); so, I'll just do the ctob() and see what happens. :-) Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 16:27:19 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from deathrow.mail.pas.earthlink.net (deathrow.mail.pas.earthlink.net [207.217.120.19]) by hub.freebsd.org (Postfix) with ESMTP id 39AEB37B8A4; Mon, 22 Apr 2002 16:20:34 -0700 (PDT) Received: from gull.mail.pas.earthlink.net ([207.217.120.84] helo=gull.prod.itd.earthlink.net) by deathrow.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16zb5L-0000CN-00; Mon, 22 Apr 2002 03:30:15 -0700 Received: from pool0081.cvx40-bradley.dialup.earthlink.net ([216.244.42.81] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 16zb5I-0002Za-00; Mon, 22 Apr 2002 03:30:13 -0700 Message-ID: <3CC3E619.8AD5EFF9@mindspring.com> Date: Mon, 22 Apr 2002 03:29:45 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: implementing linux mmap2 syscall References: <200204211525.08827.culverk@yumyumyum.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Kenneth Culver wrote: > So what it looks like to me is that mmap2 expects an offset that's already > page-aligned (I'm not sure if this is the right way to say it), where mmap > doesn't. the FreeBSD code in the linuxulator basically just takes the offset > that is passed in with the linux mmap, and uses that to call FreeBSD's mmap > (the kernel version, not the one called from userland). So basically I'm > kinda stuck as to what to do to implement linux's mmap2. The only thing I can > think of is to implement a FreeBSD "mmap2" that basically assumes that the > offset passed in is already page aligned or whatever, and just uses it, and > then have linux_mmap2() just call the FreeBSD mmap2(). Any ideas? This is too much work. Basically, it just wants to bitch when the offset is not page aligned, and then call the old mmap if it doesn't bitch. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 16:44:45 2002 Delivered-To: freebsd-emulation@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 8BA2A37B72F for ; Mon, 22 Apr 2002 16:43:57 -0700 (PDT) Received: (qmail 24452 invoked from network); 22 Apr 2002 23:43:41 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 22 Apr 2002 23:43:41 -0000 Date: Mon, 22 Apr 2002 19:43:41 -0400 (EDT) From: Kenneth Culver To: Terry Lambert Cc: freebsd-hackers@FreeBSD.ORG, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <3CC3E619.8AD5EFF9@mindspring.com> Message-ID: <20020422194240.K24428-100000@alpha.yumyumyum.org> 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 > Basically, it just wants to bitch when the offset is not page > aligned, and then call the old mmap if it doesn't bitch. > Basically I misunderstood what the linux mmap2 was doing, it recieves an offset as a number of pages, not as bytes, so by definition it's already page aligned. All I have to do is convert the number of pages to a number of bytes and pass it along to FreeBSD's mmap. Thanks! Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 19:17:22 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id F3C1B37B416; Mon, 22 Apr 2002 19:17:10 -0700 (PDT) Received: from pool0527.cvx21-bradley.dialup.earthlink.net ([209.179.194.17] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zprg-0007MP-00; Mon, 22 Apr 2002 19:17:09 -0700 Message-ID: <3CC4C408.4B2501F@mindspring.com> Date: Mon, 22 Apr 2002 19:16:40 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: implementing linux mmap2 syscall References: <200204211525.08827.culverk@yumyumyum.org> <3CC3E619.8AD5EFF9@mindspring.com> <200204220923.35667.culverk@yumyumyum.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Kenneth Culver wrote: > > This is too much work. > > > > Basically, it just wants to bitch when the offset is not page > > aligned, and then call the old mmap if it doesn't bitch. > > > OK, I think I can do that, thanks for the help. Will anyone be interested in > patches when/if I get this working? I also implemented ftruncate64 (which > just calls ftruncate). Sure. PR them, and then send email to whoever CVS says touched them last. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 19:57:35 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from xig.com (night.xig.com [207.247.80.135]) by hub.freebsd.org (Postfix) with ESMTP id 7B61A37B405 for ; Mon, 22 Apr 2002 19:57:27 -0700 (PDT) Received: (from daemon@localhost) by xig.com (8.9.3/8.9.3) id UAA77245; Mon, 22 Apr 2002 20:57:26 -0600 (MDT) Date: Mon, 22 Apr 2002 20:57:26 -0600 (MDT) Message-Id: <200204230257.UAA77245@xig.com> MIME-Version: 1.0 To: emulation Subject: Inquiry Received From: Xi Graphics Content-ID: Content-type: text/plain Content-Description: An object packed by metasend Content-Transfer-Encoding: quoted-printable 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PLEASE DO NOT REPLY TO THIS E-MAIL. THIS MESSAGE WAS SENT FROM AN UNATTENDED MAILBOX. PLEASE USE ONE OF E-MAIL ADDRESSES MENTIONED BELOW. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An automated attendant is providing this frequently requested information to help you better understand Xi Graphics. Thank you for your interest in Xi Graphics. For sales questions, please e-mail sales@xig.com. For technical support questions, please e-mail support@xig.com. = Company Information Xi Graphics has been manufacturing the highest perfomance graphics system software for PCs and workstations since 1994. Our commitment to the development of the highest performance, highest quality graphics software available has earned us the respect of a wide and growing user base - from individual end users to corporate users to educational, government, and a variety of specialized markets. Xi Graphics Products Xi Graphics' flagship product, Accelerated-X, comes in a variety of configurations to meet the specific needs of our customers. The Accelerated-X product line supports over 800 different graphics adapters and laptop computers - and we're adding more support on a daily basis! Supported Operating System platforms include FreeBSD, Linux, and Solaris/x86. For additional company and product information, please browse our web site (). Compatibility Demo For a free compatiblity demo of Accelerated-X for FreeBSD, Linux, and Solaris, visit the following link - or our ftp site (). Ordering products To locate the Authorized Xi Graphics Reseller nearest you, point your browser to or email sales@xig.com. To order product direct from Xi Graphics, use our web-based order form - or email sales@xig.com. To place an order via phone call +1 303 298 7478 (1-800-946-7433 in North America). To place an order via fax, dial +1 303 298 1406. Technical Support For product technical support, review the Frequently Asked Questions section of our web site - . To contact Technical Support, email support@xig.com. To ensure a response= , include your name, daytime email address, product name and serial number.= For pre-sales technical support on our demo, email 'demo@xig.com' . Additional Information - supported graphics adapters - product descriptions and pricing - product registration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This file was last updated on September 27, 2000. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Apr 22 20:13:26 2002 Delivered-To: freebsd-emulation@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 EAF3B37B400 for ; Mon, 22 Apr 2002 20:13:11 -0700 (PDT) Received: (qmail 25573 invoked from network); 23 Apr 2002 03:12:54 -0000 Received: from ken.yumyumyum.org (192.168.0.2) by router.yumyumyum.org with SMTP; 23 Apr 2002 03:12:54 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Kenneth Culver To: Andrew Gallatin Subject: Re: implementing linux mmap2 syscall Date: Mon, 22 Apr 2002 23:13:29 -0400 X-Mailer: KMail [version 1.4] References: <200204211525.08827.culverk@yumyumyum.org> <15556.6399.62081.426193@grasshopper.cs.duke.edu> In-Reply-To: <15556.6399.62081.426193@grasshopper.cs.duke.edu> Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204222313.29181.culverk@yumyumyum.org> 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 Monday 22 April 2002 10:06 am, you wrote: > Kenneth Culver writes: > > static inline unsigned long do_mmap(struct file *file, unsigned long > > addr, > > <..> > > > =09=09ret =3D do_mmap_pgoff(file, addr, len, prot, flag, offset >> > > PAGE_SHIFT); out: > > =09return ret; > > } > > > > This is what mmap2 does: > > > > andstatic inline long do_mmap2( > > =09unsigned long addr, unsigned long len, > > =09unsigned long prot, unsigned long flags, > > =09unsigned long fd, unsigned long pgoff) > > <...> > > > =09error =3D do_mmap_pgoff(file, addr, len, prot, flags, pgoff); > > > > > > So what it looks like to me is that mmap2 expects an offset that's > > already page-aligned (I'm not sure if this is the right way to say i= t), > > where mmap doesn't. the FreeBSD code in the linuxulator basically ju= st > > takes the offset > > To me, it looks like mmap2 takes an offset that's a page index, rather > than a byte position. Since linux passes the offset with a 32-bit > long, rather than a 64-bit off_t like we do, they need to do this in > order to be able to map offsets larger than 4GB into a file. > > For linux_mmap2, I'd think we want to do roughly the same things as > linux_mmap, but with bsd_args.pos =3D ctob((off_t)linux_args.pos) > > Drew OK, I found another problem, here it is: static void linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t=20 *params) { =09args[0] =3D tf->tf_ebx; =09args[1] =3D tf->tf_ecx; =09args[2] =3D tf->tf_edx; =09args[3] =3D tf->tf_esi; =09args[4] =3D tf->tf_edi; =09*params =3D NULL;=09=09/* no copyin */ } Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args= are=20 making it in... I checked this because the sixth argument to linux_mmap2(= ) in=20 truss was showing 0x6, but when I printed out that arg from the kernel, i= t=20 was showing 0x0. Am I correct here? Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Apr 23 7:15:49 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id D5D5C37B417; Tue, 23 Apr 2002 07:15:35 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id KAA13116; Tue, 23 Apr 2002 10:15:29 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g3NEExq11998; Tue, 23 Apr 2002 10:14:59 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15557.27747.802212.659760@grasshopper.cs.duke.edu> Date: Tue, 23 Apr 2002 10:14:59 -0400 (EDT) To: Kenneth Culver Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: implementing linux mmap2 syscall In-Reply-To: <200204222313.29181.culverk@yumyumyum.org> References: <200204211525.08827.culverk@yumyumyum.org> <15556.6399.62081.426193@grasshopper.cs.duke.edu> <200204222313.29181.culverk@yumyumyum.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Kenneth Culver writes: > OK, I found another problem, here it is: > > static void > linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t > *params) > { > args[0] = tf->tf_ebx; > args[1] = tf->tf_ecx; > args[2] = tf->tf_edx; > args[3] = tf->tf_esi; > args[4] = tf->tf_edi; > *params = NULL; /* no copyin */ > } > > Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are > making it in... I checked this because the sixth argument to linux_mmap2() in > truss was showing 0x6, but when I printed out that arg from the kernel, it > was showing 0x0. Am I correct here? > > Ken Yes. According to http://john.fremlin.de/linux/asm/, linux used to parse only 5 args but now it parses six. Try adding: args[5] = tf->tf_ebp; Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Apr 23 7:37:42 2002 Delivered-To: freebsd-emulation@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 2770937B404 for ; Tue, 23 Apr 2002 07:37:37 -0700 (PDT) Received: (qmail 29001 invoked from network); 23 Apr 2002 14:37:17 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 23 Apr 2002 14:37:17 -0000 Date: Tue, 23 Apr 2002 10:37:17 -0400 (EDT) From: Kenneth Culver To: Andrew Gallatin Cc: freebsd-hackers@freebsd.org, Subject: Re: implementing linux mmap2 syscall In-Reply-To: <15557.27747.802212.659760@grasshopper.cs.duke.edu> Message-ID: <20020423103655.V28948-100000@alpha.yumyumyum.org> 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 > > Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are > > making it in... I checked this because the sixth argument to linux_mmap2() in > > truss was showing 0x6, but when I printed out that arg from the kernel, it > > was showing 0x0. Am I correct here? > > > > Ken > > Yes. According to http://john.fremlin.de/linux/asm/, linux used to > parse only 5 args but now it parses six. Try adding: > args[5] = tf->tf_ebp; > I don't think that arg is there: Apr 23 10:36:13 ken /kernel: tf->tf_ebp = -1077938040 Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 24 16:22:53 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from smtp3.9tel.net (smtp.9tel.net [213.203.124.146]) by hub.freebsd.org (Postfix) with ESMTP id 5ACE037B405; Wed, 24 Apr 2002 16:21:38 -0700 (PDT) Received: from ifrance.com (40.105-30-212.9massy1-1-ro-as-i2-2.9tel.net [212.30.105.40]) by smtp3.9tel.net (Postfix) with ESMTP id 093B85DD7B; Thu, 25 Apr 2002 00:15:22 +0200 (CEST) Message-ID: <2586720024324221649562@ifrance.com> X-EM-Version: 5, 0, 0, 21 X-EM-Registration: #01B0530810E603002D00 X-Priority: 3 Reply-To: sondageexpress3@ifrance.com To: "-" From: "SondageExpress" Subject: Le dernier sondage avant les élections presidentielles 2002 ! Date: Thu, 25 Apr 2002 00:16:49 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_84815C5ABAF209EF376268C8" 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 ------=_NextPart_84815C5ABAF209EF376268C8 Content-type: text/plain; charset="US-ASCII" ------=_NextPart_84815C5ABAF209EF376268C8 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Untitled Document
En=20 partenariat avec
=20
<= /div>
<= font size=3D"6">
     <= /font>
<= b>Le=20 dernier sondage avant le second tour des élections pré= sidentielles=20 2002

Sondage Express réalise le dernier sondage ava= nt le=20 second tour des élections présidentielles=2E Les r&eac= ute;sultats=20 seront envoyés par e-mail à tous les participants avan= t les=20 24 et 26 avril et le 3 mai 2002 à minuit par e-mail=2E=

Pour quel candidat allez vous voter le dimanche 5 mai 2002 ?
=20
=09 =09
=20 =20
=20 =20
=20 Jacques=20 Chirac
•=20 Parti politique : Rassemblement pour la Ré= ;publique
•=20 Âge : 69 ans
•=20 Situation de famille : Marié et pè= re de=20 deux filles
•=20 Métier d'origine : Haut-fonctionnaire
=
•=20 Mandat en cours : Président de la R&eacut= e;publique=20 depuis 1995
=20 =20
=20 Jean-Marie=20 Le Pen
•=20 Parti politique : Front national
•=20 Âge : 73 ans
•=20 Situation de famille : Père de trois fill= es
•=20 Métier d’origine : Chef d’entre= prise
•=20 Mandats en cours : Député europ&ea= cute;en=20 depuis 1984
       
=20
=20 Je=20 ne voterai pas
=20
=20 = NSP
=20

=20 =20
=20 Je=20 suis certain de mon choix
=20 Mon=20 choix n'est pas encore définitif

Pour=20 quel candidat avez vous voté au 1er tour ?= =20

=20
Votre=20 civilité : =20 Année=20 de naissance : =20 Votre=20 situation : =20

Si vous=20 souhaitez recevoir le resultat du sondage par mail, precisez votre= Email=20 :


=20

Attention=20 : ce sondage non nominatif est adressé à un panel de 1= 00 000=20 internautes=2E Il ne peut en aucun cas être considér&ea= cute;=20 comme représentatif de la population française et ne d= oit=20 en aucun cas porter une influence quelconque sur les votes ré= els=20 des élections présidentielles du dimanche 5 mai 2002=2E= Aucun=20 fichier informatique nominatif n'est constitué par Sondage Ex= press®=2E
Résultat pris en compte jusqu'au vendredi 3 mai à 18h0= 0=2E

       
=09
Pour ne=20 plus participer aux sondages express, indiquez votre email dans le= champs=20 ci-dessous et validez :
Email :
=20
------=_NextPart_84815C5ABAF209EF376268C8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 24 17:19:54 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from palle.girgensohn.se (c213-89-136-93.cm-upc.chello.se [213.89.136.93]) by hub.freebsd.org (Postfix) with ESMTP id 187E337B405 for ; Wed, 24 Apr 2002 17:19:50 -0700 (PDT) Received: from palle.girgensohn.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.3/8.12.3) with ESMTP id g3P0Ig9p002266 for ; Thu, 25 Apr 2002 02:18:43 +0200 (CEST) (envelope-from girgen@partitur.se) Date: Thu, 25 Apr 2002 02:18:42 +0200 From: Palle Girgensohn To: freebsd-emulation@FreeBSD.ORG Subject: acrobat and linux_base-7 Message-ID: <10790000.1019693922@palle.girgensohn.se> X-Mailer: Mulberry/2.1.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Hi! This has been on the list before, but the answers seem incorrect, as far as I can tell. The base problem is that acroread (version 4.05) is linked with older versions of most of the expected libraries. Installing linux_base-7 get you newer libs, and you will have to find older libs and copy them into you compat/linux/lib for *every* file. The real problem, as I see it, is that there is no COMPAT_LINUX_6 or similar option. The rpms refuse to install linux-7 on top of linux-6, so all needed libs and files will have to be hand copied over, which is really boring. :( Also, I cannot get acroread to use the ld.so.cache; instead, I need to set LD_LIBRARY_PATH. any ideas why? I've seen people on this list saying that acroread works fine with their linux_base-7. This is not true out of the box, there must be a catch, no? Cheers, Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 24 18:26:17 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from palle.girgensohn.se (c213-89-136-93.cm-upc.chello.se [213.89.136.93]) by hub.freebsd.org (Postfix) with ESMTP id 670DB37B400 for ; Wed, 24 Apr 2002 18:26:14 -0700 (PDT) Received: from palle.girgensohn.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.3/8.12.3) with ESMTP id g3P1Nr9p003980 for ; Thu, 25 Apr 2002 03:23:54 +0200 (CEST) (envelope-from girgen@partitur.se) Date: Thu, 25 Apr 2002 03:23:53 +0200 From: Palle Girgensohn To: freebsd-emulation@FreeBSD.ORG Subject: Re: acrobat and linux_base-7 Message-ID: <7070000.1019697833@palle.girgensohn.se> In-Reply-To: <10790000.1019693922@palle.girgensohn.se> References: <10790000.1019693922@palle.girgensohn.se> X-Mailer: Mulberry/2.1.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Hi again, Apparently, the version installed on this particular machine was *not* 4.05, it was 4.0, and this makes a hole lot of difference. Sorry for jumping the trigger. The acroread4 port will not install with linux_base-7 without tweaking, something I didn't notice, so it was never updated... Oh well, sorry for bothering you guys, Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Apr 24 22:55:58 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from hotmail.com (f6.law4.hotmail.com [216.33.149.6]) by hub.freebsd.org (Postfix) with ESMTP id 2E4FC37B404 for ; Wed, 24 Apr 2002 22:55:56 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 24 Apr 2002 22:55:56 -0700 Received: from 213.24.223.154 by lw4fd.law4.hotmail.msn.com with HTTP; Thu, 25 Apr 2002 05:55:55 GMT X-Originating-IP: [213.24.223.154] From: "Andreev Dmitry" To: emulation@FreeBSD.org Subject: doscmd Date: Thu, 25 Apr 2002 05:55:55 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Apr 2002 05:55:56.0032 (UTC) FILETIME=[DDABE000:01C1EC1D] 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 Good day! I need more information (then manual) about using doscmd. Thank. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Apr 25 2:36:32 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx2.informatik.uni-tuebingen.de (mx2.Informatik.Uni-Tuebingen.De [134.2.12.9]) by hub.freebsd.org (Postfix) with ESMTP id 5A07537B41D for ; Thu, 25 Apr 2002 02:36:28 -0700 (PDT) Received: from sams.informatik.uni-tuebingen.de (sams [134.2.12.50]) by mx2.informatik.uni-tuebingen.de (Postfix) with ESMTP id B6647108A for ; Thu, 25 Apr 2002 11:36:25 +0200 (MST) Received: (from sperber@localhost) by sams.informatik.uni-tuebingen.de (8.11.3/8.11.3) id g3P9aPe90214; Thu, 25 Apr 2002 11:36:25 +0200 (CEST) (envelope-from sperber) To: freebsd-emulation@freebsd.org Subject: Citrix ICA client still a no-go From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Date: Thu, 25 Apr 2002 11:36:25 +0200 Message-ID: Lines: 25 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.5 (beets, i386-unknown-freebsd4.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Hi, when running Citrix metaframe under either 4.3-RELEASE or 4.5-RELEASE, I see the exact same problems described in an old thread on this list: http://www.geocrawler.com/mail/thread.php3?subject=Linuxulator%2C+getdents+and+Citrix&list=157 I.e., getdents gets passed a 0 for the buffer size. This is the relevant porition of the truss output; I'd mapped /usr/local/tmp onto a Citrix drive: linux_newstat("/usr/local/tmp",0xbfbfced0) = 2 (0x2) linux_open("/usr/local/tmp",0,00) = 3 (0x3) linux_lseek(0x6,0x0,0x0) = 3 (0x3) linux_lseek(0x6,0x0,0x1) = 3 (0x3) linux_getdents(0x6,0xbfbfd3f4,0x0) = 3 (0x3) close(6) = 1 (0x1) Any help on this matter would be much appreciated, especially if cc-ed to me directly. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Apr 25 5: 1:12 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from www.example.org (dhcp-nic-val-26-90.cisco.com [64.103.26.90]) by hub.freebsd.org (Postfix) with SMTP id 555EE37B427 for ; Thu, 25 Apr 2002 05:01:08 -0700 (PDT) Received: (qmail 54077 invoked by uid 1000); 25 Apr 2002 12:01:06 -0000 Message-ID: <20020425120106.54076.qmail@cobweb.example.org> Date: Thu, 25 Apr 2002 14:01:06 +0200 From: Marco Molteni To: freebsd-emulation@freebsd.org Subject: Codeweavers's crossover Office on FreeBSD? X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi, Codeweavers has a modified Wine, called "Crossover Office", that runs M$ Office applications: http://www.codeweavers.com/ It is at $55. Has anybody tried it with FreeBSD under Linux emulation? thanks marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 26 5:21:39 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id B164837B41A for ; Fri, 26 Apr 2002 05:21:35 -0700 (PDT) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.11.6/8.11.6) id g3QCL8S79325; Fri, 26 Apr 2002 14:21:08 +0200 (CEST) (envelope-from karelj) Date: Fri, 26 Apr 2002 14:21:08 +0200 From: "Karel J. Bosschaart" To: Marco Molteni Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Codeweavers's crossover Office on FreeBSD? Message-ID: <20020426142108.A79302@wop21.wop.wtb.tue.nl> References: <20020425120106.54076.qmail@cobweb.example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020425120106.54076.qmail@cobweb.example.org>; from molter@tin.it on Thu, Apr 25, 2002 at 02:01:06PM +0200 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 Thu, Apr 25, 2002 at 02:01:06PM +0200, Marco Molteni wrote: > Hi, > > Codeweavers has a modified Wine, called "Crossover Office", that > runs M$ Office applications: http://www.codeweavers.com/ > It is at $55. > > Has anybody tried it with FreeBSD under Linux emulation? > Interesting, I couldn't resist and tried. It seems to be installed now, although I'm getting a bunch of linux: 'ioctl' fd=6, cmd=0x7201 ('r',1) not implemented complaints. Also, I didn't succeed yet in installing something useful, as it seems the MS Office CD I have here is an update CD or something. I'll look for another one and let you know how it works. Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Apr 26 16: 1: 3 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id C593037B404 for ; Fri, 26 Apr 2002 16:00:59 -0700 (PDT) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.11.6/8.11.6) id g3QN0Vj83188; Sat, 27 Apr 2002 01:00:31 +0200 (CEST) (envelope-from karelj) Date: Sat, 27 Apr 2002 01:00:31 +0200 From: "Karel J. Bosschaart" To: Marco Molteni Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Codeweavers's crossover Office on FreeBSD? Message-ID: <20020427010031.A83162@wop21.wop.wtb.tue.nl> References: <20020425120106.54076.qmail@cobweb.example.org> <20020426142108.A79302@wop21.wop.wtb.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020426142108.A79302@wop21.wop.wtb.tue.nl>; from karelj@wop21.wop.wtb.tue.nl on Fri, Apr 26, 2002 at 02:21:08PM +0200 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, Apr 26, 2002 at 02:21:08PM +0200, Karel J. Bosschaart wrote: > On Thu, Apr 25, 2002 at 02:01:06PM +0200, Marco Molteni wrote: > > Hi, > > > > Codeweavers has a modified Wine, called "Crossover Office", that > > runs M$ Office applications: http://www.codeweavers.com/ > > It is at $55. > > > > Has anybody tried it with FreeBSD under Linux emulation? > > > Interesting, I couldn't resist and tried. It seems to be installed now, > although I'm getting a bunch of > linux: 'ioctl' fd=6, cmd=0x7201 ('r',1) not implemented > complaints. Also, I didn't succeed yet in installing something useful, > as it seems the MS Office CD I have here is an update CD or something. > I'll look for another one and let you know how it works. > No luck. Although I finally managed to install MS Office '97, trying to run Office programs mostly results in linux: syscall ptrace is obsoleted or not implemented (pid=2865) and wine quits. Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Apr 27 5:19:47 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from www.example.org (ANice-103-1-5-238.abo.wanadoo.fr [80.13.196.238]) by hub.freebsd.org (Postfix) with SMTP id 7888D37B400 for ; Sat, 27 Apr 2002 05:19:39 -0700 (PDT) Received: (qmail 6492 invoked by uid 1000); 27 Apr 2002 12:19:36 -0000 Message-ID: <20020427121936.6491.qmail@cobweb.example.org> Date: Sat, 27 Apr 2002 14:19:36 +0200 From: Marco Molteni To: freebsd-emulation@FreeBSD.ORG Subject: Re: Codeweavers's crossover Office on FreeBSD? In-Reply-To: <20020427010031.A83162@wop21.wop.wtb.tue.nl> References: <20020425120106.54076.qmail@cobweb.example.org> <20020426142108.A79302@wop21.wop.wtb.tue.nl> <20020427010031.A83162@wop21.wop.wtb.tue.nl> X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Sat, 27 Apr 2002 01:00:31 +0200, "Karel J. Bosschaart" wrote: [..] > > Interesting, I couldn't resist and tried. It seems to be installed now, > > although I'm getting a bunch of > > linux: 'ioctl' fd=6, cmd=0x7201 ('r',1) not implemented > > complaints. Also, I didn't succeed yet in installing something useful, > > as it seems the MS Office CD I have here is an update CD or something. > > I'll look for another one and let you know how it works. > > > No luck. Although I finally managed to install MS Office '97, trying > to run Office programs mostly results in > > linux: syscall ptrace is obsoleted or not implemented (pid=2865) > > and wine quits. what version of FreeBSD are you running? The Linuxulator has had many commits lately. Also, are you using linux-base 6 or linux-base 7? marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message