From owner-freebsd-emulation Sun Nov 30 10:11:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA22408 for emulation-outgoing; Sun, 30 Nov 1997 10:11:20 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA22398 for ; Sun, 30 Nov 1997 10:11:14 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.7) with ESMTP id KAA09277; Sun, 30 Nov 1997 10:10:55 -0800 (PST) (envelope-from jdp) Message-Id: <199711301810.KAA09277@austin.polstra.com> To: pam@polynet.lviv.ua Subject: Re: Q:Using SCO libraries under FreeBSD (COFF convertor?) In-Reply-To: <199711280841.KAA21063@NetSurfer.lp.lviv.ua> References: <199711280841.KAA21063@NetSurfer.lp.lviv.ua> Organization: Polstra & Co., Seattle, WA Cc: emulation@freebsd.org Date: Sun, 30 Nov 1997 10:10:55 -0800 From: John Polstra Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199711280841.KAA21063@NetSurfer.lp.lviv.ua>, Adrian Pavlykevych wrote: > I've installed GNU binutils and tried to convert library from > COFF-i386 to a.out-freebsd. Operation went smothly, but function > references remained without leading underscore - so they were not > accessible for linker. The object file converter in binutils has an option for adding or removing the leading underscores. I forget what it's called. Check the man page or the info pages, or try the "--help" option. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth From owner-freebsd-emulation Wed Dec 3 14:56:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA20747 for emulation-outgoing; Wed, 3 Dec 1997 14:56:12 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA20742 for ; Wed, 3 Dec 1997 14:56:10 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.54]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA174 for ; Wed, 3 Dec 1997 17:55:15 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id RAA01193; Wed, 3 Dec 1997 17:55:45 -0500 (EST) (envelope-from root) Message-ID: <19971203175544.38577@scsn.net> Date: Wed, 3 Dec 1997 17:55:44 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: emulation@FreeBSD.ORG Subject: DNS Troubles w/Linux Apps Reply-To: dmaddox@scsn.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk When running the Linux RealPlayer 5.0b2, I am seeing some strange problems with DNS. If I try to access a RealMedia URL containing a hostname that needs to be resolved, it will invariably fail in an odd way: With tcpdump, I can see a query to the nameserver, then an answer from the nameserver, but the RealPlayer continues to query as if it didn't get an answer until it finally times out, like so: 17:45:33.199031 208.133.153.54.1335 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) 17:45:33.500296 206.25.246.5.domain > 208.133.153.54.1335: 19488 1/0/0 (48) 17:45:38.230538 208.133.153.54.1336 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) 17:45:43.240285 208.133.153.54.1337 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) 17:45:43.420237 206.25.246.5.domain > 208.133.153.54.1337: 19488 1/0/0 (48) 17:45:48.260307 208.133.153.54.1338 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) 17:45:48.490228 206.25.246.3.domain > 208.133.153.54.1338: 19488 1/0/0 (48) 17:45:53.280388 208.133.153.54.1339 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) 17:45:53.460396 206.25.246.5.domain > 208.133.153.54.1339: 19488 1/0/0 (48) If I substitute the actual IP address in the above URL, it will work just fine. What am I missing here? Is ther something I need to set up in addition to the files below? Here are the relevant files from /compat/linux/etc: ------------------------------ /compat/linux/etc/resolv.conf: ------------------------------ domain scsn.net nameserver 206.25.246.5 nameserver 206.25.246.3 ---------------------------- /compat/linux/etc/host.conf: ----------------------------- order hosts, bind multi on -------------------------------- /compat/linux/etc/nsswitch.conf: -------------------------------- # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # nisplus or nis+ Use NIS+ (NIS version 3) # nis or yp Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # passwd: files nisplus nis shadow: files nisplus nis group: files nisplus nis hosts: files nisplus nis dns services: nisplus [NOTFOUND=return] files networks: nisplus [NOTFOUND=return] files protocols: nisplus [NOTFOUND=return] files rpc: nisplus [NOTFOUND=return] files ethers: nisplus [NOTFOUND=return] files netmasks: nisplus [NOTFOUND=return] files bootparams: nisplus [NOTFOUND=return] files netgroup: nisplus publickey: nisplus automount: files nisplus aliases: files nisplus From owner-freebsd-emulation Wed Dec 3 17:42:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA03380 for emulation-outgoing; Wed, 3 Dec 1997 17:42:29 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA03375 for ; Wed, 3 Dec 1997 17:42:26 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 3 Dec 1997 20:41:48 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA01168; Wed, 3 Dec 97 20:41:47 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA22136; Wed, 3 Dec 1997 20:41:22 -0500 Message-Id: <19971203204122.04230@ct.picker.com> Date: Wed, 3 Dec 1997 20:41:22 -0500 From: Randall Hopper To: emulation@freebsd.org Subject: Re: Now here's the ultimate in emulation, I think.. ;-) References: <18926.878698372@time.cdrom.com> <199711050718.IAA13423@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=GvXjxJ+pjyke8COw X-Mailer: Mutt 0.81 In-Reply-To: <199711050718.IAA13423@sos.freebsd.dk>; from S\xren Schmidt on Wed, Nov 05, 1997 at 08:18:28AM +0100 Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii In reply to Jordan K. Hubbard who wrote: > http://members.pairnet.com/delite/arcade_mame.html Pretty slick. About all it needs is a GUI ROM menu script to wrap it (attached). Your choice of xmenu or 9menu -- xmenu looks best. Randall --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=xmame-menu #!/bin/sh # # xmame-menu - Display a menu of XMAME arcade games using XMENU/9MENU. # Kick off XMAME when user picks an arcade game. # (Randall Hopper, 12/3/97) # # Supports xmenu & 9menu -- xmenu looks best: # XMENU: http://ftp.lth.se/archive/usenet/comp.sources.x/volume08/xmenu/ # 9MENU: ftp://ftp.mathcs.emory.edu/pub/arnold/9menu-1.5.shar.gz # PROG=xmenu #PROG=9menu ROMPATH=/opt/pkg/xmame-0.29.2/lib/roms BINPATH=/opt/pkg/xmame-0.29.2/bin TITLE="XMAME GAMES" FONT=9x15 #FONT="-freefont-tekton-*-*-*-*-0-*-*-*-*-0-iso8859-1" #FONT="-freefont-engraver-*-*-*-*-0-*-*-*-*-0-iso8859-1" FOREGROUND="white" BACKGROUND="DarkOrchid" PATH=$BINPATH:$PATH export PATH DO_MENU() { if [ $PROG = xmenu ]; then menu="-heading '$TITLE'" else menu="-label '$TITLE' -popup" fi menu="$menu -fg $FOREGROUND -bg $BACKGROUND -geometry +0+0 -font $FONT" for c in "$@"; do if [ $PROG = xmenu ]; then if [ $c = "--" ]; then menu="$menu -line" else menu="$menu '$c=$c'" fi else if [ $c != "--" ]; then menu="$menu '$c:echo $c'" fi fi done choice="`echo $menu | xargs $PROG`" } # IF USER TOLD US WHAT GAME, JUST GO RUN IT if [ -n "$1" ]; then exec xmame "$@" fi # OTHERWISE, DO SOME GAME MENUS SO USER CAN CHOOSE while [ 1 ]; do DO_MENU A B C D E F G H I J K L M N O P Q R S T U V W X Y Z -- QUIT if [ $choice = QUIT ]; then exit 0; fi choice=`echo $choice | tr "[A-Z]" "[a-z]"` cd $ROMPATH roms="`echo $choice*`" DO_MENU $roms -- BACK QUIT if [ $choice = BACK ]; then continue; fi if [ $choice = QUIT ]; then exit 0; fi xmame "$choice" done --GvXjxJ+pjyke8COw-- From owner-freebsd-emulation Thu Dec 4 02:06:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA08600 for emulation-outgoing; Thu, 4 Dec 1997 02:06:04 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from bill.forsmark.uu.se (bill.forsmark.uu.se [130.238.224.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA08593 for ; Thu, 4 Dec 1997 02:05:49 -0800 (PST) (envelope-from dt96pasu@forsmark.uu.se) Received: from hagbard (dt96pasu@hagbard [130.238.224.67]) by bill.forsmark.uu.se (8.8.5/8.8.5) with SMTP id LAA07685 for ; Thu, 4 Dec 1997 11:05:49 +0100 (MET) Date: Thu, 4 Dec 1997 13:07:47 +0100 (MET) From: Patrik Sundberg X-Sender: dt96pasu@hagbard To: freebsd-emulation@freebsd.org Subject: bugging symlinks under the linux emulation (i think) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk greetings all, i have just recently joined this list and this is my first posting, have that in mind before attacking me if this is already known info, i have at least not found it anywhere. it seems like i have found a rather odd bugg in (i think) the linux binary emulation code. when i installed the linux version of applixware everything worked ok at first, then it suddenly stopped working. i couldnt figure out the problem so i ktraced the program. the thing is this: bash-2.01$ ls -l /compat/linux/usr/ [snip] lrwxrwxrwx 1 root wheel 22 Dec 4 02:45 local -> /usr/local/linux/local [snip] i have a symbolic link to another filesystem for my /compat/linux/usr/local. bash-2.01$ df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 38991 16622 19250 46% / /dev/wd0s2e 297423 179283 94347 66% /usr /dev/wd0s2f 1331151 994507 230152 81% /usr/local /dev/wd0s2g 19487 1759 16170 10% /var /dev/wd2s2e 396895 8833 356311 2% /home procfs 4 4 0 100% /proc localhost:/null 0 0 0 100% /crypt /dev/wcd0a 626556 626556 0 100% /mnt/cdrom/ even though i am quite sure applixware has nothing to do with the usr/local (since it is installed under /compat/linux/opt/applix (also on a symlink to /usr/local/linux/opt/applix)) it tries to do a swapon() syscall which for some reason fails and starts looping the path to /compat/linux/usr/local so it tests longer and longer everytime it tries.. eventually the process causes a segmentation fault and is killed. the applixware version i tested this with was Applixware4.3 developers edition. i had no problem with other linux binaries(though i have not done much testing). ohh.. i forgot to mention. if i remove the symlink /comapt/linux/usr/local it works fine, no complains from applix. i can also have a real direcory there instead of the symlink and it works. hope you guys can be helped by this info and fix it(if it is a emualtionfault that is, i have little experience with kernel hacking myself and doesnt have time to do any further investigations myself). please mail me any comments on the issue, would like to know if and when it will get fixxed =) a uname -a output from my setup: FreeBSD radiac.barack.org 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Wed Dec 3 19: 36:16 CET 1997 root@radiac.barack.org:/usr/src/sys/compile/RADIAC i386 i.e a totally vanilla 2.2.5-RELEASE system with no kernelpatches, and i have the linux emulation compiled as an lkm. i have a ktrace logg and a core dump saved here, but that would be a bit large to mail, so anyone interesting in more information on the issue can mail me and i will mail you a tar.gz archieve including this and som aditional info on my setup. thats is for my first posting - hope it wasnt to stupid, bye! _____________________________________________________________________ Patrik 'skaut' Sundberg '97 irc is addictive sysadmin of forsmark.uu.se - born to run unix! - irc-fanatic skaut@IRCNet - additional email: skaut@webservices.se --------------------------------------------------------------------- From owner-freebsd-emulation Thu Dec 4 18:48:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA00787 for emulation-outgoing; Thu, 4 Dec 1997 18:48:06 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from Tandem.com (suntan.tandem.com [192.216.221.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA00707 for ; Thu, 4 Dec 1997 18:47:56 -0800 (PST) (envelope-from grog@lemis.com) Received: from papillon.lemis.com ([168.87.69.104]) by Tandem.com (8.8.8/2.0.1) with ESMTP id SAA19284; Thu, 4 Dec 1997 18:47:48 -0800 (PST) Received: (grog@localhost) by papillon.lemis.com (8.8.8/8.6.12) id SAA07140; Thu, 4 Dec 1997 18:15:11 +0800 (CST) Message-ID: <19971204181508.14476@lemis.com> Date: Thu, 4 Dec 1997 18:15:08 +0800 From: Greg Lehey To: dmaddox@scsn.net Cc: emulation@FreeBSD.ORG Subject: Re: DNS Troubles w/Linux Apps References: <19971203175544.38577@scsn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <19971203175544.38577@scsn.net>; from Donald J. Maddox on Wed, Dec 03, 1997 at 05:55:44PM -0500 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Dec 03, 1997 at 05:55:44PM -0500, Donald J. Maddox wrote: > When running the Linux RealPlayer 5.0b2, I am seeing some > strange problems with DNS. If I try to access a RealMedia > URL containing a hostname that needs to be resolved, it will > invariably fail in an odd way: With tcpdump, I can see a > query to the nameserver, then an answer from the nameserver, > but the RealPlayer continues to query as if it didn't get > an answer until it finally times out, like so: > > > > 17:45:33.199031 208.133.153.54.1335 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > 17:45:33.500296 206.25.246.5.domain > 208.133.153.54.1335: 19488 1/0/0 (48) > 17:45:38.230538 208.133.153.54.1336 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) > 17:45:43.240285 208.133.153.54.1337 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > 17:45:43.420237 206.25.246.5.domain > 208.133.153.54.1337: 19488 1/0/0 (48) > 17:45:48.260307 208.133.153.54.1338 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) > 17:45:48.490228 206.25.246.3.domain > 208.133.153.54.1338: 19488 1/0/0 (48) > 17:45:53.280388 208.133.153.54.1339 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > 17:45:53.460396 206.25.246.5.domain > 208.133.153.54.1339: 19488 1/0/0 (48) > > If I substitute the actual IP address in the above URL, it will > work just fine. > > What am I missing here? Is ther something I need to set up in > addition to the files below? No, I think this is a bug in the Linux emulation. We've seen it with StarOffice as well, but only on some systems (including mine). So far, nobody who has expeienced the problem has found it disturbing enough to fix. Greg From owner-freebsd-emulation Thu Dec 4 19:02:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA02521 for emulation-outgoing; Thu, 4 Dec 1997 19:02:22 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from fang.cs.sunyit.edu (umji@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA02509 for ; Thu, 4 Dec 1997 19:02:17 -0800 (PST) (envelope-from umji@fang.cs.sunyit.edu) Received: from localhost (umji@localhost) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id XAA25183 for ; Thu, 4 Dec 1997 23:03:09 GMT Date: Thu, 4 Dec 1997 23:03:09 +0000 (GMT) From: Michael Imor To: freebsd-emulation@freebsd.org Subject: linux emulation problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm having a problem with linux emulation on a machine running FreeBSD-current/SMP. Quake.x11 hangs after the "Console initialized.", however quake.x11 -nolan (or -noudp) works fine (with sound thanks to Amancio!). Same thing for StarOffice and a couple of other apps that use networking under linux emulation. Any ideas? Mike From owner-freebsd-emulation Fri Dec 5 08:55:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA13057 for emulation-outgoing; Fri, 5 Dec 1997 08:55:36 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA13047 for ; Fri, 5 Dec 1997 08:55:32 -0800 (PST) (envelope-from bartol@salk.edu) Received: from dale.salk.edu (dale [198.202.70.112]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id IAA09737; Fri, 5 Dec 1997 08:55:06 -0800 (PST) Date: Fri, 5 Dec 1997 08:55:06 -0800 (PST) From: Tom Bartol To: Greg Lehey cc: dmaddox@scsn.net, emulation@FreeBSD.ORG Subject: Re: DNS Troubles w/Linux Apps In-Reply-To: <19971204181508.14476@lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk We've been seeing similar behaviour with Matlab. We came up with a workaround by creating a /compat/linux/etc/hosts file and creating entries in that file (in the standard /etc/hosts format, of course) for all the machines we need Matlab to reach. Tom On Thu, 4 Dec 1997, Greg Lehey wrote: > On Wed, Dec 03, 1997 at 05:55:44PM -0500, Donald J. Maddox wrote: > > When running the Linux RealPlayer 5.0b2, I am seeing some > > strange problems with DNS. If I try to access a RealMedia > > URL containing a hostname that needs to be resolved, it will > > invariably fail in an odd way: With tcpdump, I can see a > > query to the nameserver, then an answer from the nameserver, > > but the RealPlayer continues to query as if it didn't get > > an answer until it finally times out, like so: > > > > > > > > 17:45:33.199031 208.133.153.54.1335 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > > 17:45:33.500296 206.25.246.5.domain > 208.133.153.54.1335: 19488 1/0/0 (48) > > 17:45:38.230538 208.133.153.54.1336 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) > > 17:45:43.240285 208.133.153.54.1337 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > > 17:45:43.420237 206.25.246.5.domain > 208.133.153.54.1337: 19488 1/0/0 (48) > > 17:45:48.260307 208.133.153.54.1338 > 206.25.246.3.domain: 19488+ A? video.real.com. (32) > > 17:45:48.490228 206.25.246.3.domain > 208.133.153.54.1338: 19488 1/0/0 (48) > > 17:45:53.280388 208.133.153.54.1339 > 206.25.246.5.domain: 19488+ A? video.real.com. (32) > > 17:45:53.460396 206.25.246.5.domain > 208.133.153.54.1339: 19488 1/0/0 (48) > > > > If I substitute the actual IP address in the above URL, it will > > work just fine. > > > > What am I missing here? Is ther something I need to set up in > > addition to the files below? > > No, I think this is a bug in the Linux emulation. We've seen it with > StarOffice as well, but only on some systems (including mine). So > far, nobody who has expeienced the problem has found it disturbing > enough to fix. > > Greg > > From owner-freebsd-emulation Fri Dec 5 12:20:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03678 for emulation-outgoing; Fri, 5 Dec 1997 12:20:25 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from fifo.futurelab.com (u142.netsol.net [38.185.32.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA03480 for ; Fri, 5 Dec 1997 12:19:43 -0800 (PST) (envelope-from matthew@netsol.net) Received: from cyrix.futurelab.com (cyrix.futurelab.com [192.168.1.120]) by fifo.futurelab.com (8.8.5/8.8.5) with SMTP id XAA01216 for ; Wed, 3 Dec 1997 23:21:40 -0800 (PST) Received: by cyrix.futurelab.com with Microsoft Mail id <01BD0042.405CB160@cyrix.futurelab.com>; Wed, 3 Dec 1997 23:21:58 -0800 Message-ID: <01BD0042.405CB160@cyrix.futurelab.com> From: matt To: "'emulation@FreeBSD.org'" Subject: How to get ROM Date: Wed, 3 Dec 1997 23:21:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Can any one tell me how i cna get rom? matt at Future Lab From owner-freebsd-emulation Fri Dec 5 13:02:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA08341 for emulation-outgoing; Fri, 5 Dec 1997 13:02:25 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA08333 for ; Fri, 5 Dec 1997 13:02:18 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.52]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA166; Fri, 5 Dec 1997 16:01:41 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id QAA01222; Fri, 5 Dec 1997 16:01:42 -0500 (EST) (envelope-from root) Message-ID: <19971205160142.00749@scsn.net> Date: Fri, 5 Dec 1997 16:01:42 -0500 From: Charlie Root To: Tom Bartol Cc: Greg Lehey , dmaddox@scsn.net, emulation@FreeBSD.ORG Subject: Re: DNS Troubles w/Linux Apps Reply-To: dmaddox@scsn.net References: <19971204181508.14476@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Tom Bartol on Fri, Dec 05, 1997 at 08:55:06AM -0800 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Dec 05, 1997 at 08:55:06AM -0800, Tom Bartol wrote: > > We've been seeing similar behaviour with Matlab. We came up with a > workaround by creating a /compat/linux/etc/hosts file and creating entries > in that file (in the standard /etc/hosts format, of course) for all the > machines we need Matlab to reach. > > Tom I'd like to try that. I've never used Linux, though; is the /etc/hosts format the same as FreeBSD? From owner-freebsd-emulation Fri Dec 5 13:09:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA08926 for emulation-outgoing; Fri, 5 Dec 1997 13:09:44 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA08919 for ; Fri, 5 Dec 1997 13:09:41 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.52]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA227; Fri, 5 Dec 1997 16:09:20 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id QAA01240; Fri, 5 Dec 1997 16:09:22 -0500 (EST) (envelope-from root) Message-ID: <19971205160921.39067@scsn.net> Date: Fri, 5 Dec 1997 16:09:21 -0500 From: Charlie Root To: Michael Imor Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: linux emulation problem Reply-To: dmaddox@scsn.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Michael Imor on Thu, Dec 04, 1997 at 11:03:09PM +0000 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Dec 04, 1997 at 11:03:09PM +0000, Michael Imor wrote: > I'm having a problem with linux emulation on a machine running > FreeBSD-current/SMP. Quake.x11 hangs after the "Console initialized.", > however quake.x11 -nolan (or -noudp) works fine (with sound thanks to > Amancio!). Same thing for StarOffice and a couple of other apps that use > networking under linux emulation. Any ideas? > > Mike I'm seeing the same problem with the Linux RealPlayer, I think... It looks like there is a problem in the Linux emulation with regard to DNS lookups. Try running tcpdump when you start quake... I expect you will see quake do a DNS lookup, followed by an answer from your nameserver, but Linux apps don't seem to be able to recognize the answer and just keep querying. It's been suggested to me that one workaround is to find out what host the app is trying to look up, and create a /compat/linux/etc/hosts file with the address of that host, so a network lookup is not necessary. From owner-freebsd-emulation Fri Dec 5 13:14:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA09530 for emulation-outgoing; Fri, 5 Dec 1997 13:14:42 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA09525 for ; Fri, 5 Dec 1997 13:14:39 -0800 (PST) (envelope-from bartol@salk.edu) Received: from dale.salk.edu (dale [198.202.70.112]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id NAA14805; Fri, 5 Dec 1997 13:13:54 -0800 (PST) Date: Fri, 5 Dec 1997 13:13:55 -0800 (PST) From: Tom Bartol To: dmaddox@scsn.net cc: Greg Lehey , emulation@FreeBSD.ORG Subject: Re: DNS Troubles w/Linux Apps In-Reply-To: <19971205160142.00749@scsn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 5 Dec 1997, Charlie Root wrote: > On Fri, Dec 05, 1997 at 08:55:06AM -0800, Tom Bartol wrote: > > > > We've been seeing similar behaviour with Matlab. We came up with a > > workaround by creating a /compat/linux/etc/hosts file and creating entries > > in that file (in the standard /etc/hosts format, of course) for all the > > machines we need Matlab to reach. > > > > Tom > > I'd like to try that. I've never used Linux, though; is the /etc/hosts > format the same as FreeBSD? > Yes, Linux's format complies with the same RFC#blah that FreeBSD's /etc/hosts file does. Tom From owner-freebsd-emulation Fri Dec 5 18:56:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA09048 for emulation-outgoing; Fri, 5 Dec 1997 18:56:30 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from word.smith.net.au (ppp8.portal.net.au [202.12.71.108]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA09042 for ; Fri, 5 Dec 1997 18:56:25 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA01269; Sat, 6 Dec 1997 13:21:13 +1030 (CST) Message-Id: <199712060251.NAA01269@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: dmaddox@scsn.net, emulation@FreeBSD.ORG Subject: Re: DNS Troubles w/Linux Apps In-reply-to: Your message of "Thu, 04 Dec 1997 18:15:08 +0800." <19971204181508.14476@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 13:21:13 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > No, I think this is a bug in the Linux emulation. We've seen it with > StarOffice as well, but only on some systems (including mine). So > far, nobody who has expeienced the problem has found it disturbing > enough to fix. I haven't had the time to get to this yet (story of my life 8(), however this sounds very much similar to the problem that Amancio tracked down with UDP emulation recently. As the DNS stuff that's at issue here also uses UDP, this 'feels' relevant. If you want to experiment with this, start replacing the "o*" UDP-related calls in the linuxulator with their non-"o*" counterparts (eg. orecvfrom -> recvfrom, etc.), as this was the fix in the above case. If you *do* achieve any results with this, *please* let me know, as I will eventually get to committing the relevant changes. mike From owner-freebsd-emulation Fri Dec 5 20:53:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17121 for emulation-outgoing; Fri, 5 Dec 1997 20:53:34 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from word.smith.net.au (ppp5.portal.net.au [202.12.71.105]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA17108 for ; Fri, 5 Dec 1997 20:53:28 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA01579; Sat, 6 Dec 1997 14:32:51 +1030 (CST) Message-Id: <199712060402.OAA01579@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Patrik Sundberg cc: freebsd-emulation@freebsd.org Subject: Re: bugging symlinks under the linux emulation (i think) In-reply-to: Your message of "Thu, 04 Dec 1997 13:07:47 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 14:32:50 +1030 From: Mike Smith Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > even though i am quite sure applixware has nothing to do with the > usr/local (since it is installed under /compat/linux/opt/applix (also on a > symlink to /usr/local/linux/opt/applix)) it tries to do a swapon() syscall You are using kdump. Try using /usr/ports/devel/linux_kdump instead. BSD's swapon syscall is #85, which is the linux readlink call. > which for some reason fails and starts looping the path to > /compat/linux/usr/local so it tests longer and longer everytime it > tries.. eventually the process causes a segmentation fault and is killed. Can you summarise, simply, the directory layout that you're using? The output of 'mount' and the symlink(s) in question would be helpful. It's possible that you have an implicit circular reference that's not being handled properly by the code that performs directory lookups in the "linux" space. mike From owner-freebsd-emulation Fri Dec 5 22:36:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA24015 for emulation-outgoing; Fri, 5 Dec 1997 22:36:46 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from word.smith.net.au (ppp6.portal.net.au [202.12.71.106]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA23988; Fri, 5 Dec 1997 22:36:20 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA02228; Sat, 6 Dec 1997 16:58:33 +1030 (CST) Message-Id: <199712060628.QAA02228@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: mike@smith.net.au, emulation@freebsd.org, erich@freebsd.org, v@godzilla.zeta.org.au Subject: Re: localtime under Linux-emu? In-reply-to: Your message of "Sun, 30 Nov 1997 16:26:54 +1100." <199711300526.QAA30424@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 16:58:32 +1030 From: Mike Smith Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sorry for the continuity break here. 8( > >> The search order is (omitting /compat/linux): > >> > >> /usr/lib/zoneinfo/localtime > >> /usr/share/zoneinfo/localtime > > > >Ok. Linking localtime into usr/lib/zoneinfo will work then. > > > >> and then for a zoneinfo data file: > >> > >> /usr/lib/zoneinfo/GMT > >> /usr/share/zoneinfo/GMT > > > >Er. That's sufficiently different from our POV that it's not going to > >work. (ie. we have it in /usr/share/zoneinfo/Etc/GMT) > > It looks like a compatibility hack or a bad old way of doing things. In > an old version of RedHat Linux, GMT has 18 hard links, one in Etc. > zoneinfo used to be more cluttered here too. In the above, "it" is ambiguous. Are you referring to the Linux behaviour, or ours? > >> Putting `localtime' in lib/zoneinfo is OK, especially if you don't > >> put the shareable zoneinfo files there. At least in glibc-2.0.3, > >> and in the timezone distribution, searching for `localtime' in the > >> same directory as the shareable zoneinfo files is caused by forming > >> the path from TZDIR and TZDEFAULT (unless TZDEFAULT is an absolute > >> pathname, as it is in FreeBSD). These distributions don't seem to > >> support multiple paths in TZDIR, but glibc supports overrinding it > >> using the TZDIR environment variable. > > > >I can't parse that. You've just said that the code searches the same > >places for both localtime and the shared data files, but now you are > >saying that putting them in the same directory would actually be bad, > >without explaining why. > > Read what I wrote, or UTSL. Apparently only nonstandard code searches > both places. I did read what you wrote, which is why I said "I can't parse that". TSL isn't immediately available, nor is the context from which you are operating. Rather, I rely on your ability to communicate same in a fashion from which I can draw inferences as to correct actions. At this point, the contents of the FreeBSD /usr/share/zoneinfo directory are symlinked into /compat/linux/usr/lib/zoneinfo. From your comments above, it appears that this is redundant due to /usr/share/ zoneinfo being part of the default search path. It also appears that /usr/share/zoneinfo is not laid out in a fashion which is likely to be similar to that expected by Linux applications. Can you confirm these points? Is the layout of the zoneinfo directory important to the average application, or is it more relevant to the format of the timezone value? > >> >How about a more correct solution: > >> > > >> > mkdir /compat/linux/usr/lib/zoneinfo > >> > ln -s /usr/share/zoneinfo/* /compat/linux/usr/lib/zoneinfo > >> > ln -sf /etc/localtime /compat/linux/usr/lib/localtime > >> > >> This probably fails with glibc. > > > >Because it uses a diferent path layout for the shared datafiles? Would > > > > for i in find /usr/share/zoneinfo/ -type file; > > ln -s $i /compat/linux/usr/lib/zoneinfo/ > > > >get closer, or do they have their own, variant directory layout? > > Something like that. It needs to actually work for subdirectories. The inference I initially drew from your earlier comments was that Linux did not use subdirectories under the zoneinfo directory. Was this a poor assumption based on your example? A much simpler approach to the above would just have been to let the Linux code eventually find /usr/share/zoneinfo by itsef. > I hope will follow the layout in the timezone distribution, and that > FreeBSD users won't be interested in running old Linux libraries so that > the Linux library package won't need to contain old shared libraries. You hope *what* will follow the layout in the timezone distribution? There is no hope that FreeBSD users will not want to run old binaries. Nobody I know of runs libraries by themselves; they're boring. 8) mike From owner-freebsd-emulation Sat Dec 6 00:29:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA00667 for emulation-outgoing; Sat, 6 Dec 1997 00:29:41 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA00659; Sat, 6 Dec 1997 00:29:32 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id TAA04003; Sat, 6 Dec 1997 19:25:25 +1100 Date: Sat, 6 Dec 1997 19:25:25 +1100 From: Bruce Evans Message-Id: <199712060825.TAA04003@godzilla.zeta.org.au> To: bde@zeta.org.au, mike@smith.net.au Subject: Re: localtime under Linux-emu? Cc: emulation@FreeBSD.ORG, erich@FreeBSD.ORG, v@godzilla.zeta.org.au Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> >> The search order is (omitting /compat/linux): >> >> >> >> /usr/lib/zoneinfo/localtime >> >> /usr/share/zoneinfo/localtime >> > >> >Ok. Linking localtime into usr/lib/zoneinfo will work then. >> > >> >> and then for a zoneinfo data file: >> >> >> >> /usr/lib/zoneinfo/GMT >> >> /usr/share/zoneinfo/GMT >> > >> >Er. That's sufficiently different from our POV that it's not going to >> >work. (ie. we have it in /usr/share/zoneinfo/Etc/GMT) >> >> It looks like a compatibility hack or a bad old way of doing things. In >> an old version of RedHat Linux, GMT has 18 hard links, one in Etc. >> zoneinfo used to be more cluttered here too. > >In the above, "it" is ambiguous. Are you referring to the Linux >behaviour, or ours? An old version of RedHat Linux. >> Read what I wrote, or UTSL. Apparently only nonstandard code searches >> both places. > >I did read what you wrote, which is why I said "I can't parse that". >TSL isn't immediately available, nor is the context from which you are >operating. Rather, I rely on your ability to communicate same in a >fashion from which I can draw inferences as to correct actions. I rely on the ability of people to do their homework. >At this point, the contents of the FreeBSD /usr/share/zoneinfo >directory are symlinked into /compat/linux/usr/lib/zoneinfo. From your >comments above, it appears that this is redundant due to /usr/share/ >zoneinfo being part of the default search path. It also appears that >/usr/share/zoneinfo is not laid out in a fashion which is likely to be >similar to that expected by Linux applications. Can you confirm these >points? It is redundant for /usr/share/zoneinfo (in old RH versions...) but not for localtime. The layout is apparently incompatible (in old RH versions...). >Is the layout of the zoneinfo directory important to the average >application, or is it more relevant to the format of the timezone value? Don't know. >The inference I initially drew from your earlier comments was that >Linux did not use subdirectories under the zoneinfo directory. Was An old RH version... Of course it uses the standard subdirectories (Australia/ etc.). It just has many more links for (18 instead of 5 for GMT). This may be caused by the timezone version being older and/or an installation bug that I fixed in zic (links weren't snapped properly). >this a poor assumption based on your example? A much simpler approach >to the above would just have been to let the Linux code eventually find >/usr/share/zoneinfo by itsef. Theat would work in an old RH version ... but would might fail with glibc. glibc seems to follow the timzone distribution in putting localtime in the zoneinfo directory and only having one directory which doesn't default to /usr/share/zoneinfo. >> I hope will follow the layout in the timezone distribution, and that >> FreeBSD users won't be interested in running old Linux libraries so that >> the Linux library package won't need to contain old shared libraries. > >You hope *what* will follow the layout in the timezone distribution? glibc. I'm can't remember why I hoped that :-). Bruce From owner-freebsd-emulation Sat Dec 6 20:56:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA14770 for emulation-outgoing; Sat, 6 Dec 1997 20:56:11 -0800 (PST) (envelope-from owner-freebsd-emulation) Received: from fang.cs.sunyit.edu (root@fang.cs.sunyit.edu [192.52.220.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA14764 for ; Sat, 6 Dec 1997 20:56:05 -0800 (PST) (envelope-from umji@cs.sunyit.edu) Received: from pirahna (A-W33.rh.sunyit.edu [150.156.211.115]) by fang.cs.sunyit.edu (8.8.5/8.7.3) with SMTP id AAA25353; Sun, 7 Dec 1997 00:56:26 GMT Message-Id: <3.0.1.32.19971206235525.00875740@fang.cs.sunyit.edu> X-Sender: umji@fang.cs.sunyit.edu X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Sat, 06 Dec 1997 23:55:25 -0500 To: Mike Smith From: Michael Imor Subject: Re: DNS Troubles w/Linux Apps Cc: emulation@FreeBSD.ORG In-Reply-To: <199712060251.NAA01269@word.smith.net.au> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk No luck. I tried replacing all the o* calls (except orecv and osend). but DNS lookups still fail. Mike At 01:21 PM 12/6/97 +1030, Mike Smith wrote: >> No, I think this is a bug in the Linux emulation. We've seen it with >> StarOffice as well, but only on some systems (including mine). So >> far, nobody who has expeienced the problem has found it disturbing >> enough to fix. > >I haven't had the time to get to this yet (story of my life 8(), >however this sounds very much similar to the problem that Amancio >tracked down with UDP emulation recently. > >As the DNS stuff that's at issue here also uses UDP, this 'feels' >relevant. If you want to experiment with this, start replacing the >"o*" UDP-related calls in the linuxulator with their non-"o*" >counterparts (eg. orecvfrom -> recvfrom, etc.), as this was the fix in >the above case. > >If you *do* achieve any results with this, *please* let me know, as I >will eventually get to committing the relevant changes. > >mike > > > >