From owner-freebsd-emulation Mon Jun 7 13:36:20 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from trooper.velocet.ca (trooper.velocet.net [209.167.225.226]) by hub.freebsd.org (Postfix) with ESMTP id BB4C0157E1; Mon, 7 Jun 1999 13:36:07 -0700 (PDT) (envelope-from dgilbert@trooper.velocet.ca) Received: (from dgilbert@localhost) by trooper.velocet.ca (8.8.7/8.8.7) id QAA22490; Mon, 7 Jun 1999 16:36:05 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xAnB+fVNBz" Content-Transfer-Encoding: 7bit Message-ID: <14172.11570.978048.550537@trooper.velocet.ca> Date: Mon, 7 Jun 1999 16:36:02 -0400 (EDT) To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: Civilization Call To Power. X-Mailer: VM 6.71 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --xAnB+fVNBz Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit In the vain hope that I could run it, I bought the Linux version of Civilization - Call To Power. Having installed it on my FreeBSD-3.0 machine, it doesn't seem to do anything. I have included the kdump output in this message in case someone knows how to fix this. I'd hate to have to keep a linux partition booted for this... --xAnB+fVNBz Content-Type: text/plain Content-Description: syscall trace of CIV-CTP. Content-Disposition: inline; filename="file" Content-Transfer-Encoding: 7bit 22275 ktrace RET ktrace 0 22275 ktrace CALL execve(0xefbfd507,0xefbfd3c0,0xefbfd3c8) 22275 ktrace NAMI "./CivCTP/civctp" 22275 civctp RET execve 0 22275 civctp CALL mkdir(0) 22275 civctp RET mkdir 0 22275 civctp CALL getpid 22275 civctp RET getpid 22275/0x5703 22275 civctp CALL getlogin 22275 civctp RET getlogin 101/0x65 22275 civctp CALL getuid 22275 civctp RET getuid 101/0x65 22275 civctp CALL setlogin 22275 civctp RET setlogin 21/0x15 22275 civctp CALL getgid 22275 civctp RET getgid 21/0x15 22275 civctp CALL getpid 22275 civctp RET getpid 22275/0x5703 22275 civctp CALL obs_vread(0xa,0xefbfd258,0) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0xc,0xefbfd24c,0) 22275 civctp RET obs_vread 0 22275 civctp CALL setreuid(0,0xefbfd284,0) 22275 civctp RET setreuid 0 22275 civctp CALL ktrace(0) 22275 civctp RET ktrace 144297984/0x899d000 22275 civctp CALL ktrace(0x899d030) 22275 civctp RET ktrace 144298032/0x899d030 22275 civctp CALL ktrace(0x899e000) 22275 civctp RET ktrace 144302080/0x899e000 22275 civctp CALL ktrace(0x89a0000) 22275 civctp RET ktrace 144310272/0x89a0000 22275 civctp CALL listen(0xefbfd360,0xefbfd260) 22275 civctp NAMI "/compat/linux/dev/cdrom" 22275 civctp NAMI "/compat/linux" 22275 civctp NAMI "/compat/linux/dev/cdrom" 22275 civctp RET listen 0 22275 civctp CALL open(0x8514cae,0,0x1b6) 22275 civctp NAMI "/compat/linux/etc/fstab" 22275 civctp NAMI "/etc/fstab" 22275 civctp RET open 3 22275 civctp CALL old.sigvec(0x3,0xefbfcce4) 22275 civctp RET old.sigvec 0 22275 civctp CALL dup2(0xefbfcd30) 22275 civctp RET dup2 408051712/0x18526000 22275 civctp CALL read(0x3,0x18526000,0x2000) 22275 civctp GIO fd 3 read 438 bytes "# Swap on the 2 six gig drives on different channels #/dev/wd1s1b none swap sw 0 0 /dev/da0s1b none swap sw 0 0 /dev/wd2s1b none swap sw 0 0 # IDE filesystems /dev/wd0s1a / ufs rw 1 1 /dev/wd0s1e /var ufs rw 2 2 /dev/wd0s1f /usr ufs rw 2 2 /dev/da0s1g /u1 ufs rw 2 2 /dev/wd2s1g /u2 ufs rw 2 2 # Extras /dev/wd2s1b /tmp mfs rw 0 0 proc /proc procfs rw 0 0 /dev/cd0c /cdrom cd9660 ro,noauto 0 0 /dev/fd0a /a msdos rw,noauto 0 0 " 22275 civctp RET read 438/0x1b6 22275 civctp CALL read(0x3,0x18526000,0x2000) 22275 civctp GIO fd 3 read 0 bytes "" 22275 civctp RET read 0 22275 civctp CALL close(0x3) 22275 civctp RET close 0 22275 civctp CALL #91(0x18526000,0x2000) 22275 civctp RET #91 0 22275 civctp CALL listen(0xefbfd360,0xefbfd26c) 22275 civctp NAMI "/compat/linux/dev/hda" 22275 civctp NAMI "/dev/hda" 22275 civctp RET listen JUSTRETURN 22275 civctp CALL listen(0xefbfd360,0xefbfd26c) 22275 civctp NAMI "/compat/linux/dev/scd0" 22275 civctp NAMI "/dev/scd0" 22275 civctp RET listen JUSTRETURN 22275 civctp CALL listen(0xefbfd360,0xefbfd26c) 22275 civctp NAMI "/compat/linux/dev/sr0" 22275 civctp NAMI "/dev/sr0" 22275 civctp RET listen JUSTRETURN 22275 civctp CALL obs_vread(0xb,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0x7,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0x8,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0x3,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0xd,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL obs_vread(0xe,0xefbfd210,0xefbfd200) 22275 civctp RET obs_vread 0 22275 civctp CALL ktrace(0x89a2000) 22275 civctp RET ktrace 144318464/0x89a2000 22275 civctp CALL pipe(0xefbfd1e4) 22275 civctp RET pipe 0 22275 civctp CALL readv 22275 civctp RET readv -1 errno -38 Unknown error: -38 22275 civctp CALL close(0x3) 22275 civctp RET close 0 22275 civctp CALL close(0x4) 22275 civctp RET close 0 22275 civctp CALL setreuid(0x2,0,0xefbfd2a0) 22275 civctp RET setreuid 0 22275 civctp CALL vadvise(0,0,0) 22275 civctp PSIG SIGINT SIG_DFL --xAnB+fVNBz Content-Type: text/plain; charset=us-ascii Content-Description: message body and .signature Content-Transfer-Encoding: 7bit Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ --xAnB+fVNBz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jun 7 13:58:19 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 281FD14F23; Mon, 7 Jun 1999 13:58:10 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id QAA23082; Mon, 7 Jun 1999 16:22:02 -0500 (EST) Date: Mon, 7 Jun 1999 16:22:00 -0500 (EST) From: Alfred Perlstein To: David Gilbert Cc: freebsd-questions@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Civilization Call To Power. In-Reply-To: <14172.11570.978048.550537@trooper.velocet.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 7 Jun 1999, David Gilbert wrote: > In the vain hope that I could run it, I bought the Linux version of > Civilization - Call To Power. Having installed it on my FreeBSD-3.0 > machine, it doesn't seem to do anything. I have included the kdump > output in this message in case someone knows how to fix this. I'd > hate to have to keep a linux partition booted for this... I'm guessing it's having problems locating your cdrom, try making /usr/compat/linux/dev/cdrom a link to /usr/compat/linux/dev/cd0c just a guess.... -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jun 7 14:44:12 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from trooper.velocet.ca (trooper.velocet.net [209.167.225.226]) by hub.freebsd.org (Postfix) with ESMTP id 02B8E14BCF; Mon, 7 Jun 1999 14:44:00 -0700 (PDT) (envelope-from dgilbert@trooper.velocet.ca) Received: (from dgilbert@localhost) by trooper.velocet.ca (8.8.7/8.8.7) id RAA24408; Mon, 7 Jun 1999 17:43:42 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14172.15629.592264.226789@trooper.velocet.ca> Date: Mon, 7 Jun 1999 17:43:41 -0400 (EDT) To: Alfred Perlstein Cc: David Gilbert , freebsd-questions@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Civilization Call To Power. In-Reply-To: References: <14172.11570.978048.550537@trooper.velocet.ca> X-Mailer: VM 6.71 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Alfred" == Alfred Perlstein writes: Alfred> On Mon, 7 Jun 1999, David Gilbert wrote: >> In the vain hope that I could run it, I bought the Linux version of >> Civilization - Call To Power. Having installed it on my >> FreeBSD-3.0 machine, it doesn't seem to do anything. I have >> included the kdump output in this message in case someone knows how >> to fix this. I'd hate to have to keep a linux partition booted for >> this... Alfred> I'm guessing it's having problems locating your cdrom, try Alfred> making /usr/compat/linux/dev/cdrom a link to Alfred> /usr/compat/linux/dev/cd0c Did that. Linked /usr/compat/linux/dev/cdrom to /dev/cd0c. Maybe it's ioctl'ing misunderstood things? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jun 7 17:18:44 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 801A81582A; Mon, 7 Jun 1999 17:18:19 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-5-156.dialup.rdu.ipass.net [209.170.134.156]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id UAA25599; Mon, 7 Jun 1999 20:18:15 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id VAA07903; Mon, 7 Jun 1999 21:19:25 -0400 (EDT) (envelope-from rhh) Date: Mon, 7 Jun 1999 21:19:25 -0400 From: Randall Hopper To: multimedia@freebsd.org, emulation@freebsd.org Subject: Quake3! - So, where can I frag you :-) Message-ID: <19990607211925.B7273@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just got around to trying Quake3 Test after stepping up to 3.2R, and man it is sweet!. Like Ken Krebs said, it just ...works! Kudos and great job everyone that played a part! (3.2-RELEASE, Voodoo1 Canopus Pure3D here) Now, where's the quake server FreeBSD folks hang out on?! It's payback time! :-) Only two strange things I've seen so far, and I don't know if its linux_emul or an inherent problem with q3test. First, sometimes the modifier keys get "stuck". The gun (activated by Ctrl) will be firing madly though I'm not touching the keyboard. Seems that q3test is somehow missing the key break event. I think I saw this with Slide (Alt) as well as head up/down (A/Z), though I'm not sure about the last. Also, when keying in a quake server to start an "Internet Game", hitting the shift key causes a repeat of the previously-typed character. Shift is needed to type a ":" for the quake server (host:port), so I ended up playing a game to get the right host:port in there. E.g. to type: 12.21.16.19:27960 I'd type: 12.21.16.1999:27960 would nuke the last 9, would erase the 9 before that (repeating the last keypress), and I'd be good-to-go for the colon. Strange. But those little details aside, this is great fun. I don't think I've enjoyed myself so much in FreeBSD since the Bt848 driver first came out ;-) Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Jun 8 5:13:22 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from beelzebubba.sysabend.org (beelzebubba.sysabend.org [208.243.107.6]) by hub.freebsd.org (Postfix) with ESMTP id CF61714BD3; Tue, 8 Jun 1999 05:12:38 -0700 (PDT) (envelope-from ragnar@sysabend.org) Received: by beelzebubba.sysabend.org (Postfix, from userid 1004) id 844164040; Tue, 8 Jun 1999 08:12:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by beelzebubba.sysabend.org (Postfix) with SMTP id 71E769ABD; Tue, 8 Jun 1999 08:12:37 -0400 (EDT) Date: Tue, 8 Jun 1999 08:12:37 -0400 (EDT) From: Jamie Bowden To: Randall Hopper Cc: multimedia@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: Quake3! - So, where can I frag you :-) In-Reply-To: <19990607211925.B7273@ipass.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 7 Jun 1999, Randall Hopper wrote: :I'd type: : : 12.21.16.1999:27960 : : would nuke the last 9, would erase the 9 before that :(repeating the last keypress), and I'd be good-to-go for the colon. :Strange. The easier way is just hit shift, let it recreate the last 9, then while holding the shift key down, hit backspace and colon. Saves a keystroke or two. Jamie Bowden -- If we've got to fight over grep, sign me up. But boggle can go. -Ted Faber (on Hasbro's request for removal of /usr/games/boggle) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Jun 9 6:34:46 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 1BB1814C13 for ; Wed, 9 Jun 1999 06:34:38 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from markab (markab [128.130.111.33]) by vexpert.dbai.tuwien.ac.at (8.9.1/8.9.1) with ESMTP id PAA04900 for ; Wed, 9 Jun 1999 15:34:36 +0200 (MET DST) Date: Wed, 9 Jun 1999 15:34:36 +0200 (MET DST) From: Gerald Pfeifer To: emulation@freebsd.org Subject: Re: libncurses.so.4? In-Reply-To: <374C5F8C.2A2B9482@scc.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 26 May 1999, Marcel Moolenaar wrote: > Download linux-base from http://www.scc.nl/~marcel/. It's a > replacement for linux_lib. When will this become part of a regular FreeBSD RELEASE? It would be really nice to see this in 3.3. Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 5:54: 4 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 9B05614CA1 for ; Thu, 10 Jun 1999 05:53:56 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i028.ztm.euronet.nl [194.134.112.29]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id OAA26845 from for ; Thu, 10 Jun 1999 14:53:53 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id OAA24937 for emulation@FreeBSD.ORG; Thu, 10 Jun 1999 14:43:05 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Thu, 10 Jun 1999 14:43:02 +0200 From: Marcel Moolenaar Message-ID: <375FB2D6.81EE23C3@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <374C5F8C.2A2B9482@scc.nl>, Subject: Re: libncurses.so.4? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gerald Pfeifer wrote: > On Wed, 26 May 1999, Marcel Moolenaar wrote: > > Download linux-base from http://www.scc.nl/~marcel/. It's a > > replacement for linux_lib. > > When will this become part of a regular FreeBSD RELEASE? It would be > really nice to see this in 3.3. When Mike has time, he decides to pass it on to someone else, or I get commit privs :-) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 5:54: 5 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id EA4E615294 for ; Thu, 10 Jun 1999 05:53:56 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i028.ztm.euronet.nl [194.134.112.29]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id OAA26856 from for ; Thu, 10 Jun 1999 14:53:54 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id OAA25215 for emulation@FreeBSD.ORG; Thu, 10 Jun 1999 14:48:01 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Thu, 10 Jun 1999 14:47:58 +0200 From: Marcel Moolenaar Message-ID: <375FB3FE.D10BF553@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: , <14172.15629.592264.226789@trooper.velocet.ca> Subject: Re: Civilization Call To Power. Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David Gilbert wrote: > Alfred> On Mon, 7 Jun 1999, David Gilbert wrote: > >> In the vain hope that I could run it, I bought the Linux version of > >> Civilization - Call To Power. Having installed it on my > >> FreeBSD-3.0 machine, it doesn't seem to do anything. I have > >> included the kdump output in this message in case someone knows how > >> to fix this. I'd hate to have to keep a linux partition booted for > >> this... > > Alfred> I'm guessing it's having problems locating your cdrom, try > Alfred> making /usr/compat/linux/dev/cdrom a link to > Alfred> /usr/compat/linux/dev/cd0c > > Did that. Linked /usr/compat/linux/dev/cdrom to /dev/cd0c. Maybe > it's ioctl'ing misunderstood things? Can you send me (or the list) the output of linux_kdump, instead of kdump. Linux_kdump can be found in the ports collection, or alternatively you can download the updated port from my homepage at http://www.scc.nl/~marcel/ The difference between the two is that linux_kdump shows the right syscalls for the Linux emulation, which can be very enlightening :-) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 7:30: 9 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id B8CBE15232 for ; Thu, 10 Jun 1999 07:30:07 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i217.ztm.euronet.nl [194.134.67.18]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id QAA05019; Thu, 10 Jun 1999 16:30:04 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id QAA28205; Thu, 10 Jun 1999 16:29:18 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <375FCBBE.308B7A36@scc.nl> Date: Thu, 10 Jun 1999 16:29:18 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Charles Henrich Cc: emulation@freebsd.org Subject: Re: Linux Development environtment References: <19990604174535.E14176@orbit.flnet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Charles Henrich wrote: > How exactly does one use the linux-devel port? Very carefully :-) > The compilers and linkers insist on referencing the FreeBSD libraries... That is a common problem. Try running them from a Linux shell. Another problem can be that some Linux libraries do not exist and the FreeBSD equivalents do. In that case, installing the Linux versions, may solve the problem. (I assumed you meant linux_devel from the ports collection) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 9:12:39 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from orbit.flnet.com (orbit.flnet.com [205.240.232.32]) by hub.freebsd.org (Postfix) with ESMTP id BE6A7153FD for ; Thu, 10 Jun 1999 09:12:37 -0700 (PDT) (envelope-from henrich@orbit.flnet.com) Received: (from henrich@localhost) by orbit.flnet.com (8.8.5/8.8.4) id MAA09047; Thu, 10 Jun 1999 12:12:22 -0400 (EDT) Date: Thu, 10 Jun 1999 09:12:21 -0700 From: Charles Henrich To: Marcel Moolenaar Cc: emulation@freebsd.org Subject: Re: Linux Development environtment Message-ID: <19990610091221.B8851@orbit.flnet.com> References: <19990604174535.E14176@orbit.flnet.com> <375FCBBE.308B7A36@scc.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <375FCBBE.308B7A36@scc.nl>; from Marcel Moolenaar on Thu, Jun 10, 1999 at 04:29:18PM +0200 X-Operating-System: FreeBSD 2.2-BETA_A X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On the subject of Re: Linux Development environtment, Marcel Moolenaar stated: > Charles Henrich wrote: > > > How exactly does one use the linux-devel port? > > Very carefully :-) > > > The compilers and linkers insist on referencing the FreeBSD libraries... > > That is a common problem. Try running them from a Linux shell. Another > problem can be that some Linux libraries do not exist and the FreeBSD > equivalents do. In that case, installing the Linux versions, may solve the > problem. > > (I assumed you meant linux_devel from the ports collection) Yep... It actually turned out to be a problem in the port... there were to libraries that were softlinked to each other (I believe libc and crt1).. the links were done with direct references instead of relative... I relinked them so that it referenced the correct library in /compat/linux instead of /usr/lib and running the compiler out of the box (more or less) worked like a champ./ -Crh Charles Henrich Manex Visual Effects henrich@flnet.com http://orbit.flnet.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 10: 2: 3 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (Postfix) with ESMTP id 663D314D6B for ; Thu, 10 Jun 1999 10:01:59 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with ESMTP id KAA22925; Thu, 10 Jun 1999 10:01:34 -0700 (PDT) Date: Thu, 10 Jun 1999 10:01:35 -0700 (PDT) From: Tom Bartol To: Charles Henrich Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment In-Reply-To: <19990610091221.B8851@orbit.flnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999, Charles Henrich wrote: > On the subject of Re: Linux Development environtment, Marcel Moolenaar stated: > > > Charles Henrich wrote: > > > > > How exactly does one use the linux-devel port? > > > > Very carefully :-) > > > > > The compilers and linkers insist on referencing the FreeBSD libraries... > > > > That is a common problem. Try running them from a Linux shell. Another > > problem can be that some Linux libraries do not exist and the FreeBSD > > equivalents do. In that case, installing the Linux versions, may solve the > > problem. > > > > (I assumed you meant linux_devel from the ports collection) > > Yep... It actually turned out to be a problem in the port... there were to > libraries that were softlinked to each other (I believe libc and crt1).. the > links were done with direct references instead of relative... I relinked them > so that it referenced the correct library in /compat/linux instead of /usr/lib > and running the compiler out of the box (more or less) worked like a champ./ > > -Crh > > Charles Henrich Manex Visual Effects henrich@flnet.com > > http://orbit.flnet.com/~henrich Hmmm... could you be more explicit about exactly what you did to get this working. I've got linux_lib-2.6 and linux_devel-0.2 on a 3.2-STABLE system. In the link step after compiling I get things like: /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control' /usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw' /usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init' and /usr/lib/libc.so: undefined reference to `__progname' I get this from a freebsd /bin/sh shell or a /compat/linux/bin/sh shell. Any assistance would be most appreciated. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 10: 5:24 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from orbit.flnet.com (orbit.flnet.com [205.240.232.32]) by hub.freebsd.org (Postfix) with ESMTP id CD53B14D6B for ; Thu, 10 Jun 1999 10:05:22 -0700 (PDT) (envelope-from henrich@orbit.flnet.com) Received: (from henrich@localhost) by orbit.flnet.com (8.8.5/8.8.4) id NAA10560; Thu, 10 Jun 1999 13:05:14 -0400 (EDT) Date: Thu, 10 Jun 1999 10:05:14 -0700 From: Charles Henrich To: Tom Bartol Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment Message-ID: <19990610100514.C9686@orbit.flnet.com> References: <19990610091221.B8851@orbit.flnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Tom Bartol on Thu, Jun 10, 1999 at 10:01:35AM -0700 X-Operating-System: FreeBSD 2.2-BETA_A X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On the subject of Re: Linux Development environtment, Tom Bartol stated: > > Hmmm... could you be more explicit about exactly what you did to get this > working. I've got linux_lib-2.6 and linux_devel-0.2 on a 3.2-STABLE > system. In the link step after compiling I get things like: > > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control' > /usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw' > /usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init' > > and > > /usr/lib/libc.so: undefined reference to `__progname' > > I get this from a freebsd /bin/sh shell or a /compat/linux/bin/sh shell. > > Any assistance would be most appreciated. I deleted the links /compat/linux/usr/lib/libc.so and /compat/linux/usr/lib/libm.so and relinked them as ln -s ../../lib/libc.so.5.4.23 and libm.so.5.0.8 I ran in a FreeBSD shell with /compat/linux/bin and /compat/linux/usr/bin in my path first. I had no LD_LIBRARY_PATHs set. And it worked like a charm to compile all sorts of nasty linux stuff (compiledl inuex to link with linux commercial libraries). Charles Henrich Manex Visual Effects henrich@flnet.com http://orbit.flnet.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 12:59:52 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from grisu.bik-gmbh.de (grisu.bik-gmbh.de [194.233.237.82]) by hub.freebsd.org (Postfix) with ESMTP id 2651314F7F for ; Thu, 10 Jun 1999 12:59:46 -0700 (PDT) (envelope-from cracauer@counter.bik-gmbh.de) Received: from counter.bik-gmbh.de (counter.bik-gmbh.de [194.233.237.131]) by grisu.bik-gmbh.de (8.8.8/8.6.9) with ESMTP id VAA22146; Thu, 10 Jun 1999 21:59:41 +0200 (MEST) Received: (from cracauer@localhost) by counter.bik-gmbh.de (8.9.3/8.8.8) id VAA88229; Thu, 10 Jun 1999 21:58:54 +0200 (CEST) (envelope-from cracauer) Date: Thu, 10 Jun 1999 21:58:54 +0200 From: Martin Cracauer To: Marcel Moolenaar Cc: Charles Henrich , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment Message-ID: <19990610215854.A87959@cons.org> References: <19990604174535.E14176@orbit.flnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Marcel Moolenaar on Thu, Jun 10, 1999 at 06:44:42PM +0200 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Charles Henrich wrote: > The compilers and linkers insist on referencing the FreeBSD libraries... Since FreeBSD is ELF now, you will face the problem that Libraries are gotten in roughly this order /comat/linux/usr/lib /usr/lib [without the compiler wanting it, the emulator does it] /comat/linux/lib [compiler want it] /lib [ harmless ] /comat/linux/usr/local/lib /usr/local/lib [harmful and hidden from the compiler again] Since libc in in /lib on Linux systems, the FreeBSD libc in /usr/lib is found first ==> BOOM. To do any Linux crosscompiling with custom libraries on a FreeBSD ELF system, the best solution is to symlink all Linux libraries you have into the first directory that the compiler searches. I sent a longer explanation to -port or -emulation a few months ago. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.bik-gmbh.de/~cracauer/ "Where do you want to do today?" Hard to tell running your calendar program on a junk operating system, eh? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 13:45:34 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (Postfix) with ESMTP id 333C315576 for ; Thu, 10 Jun 1999 13:45:21 -0700 (PDT) (envelope-from bartol@salk.edu) Received: from eccles.salk.edu (eccles [198.202.70.120]) by helmholtz.salk.edu (8.7.5/8.7.3) with ESMTP id NAA29785; Thu, 10 Jun 1999 13:45:13 -0700 (PDT) Date: Thu, 10 Jun 1999 13:45:14 -0700 (PDT) From: Tom Bartol To: Charles Henrich Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment In-Reply-To: <19990610100514.C9686@orbit.flnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 10 Jun 1999, Charles Henrich wrote: > On the subject of Re: Linux Development environtment, Tom Bartol stated: > > > > > Hmmm... could you be more explicit about exactly what you did to get this > > working. I've got linux_lib-2.6 and linux_devel-0.2 on a 3.2-STABLE > > system. In the link step after compiling I get things like: > > > > /usr/lib/crt1.o: In function `_start': > > /usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control' > > /usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw' > > /usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init' > > > > and > > > > /usr/lib/libc.so: undefined reference to `__progname' > > > > I get this from a freebsd /bin/sh shell or a /compat/linux/bin/sh shell. > > > > Any assistance would be most appreciated. > > I deleted the links /compat/linux/usr/lib/libc.so and > /compat/linux/usr/lib/libm.so and relinked them as > ln -s ../../lib/libc.so.5.4.23 and libm.so.5.0.8 > > I ran in a FreeBSD shell with /compat/linux/bin and /compat/linux/usr/bin in > my path first. > > I had no LD_LIBRARY_PATHs set. > > And it worked like a charm to compile all sorts of nasty linux stuff > (compiledl inuex to link with linux commercial libraries). > > Charles Henrich Manex Visual Effects henrich@flnet.com > > http://orbit.flnet.com/~henrich O.K. got it! Thanks! Works like a champ for me now too! Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 14:12:26 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from orbit.flnet.com (orbit.flnet.com [205.240.232.32]) by hub.freebsd.org (Postfix) with ESMTP id 3B8A114D39 for ; Thu, 10 Jun 1999 14:12:20 -0700 (PDT) (envelope-from henrich@orbit.flnet.com) Received: (from henrich@localhost) by orbit.flnet.com (8.8.5/8.8.4) id RAA17362; Thu, 10 Jun 1999 17:11:38 -0400 (EDT) Date: Thu, 10 Jun 1999 14:11:38 -0700 From: Charles Henrich To: Martin Cracauer Cc: Marcel Moolenaar , emulation@FreeBSD.ORG Subject: Re: Linux Development environtment Message-ID: <19990610141137.A16720@orbit.flnet.com> References: <19990604174535.E14176@orbit.flnet.com> <19990610215854.A87959@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990610215854.A87959@cons.org>; from Martin Cracauer on Thu, Jun 10, 1999 at 09:58:54PM +0200 X-Operating-System: FreeBSD 2.2-BETA_A X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On the subject of Re: Linux Development environtment, Martin Cracauer stated: > Charles Henrich wrote: > > The compilers and linkers insist on referencing the FreeBSD libraries... > > Since FreeBSD is ELF now, you will face the problem that Libraries are > gotten in roughly this order /comat/linux/usr/lib /usr/lib [without the > compiler wanting it, the emulator does it] /comat/linux/lib [compiler want > it] /lib [ harmless ] /comat/linux/usr/local/lib /usr/local/lib [harmful and > hidden from the compiler again] > > Since libc in in /lib on Linux systems, the FreeBSD libc in /usr/lib is > found first ==> BOOM. > > To do any Linux crosscompiling with custom libraries on a FreeBSD ELF > system, the best solution is to symlink all Linux libraries you have into > the first directory that the compiler searches. > > I sent a longer explanation to -port or -emulation a few months ago. It workes jkust great if you change the direct links to relative links and do nothing else... -Crh Charles Henrich Manex Visual Effects henrich@flnet.com http://orbit.flnet.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 15:42:41 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dlanor.evertsen.nl (node11a94.a2000.nl [24.132.26.148]) by hub.freebsd.org (Postfix) with ESMTP id 65DBB1501A for ; Thu, 10 Jun 1999 15:42:37 -0700 (PDT) (envelope-from ronald@node11a94.a2000.nl) Received: from localhost (ronald@localhost) by dlanor.evertsen.nl (8.9.3/8.9.2) with ESMTP id AAA21230 for ; Fri, 11 Jun 1999 00:42:35 +0200 (CEST) (envelope-from ronald@node11a94.a2000.nl) X-Authentication-Warning: dlanor.evertsen.nl: ronald owned process doing -bs Date: Fri, 11 Jun 1999 00:42:34 +0200 (CEST) From: "Ronald 'Ko' Klop" To: freebsd-emulation@freebsd.org Subject: version dosemu? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Which version of dosemu is currently shipped with the 3.x-STABLE version? I saw at http://www.dosemu.org/ that the newest version is 0.98.7, but I have the feeling (I couldn't find it in the source) that the current version in /usr/src/usr.bin/doscmd is 0.66.x . (Because some support was lacking for features mentioned in the newer version.) If FreeBSD-STABLE shippes the old version, does somebody know why the newest version isn't used? Does it give compiling problems? Greetings, Ronald. -- Ronald Klop http://node11a94.a2000.nl/~ronald/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Jun 10 19:33:34 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (Postfix) with ESMTP id E357514C2A for ; Thu, 10 Jun 1999 19:33:30 -0700 (PDT) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co ([168.176.3.31]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.6) with ESMTP id AAA7245; Thu, 10 Jun 1999 21:32:03 -0400 Message-ID: <376075A4.650EE5F8@bachue.usc.unal.edu.co> Date: Thu, 10 Jun 1999 21:34:13 -0500 From: "Pedro Fernando Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.5 [es] (Win95; I) X-Accept-Language: es,en-US,it MIME-Version: 1.0 To: Ronald 'Ko' Klop Cc: freebsd-emulation@freebsd.org Subject: Re: version dosemu? References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org None. dosemu is a linux-only thing. Actually it was ported long ago to NetBSD but it was not maintained. doscmd is a different (BSD) effort. Pedro. Ronald 'Ko' Klop escribió: > Hello, > > Which version of dosemu is currently shipped with the 3.x-STABLE version? > > I saw at http://www.dosemu.org/ that the newest version is 0.98.7, but I > have the feeling (I couldn't find it in the source) that the current > version in /usr/src/usr.bin/doscmd is 0.66.x . (Because some support was > lacking for features mentioned in the newer version.) > > If FreeBSD-STABLE shippes the old version, does somebody know why the > newest version isn't used? Does it give compiling problems? > > Greetings, > > Ronald. > > -- > Ronald Klop > http://node11a94.a2000.nl/~ronald/ > > 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 Fri Jun 11 7:57: 9 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id CE2B1151F0 for ; Fri, 11 Jun 1999 07:57:07 -0700 (PDT) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.8.8+Sun/8.8.8) id KAA21403 for freebsd-emulation@freebsd.org; Fri, 11 Jun 1999 10:57:05 -0400 (EDT) Date: Fri, 11 Jun 1999 10:57:05 -0400 (EDT) Message-Id: <199906111457.KAA21403@lab12.ie.pitt.edu> From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: freebsd-emulation@freebsd.org Subject: Q: Unresolved Symbols in lib_linux-2.6.1 ? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After upgrading my 2.2.8-RELEASE notebook to 3.2-RELEASE, I've run into a none-too-obvious problem with my previously working installation of WordPerfect8 for Linux: $ /usr/LINUX/wp8/wpbin/xwp # the WordPerfect binary xwp: Can't resolve symbol '_CurrentRuneLocale' xwp: Can't resolve symbol '__sF' FWIW, my Linux binaries for Acrobat3 & RealVideo player seem to behave as expected -- the system has the linux_lib-2.6.1 package installed. Any pointers to resolving this are appreciated. --Gary gerst4@pitt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Jun 11 10:23:59 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 974EF150C5 for ; Fri, 11 Jun 1999 10:23:55 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i307.ztm.euronet.nl [194.134.67.68]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id TAA06809 from for ; Fri, 11 Jun 1999 19:23:54 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id TAA76221 for emulation@FreeBSD.ORG; Fri, 11 Jun 1999 19:18:49 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Fri, 11 Jun 1999 19:18:46 +0200 From: Marcel Moolenaar Message-ID: <376144F6.108D30AA@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <199906111457.KAA21403@lab12.ie.pitt.edu> Subject: Re: Q: Unresolved Symbols in lib_linux-2.6.1 ? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gary Rafe wrote: > $ /usr/LINUX/wp8/wpbin/xwp # the WordPerfect binary > xwp: Can't resolve symbol '_CurrentRuneLocale' > xwp: Can't resolve symbol '__sF' This is a typical case where a FreeBSD library is loaded instead of the Linux library. IIRC, the library in question is libc.so. Make sure the Linux version is found first, that should solve your problem. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Jun 11 10:57:46 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id A992415152 for ; Fri, 11 Jun 1999 10:57:40 -0700 (PDT) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.8.8+Sun/8.8.8) id NAA22390; Fri, 11 Jun 1999 13:57:37 -0400 (EDT) Date: Fri, 11 Jun 1999 13:57:37 -0400 (EDT) Message-Id: <199906111757.NAA22390@lab12.ie.pitt.edu> From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: marcel@scc.nl Subject: Re: Q: Unresolved Symbols in lib_linux-2.6.1 ? Cc: freebsd-emulation@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > From marcel@scc.nl Fri Jun 11 13:19:23 1999 > Date: Fri, 11 Jun 1999 19:18:46 +0200 > From: Marcel Moolenaar > X-Accept-Language: en > Subject: Re: Q: Unresolved Symbols in lib_linux-2.6.1 ? > > $ /usr/LINUX/wp8/wpbin/xwp # the WordPerfect binary > > xwp: Can't resolve symbol '_CurrentRuneLocale' > > xwp: Can't resolve symbol '__sF' > > This is a typical case where a FreeBSD library is loaded instead of the > Linux library. IIRC, the library in question is libc.so. Make sure the > Linux version is found first, that should solve your problem. Thank you for the hint! Adding an explicit LD_LIBRARY_PATH, e.g., LD_LIBRARY_PATH=/compat/linux/usr/lib:/compat/linux/usr/X11R6/lib:... to the binary's startup script did the trick. --Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Jun 11 17: 9:53 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from shell2.ba.best.com (shell2.ba.best.com [206.184.139.133]) by hub.freebsd.org (Postfix) with ESMTP id D00CA14C2A for ; Fri, 11 Jun 1999 17:09:49 -0700 (PDT) (envelope-from asaddi@philosophysw.com) Received: from localhost (asaddi@localhost) by shell2.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id RAA27680 for ; Fri, 11 Jun 1999 17:09:49 -0700 (PDT) X-Authentication-Warning: shell2.ba.best.com: asaddi owned process doing -bs Date: Fri, 11 Jun 1999 17:09:49 -0700 (PDT) From: Allan Saddi X-Sender: asaddi@shell2.ba.best.com To: freebsd-emulation@freebsd.org Subject: Bug in linux fcntl syscall? Message-ID: Organization: Philosophy SoftWorks MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I decided to play around with the Linux version of TclPro 1.2 yesterday, since I found out my company had a site license for it. Anyway, what I found was that the installation program would hang on uzpln86 (the included unzip program). By searching the archives of this group, I found that Chris Timmons ran into a similar problem early this year (Re: TclPro for Linux eval). No solution appeared to have been found. I got around this problem by unzipping/installing the package myself and kludging the installation program. What I got was a relatively usable installation. However, the problem appeared again when I tried to use the GUI debugger (prodebug). prodebug would execute protclsh80 and just hang. No CPU usage, no I/O, nada. Today, after hours of truss'ing and strace'ing (on a RedHat 6 system), I discovered the problem. In linux_file.c, the function linux_fcntl: #ifdef DEBUG printf("Linux-emul(%d): fcntl(%d, %08x, *)\n", p->p_pid, args->fd, args->cmd); #endif fcntl_args.fd = args->fd; fcntl_args.arg = 0; switch (args->cmd) { ... case LINUX_F_SETFD: fcntl_args.cmd = F_SETFD; return fcntl(p, &fcntl_args); Notice that fcntl_args.arg is always 0. This keeps the F_SETFD call from ever setting the close-on-exec flag, which is precisely the problem. I patched the LINUX_F_SETFD case to set fcntl_args.arg to args->arg, and TclPro's prodebug now works fine. (The fcntl calls were made on fd's from a pipe. I surmise the child dup's these fd's and eventually closes them to signal to the parent that it is done. Since the original descriptors never closed [because close-on-exec wasn't set], this event never happened.) I would've filed a PR, but looking at the code, I see other cases that set/assign fcntl_args.arg explicitly. So I'm wondering if this was a design decision rather than a bug? (One of those feature vs. bugs things, I guess. ;) Oh yeah, my system: FreeBSD 3.2-STABLE #42: Wed May 19 17:48:38 PDT 1999 A bit stale, but I did check the CVS repository and there weren't any major updates to the linux emulator that would seemingly affect this. Any comments? -- Allan Saddi "The Earth is the cradle of mankind, asaddi@philosophysw.com but we cannot live in the cradle http://www.philosophysw.com/asaddi/ forever." - K.E. Tsiolkovsky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 1:53:45 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 4ACE915292 for ; Sat, 12 Jun 1999 01:53:28 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i222.ztm.euronet.nl [194.134.67.23]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id KAA00537 from for ; Sat, 12 Jun 1999 10:53:26 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id KAA07466 for emulation@FreeBSD.ORG; Sat, 12 Jun 1999 10:39:12 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Sat, 12 Jun 1999 10:39:09 +0200 From: Marcel Moolenaar Message-ID: <37621CAD.7E822846@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: Bug in linux fcntl syscall? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Allan Saddi wrote: > Today, after hours of truss'ing and strace'ing (on a RedHat 6 system), I > discovered the problem. In linux_file.c, the function linux_fcntl: > Notice that fcntl_args.arg is always 0. This keeps the F_SETFD call from > ever setting the close-on-exec flag, which is precisely the problem. I > patched the LINUX_F_SETFD case to set fcntl_args.arg to args->arg, and > TclPro's prodebug now works fine. > I would've filed a PR, but looking at the code, I see other cases that > set/assign fcntl_args.arg explicitly. So I'm wondering if this was a > design decision rather than a bug? (One of those feature vs. bugs things, > I guess. ;) I wouldn't call it a bug. I wouldn't call it a feature either :-) Anyway, you should file the PR. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 2:57: 0 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 10D5414E9A for ; Sat, 12 Jun 1999 02:56:56 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id LAA13361; Sat, 12 Jun 1999 11:56:45 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <199906120956.LAA13361@freebsd.dk> Subject: Re: Bug in linux fcntl syscall? In-Reply-To: <37621CAD.7E822846@scc.nl> from Marcel Moolenaar at "Jun 12, 1999 10:39: 9 am" To: marcel@scc.nl (Marcel Moolenaar) Date: Sat, 12 Jun 1999 11:56:45 +0200 (CEST) Cc: emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Marcel Moolenaar wrote: > Allan Saddi wrote: > > > Today, after hours of truss'ing and strace'ing (on a RedHat 6 system), I > > discovered the problem. In linux_file.c, the function linux_fcntl: > > > Notice that fcntl_args.arg is always 0. This keeps the F_SETFD call from > > ever setting the close-on-exec flag, which is precisely the problem. I > > patched the LINUX_F_SETFD case to set fcntl_args.arg to args->arg, and > > TclPro's prodebug now works fine. > > > I would've filed a PR, but looking at the code, I see other cases that > > set/assign fcntl_args.arg explicitly. So I'm wondering if this was a > > design decision rather than a bug? (One of those feature vs. bugs things, > > I guess. ;) > > I wouldn't call it a bug. I wouldn't call it a feature either :-) > Anyway, you should file the PR. Its a bug allright, I'll look at it together with some other patches for the emulator, anyone with special wishes currently, og outstanding patches/fixes/upgrades? I'll merge the bits and commit... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 8:25:44 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 69CDA14D37 for ; Sat, 12 Jun 1999 08:25:41 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i414.ztm.euronet.nl [194.134.67.135]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id RAA28337; Sat, 12 Jun 1999 17:25:39 +0200 (MET DST) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.3/8.9.3) with ESMTP id RAA01526; Sat, 12 Jun 1999 17:25:30 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <37627BEA.9687CA5@scc.nl> Date: Sat, 12 Jun 1999 17:25:30 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: emulation@FreeBSD.ORG Subject: Re: Bug in linux fcntl syscall? References: <199906120956.LAA13361@freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Soren Schmidt wrote: > Its a bug allright, I'll look at it together with some other patches > for the emulator, anyone with special wishes currently, og outstanding > patches/fixes/upgrades? I'll merge the bits and commit... You asked for it :-) :-) (A) Emulator/kernel: got 3 fixes/enhancements: (1) sys/i386/linux/linux_misc.c: linux_uname Currently linux_uname returns the same values as the FreeBSD native syscall. Some linux binaries (RPM, for example) expect the OS name to be "Linux". Other binaries test the revision number (Matlab???). The patch handles this. (2) sys/kern/imgact_elf.c: exec_elf_imgact (PR 10145) An ELF interpreter is always loaded relative to the root of the tree corresponding to the brand. For brand Linux this is /compat/linux. When you want to run a Linux binary chroot'ed in /compat/linux, the ELF interpreter cannot be found. This is (of cource) because /compat/linux does not exist beneath /compat/linux. The patch handles this case by also trying to load the interpreter relative to /. (3) sys/kern/imgact_elf.c: exec_elf_imgact Linux allows the execution of ELF images of type "ET_REL". This is how ldd works under Linux. Since FreeBSD only executes ELF images of type "ET_EXEC", ldd does not work under FreeBSD. The patch handles that. The patches are attached as a single file. All three patches are for -current. I also got patches for enhancement (3) for 3.2 and 2.2.8 releases on my page (http://www.scc.nl/~marcel/) (B) Ports: 3 ports + numerous updates (1) linux-base A replacement for linux_lib based on Red Hat 5.2 release. (2) linux-devel A replacement for linux_devel, also based on Red Hat 5.2 release. (3) linux-kdump An updated version, which uses the the replacement ports and also works for -current (4) numerous patches for "linux-using" ports The patches update the dependency information in the Makefile. There you have it :-) :-) Seriously: if you think any of the emulator/kernel patches is worth committing, then by all means, commit them. The ports take a lot more time, because of the consequences for other ports, so I don't really expect you to do that right now. BTW: You may want to talk to Mike Smith. He's sort of handling this when he's got the time... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 10:36: 0 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 77DAC14E85 for ; Sat, 12 Jun 1999 10:35:54 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-1-170.dialup.rdu.ipass.net [209.170.132.170]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id NAA24614 for ; Sat, 12 Jun 1999 13:35:51 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id NAA10771 for emulation@FreeBSD.ORG; Sat, 12 Jun 1999 13:37:26 -0400 (EDT) (envelope-from rhh) Date: Sat, 12 Jun 1999 13:37:25 -0400 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: Re: Linux Development environtment Message-ID: <19990612133725.A10057@ipass.net> References: <19990610091221.B8851@orbit.flnet.com> <19990610100514.C9686@orbit.flnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990610100514.C9686@orbit.flnet.com>; from Charles Henrich on Thu, Jun 10, 1999 at 10:05:14AM -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Charles Henrich: |> /usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control' |> /usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw' |> /usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init' ... |I deleted the links /compat/linux/usr/lib/libc.so and |/compat/linux/usr/lib/libm.so and relinked them as |ln -s ../../lib/libc.so.5.4.23 and libm.so.5.0.8 I had exactly this problem and this adivce is what I needed. The next error is: # make make: *** No rule to make target `/usr/include/vga.h', needed by `send_data.o'. Stop. This sounds like an SVGAlib file. The tool I'm trying to build is a Linux SVGAlib app which allows you to upload data to a Timex DataLink watch: http://www.eecs.wsu.edu/~hakimian/watch/datalink.tar.gz Does the Linux emulation layer not support SVGAlib? Thanks, Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 12:12:57 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dingo.cdrom.com (castles540.castles.com [208.214.165.104]) by hub.freebsd.org (Postfix) with ESMTP id BFFB614ECD for ; Sat, 12 Jun 1999 12:12:55 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.conference.usenix.org [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id KAA00985; Wed, 9 Jun 1999 10:06:58 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199906091706.KAA00985@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Gerald Pfeifer Cc: emulation@freebsd.org Subject: Re: libncurses.so.4? In-reply-to: Your message of "Wed, 09 Jun 1999 15:34:36 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Jun 1999 10:06:58 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Wed, 26 May 1999, Marcel Moolenaar wrote: > > Download linux-base from http://www.scc.nl/~marcel/. It's a > > replacement for linux_lib. > > When will this become part of a regular FreeBSD RELEASE? It would be > really nice to see this in 3.3. I'm optomistic that Marcel will take over the Linux-lib ports in the very near future; his work is certainly a great step forwards. I just want to get him a commit-bit so that he doesn't need to funnel all his work through someone else (eg. me 8). -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Jun 12 13:24: 0 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 580BE14BFA for ; Sat, 12 Jun 1999 13:23:57 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i258.ztm.euronet.nl [194.134.67.59]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id WAA04507 from for ; Sat, 12 Jun 1999 22:23:50 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id WAA34650 for emulation@FreeBSD.ORG; Sat, 12 Jun 1999 22:07:56 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Sat, 12 Jun 1999 22:07:55 +0200 From: Marcel Moolenaar Message-ID: <3762BE1B.24EE2D48@scc.nl> Organization: SCC vof Content-Type: multipart/mixed; References: <199906120956.LAA13361@freebsd.dk>, <37627BEA.9687CA5@scc.nl> Subject: Re: Bug in linux fcntl syscall? (DUH) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------B1CA2654AC2CA165CC62B905 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Marcel Moolenaar wrote: [see previous post] Here's the patchfile corresponding to (A) -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 --------------B1CA2654AC2CA165CC62B905 Content-Type: text/plain; charset=us-ascii; name="linux.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="linux.patch" --- ./sys/i386/linux/linux_misc.c.orig Sat Jun 12 12:55:46 1999 +++ ./sys/i386/linux/linux_misc.c Sat Jun 12 13:08:02 1999 @@ -868,11 +868,11 @@ printf("Linux-emul(%d): newuname(*)\n", p->p_pid); #endif bzero(&linux_newuname, sizeof(struct linux_newuname_t)); - strncpy(linux_newuname.sysname, ostype, + strncpy(linux_newuname.sysname, "Linux", sizeof(linux_newuname.sysname) - 1); strncpy(linux_newuname.nodename, hostname, sizeof(linux_newuname.nodename) - 1); - strncpy(linux_newuname.release, osrelease, + strncpy(linux_newuname.release, "2.0.36", sizeof(linux_newuname.release) - 1); strncpy(linux_newuname.version, version, sizeof(linux_newuname.version) - 1); --- ./sys/kern/imgact_elf.c.orig Sat Jun 12 12:55:51 1999 +++ ./sys/kern/imgact_elf.c Sat Jun 12 13:12:10 1999 @@ -436,7 +436,8 @@ /* * Do we have a valid ELF header ? */ - if (elf_check_header(hdr) != 0 || hdr->e_type != ET_EXEC) + if (elf_check_header(hdr) != 0 || + (hdr->e_type != ET_EXEC && hdr->e_type != ET_REL)) return -1; /* @@ -584,12 +585,15 @@ imgp->proc->p_sysent = brand_info->sysvec; if (interp != NULL) { - snprintf(path, sizeof(path), "%s%s", - brand_info->emul_path, interp); + snprintf(path, sizeof(path), "%s%s", + brand_info->emul_path, interp); if ((error = elf_load_file(imgp->proc, path, &addr, - &imgp->entry_addr)) != 0) { - uprintf("ELF interpreter %s not found\n", path); - goto fail; + &imgp->entry_addr)) != 0) { + if ((error = elf_load_file(imgp->proc, interp, &addr, + &imgp->entry_addr)) != 0) { + uprintf("ELF interpreter %s not found\n", path); + goto fail; + } } } --------------B1CA2654AC2CA165CC62B905-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message