From owner-freebsd-emulation Sun Oct 17 13: 7:36 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from kiwi.mail.easynet.net (kiwi.mail.easynet.net [195.40.1.40]) by hub.freebsd.org (Postfix) with ESMTP id B5B7D14A2D; Sun, 17 Oct 1999 13:07:25 -0700 (PDT) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by kiwi.mail.easynet.net (Postfix) with ESMTP id 40423DAF84; Sun, 17 Oct 1999 21:07:23 +0100 (BST) Message-ID: <380A3C38.8C4311E4@freenet.co.uk> Date: Sun, 17 Oct 1999 21:14:32 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: duplicate filenames under Linux emulation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I noticed that I often get duplicate filenames when running programs under Linux emulation. Attached below is a directory listing, in which the file bxutils-c.c is listed twice under Linux. I don't think the problem is ls(1) related, as I remember seeing duplicate names in file selection boxes as well, therefore it must be a bug in the mapping of the getdirentries(2) syscall. current:~/prog/motif/GUITests/Test2$ ls -l total 237 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil current:~/prog/motif/GUITests/Test2$ /compat/linux/bin/bash current:~/prog/motif/GUITests/Test2$ ls -l total 349 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil I would be happy to provide additional info. My kernel is -current as of 11 Oct: -r-xr-xr-x 1 root wheel 1804310 Oct 11 18:42 /kernel (the Linux module compiled in). Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 17 19:15:28 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from kiwi.mail.easynet.net (kiwi.mail.easynet.net [195.40.1.40]) by hub.freebsd.org (Postfix) with ESMTP id EC3D314C13; Sun, 17 Oct 1999 19:15:23 -0700 (PDT) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by kiwi.mail.easynet.net (Postfix) with ESMTP id 005EDDAF59; Mon, 18 Oct 1999 03:15:20 +0100 (BST) Message-ID: <380A9278.638D7FC2@freenet.co.uk> Date: Mon, 18 Oct 1999 03:22:32 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Kurt D. Zeilenga" , freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: duplicate filenames under Linux emulation References: <3.0.5.32.19991017140045.00948160@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Kurt D. Zeilenga" wrote: > > might be informative to provide output of "ls -li" to the list. Sure... it doesn't change one thing, but here goes: current:~/prog/motif/GUITests/Test2$ ls -li total 237 444972 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# 444961 -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile 444966 -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile 444965 -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c 444970 -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o 444962 -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c 444969 -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o 444976 -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c 444963 -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ 444968 -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o 444971 -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c 444952 -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c 444946 -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o 444960 -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c 444947 -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil current:~/prog/motif/GUITests/Test2$ /compat/linux/bin/bash current:~/prog/motif/GUITests/Test2$ ls -li total 349 444972 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# 444961 -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile 444966 -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile 444965 -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c 444970 -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o 444962 -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c 444969 -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o 444976 -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c 444963 -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ 444968 -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o 444971 -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c 444952 -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c 444946 -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o 444960 -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c 444947 -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 17 19:55:11 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gizmo.internode.com.au (gizmo.internode.com.au [192.83.231.115]) by hub.freebsd.org (Postfix) with ESMTP id 1533114D49; Sun, 17 Oct 1999 19:55:00 -0700 (PDT) (envelope-from newton@gizmo.internode.com.au) Received: (from newton@localhost) by gizmo.internode.com.au (8.9.3/8.9.3) id MAA73538; Mon, 18 Oct 1999 12:23:59 +0930 (CST) (envelope-from newton) From: Mark Newton Message-Id: <199910180253.MAA73538@gizmo.internode.com.au> Subject: Re: duplicate filenames under Linux emulation To: ak@freenet.co.uk (Alex) Date: Mon, 18 Oct 1999 12:23:58 +0930 (CST) Cc: kurt@boolean.net, freebsd-emulation@FreeBSD.ORG, freebsd-current@FreeBSD.ORG In-Reply-To: <380A9278.638D7FC2@freenet.co.uk> from "Alex" at Oct 18, 99 03:22:32 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex wrote: > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > bxutils-c.c > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > bxutils-c.c For what it's worth, I have this bug in the to-do list for the SVR4 emulator too. It's caused by the fact that dirent structures for BSD and SysVR4 are of different sizes, so svr4_getdents() (and svr4_getdents64(), its 64-bit counterpart) fetches a buffer full of BSD dirent structures from disk (usually more than the number which have actually been requested) with VOP_READDIR(), rewrites them into another buffer full of svr4_dirent structures, and returns the contents of the second buffer to userspace. Next time getdents() is called the emulated version continues from where it left off in the first buffer until it has been exhaused, at which point it issues another VOP_READDIR() call to refresh it. It looks like the duplicates are the entries which appear on the boundaries of the buffer first buffer (i.e.: the last directory entry in a buffer will be re-read into the beginning of the buffer when VOP_READDIR() is called again). I haven't had time to examine it in detail, but I suspect that incrementing an offset parameter for VOP_READDIR() aio request will fix this bug. If it does, let me know and I'll fold the result into svr4_getdents() as well :-) - mark ---- Mark Newton Email: newton@internode.com.au (W) Network Engineer Email: newton@atdot.dotat.org (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 17 20:18:46 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mta3.rcsntx.swbell.net (mta3.rcsntx.swbell.net [151.164.30.27]) by hub.freebsd.org (Postfix) with ESMTP id B4E4214D49; Sun, 17 Oct 1999 20:18:42 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta3.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FJS002N33UCD1@mta3.rcsntx.swbell.net>; Sun, 17 Oct 1999 22:18:13 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id WAA09605; Sun, 17 Oct 1999 22:18:29 -0500 (CDT envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Sun, 17 Oct 1999 22:18:29 -0500 From: Chris Costello Subject: Re: duplicate filenames under Linux emulation In-reply-to: <380A9278.638D7FC2@freenet.co.uk> To: Alex Cc: "Kurt D. Zeilenga" , freebsd-emulation@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19991017221828.H452@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: <3.0.5.32.19991017140045.00948160@localhost> <380A9278.638D7FC2@freenet.co.uk> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Oct 18, 1999, Alex wrote: > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > bxutils-c.c > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 Two different versions of ls. You seem to have the GNU version of ls(1) installed for the Linux emulation listing. I would say that it is that ls(1) or perhaps the Linux libc's fts(3) that is broken. -- |Chris Costello |It is easier to write an incorrect program than understand a correct one. `------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 18 7:24: 6 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 23DD614DE3 for ; Mon, 18 Oct 1999 07:24:01 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id PAA00404 for emulation@FreeBSD.org; Mon, 18 Oct 1999 15:59:03 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Mon, 18 Oct 1999 15:58:54 +0200 From: Marcel Moolenaar Message-ID: <380B279E.D4786BEB@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <380A9278.638D7FC2@freenet.co.uk>, <199910180253.MAA73538@gizmo.internode.com.au> Subject: Re: duplicate filenames under Linux emulation Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mark Newton wrote: > > Alex wrote: > > > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > > bxutils-c.c > > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > > bxutils-c.c > > For what it's worth, I have this bug in the to-do list for the > SVR4 emulator too. It's caused by the fact that dirent structures > for BSD and SysVR4 are of different sizes, so svr4_getdents() > (and svr4_getdents64(), its 64-bit counterpart) fetches a buffer > full of BSD dirent structures from disk (usually more than the number > which have actually been requested) with VOP_READDIR(), rewrites them > into another buffer full of svr4_dirent structures, and returns the > contents of the second buffer to userspace. Next time getdents() is > called the emulated version continues from where it left off in the > first buffer until it has been exhaused, at which point it issues another > VOP_READDIR() call to refresh it. The Linuxulator doesn't have that problem. Linux binaries suffer from the duplicate name because glibc (libc5 too?) explicitly calls lseek on the fd of the open directory: Linux-emul(42254): lseek(3, 0, 1) getdents: nbytes=492, off=0 getdents: 29 cookies: 12 24 40 60 72 88 100 120 136 156 176 192 208 228 244 260 280 300 320 336 356 384 400 420 440 456 476 492 512 0(0) - . 12(12) - .. 24(28) - Archive 40(48) - .netscape 60(68) - SCC 72(84) - linux 88(100) - bin 100(116) - Drumming 120(136) - .emacs 136(156) - .Xauthority 156(180) - .signature 176(204) - Sites 192(220) - .ssh 208(236) - axhome 228(256) - GNUstep 244(276) - Docs 260(292) - .xsession 280(312) - Processors 300(336) - .wmmailrc 320(356) - .acrorc 336(376) - .prognet 356(396) - .xsession-errors 384(424) - Div 400(440) - FreeBSD 420(460) - .cvspass 440(12) Linux-emul(42254): lseek(3, 356, 0) Linux-emul(42254): lseek(3, 0, 1) getdents: nbytes=492, off=356 getdents: 29 cookies: 12 24 40 60 72 88 100 120 136 156 176 192 208 228 244 260 280 300 320 336 356 384 400 420 440 456 476 492 512 356(0) - .xsession-errors 384(28) - Div 400(44) - FreeBSD 420(64) - .cvspass 440(84) - .mailrc 456(104) - .profile 476(124) - .rhosts 492(144) - .ssh2 512(332) Linux-emul(42254): lseek(3, 0, 1) getdents: nbytes=492, off=512 getdents: 20 cookies: 532 552 576 592 612 628 648 668 688 708 748 772 804 824 84 8 900 928 960 992 1024 512(0) - .history 532(20) - .Xdefaults 552(44) - .ICEauthority 576(68) - .cshrc 592(88) - .autosave 612(108) - .login 628(128) - Words.aw 648(148) - .mime.types 668(172) - .mailcap 688(192) - Languages 708(212) - RT 748(228) - .xemacs-options 772(256) - .bash_history 804(280) - Repository 824(304) - oracle8i.txt 848(328) - .gimp-1.1 900(348) - odbc_linux.tar.gz 928(376) - Voorstel-1.doc 960(404) - .emacs-places 992(428) - .vacation.msg 1024(40) Linux-emul(42254): lseek(3, 960, 0) Linux-emul(42254): lseek(3, 0, 1) getdents: nbytes=492, off=960 getdents: 20 cookies: 532 552 576 592 612 628 648 668 688 708 748 772 804 824 84 8 900 928 960 992 1024 960(0) - .emacs-places 992(24) - .vacation.msg 1024(444) <> \begin{details} X(Y) - Z X = file offset Y = offset in buffer passed to binary Z = filename X(Y) X = file offset at end of syscall Y = bytes remaining in user buffer The Linux binary showed .xsession-errors and .emacs-places twice. \end{details} > If it does, let me know and I'll fold the result into svr4_getdents() > as well :-) I don't know how it is implemented for svr4, but you may also suffer from lseeks... -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 18 9:50:16 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from thelab.hub.org (nat203.183.mpoweredpc.net [142.177.203.183]) by hub.freebsd.org (Postfix) with ESMTP id 00C7914DC5; Mon, 18 Oct 1999 09:49:40 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.1) with ESMTP id NAA44556; Mon, 18 Oct 1999 13:50:02 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Mon, 18 Oct 1999 13:49:58 -0300 (ADT) From: The Hermit Hacker To: freebsd-emulation@freebsd.org Cc: freebsd-ports@freebsd.org Subject: binutils-2.9.1.0.15-1.i386.rpm cannot be installed? 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 I've tried several times, allto no avail...just re-cvsup'd the ports collection to make sure I was up to date, and its a 3.3-STABLE machine... ===> Installing for staroffice-3.1 ===> staroffice-3.1 depends on file: /compat/linux/usr/i486-linux-libc5/lib/libc.so.5 - not found ===> Verifying reinstall for /compat/linux/usr/i486-linux-libc5/lib/libc.so.5 in /usr/ports/emulators/linux_base ===> Installing for linux_base-5.2 ===> linux_base-5.2 depends on executable: rpm - found setup-1.9.2-1.noarch.rpm filesystem-1.3.2-3.noarch.rpm basesystem-4.9-3.noarch.rpm ldconfig-1.9.5-8.i386.rpm glibc-2.0.7-29.i386.rpm termcap-9.12.6-11.noarch.rpm libtermcap-2.0.8-10.i386.rpm bash-1.14.7-13.i386.rpm ncurses-4.2-10.i386.rpm zlib-1.1.3-2.i386.rpm info-3.12-9.i386.rpm fileutils-3.16-10.i386.rpm grep-2.2-2.i386.rpm binutils-2.9.1.0.15-1.i386.rpm error: /usr/ports/distfiles/rpm/binutils-2.9.1.0.15-1.i386.rpm cannot be installed *** Error code 1 Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 18 11:24:11 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 58BD51526E for ; Mon, 18 Oct 1999 11:24:08 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id UAA62630 for emulation@FreeBSD.org; Mon, 18 Oct 1999 20:08:00 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Mon, 18 Oct 1999 20:07:52 +0200 From: Marcel Moolenaar Message-ID: <380B61F8.236EB237@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: binutils-2.9.1.0.15-1.i386.rpm cannot be installed? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The Hermit Hacker wrote: > > I've tried several times, allto no avail...just re-cvsup'd the ports > collection to make sure I was up to date, and its a 3.3-STABLE machine... Do you build with -DNO_CHECKSUM? -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 18 14: 6: 6 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 5490D1516B for ; Mon, 18 Oct 1999 14:05:56 -0700 (PDT) (envelope-from cgriffiths@quansoo.com) Received: from localhost (cgriffiths@localhost) by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id RAA04420 for ; Mon, 18 Oct 1999 17:06:11 -0500 (CDT) (envelope-from cgriffiths@quansoo.com) X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs Date: Mon, 18 Oct 1999 17:06:11 -0500 (CDT) From: "Christopher T. Griffiths" To: emulation@freebsd.org Subject: Linux JDK1.2 port 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 Has anyone had any luck with the linux port for 1.2 under emulation?? I have it installed but am getting the following error when running java: /usr/bin/expr: not found Error: can't find libjava.so. I have seen in this list that people are running it so if anyone can give me some advice for getting this to run that would be great. Thanks Chris Christopher T. Griffiths Senior Network/Systems Administrator Quansoo Group Inc. cgriffiths@quansoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 19 2:37:18 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 1EEC31649E for ; Tue, 19 Oct 1999 02:37:12 -0700 (PDT) (envelope-from marcel@scc.nl) Received: from [212.238.132.94] (helo=scones.sup.scc.nl) by post.mail.nl.demon.net with esmtp (Exim 2.02 #1) id 11dVha-0006sK-00; Tue, 19 Oct 1999 09:37:06 +0000 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 LAA80541; Tue, 19 Oct 1999 11:36:59 +0200 (CEST) (envelope-from marcel@scc.nl) Message-ID: <380C3BBB.7BA26C30@scc.nl> Date: Tue, 19 Oct 1999 11:36:59 +0200 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.5 i386) X-Accept-Language: en MIME-Version: 1.0 To: emulation@freebsd.org Cc: Mark Newton Subject: Re: duplicate filenames under Linux emulation [FIX: please test] References: <380A9278.638D7FC2@freenet.co.uk> <380B279E.D4786BEB@scc.nl> Content-Type: multipart/mixed; boundary="------------6B4845DA128D933D209112D6" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------6B4845DA128D933D209112D6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Marcel Moolenaar wrote: > > Mark Newton wrote: > > > > Alex wrote: > > > > > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > > > bxutils-c.c > > > 444964 -rw-r--r-- 1 ak users 102042 Oct 17 20:23 > > > bxutils-c.c > > > > For what it's worth, I have this bug in the to-do list for the > > SVR4 emulator too. > > The Linuxulator doesn't have that problem. Linux binaries suffer from > the duplicate name because glibc (libc5 too?) explicitly calls lseek on > the fd of the open directory: A more simple fix than the one attached is probably not possible, but before I commit this, I want to be somewhat sure I don't break anything. Please apply the patch (it also works for -stable [offset -3 lines]) and tell me if it solves the problem (it does for me :-) and if it doesn't break anything else. Without negative feedback, this patch is going to be committed in a couple of days. \begin{background} The dirent used in the Linux kernel is different from the dirent used by glibc2 (libc5?). To handle this, glibc2 (libc5?) uses a heuristic to determine how many kernel-dirents to read in order to fill the buffer, supplied by the application, with glibc-dirents. It is possible for glibc2 to read more kernel-dirents than it can pass on the the application. In that case, the surplus kernel-dirents are ignored and the file pointer set to the value of the offset field in the last dirent written to the application buffer. If offset is what it means, you get that dirent on a second call again. The patch changes the value of offset to be the offset of the *next* dirent. Et voila! \end{background} -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org --------------6B4845DA128D933D209112D6 Content-Type: text/plain; charset=us-ascii; name="getdents.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="getdents.diff" Index: linux_file.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_file.c,v retrieving revision 1.35 diff -u -r1.35 linux_file.c --- linux_file.c 1999/09/25 16:21:24 1.35 +++ linux_file.c 1999/10/19 09:11:07 @@ -540,7 +540,7 @@ linux_dirent.doff = (linux_off_t) linuxreclen; linux_dirent.dreclen = (u_short) bdp->d_namlen; } else { - linux_dirent.doff = (linux_off_t) off; + linux_dirent.doff = (linux_off_t)(off + reclen); linux_dirent.dreclen = (u_short) linuxreclen; } strcpy(linux_dirent.dname, bdp->d_name); --------------6B4845DA128D933D209112D6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Oct 21 5:49:59 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mta1.tm.net.my (mta1.tm.net.my [202.188.95.4]) by hub.freebsd.org (Postfix) with ESMTP id D169A14F0A for ; Thu, 21 Oct 1999 05:49:39 -0700 (PDT) (envelope-from hulkwwf@tm.net.my) Received: from tm.net.my ([202.188.44.79]) by mta1.tm.net.my (InterMail v03.02.05 118 121 101) with ESMTP id <19991021124936.JTON26991@tm.net.my> for ; Thu, 21 Oct 1999 20:49:36 +0800 Message-ID: <380FDF00.ACFD33CB@tm.net.my> Date: Thu, 21 Oct 1999 20:50:24 -0700 From: hulkwwf@tm.net.my X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.ORG Subject: Ms dos Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can u send me something about MS dos information. i need some about Ms Dos manual and teach me how to use DOS to run my computer can you help me!! 1. how to fdisk ? 2. how to use dos? thank you! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Oct 21 12:12: 3 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mojave.worldwide.lemis.com (picasso.transbay.net [209.133.53.6]) by hub.freebsd.org (Postfix) with ESMTP id 63D2814A21 for ; Thu, 21 Oct 1999 12:11:58 -0700 (PDT) (envelope-from grog@lemis.com) Received: (grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.6.12) id LAA07818; Thu, 21 Oct 1999 11:59:05 -0700 (PDT) Message-ID: <19991021115905.46651@mojave.worldwide.lemis.com> Date: Thu, 21 Oct 1999 11:59:05 -0700 From: Greg Lehey To: hulkwwf@tm.net.my, freebsd-emulation@FreeBSD.ORG Subject: Re: Ms dos References: <380FDF00.ACFD33CB@tm.net.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <380FDF00.ACFD33CB@tm.net.my>; from hulkwwf@tm.net.my on Thu, Oct 21, 1999 at 08:50:24PM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thursday, 21 October 1999 at 20:50:24 -0700, hulkwwf@tm.net.my wrote: > Can u send me something about MS dos information. No. > i need some about Ms Dos manual and teach me how to use DOS to run my > computer > can you help me!! > 1. how to fdisk ? > 2. how to use dos? > thank you! DOS is a Microsoft product. You should find people who uses Microsoft. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Oct 21 21:49:19 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1]) by hub.freebsd.org (Postfix) with ESMTP id 0FAD514D11 for ; Thu, 21 Oct 1999 21:49:11 -0700 (PDT) (envelope-from sto@isds.duke.edu) Received: (from sto@localhost) by isds.duke.edu (8.8.8/8.8.8) id AAA21038 for freebsd-emulation@FreeBSD.ORG; Fri, 22 Oct 1999 00:49:10 -0400 (EDT) Message-ID: <19991022004910.B30402@stat.Duke.EDU> Date: Fri, 22 Oct 1999 00:49:10 -0400 From: "Sean O'Connell" To: FreeBSD emulation Subject: StarOffice-5.1a Reply-To: "Sean O'Connell" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 X-Organization: Institute of Statistics and Decision Sciences Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All- I am not sure if I missed a posting about this or not, but it looks like the Office51/bin/applicat.rdb from the original StarDivision version 5.1 does not work with the newer Sun distribution (5.1a). The new one needs to be : bin > ll applicat.rdb -rw-r--r-- 1 root wheel 1671168 Oct 22 00:17 applicat.rdb bin > md5 applicat.rdb MD5 (applicat.rdb) = 963432192fb13ee5fd39578becf614c3 As soon as I replaced this with one from Redhat box, life was good and no more complaints about the plug-in manager. Not sure how to make this available easily, mebbe I could put the proper applicat.rdb on our ftp server (if there is demand :). Sean -- ----------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 22 7:31:28 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail4.cadvision.com (mail4.cadvision.com [207.228.64.49]) by hub.freebsd.org (Postfix) with ESMTP id 79EC614C1D for ; Fri, 22 Oct 1999 07:31:21 -0700 (PDT) (envelope-from dkwiebe@mail.cadvision.com) Received: from mail.cadvision.com (ppp5.heartland.ab.ca [207.107.228.133]) by mail4.cadvision.com (8.9.3/8.9.1/CW) with ESMTP id IAA04899; Fri, 22 Oct 1999 08:31:14 -0600 Message-ID: <381076E8.2BD7A485@mail.cadvision.com> Date: Fri, 22 Oct 1999 08:38:32 -0600 From: Darren WIebe Reply-To: dkwiebe@hagenhomes.com Organization: Hagen Homes Ltd. X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Sean O'Connell" Cc: FreeBSD emulation Subject: Re: StarOffice-5.1a References: <19991022004910.B30402@stat.Duke.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean O'Connell wrote: Hello: I am currently working on a port for StarOffice-5.1a. I have it to the place where it will install and run. I do not have the correct applicat.rdb yet so that does not work. Would it be acceptable to include applicat.rdb as a patch? I cannot claim to be a FreeBSD porting professional but I know that some of the stuff the port does is very messy, but if somebody would like to help with it, I would appreciate it. I have not posted it because I am not sure if it was something in the port or something else I did that screwed up my system. I think that it was a command I typed wrong that did it but I don't want others to mess up their systems if it was my port that did it. Darren Wiebe dkwiebe@hagenhomes.com > > Hi All- > > I am not sure if I missed a posting about this or not, but it looks > like the Office51/bin/applicat.rdb from the original StarDivision > version 5.1 does not work with the newer Sun distribution (5.1a). The > new one needs to be : > > bin > ll applicat.rdb > -rw-r--r-- 1 root wheel 1671168 Oct 22 00:17 applicat.rdb > bin > md5 applicat.rdb > MD5 (applicat.rdb) = 963432192fb13ee5fd39578becf614c3 > > As soon as I replaced this with one from Redhat box, life was > good and no more complaints about the plug-in manager. Not sure > how to make this available easily, mebbe I could put the proper > applicat.rdb on our ftp server (if there is demand :). > > Sean > -- > ----------------------------------------------------------------------- > Sean O'Connell Email: sean@stat.Duke.EDU > Institute of Statistics and Decision Sciences Phone: (919) 684-5419 > Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 22 9:30:55 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1]) by hub.freebsd.org (Postfix) with ESMTP id 171C414D9A for ; Fri, 22 Oct 1999 09:30:27 -0700 (PDT) (envelope-from sto@stat.Duke.EDU) Received: from cayenne.isds.duke.edu (cayenne.isds.duke.edu [152.3.22.11]) by isds.duke.edu (8.8.8/8.8.8) with ESMTP id MAA25023 for ; Fri, 22 Oct 1999 12:30:24 -0400 (EDT) Received: (from sto@localhost) by cayenne.isds.duke.edu (8.8.8/8.8.8) id MAA08894 for freebsd-emulation@FreeBSD.ORG; Fri, 22 Oct 1999 12:30:24 -0400 (EDT) Message-ID: <19991022123023.D8864@stat.Duke.EDU> Date: Fri, 22 Oct 1999 12:30:23 -0400 From: "Sean O'Connell" To: FreeBSD emulation Subject: applicat.rdb for StarOffice-5.1a Reply-To: "Sean O'Connell" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 X-Organization: Institute of Statistics and Decision Sciences Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi- This is a follow-up to my prior email on the subject. I have opted to make applicat.rdb available as a gzip'd file from either ftp://ftp.stat.duke.edu/pub/Users/sto/StarOffice51a http://www.stat.duke.edu/~sto/StarOffice51a which contain 189740 Oct 22 12:19 applicat.rdb.gz 390 Oct 22 12:22 readme.txt The contents of readme.txt are: The applicat.rdb here fixes the plugin manager woes with running StarOffice-5.1a (from http://www.sun.com/stardvision/). Make sure that you did not modify Office51/lib/libosl517li.so (It should be MD5 (libosl517li.so) = 8a95890127c315f49bef7ca55760a469). MD5 (applicat.rdb.gz) = d752621081b027f9f30d0c55086f9011 Should ungzip to MD5 (applicat.rdb) = 963432192fb13ee5fd39578becf614c3 Hope this helps, S -- ----------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 22 10:52: 0 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail4.cadvision.com (mail4.cadvision.com [207.228.64.49]) by hub.freebsd.org (Postfix) with ESMTP id A741B14DB4 for ; Fri, 22 Oct 1999 10:51:56 -0700 (PDT) (envelope-from dkwiebe@mail.cadvision.com) Received: from mail.cadvision.com (ppp9.heartland.ab.ca [207.107.228.137]) by mail4.cadvision.com (8.9.3/8.9.1/CW) with ESMTP id LAA00049; Fri, 22 Oct 1999 11:51:51 -0600 Message-ID: <3810A5ED.4A35C32C@mail.cadvision.com> Date: Fri, 22 Oct 1999 11:59:09 -0600 From: Darren WIebe Reply-To: dkwiebe@hagenhomes.com Organization: Hagen Homes Ltd. X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Sean O'Connell" Cc: FreeBSD emulation Subject: Re: applicat.rdb for StarOffice-5.1a References: <19991022123023.D8864@stat.Duke.EDU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks, I will set it to fetch this file. I probably won't be able to work much more on the port until tonight or tommorrow morning, I am paid to do other things than port StarOffice, but they don't mind if I do a bit during the day... Darren Wiebe dkwiebe@hagenhomes.com Sean O'Connell wrote: > > Hi- > > This is a follow-up to my prior email on the subject. I have opted > to make applicat.rdb available as a gzip'd file from either > > ftp://ftp.stat.duke.edu/pub/Users/sto/StarOffice51a > http://www.stat.duke.edu/~sto/StarOffice51a > > which contain > > 189740 Oct 22 12:19 applicat.rdb.gz > 390 Oct 22 12:22 readme.txt > > The contents of readme.txt are: > > The applicat.rdb here fixes the plugin manager woes with running > StarOffice-5.1a (from http://www.sun.com/stardvision/). Make sure > that you did not modify Office51/lib/libosl517li.so (It should be > MD5 (libosl517li.so) = 8a95890127c315f49bef7ca55760a469). > > MD5 (applicat.rdb.gz) = d752621081b027f9f30d0c55086f9011 > > Should ungzip to > > MD5 (applicat.rdb) = 963432192fb13ee5fd39578becf614c3 > > Hope this helps, > S > -- > ----------------------------------------------------------------------- > Sean O'Connell Email: sean@stat.Duke.EDU > Institute of Statistics and Decision Sciences Phone: (919) 684-5419 > Duke University Fax: (919) 684-8594 > > 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 Oct 22 11:24:20 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 57DDE14BCE for ; Fri, 22 Oct 1999 11:24:15 -0700 (PDT) (envelope-from freebsd-emulation@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id UAA99191 for emulation@FreeBSD.org; Fri, 22 Oct 1999 20:22:06 +0200 (CEST) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for emulation@FreeBSD.org (emulation@FreeBSD.org) To: emulation@FreeBSD.org Date: Fri, 22 Oct 1999 20:22:06 +0200 From: Remco Moolenaar Message-ID: <3810AB4D.4EA7EDD3@scc.nl> Organization: SCC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991022123023.D8864@stat.Duke.EDU> Reply-To: remco@scc.nl Subject: Re: applicat.rdb for StarOffice-5.1a Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean O'Connell wrote: > Hi- > > This is a follow-up to my prior email on the subject. I have opted > to make applicat.rdb available as a gzip'd file from either > > ftp://ftp.stat.duke.edu/pub/Users/sto/StarOffice51a > http://www.stat.duke.edu/~sto/StarOffice51a > Could you add these installation instructions to http://www.bsdapps.org/ Thanks! -- Remco Moolenaar mailto:remco@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands mailto:remco@bsdapps.org Maintainer of the BSD Applications database at http://www.bsdapps.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message