From owner-freebsd-emulation Sun Oct 21 5:38:47 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 40B2C37B401; Sun, 21 Oct 2001 05:38:18 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9LCbYw51212; Sun, 21 Oct 2001 14:37:38 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 21 Oct 2001 14:38:59 +0200 (CEST) From: Martin Blapp To: Marcel Moolenaar Cc: David , FreeBSD , John Merryweather Cooper , Mike Meyer , Lukas Ertl , Luis Neves , Uri Shaked , Derek Tattersall , Chris Griffiths , ian j hart , Jimmy Olgeni , Bob Van Valzah , Subject: Re: staroffice60 beta works now 100% In-Reply-To: <20011020211242.A1808@dhcp01.pn.xcllnt.net> Message-ID: <20011021143030.Y21117-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Marcel, > Do we know of any bad side effects of having an empty/incomplete > /compat/linux/etc/mtab. I vaguely remember some issues with mtab, > but I can be wrong. I'll search the mailinglists for that... I've searched the mailinglists for the mtab issue, and found out, that many linux backup-programms need a mtab to be able to show directorys. Most people did a symlink to fstab, or a copy of fstab without the procfs/linprocfs entrys to solve this. What if we do something like mount -p | grep -v "^\w\+fs" > /compat/linux/etc/mtab We could this do on every startup. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 5:44:34 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id CF05437B403; Sun, 21 Oct 2001 05:44:29 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 02A0314C2E; Sun, 21 Oct 2001 14:44:27 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Martin Blapp Cc: Marcel Moolenaar , David , FreeBSD , John Merryweather Cooper , Mike Meyer , Lukas Ertl , Luis Neves , Uri Shaked , Derek Tattersall , Chris Griffiths , ian j hart , Jimmy Olgeni , Bob Van Valzah , Subject: Re: staroffice60 beta works now 100% References: <20011021143030.Y21117-100000@levais.imp.ch> From: Dag-Erling Smorgrav Date: 21 Oct 2001 14:44:27 +0200 In-Reply-To: <20011021143030.Y21117-100000@levais.imp.ch> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martin Blapp writes: > What if we do something like > > mount -p | grep -v "^\w\+fs" > /compat/linux/etc/mtab > > We could this do on every startup. Another possibility is to add code to linprocfs for generating mtab at run time, and doing ln -s /proc/mtab /compat/linux/etc/mtab. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 5:48:10 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 3703437B401; Sun, 21 Oct 2001 05:48:07 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9LClWw51489; Sun, 21 Oct 2001 14:47:32 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 21 Oct 2001 14:48:56 +0200 (CEST) From: Martin Blapp To: Dag-Erling Smorgrav Cc: Marcel Moolenaar , David , FreeBSD , John Merryweather Cooper , Mike Meyer , Lukas Ertl , Luis Neves , Uri Shaked , Derek Tattersall , Chris Griffiths , ian j hart , Jimmy Olgeni , Bob Van Valzah , Subject: Re: staroffice60 beta works now 100% In-Reply-To: Message-ID: <20011021144733.Q21117-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi DES, > Another possibility is to add code to linprocfs for generating mtab at > run time, and doing ln -s /proc/mtab /compat/linux/etc/mtab. I just didn't thought at this solution ! I think this is the way to go. Thanks a lot. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 7:18:27 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 4C1AC37B406; Sun, 21 Oct 2001 07:18:25 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 779E214C2E; Sun, 21 Oct 2001 16:18:23 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Martin Blapp Cc: Marcel Moolenaar , David , FreeBSD , John Merryweather Cooper , Mike Meyer , Lukas Ertl , Luis Neves , Uri Shaked , Derek Tattersall , Chris Griffiths , ian j hart , Jimmy Olgeni , Bob Van Valzah , Subject: Re: staroffice60 beta works now 100% References: <20011021144733.Q21117-100000@levais.imp.ch> From: Dag-Erling Smorgrav Date: 21 Oct 2001 16:18:22 +0200 In-Reply-To: <20011021144733.Q21117-100000@levais.imp.ch> Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org des@des /usr/src% cat /compat/linux/proc/mtab /dev/ad0a / ufs rw,sync,noatime 0 0 devfs /dev devfs rw 0 0 /dev/ad0d /var ufs rw,noatime 0 0 /dev/ad0e /usr ufs rw,noatime 0 0 /dev/ad0f /home ufs rw,noatime 0 0 /dev/ad1d /mnt ufs rw,noatime 0 0 /dev/ad1e /sec ufs rw,noatime 0 0 proc /usr/compat/linux/proc proc rw 0 0 The last line is actually linprocfs. I'm working on getting the mountpoint translated back to /proc. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 8:27: 7 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from luke.immure.com (luke.immure.com [207.8.42.74]) by hub.freebsd.org (Postfix) with ESMTP id 1EB9737B406 for ; Sun, 21 Oct 2001 08:27:03 -0700 (PDT) Received: (from bob@localhost) by luke.immure.com (8.11.2/8.11.5) id f9LFQx438666; Sun, 21 Oct 2001 10:26:59 -0500 (CDT) (envelope-from bob) Date: Sun, 21 Oct 2001 10:26:59 -0500 From: Bob Willcox To: Martin Blapp Cc: freebsd-emulation@freebsd.org Subject: Re: staroffice60 beta works now 100% Message-ID: <20011021102658.A34391@luke.immure.com> Reply-To: Bob Willcox References: <20011017233748.C91620-100000@levais.imp.ch> <20011020223046.O17080-100000@levais.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011020223046.O17080-100000@levais.imp.ch>; from mb@imp.ch on Sat, Oct 20, 2001 at 10:40:52PM +0200 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just attempted to install staroffice60 beta and received the following error: root@luke:p4 /stuff/ports/editors/staroffice60> make ===> staroffice-6.0 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1.0 - not found ===> Verifying install for /compat/linux/usr/X11R6/lib/libXrender.so.1.0 in /usr/ports/emulators/linux_base-7 ===> Installing for linux_base-7.1 kern.fallback_elf_brand: 3 -> 3 glibc-common-2.2.2-10.i386.rpm only packages with major numbers <= 3 are supported by this version of RPM error: /usr/ports/distfiles/rpm/glibc-common-2.2.2-10.i386.rpm cannot be installed *** Error code 1 during the dependency install of linux_base-7.1. This system is: FreeBSD luke.immure.com 4.4-STABLE FreeBSD 4.4-STABLE #28: Sat Oct 20 12:18:46 CDT 2001 root@luke.immure.com:/usr/src/sys/compile/LUKE i386 from sources cvsuped on 10/9. Any clues/help on what is going on and how to fix it greately appreciated. Thanks, Bob On Sat, Oct 20, 2001 at 10:40:52PM +0200, Martin Blapp wrote: > > Hi all, > > Chris Griffiths found out that staroffice can save/read files only, > if a /etc/mtab does exist. > > I tested this to, created this file, and now staroffice is now able to > work properly in the filerequestor. > > Thanks a lot Chris ! > > Marcel: Can we add a empty mtab in both linux_base and > linux_base-7 ports ? > > I'll add a check for this file and if it doesn't exist, > create one within the port. > > Martin > > Martin Blapp, mb@imp.ch > ------------------------------------------------------------------ > Improware AG, UNIX solution and service provider > Zurlindenstrasse 29, 4133 Pratteln, Switzerland > Phone: +41 061 826 93 00: +41 61 826 93 01 > PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA DF2C 19C6 DCD1 1B3A EC9C > ------------------------------------------------------------------ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message -- Bob Willcox Putt's Law: bob@vieo.com Technology is dominated by two types of people: Austin, TX Those who understand what they do not manage. Those who manage what they do not understand. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 8:32:19 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from luke.immure.com (luke.immure.com [207.8.42.74]) by hub.freebsd.org (Postfix) with ESMTP id 2079B37B405 for ; Sun, 21 Oct 2001 08:32:16 -0700 (PDT) Received: (from bob@localhost) by luke.immure.com (8.11.2/8.11.5) id f9LFWEQ38808; Sun, 21 Oct 2001 10:32:14 -0500 (CDT) (envelope-from bob) Date: Sun, 21 Oct 2001 10:32:14 -0500 From: Bob Willcox To: Martin Blapp Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: staroffice60 beta works now 100% Message-ID: <20011021103213.B34391@luke.immure.com> Reply-To: Bob Willcox References: <20011017233748.C91620-100000@levais.imp.ch> <20011020223046.O17080-100000@levais.imp.ch> <20011021102658.A34391@luke.immure.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011021102658.A34391@luke.immure.com>; from bob@immure.com on Sun, Oct 21, 2001 at 10:26:59AM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, to followup my own note, it appears that Marcel recently (yesterday...guess I should have read ahead some) posted info on a patch for -stable to allow installation of linux_base-7 that likely addresses my problem. I am off to do that next... Thanks and sorry for the bother, Bob On Sun, Oct 21, 2001 at 10:26:59AM -0500, Bob Willcox wrote: > I just attempted to install staroffice60 beta and received the following > error: > > root@luke:p4 /stuff/ports/editors/staroffice60> make > ===> staroffice-6.0 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1.0 - not found > ===> Verifying install for /compat/linux/usr/X11R6/lib/libXrender.so.1.0 in /usr/ports/emulators/linux_base-7 > ===> Installing for linux_base-7.1 > kern.fallback_elf_brand: 3 -> 3 > glibc-common-2.2.2-10.i386.rpm > only packages with major numbers <= 3 are supported by this version of RPM > error: /usr/ports/distfiles/rpm/glibc-common-2.2.2-10.i386.rpm cannot be installed > *** Error code 1 > > during the dependency install of linux_base-7.1. This system is: > > FreeBSD luke.immure.com 4.4-STABLE FreeBSD 4.4-STABLE #28: Sat Oct 20 12:18:46 CDT 2001 root@luke.immure.com:/usr/src/sys/compile/LUKE i386 > > from sources cvsuped on 10/9. > > Any clues/help on what is going on and how to fix it greately > appreciated. > > Thanks, > Bob > -- Bob Willcox Putt's Law: bob@vieo.com Technology is dominated by two types of people: Austin, TX Those who understand what they do not manage. Those who manage what they do not understand. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 9: 6: 7 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 653BB37B405; Sun, 21 Oct 2001 09:06:01 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id D903014C2E; Sun, 21 Oct 2001 18:05:58 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: emulation@freebsd.org Subject: Re: cvs commit: src/sys/compat/linprocfs linprocfs.c References: <200110211556.f9LFukj25818@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 21 Oct 2001 18:05:58 +0200 In-Reply-To: <200110211556.f9LFukj25818@freefall.freebsd.org> Message-ID: Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav writes: > des 2001/10/21 08:56:46 PDT > > Modified files: > sys/compat/linprocfs linprocfs.c > Log: > Add proc/mtab which simulates a Linux system's /etc/mtab. > > Revision Changes Path > 1.41 +72 -1 src/sys/compat/linprocfs/linprocfs.c > root@des /sys/i386/compile/DES# ln -fs /compat/linux/proc/mtab /compat/linux/etc/mtab root@des /sys/i386/compile/DES# suspend zsh: suspended su des@des /sys/i386/compile/DES% /compat/linux/bin/bash des@des [linux] /sys/i386/compile/DES$ cat ; Sun, 21 Oct 2001 10:02:42 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9LH2bw60912; Sun, 21 Oct 2001 19:02:38 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Sun, 21 Oct 2001 19:04:02 +0200 (CEST) From: Martin Blapp To: Bob Willcox Cc: Subject: Re: staroffice60 beta works now 100% In-Reply-To: <20011021102658.A34391@luke.immure.com> Message-ID: <20011021190317.P21117-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi > only packages with major numbers <= 3 are supported by this version of RPM > error: /usr/ports/distfiles/rpm/glibc-common-2.2.2-10.i386.rpm cannot be installed > *** Error code 1 Rebuild your rpm package. I got this too with a too old rpm installer. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Oct 21 20:31:28 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mr01.conversent.com (mr01.conversent.net [216.41.101.18]) by hub.freebsd.org (Postfix) with ESMTP id 5505637B401; Sun, 21 Oct 2001 20:31:23 -0700 (PDT) Received: from yahoo.com (host230.216.41.121.ma.110.net [216.41.121.230]) by mr01.conversent.com (8.11.6/8.11.6) with ESMTP id f9M3UL100881; Sun, 21 Oct 2001 23:30:21 -0400 (EDT) Message-ID: <3BD39319.F8262C57@yahoo.com> Date: Sun, 21 Oct 2001 23:31:37 -0400 From: CL X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: vmware.guest.misc To: emulation@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Windows 2000 Host running FreeBSD 4.2-RELEASE guest References: <3BC598FA.BE1340D6@blueyonder.co.uk> <9qdsh2$bfc$1@london.vmware.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As far as I can tell, the extremely slow boot problem is specific to VMWare for WindowsNT when running on the latest Athlon processors. VMWare for Linux, running under FreeBSD host of the same Athlon processor using the same guest image, does not have any problem. If host Windows 2K is a Petium II or III, then it runs with no problem. I think VMWare should fix this for Athlon for its Window version of VMWare. I say this because its Linux version works fine on an Athlon host. There may be a quick fix on the FreeBSD side. I have a GENERIC FreeBSD kernel built off CURRENT tree around March 2, 2001 that actually boots on the Athlon host without problem. Unfortunately I didn't keep the version of the source tree. Maybe someone on FreeBSD lists can tell what is causing this problem (some code triggered a VMWare slow path on Athlon processor ???) Steve Neuharth wrote: > I have no problem running freebsd... 4.3 and 4.4 > > "Ian Jenkinson" wrote in message > news:3BC598FA.BE1340D6@blueyonder.co.uk... > > Ladies and Gentlemen of this newsgroup, > > I sent this one to genereal, but unfortunately nobody answer so I > > was wondering if this group could be in a position > > to help me > > Thanks > > Ian Jenkinson > > > > Subject: Windows 2000 Host running FreeBSD 4.2-RELEASE guest > > Date: Mon, 08 Oct 2001 15:43:46 +0100 > > From: Ian Jenkinson > > Organization: VMware, Inc. > > Newsgroups: vmware.for-windowsnt.general > > > > Ladies and Gentlemen, > > I am having a lot of difficulty in running FreeBSD 4.2-RELEASE as a > > guest OS on my Windows 2000 (SP2) workstation. I have > > installed Linux RedHat 6.1 and Linux SuSe 7.1 VMs and they work just > > fine. The install process of the two boot floppies for FreeBSD passed > > off without great event, except for ftp timeouts and retries. However it > > > > takes well over 30 minutes to boot the installed > > FreeBSD and burns the host CPU to the ground (an Athlon 1.3Ghz with > > 512MB)! > > If anyone has any thoughts or guidance on what's happening I would > > be delighted to hear them. > > Yours > > Ian > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 22 11:50:29 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 66DDF37B406; Mon, 22 Oct 2001 11:50:03 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9MIo2E76824; Mon, 22 Oct 2001 20:50:02 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Mon, 22 Oct 2001 20:51:26 +0200 (CEST) From: Martin Blapp To: Cc: , Subject: linux_connect() broken for linux_base-7 Message-ID: <20011022204208.Q29117-200000@levais.imp.ch> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-2017388155-1003776686=:29117" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-2017388155-1003776686=:29117 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, As you may have seen linux_base-7 is not able to resolve any DNS-Query's. For every connect(), we get EINVAL back. The resposible part is: sys/netinet/udp_usrreq.c 853 inp = sotoinpcb(so); 854 if (inp == 0) 855 return EINVAL; The socket seems to be in a state where the initialisation fails. Here is a kdump of a simple gethostbyname program: 15097 gethost CALL linux_socketcall(0x1,0xbfbfe408) 15097 gethost RET linux_socketcall 3 15097 gethost CALL linux_socketcall(0x3,0xbfbfe408) 15097 gethost RET linux_socketcall -1 errno 22 Invalid argument As you see the first linux_socketcall got passed, and the second, which is linux_connect(), fails. Anybody have some clues ? I've no linux box around to compile a statically linked test binary. If anyone has one with glibc2.2.2 and resolver.2.2.2 please compile one and send it to me. The code of the test programm is attached. It works with linux_base-6, but not with linux_base-7. As I still have problems reading kernel source without help, I'm not sure where to look. I've no clue what sotoinpcb() does. I'm sorry. Martin Martin Blapp, mb@imp.ch ------------------------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 061 826 93 00: +41 61 826 93 01 PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA DF2C 19C6 DCD1 1B3A EC9C ------------------------------------------------------------------ --0-2017388155-1003776686=:29117 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="gethost.c" Content-Transfer-Encoding: BASE64 Content-ID: <20011022205126.L29117@levais.imp.ch> Content-Description: Content-Disposition: attachment; filename="gethost.c" I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3R5cGVzLmg+DQoj aW5jbHVkZSA8bmV0aW5ldC9pbi5oPg0KI2luY2x1ZGUgPGFycGEvaW5ldC5o Pg0KI2luY2x1ZGUgPG5ldGRiLmg+DQoNCnZvaWQNCnVzYWdlKHZvaWQpDQp7 DQogICAgICAgIHByaW50ZigidXNhZ2U6IGEub3V0IGhvc3RhZGRyZXNzXG4i KTsNCiAgICAgICAgZXhpdCgxKTsNCn0NCg0KaW50DQptYWluKGludCBhcmdj LCBjaGFyICphcmd2W10pDQp7DQogICAgICAgIHN0cnVjdCBpbl9hZGRyIGFk ZHI7DQogICAgICAgIGludCAgICAgcmV0LCAqaW50cDsNCiAgICAgICAgY2hh ciAgICAqKnA7DQogICAgICAgIHN0cnVjdCBob3N0ZW50ICpocDsNCg0KICAg ICAgICBpZiAoYXJnYyAhPSAyKQ0KICAgICAgICAgICAgICAgIHVzYWdlKCk7 DQoNCiAgICAgICAgaHAgPSBnZXRob3N0YnluYW1lKGFyZ3ZbMV0pOw0KICAg ICAgICBpZiAoaHAgPT0gTlVMTCkgew0KICAgICAgICAgICAgICAgIHByaW50 ZigiRVJST1I6IGdldGhvc3RieW5hbWUoXCIlc1wiKVxuIiwgYXJndlsxXSk7 DQogICAgICAgICAgICAgICAgZXhpdCgxKTsNCiAgICAgICAgfQ0KICAgICAg ICBwcmludGYoIiVzOiAiLCBocC0+aF9uYW1lKTsNCiAgICAgICAgcCA9IGhw LT5oX2FsaWFzZXM7DQogICAgICAgIHdoaWxlICgqcCkNCiAgICAgICAgICAg ICAgICBwcmludGYoIiVzXG4iLCAqcCsrKTsNCg0KICAgICAgICBwID0gaHAt PmhfYWRkcl9saXN0Ow0KICAgICAgICB3aGlsZSAoKnApIHsNCiAgICAgICAg ICAgICAgICBpbnRwID0gKGludCAqKSAqcCsrOw0KICAgICAgICAgICAgICAg IHJldCA9ICppbnRwOw0KICAgICAgICAgICAgICAgIGFkZHIuc19hZGRyID0g cmV0Ow0KICAgICAgICAgICAgICAgIHByaW50ZigiJXNcbiIsIGluZXRfbnRv YShhZGRyKSk7DQogICAgICAgIH0NCg0KICAgICAgICByZXR1cm4gMDsNCn0N Cg== --0-2017388155-1003776686=:29117-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 22 12:46:40 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by hub.freebsd.org (Postfix) with ESMTP id 798DF37B405; Mon, 22 Oct 2001 12:46:34 -0700 (PDT) Received: from TMA-1.brad-x.com ([64.228.82.194]) by tomts5-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011022194628.BULJ27768.tomts5-srv.bellnexxia.net@TMA-1.brad-x.com>; Mon, 22 Oct 2001 15:46:28 -0400 Received: from localhost (localhost.brad-x.com [127.0.0.1]) by TMA-1.brad-x.com (Postfix) with ESMTP id 208277B0C0; Mon, 22 Oct 2001 15:46:43 -0400 (EDT) Date: Mon, 22 Oct 2001 15:46:42 -0400 (EDT) From: Brad Laue To: CL Cc: emulation@FreeBSD.ORG, Subject: Re: Windows 2000 Host running FreeBSD 4.2-RELEASE guest In-Reply-To: <3BD39319.F8262C57@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Just as a data point, vmware 2.0.4.1142 under 4.4-STABLE as host boots 4.2-4.4-STABLE guest extremely slowly, and freezes at the 'mounting root' line under 5.0-CURRENT, as of 10/21/2001. I left it alone for five hours under -CURRENT, no way it would move. Brad // -- http://www.BRAD-X.com/ -- // On Sun, 21 Oct 2001, CL wrote: > As far as I can tell, the extremely slow boot problem is specific to > VMWare for WindowsNT when running on the latest Athlon processors. > VMWare for Linux, running under FreeBSD host of the same Athlon > processor using the same guest image, does not have any problem. > > If host Windows 2K is a Petium II or III, then it runs with no problem. I > think > VMWare should fix this for Athlon for its Window version of VMWare. > I say this because its Linux version works fine on an Athlon host. > > There may be a quick fix on the FreeBSD side. I have a GENERIC FreeBSD > kernel built off CURRENT tree around March 2, 2001 that actually boots on > the Athlon host without problem. Unfortunately I didn't keep the version of > the source tree. Maybe someone on FreeBSD lists can tell what is causing > this problem (some code triggered a VMWare slow path on Athlon > processor ???) > > > Steve Neuharth wrote: > > > I have no problem running freebsd... 4.3 and 4.4 > > > > "Ian Jenkinson" wrote in message > > news:3BC598FA.BE1340D6@blueyonder.co.uk... > > > Ladies and Gentlemen of this newsgroup, > > > I sent this one to genereal, but unfortunately nobody answer so I > > > was wondering if this group could be in a position > > > to help me > > > Thanks > > > Ian Jenkinson > > > > > > Subject: Windows 2000 Host running FreeBSD 4.2-RELEASE guest > > > Date: Mon, 08 Oct 2001 15:43:46 +0100 > > > From: Ian Jenkinson > > > Organization: VMware, Inc. > > > Newsgroups: vmware.for-windowsnt.general > > > > > > Ladies and Gentlemen, > > > I am having a lot of difficulty in running FreeBSD 4.2-RELEASE as a > > > guest OS on my Windows 2000 (SP2) workstation. I have > > > installed Linux RedHat 6.1 and Linux SuSe 7.1 VMs and they work just > > > fine. The install process of the two boot floppies for FreeBSD passed > > > off without great event, except for ftp timeouts and retries. However it > > > > > > takes well over 30 minutes to boot the installed > > > FreeBSD and burns the host CPU to the ground (an Athlon 1.3Ghz with > > > 512MB)! > > > If anyone has any thoughts or guidance on what's happening I would > > > be delighted to hear them. > > > Yours > > > Ian > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Oct 22 13:48: 9 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 12BD437B403; Mon, 22 Oct 2001 13:48:07 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 9B2AD14C40; Mon, 22 Oct 2001 22:48:04 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Martin Blapp Cc: , Subject: Re: linux_connect() broken for linux_base-7 References: <20011022204208.Q29117-200000@levais.imp.ch> From: Dag-Erling Smorgrav Date: 22 Oct 2001 22:48:04 +0200 In-Reply-To: <20011022204208.Q29117-200000@levais.imp.ch> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martin Blapp writes: > As I still have problems reading kernel source without help, I'm not sure > where to look. I've no clue what sotoinpcb() does. I'm sorry. It returns the PCB (Protocol Control Block) associated with the socket. DES -- Dag-Erling Smorgrav - des@ofug.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 22 21:43:16 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 96A9837B401; Mon, 22 Oct 2001 21:43:10 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f9N4hAo06319; Mon, 22 Oct 2001 21:43:10 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f9N4hro56966; Mon, 22 Oct 2001 21:43:53 -0700 (PDT) (envelope-from marcel) Date: Mon, 22 Oct 2001 21:43:53 -0700 From: Marcel Moolenaar To: Martin Blapp Cc: freebsd-emulation@FreeBSD.ORG, des@FreeBSD.ORG Subject: Re: linux_connect() broken for linux_base-7 Message-ID: <20011022214353.A55317@dhcp01.pn.xcllnt.net> References: <20011022204208.Q29117-200000@levais.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011022204208.Q29117-200000@levais.imp.ch> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Oct 22, 2001 at 08:51:26PM +0200, Martin Blapp wrote: > > As you may have seen linux_base-7 is not able to resolve any > DNS-Query's. For every connect(), we get EINVAL back. > Bill Fenner just told me this: \begin{quote} Just FYI, the linux_base-7 resolver library uses sockaddr_in6's with AF_INET and just the inet part filled in, but FreeBSD doesn't allow using the wrong sized sockaddr. This is going to require some serious hackery in the Linux compatability stuff, since it's the FreeBSD syscall's responsibility to copyin() the socket address argument; if the compatability stuff wants to modify it it's going to have to find somewhere that it can copyin() from to stash the modified one... \end{quote} In a following email he supplied a patch: cvs diff: Diffing . Index: linux_socket.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_socket.c,v retrieving revision 1.29 diff -u -r1.29 linux_socket.c --- linux_socket.c 12 Sep 2001 08:36:57 -0000 1.29 +++ linux_socket.c 23 Oct 2001 03:49:33 -0000 @@ -55,6 +55,25 @@ #include #ifndef __alpha__ +/* + * FreeBSD's socket calls require the sockaddr struct length to agree + * with the address family. Linux does not, so we must force it. + */ +static int +linux_to_bsd_namelen(caddr_t name, int namelen) +{ + uint16_t family; /* XXX must match Linux sockaddr */ + + if (copyin(name, &family, sizeof(family))) + return namelen; + + switch (family) { + case AF_INET: + return sizeof(struct sockaddr_in); + } + return namelen; +} + static int linux_to_bsd_domain(int domain) { @@ -373,7 +392,7 @@ bsd_args.s = linux_args.s; bsd_args.name = (caddr_t)linux_args.name; - bsd_args.namelen = linux_args.namelen; + bsd_args.namelen = linux_to_bsd_namelen(bsd_args.name, linux_args.namelen); return (bind(td, &bsd_args)); } @@ -407,7 +426,7 @@ bsd_args.s = linux_args.s; bsd_args.name = (caddr_t)linux_args.name; - bsd_args.namelen = linux_args.namelen; + bsd_args.namelen = linux_to_bsd_namelen(bsd_args.name, linux_args.namelen); error = connect(td, &bsd_args); if (error != EISCONN) return (error); Try it out... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 23 5: 0:25 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2C0D137B405 for ; Tue, 23 Oct 2001 05:00:23 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 5D7D114C2E; Tue, 23 Oct 2001 14:00:21 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Marcel Moolenaar Cc: Martin Blapp , freebsd-emulation@FreeBSD.ORG Subject: Re: linux_connect() broken for linux_base-7 References: <20011022204208.Q29117-200000@levais.imp.ch> <20011022214353.A55317@dhcp01.pn.xcllnt.net> From: Dag-Erling Smorgrav Date: 23 Oct 2001 14:00:20 +0200 In-Reply-To: <20011022214353.A55317@dhcp01.pn.xcllnt.net> Message-ID: Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marcel Moolenaar writes: > \begin{quote} > Just FYI, the linux_base-7 resolver library uses sockaddr_in6's with > AF_INET and just the inet part filled in, but FreeBSD doesn't allow > using the wrong sized sockaddr. This is going to require some > serious hackery in the Linux compatability stuff, since it's > the FreeBSD syscall's responsibility to copyin() the socket address > argument; if the compatability stuff wants to modify it it's going > to have to find somewhere that it can copyin() from to stash the > modified one... > \end{quote} That would be the stackgap, right? > In a following email he supplied a patch: It won't build on Alpha. You need to move linux_to_bsd_namelen() out of the #indef __alpha__ block. Apart from that, it looks right; I haven't tested it though. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 23 6:43:14 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 68CE237B401; Tue, 23 Oct 2001 06:43:12 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9NDgtC88785; Tue, 23 Oct 2001 15:42:56 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Tue, 23 Oct 2001 15:44:19 +0200 (CEST) From: Martin Blapp To: Marcel Moolenaar Cc: , Subject: Re: linux_connect() broken for linux_base-7 In-Reply-To: <20011022214353.A55317@dhcp01.pn.xcllnt.net> Message-ID: <20011023154357.V37168-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I can test it this evening at home. Martin Martin Blapp, mb@imp.ch ------------------------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 061 826 93 00: +41 61 826 93 01 PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA DF2C 19C6 DCD1 1B3A EC9C ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 23 14:35:15 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 99C7D37B405 for ; Tue, 23 Oct 2001 14:35:13 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9NLZBC22955; Tue, 23 Oct 2001 23:35:11 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Tue, 23 Oct 2001 23:36:34 +0200 (CEST) From: Martin Blapp To: Dag-Erling Smorgrav Cc: Subject: Re: linux_connect() broken for linux_base-7 In-Reply-To: Message-ID: <20011023233539.N41184-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've tested the patch and it fixes the problem here. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 23 20:58:36 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103]) by hub.freebsd.org (Postfix) with ESMTP id B556D37B401 for ; Tue, 23 Oct 2001 20:58:34 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id E5B841E025 for ; Tue, 23 Oct 2001 23:58:33 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id XAA02215 for ; Tue, 23 Oct 2001 23:58:33 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id UAA28564; Tue, 23 Oct 2001 20:58:33 -0700 (PDT) Message-Id: <200110240358.UAA28564@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: freebsd-emulation@freebsd.org Subject: Re: linux_connect() broken for linux_base-7 Date: Tue, 23 Oct 2001 20:58:32 -0700 Versions: dmail (solaris) 2.2j/makemail 2.9b Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org DES says: >It won't build on Alpha. You need to move linux_to_bsd_namelen() out >of the #indef __alpha__ block. Apart from that, it looks right; I >haven't tested it though. I didn't really understand the __alpha__ block. It looks like linux_connect() is the only thing that's outside it (meaning that the fix in linux_bind() can't happen; this is probably bad). Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Oct 23 21:53:11 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 8646237B401 for ; Tue, 23 Oct 2001 21:53:09 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f9O4r9o09174; Tue, 23 Oct 2001 21:53:09 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f9O4rsp02053; Tue, 23 Oct 2001 21:53:54 -0700 (PDT) (envelope-from marcel) Date: Tue, 23 Oct 2001 21:53:54 -0700 From: Marcel Moolenaar To: Dag-Erling Smorgrav Cc: Martin Blapp , freebsd-emulation@FreeBSD.ORG Subject: Re: linux_connect() broken for linux_base-7 Message-ID: <20011023215354.A2044@dhcp01.pn.xcllnt.net> References: <20011022204208.Q29117-200000@levais.imp.ch> <20011022214353.A55317@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 23, 2001 at 02:00:20PM +0200, Dag-Erling Smorgrav wrote: > Marcel Moolenaar writes: > > \begin{quote} > > Just FYI, the linux_base-7 resolver library uses sockaddr_in6's with > > AF_INET and just the inet part filled in, but FreeBSD doesn't allow > > using the wrong sized sockaddr. This is going to require some > > serious hackery in the Linux compatability stuff, since it's > > the FreeBSD syscall's responsibility to copyin() the socket address > > argument; if the compatability stuff wants to modify it it's going > > to have to find somewhere that it can copyin() from to stash the > > modified one... > > \end{quote} > > That would be the stackgap, right? Yes. > > In a following email he supplied a patch: > > It won't build on Alpha. You need to move linux_to_bsd_namelen() out > of the #indef __alpha__ block. Apart from that, it looks right; I > haven't tested it though. Me neither. I just forwarded it :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Oct 24 1: 0:56 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from giasmd01.vsnl.net.in (giasmd01.vsnl.net.in [202.54.6.1]) by hub.freebsd.org (Postfix) with ESMTP id 1679237B401; Wed, 24 Oct 2001 01:00:17 -0700 (PDT) Received: from voice_server (unknown [203.197.130.21]) by giasmd01.vsnl.net.in (Postfix) with SMTP id 7635AE761; Wed, 24 Oct 2001 13:32:18 +0530 (IST) From: Marblejar_Recruiter@vsnl.net To: IT_Professionals@giasmd01.vsnl.net.in Subject: ADV: Introduction to Marblejar X-Mailer: AMLC 2.7 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B7_01C157D4.6513E350" X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-Id: <20011024080218.7635AE761@giasmd01.vsnl.net.in> Date: Wed, 24 Oct 2001 13:32:18 +0530 (IST) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_01B7_01C157D4.6513E350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Take charge of your career by utilizing www.marblejar.com. We offer IT = professionals like you all of the services you require to find the most = challenging positions in the IT industry.=20 * $500 Signing bonus when you get job through us * Dedicated recruiters to help you identify the best job openings in = your skill * Targeted searches that meet your needs * We provide totally privacy on all of your contact information. No one = can view your resume without your approval. * Immediate notification anytime a client selects your resume for = review. * One short step approval process- upload your resume in less than 5 = minutes. Marblejar is full service web based IT recruiting firm. Let us start = helping you, login today at www.marblejar.com. Sincerely, John Ross Program Manager We respect your time. If you would like to be removed from our mailing = list, click on mailto:Marblejar_Recruiter@vsnl.net?subject=3DREMOVE and = add the email address(es) to remove in your subject line. This message = is designed to comply with all U.S. state laws and pending federal = legislation regarding electronic mail marketing. You can avoid seeing = compliant messages by setting your mail reader to filter messages with = "ADV:" at the beginning of the Subject line. Submit questions or = comments regarding these matters by clicking on = mailto:Marblejar_Recruiter@vsnl.net?subject=3DCOMPLIANCE. Marblejar LLC Manor Oak Two, Suite 252 1910 Cochran Road Pittsburgh, PA 15220 ------=_NextPart_000_01B7_01C157D4.6513E350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Take charge of your career by = utilizing www.marblejar.com.  We offer = IT=20 professionals like you all of the services you require to find the most=20 challenging  positions in the IT industry.

* $500 Signing = bonus=20 when you get job through us
* Dedicated recruiters to help you = identify the=20 best job openings in your skill
* Targeted searches that meet your = needs
*=20 We provide totally privacy on all of your contact information. No one = can view=20 your resume without your approval.
* Immediate notification anytime a = client=20 selects your resume for review.
* One short step approval process- = upload=20 your resume in less than 5 minutes.

Marblejar is full service web = based=20 IT recruiting firm. Let us start helping you, login today at www.marblejar.com.


Since= rely,

John=20 Ross
Program Manager

We respect your time. If you would like = to be=20 removed from our mailing list, click on mailto:Marb= lejar_Recruiter@vsnl.net?subject=3DREMOVE=20 and add the email address(es) to remove in your subject line.  This = message=20 is designed to comply with all U.S. state laws and pending federal = legislation=20 regarding electronic mail marketing. You can avoid seeing compliant = messages by=20 setting your mail reader to filter messages with "ADV:" at the beginning = of the=20 Subject line. Submit questions or comments regarding these matters by = clicking=20 on mailto:= Marblejar_Recruiter@vsnl.net?subject=3DCOMPLIANCE.
 
 
Marblejar LLC
Manor Oak Two, Suite = 252
1910=20 Cochran Road
Pittsburgh, PA 15220
------=_NextPart_000_01B7_01C157D4.6513E350-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Oct 25 14:30:54 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from dahlberg.bucknell.edu (dahlberg.bucknell.edu [134.82.42.7]) by hub.freebsd.org (Postfix) with ESMTP id E22A537B401 for ; Thu, 25 Oct 2001 14:30:50 -0700 (PDT) Received: (from dahlberg@localhost) by dahlberg.bucknell.edu (8.11.6/8.11.6) id f9PLUnf00622 for emulation@freebsd.org; Thu, 25 Oct 2001 17:30:49 -0400 (EDT) (envelope-from dahlberg) Date: Thu, 25 Oct 2001 17:30:49 -0400 From: Michael Dahlberg To: emulation@freebsd.org Subject: Linux_base-7 and linux-netscape4.7 Message-ID: <20011025173049.A557@bucknell.edu> Reply-To: Michael Dahlberg Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having a little trouble with linux_base-7 and the linux-netscape4.7 port and I'm hoping someone might have some suggestions. I removed linux_base-6.1 and installed linux_base-7 from the ports collection (my ultimate goal is to install staroffice6.0 and it looks as if it needs/requires the libXrender from the linux_base-7 package). After installation of linux_base-7, I tried running the linux version of the netscape web browser (also installed from ports), however, it complained that it needed libstdc++-libc6.1-1.so.2 and refused to start. I tried (1) to symlink libstdc++-libc6.1-1.so.2 to the libstdc++-3-libc6.2-2-2.10.0.so library and (2) to move the libstdc++-2-libc6.1-1-2.9.0.so library from the linux_base-6.1 package to the linux_base-7 package Both methods allowed netscape to start, however, netscape would not resolve any DNS names. I think linux's resolver library is in libc.so but I'm not sure how to setup two different libc's within the linux_base-7 package. I will be happy to provide any clarification. Any help would be greatly appreciated. Please respond to me directly since I don't subscribe to this list. Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Oct 25 22:12:31 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from pr93.lublin.sdi.tpnet.pl (pr93.lublin.sdi.tpnet.pl [217.97.36.93]) by hub.freebsd.org (Postfix) with ESMTP id 7151237B403 for ; Thu, 25 Oct 2001 22:12:29 -0700 (PDT) Received: (from doc@localhost) by pr93.lublin.sdi.tpnet.pl (8.11.6/8.11.6) id f9Q5GQN01702; Fri, 26 Oct 2001 07:16:26 +0200 (CEST) (envelope-from doc@lublin.t1.pl) Date: Fri, 26 Oct 2001 07:16:25 +0200 From: =?iso-8859-2?Q?Micha=B3?= Pasternak To: Michael Dahlberg Cc: emulation@freebsd.org Subject: Re: Linux_base-7 and linux-netscape4.7 Message-ID: <20011026071625.A1682@lublin.t1.pl> Reply-To: =?iso-8859-2?Q?Micha=B3?= Pasternak References: <20011025173049.A557@bucknell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011025173049.A557@bucknell.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Michael Dahlberg [Thu, Oct 25, 2001 at 05:30:49PM -0400]: > I removed linux_base-6.1 and installed linux_base-7 from the > ports collection (my ultimate goal is to install staroffice6.0 > and it looks as if it needs/requires the libXrender from the > linux_base-7 package). After installation of linux_base-7, I > tried running the linux version of the netscape web browser (also > installed from ports), however, it complained that it needed > libstdc++-libc6.1-1.so.2 and refused to start. I tried > (1) to symlink libstdc++-libc6.1-1.so.2 to the > libstdc++-3-libc6.2-2-2.10.0.so library Similiar thing also fails with linux-jdk14. SO6 runs on linux_base-6 without problems for me. -- [ Michal Pasternak doc@lublin.t1.pl +48606570000 ] [ sklepy internetowe, bazy danych, programy na zamówienie ] [ . .. ..- .- . .. http://lublin.t1.pl . .-. .--.. . . .- ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 5:48:30 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 7DC9937B403 for ; Fri, 26 Oct 2001 05:48:22 -0700 (PDT) Received: (qmail 16631 invoked by uid 0); 26 Oct 2001 12:48:21 -0000 Received: from pd9590afe.dip.t-dialin.net (HELO nordstern) (217.89.10.254) by mail.gmx.net (mp005-rz3) with SMTP; 26 Oct 2001 12:48:21 -0000 Subject: freebsd <-> linux plugin abi wrapper From: Klaus Herrmann To: freebsd-emulation@freebsd.org, freebsd-mozilla@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-AgOQ71tF3gt4ajZ5y41R" X-Mailer: Evolution/0.15 (Preview Release) Date: 26 Oct 2001 11:50:34 -0100 Message-Id: <1004100635.469.19.camel@nordstern.own> Mime-Version: 1.0 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-AgOQ71tF3gt4ajZ5y41R Content-Type: multipart/mixed; boundary="=-X1U/NJLs2kBDIfHr8aE1" --=-X1U/NJLs2kBDIfHr8aE1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi folks! As desktop integration of web browsers is getting more and more "standart" to modern desktop environments, the usage of linux-netscape and other statically linked web browsers seems to be decreasing. I think of galeon and konqueror for example. to run these in a binary version for linux, you'd need to install a whole gnome / kde subsystem (libs, core, graphics libs etc.). that doesn't sound like a good idea to me. But you will come to a point where one wants to use one of these new integrated browsers (i for example really like galeon) but can't all these fancy plugins only availible for linux (flash5, java, the new crossover plugin, realplayer etc.) like you did with linux-netscape (or even with linux-opera). So what to do? My idea is the following: write something like the crossover plugin (that connects windows-plugins via wine to linux web browsers), used to connect freebsd browsers to linux plungins. the wine emulation of course is obsolete, we have linux_base and the kernel linux abi support. I saw a hack which connects flash5 for linux to solaris-netscape, but that used a special solaris x86 binary linux loader. my questions are: do you think this is a doable task? will it be really difficult or can i reuse some code? has anyone ever done something like this? is anyone able and willing to help me doing this? i think it sounds like fun. and i hope it can be done with moderate effords (without rewriting the whole plugin architecture :-) waiting for YOUR comment! regards, Klaus --=-X1U/NJLs2kBDIfHr8aE1 Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMC42IChGcmVl QlNEKQpDb21tZW50OiBGb3IgaW5mbyBzZWUgaHR0cDovL3d3dy5nbnVwZy5vcmcKCmlEOERCUUE3 MlZ2QVArNWlFN1VNZGdBUkFoSDVBSjlhR3Qra0NIVmozRG9EWWk0MXpQMEh4Wm9ONmdDZzMrRkgK bEQxenlzRS9ITmpHMjRjc2JZOXAyeEE9Cj1xbmxaCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0t LQo= --=-X1U/NJLs2kBDIfHr8aE1-- --=-AgOQ71tF3gt4ajZ5y41R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA72VwaP+5iE7UMdgARApc5AJ9TuWhU031yYHTXfjvyWTIFGNSp8wCghTme 9rx76q7FV2VFJFu1vr+NZvs= =IRHN -----END PGP SIGNATURE----- --=-AgOQ71tF3gt4ajZ5y41R-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 6:43: 7 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from orthanc.jrw.org (orthanc.jrw.org [199.104.99.1]) by hub.freebsd.org (Postfix) with ESMTP id A93B737B406 for ; Fri, 26 Oct 2001 06:43:04 -0700 (PDT) Received: from orthanc.jrw.org (jr@localhost [127.0.0.1]) by orthanc.jrw.org (8.12.1/8.12.1/Debian -2) with ESMTP id f9QDh4AJ002112 for ; Fri, 26 Oct 2001 07:43:04 -0600 Received: (from jr@localhost) by orthanc.jrw.org (8.12.1/8.12.1/Debian -2) id f9QDh4ku002110 for freebsd-emulation@freebsd.org; Fri, 26 Oct 2001 07:43:04 -0600 Date: Fri, 26 Oct 2001 07:43:04 -0600 From: "J. R. Westmoreland" To: freebsd-emulation@freebsd.org Subject: unsubscribe jr@jrw.org Message-ID: <20011026074304.B2086@orthanc.jrw.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm not sure what is the correct procedure but if this is not correct please point me in the right direction. Thanks, J.R. -- J.R. Westmoreland (W7JR) E-mail: jr@jrw.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 12: 7:12 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 8D4B037B407 for ; Fri, 26 Oct 2001 12:07:09 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.1/8.11.1) with ESMTP id f9QJ6eg21188; Fri, 26 Oct 2001 21:06:40 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Fri, 26 Oct 2001 21:08:51 +0200 (CEST) From: Martin Blapp To: Bill Fenner , Marcel Moolenaar , Dag-Erling Smorgrav , Subject: Re: linux_connect() broken for linux_base-7 Message-ID: <20011026210346.L26710-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi together, Since I've successfully tested Bill's patch, I think it should be comitted to CURRENT, so we can MFC it after a while. Can you do this Bill ? I the meantime we should add a note to the linux_base-7 port that nameserver lookups are broken on STABLE. Martin Martin Blapp, mb@imp.ch ------------------------------------------------------------------ Improware AG, UNIX solution and service provider To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 12:26:13 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id C0D0F37B401 for ; Fri, 26 Oct 2001 12:26:09 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7576F14C2E; Fri, 26 Oct 2001 21:26:08 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Martin Blapp Cc: Bill Fenner , Marcel Moolenaar , Subject: Re: linux_connect() broken for linux_base-7 References: <20011026210346.L26710-100000@levais.imp.ch> From: Dag-Erling Smorgrav Date: 26 Oct 2001 21:26:07 +0200 In-Reply-To: <20011026210346.L26710-100000@levais.imp.ch> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martin Blapp writes: > Since I've successfully tested Bill's patch, I think it > should be comitted to CURRENT, so we can MFC it after > a while. Can you do this Bill ? No, as I've already pointed out the patch is incorrect. It will not build on an Alpha. Please do not commit this patch until it has been corrected and successfully compiled on an Alpha. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 12:27:58 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 4ADD637B401 for ; Fri, 26 Oct 2001 12:27:56 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 30B3A4CE2E; Fri, 26 Oct 2001 15:27:55 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id PAA22441; Fri, 26 Oct 2001 15:27:53 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id MAA11372; Fri, 26 Oct 2001 12:27:53 -0700 (PDT) Message-Id: <200110261927.MAA11372@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: mb@imp.ch Subject: Re: linux_connect() broken for linux_base-7 Cc: marcel@xcllnt.net, des@ofug.org, freebsd-emulation@freebsd.org Date: Fri, 26 Oct 2001 12:27:53 -0700 Versions: dmail (solaris) 2.2j/makemail 2.9b Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martin, Yes, I will commit a fixed version of the patch as soon as I've successfully built a test alpha kernel. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Oct 26 12:30:21 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 21C4A37B405 for ; Fri, 26 Oct 2001 12:30:09 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f9QJU8o18118; Fri, 26 Oct 2001 12:30:08 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f9QJV2T01098; Fri, 26 Oct 2001 12:31:02 -0700 (PDT) (envelope-from marcel) Date: Fri, 26 Oct 2001 12:31:01 -0700 From: Marcel Moolenaar To: Martin Blapp Cc: Bill Fenner , Dag-Erling Smorgrav , freebsd-emulation@FreeBSD.ORG Subject: Re: linux_connect() broken for linux_base-7 Message-ID: <20011026123101.D487@dhcp01.pn.xcllnt.net> References: <20011026210346.L26710-100000@levais.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011026210346.L26710-100000@levais.imp.ch> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 26, 2001 at 09:08:51PM +0200, Martin Blapp wrote: > > Hi together, > > Since I've successfully tested Bill's patch, I think it > should be comitted to CURRENT, so we can MFC it after > a while. Can you do this Bill ? It may interfere with my preparation of the MFC patch. I haven't received any feedback, so I assume that at least the i386 part is working fine. I'll do the FC as soon as I have the Alpha part finished. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message