From owner-freebsd-emulation Sun Jan 19 7:49:48 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6372037B401; Sun, 19 Jan 2003 07:49:47 -0800 (PST) Received: from cheer.mahoroba.org (flets19-241.kamome.or.jp [218.45.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE4F43EB2; Sun, 19 Jan 2003 07:49:37 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:7HNKcwLLU7gWBav5zpi7zTnouSbC5FBjeuMKVCnTOcOvlFw/kZZclYduEEeKf6+t@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h0JFnQRv086986 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 20 Jan 2003 00:49:26 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 20 Jan 2003 00:49:26 +0900 Message-ID: From: Hajimu UMEMOTO To: current@FreeBSD.org, emulation@FreeBSD.org Subject: [CFR] IPv6 support for Linux sym User-Agent: Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.0-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=0.3 required=5.0 tests=SPAM_PHRASE_00_01,USER_AGENT version=2.43 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, I wrote an IPv6 support for Linux sym. I've tested it with RHL8's ftp(1) and ports/www/linux-phoenix, and it seems nicely running with both an IPv4 and an IPv6. You can obtain my patch from: http://www.imasy.or.jp/~ume/FreeBSD/linux-ipv6.diff Please review it. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sun Jan 19 12: 0:39 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AD6837B427; Sun, 19 Jan 2003 12:00:37 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id CDFFD43F83; Sun, 19 Jan 2003 12:00:15 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 19 Jan 2003 19:59:59 +0000 (GMT) Date: Sun, 19 Jan 2003 19:59:57 +0000 From: David Malone To: Hajimu UMEMOTO Cc: current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym Message-ID: <20030119195957.GA54865@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i 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, Jan 20, 2003 at 12:49:26AM +0900, Hajimu UMEMOTO wrote: > I wrote an IPv6 support for Linux sym. I've tested it with RHL8's > ftp(1) and ports/www/linux-phoenix, and it seems nicely running with > both an IPv4 and an IPv6. > You can obtain my patch from: > > http://www.imasy.or.jp/~ume/FreeBSD/linux-ipv6.diff I have a patch which is quite similar to this, but also reduces the use of the stackgap in the Linux networking code and breaks out things like socket, bind and listen into an implimentation and a syscall wrapper (extending Ian's work in this area). I took these patches far enough to get the linux version of telnet to speak IPv6. I was going to commit the patch, but there were two things holding me back: 1) I hadn't figured out the best way to deal with syscalls which copyout a sockaddr - I suspect we need a per-sysvec sockaddr copyout function to do this cleanly, but I'm open to suggestion. 2) The patches wouldn't compile on the alpha 'cos of some ifdefs in the linux emulation code. I just hadn't got around to resolving this. Maybe we could see if we could combine these patches? My patch is available at: http://www.maths.tcd.ie/~dwmalone/linux-socket David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jan 20 1:19: 3 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86CAC37B401; Mon, 20 Jan 2003 01:19:00 -0800 (PST) Received: from cheer.mahoroba.org (flets19-241.kamome.or.jp [218.45.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E5143F18; Mon, 20 Jan 2003 01:18:52 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:Uu30KmDdsELc59arwgaUpF3PNz7V8l1yca5dS7JWTWT7JeH639ZQSTwn9Tsl6ozi@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h0K9IfRv092328 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 20 Jan 2003 18:18:41 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 20 Jan 2003 18:18:41 +0900 Message-ID: From: Hajimu UMEMOTO To: David Malone Cc: current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym In-Reply-To: <20030119195957.GA54865@walton.maths.tcd.ie> References: <20030119195957.GA54865@walton.maths.tcd.ie> User-Agent: xcite1.38> Wanderlust/2.10.0 (Venus) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.7-STABLE MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.3 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT version=2.43 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, >>>>> On Sun, 19 Jan 2003 19:59:57 +0000 >>>>> David Malone said: dwmalone> I have a patch which is quite similar to this, but also reduces the dwmalone> use of the stackgap in the Linux networking code and breaks out dwmalone> things like socket, bind and listen into an implimentation and a dwmalone> syscall wrapper (extending Ian's work in this area). I took these dwmalone> patches far enough to get the linux version of telnet to speak IPv6. Your approach of having syscall wrapper reduces the overhead of copyout(), and seems good. I thought that doing copyout() is slightly lengthy. However, only connect() and bind() have an wrapper. We need more wrappers for converting `to' field of sendto() and `msg_name' field of sendmsg(). These are not simple than the wrapper for connect() and bind(). I have no idea how these should be wrapped at the moment. dwmalone> 1) I hadn't figured out the best way to deal with syscalls dwmalone> which copyout a sockaddr - I suspect we need a per-sysvec dwmalone> sockaddr copyout function to do this cleanly, but I'm open dwmalone> to suggestion. Maybe yes. dwmalone> 2) The patches wouldn't compile on the alpha 'cos of some dwmalone> ifdefs in the linux emulation code. I just hadn't got around dwmalone> to resolving this. Oops, thank you for pointing this out. It seems that other than linux_connect() are ifdef'ed by __alpha__. Is it right? Is there any problem removing #ifdef __alpha__ and compiling the codes in on FreeBSD/Alpha? dwmalone> Maybe we could see if we could combine these patches? My patch is dwmalone> available at: dwmalone> http://www.maths.tcd.ie/~dwmalone/linux-socket I think so, too. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jan 20 3:39:20 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D92237B401 for ; Mon, 20 Jan 2003 03:39:19 -0800 (PST) Received: from quack.kfu.com (adsl-67-113-12-90.dsl.snfc21.pacbell.net [67.113.12.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6725243EB2 for ; Mon, 20 Jan 2003 03:39:18 -0800 (PST) (envelope-from nsayer@kfu.com) Received: from morpheus.kfu.com (morpheus.kfu.com [IPv6:3ffe:1200:301b:1:2d0:b7ff:fe3f:bdd0]) by quack.kfu.com (8.12.6/8.12.6) with ESMTP id h0KBdDfH003297 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 20 Jan 2003 03:39:13 -0800 (PST) (envelope-from nsayer@kfu.com) Received: from kfu.com (localhost [127.0.0.1]) by morpheus.kfu.com (8.12.6/8.12.6) with ESMTP id h0KBd8Lp006751; Mon, 20 Jan 2003 03:39:08 -0800 (PST) (envelope-from nsayer@kfu.com) Message-ID: <3E2BDFDB.4010201@kfu.com> Date: Mon, 20 Jan 2003 03:39:07 -0800 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021024 X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: Julian Elischer Cc: emulation@FreeBSD.ORG Subject: Re: vmware and turbotax References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-8.2 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08, TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_MOZILLA_UA, X_ACCEPT_LANG version=2.41 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 So far so good for me. My guest is running win2k, maybe that's the magic. I do note, however, that it refused to run on my mac under VirtualPC, so it would appear that some portion of it is sensitive to emulated environments. Julian Elischer wrote: > I have vmware working on my current box and windows 98 (that I got with > this laptop) runs fine, but turbotax doesn't run. It seems to work > onthe native hardware. (dammit I have to boot windows). Does anyone have > any ideas about what they might be trying to do that can tell the > difference? > > p.s. vmware2 ports seems to work fine except that > you need to add includes to filedesc.h to two files. > to make it compile, and you need to make sure that there > is no vmnet1 in /compat/linux/dev. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jan 20 8:19:29 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAB0037B401; Mon, 20 Jan 2003 08:19:28 -0800 (PST) Received: from cheer.mahoroba.org (flets19-241.kamome.or.jp [218.45.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09F5143F13; Mon, 20 Jan 2003 08:19:21 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:50e2BHRhB/1QzqG9ykyiLrxE0lZv6ClDfwlreQqfsMP989lJuENWRzsjKrc0LDhK@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h0KGJ9Rv014792 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 21 Jan 2003 01:19:09 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 21 Jan 2003 01:19:08 +0900 Message-ID: From: Hajimu UMEMOTO To: David Malone Cc: current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym In-Reply-To: References: <20030119195957.GA54865@walton.maths.tcd.ie> User-Agent: xcite1.38> Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.0-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.0 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT version=2.43 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, >>> Mon, 20 Jan 2003 18:18:41 +0900, >>> Hajimu UMEMOTO said: dwmalone> Maybe we could see if we could combine these patches? My patch is dwmalone> available at: dwmalone> http://www.maths.tcd.ie/~dwmalone/linux-socket ume> I think so, too. I've tried to merge your patch into my patch, then replaced the previous one. How about this? http://www.imasy.or.jp/~ume/FreeBSD/linux-ipv6.diff Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jan 20 11: 7:58 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A9837B401 for ; Mon, 20 Jan 2003 11:07:57 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B80B43EB2 for ; Mon, 20 Jan 2003 11:07:56 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <200301201907540030005heee>; Mon, 20 Jan 2003 19:07:55 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA39783; Mon, 20 Jan 2003 11:07:53 -0800 (PST) Date: Mon, 20 Jan 2003 11:07:52 -0800 (PST) From: Julian Elischer To: Nick Sayer Cc: emulation@FreeBSD.ORG Subject: Re: vmware and turbotax In-Reply-To: <3E2BDFDB.4010201@kfu.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 was w2k your host or guest? On Mon, 20 Jan 2003, Nick Sayer wrote: > So far so good for me. My guest is running win2k, maybe that's the magic. > > I do note, however, that it refused to run on my mac under VirtualPC, so > it would appear that some portion of it is sensitive to emulated > environments. > > > Julian Elischer wrote: > > > I have vmware working on my current box and windows 98 (that I got with > > this laptop) runs fine, but turbotax doesn't run. It seems to work > > onthe native hardware. (dammit I have to boot windows). Does anyone have > > any ideas about what they might be trying to do that can tell the > > difference? > > > > p.s. vmware2 ports seems to work fine except that > > you need to add includes to filedesc.h to two files. > > to make it compile, and you need to make sure that there > > is no vmnet1 in /compat/linux/dev. > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-emulation" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Jan 20 17:49: 5 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD5E37B407; Mon, 20 Jan 2003 17:49:03 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88DA443EB2; Mon, 20 Jan 2003 17:49:02 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h0L1n1ro016795 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 20 Jan 2003 20:49:01 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h0L1muH87466; Mon, 20 Jan 2003 20:48:56 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15916.42760.152912.977008@grasshopper.cs.duke.edu> Date: Mon, 20 Jan 2003 20:48:56 -0500 (EST) To: Hajimu UMEMOTO Cc: David Malone , current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym In-Reply-To: References: <20030119195957.GA54865@walton.maths.tcd.ie> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hajimu UMEMOTO writes: > dwmalone> 2) The patches wouldn't compile on the alpha 'cos of some > dwmalone> ifdefs in the linux emulation code. I just hadn't got around > dwmalone> to resolving this. > > Oops, thank you for pointing this out. It seems that other than > linux_connect() are ifdef'ed by __alpha__. Is it right? Is there any > problem removing #ifdef __alpha__ and compiling the codes in on > FreeBSD/Alpha? > The ifdefs are there because the linux hack^W OS uses a different syscall table on each platform, with a different ABI (eg, the same syscall may take 3 args on x86 and 2 on alpha). They basically never cleaned up after bootstrapping themselves from OSF/1. The #ifndef alpha code is not compiled because it will never be referred to on the alpha.. The osf1 compat code is a much better match for the linux networking syscalls, so that's what's used. On alpha, the linux compat module depends on the osf1 compat module.. Naively, I'm uncertain why you're having compilation problems on alpha, since the code is just ifdef'ed out there anyway ;) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Jan 21 0:33:14 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E5E837B401; Tue, 21 Jan 2003 00:33:13 -0800 (PST) Received: from cheer.mahoroba.org (flets19-241.kamome.or.jp [218.45.19.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16ED243F1E; Tue, 21 Jan 2003 00:33:06 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from mille.mahoroba.org (IDENT:Q3jSvopwcBc1CaQdiBpvI29BbVfKbM8esRU0fX0wQMuelaBUPEIRAV5/rB/cXKYK@mille.mahoroba.org [IPv6:2001:200:301:0:202:2dff:fe0a:6bee]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.7/8.12.7) with ESMTP/inet6 id h0L8WmRv017245 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 21 Jan 2003 17:32:48 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 21 Jan 2003 17:32:48 +0900 Message-ID: From: Hajimu UMEMOTO To: Andrew Gallatin Cc: Hajimu UMEMOTO , David Malone , current@FreeBSD.org, emulation@FreeBSD.org Subject: Re: [CFR] IPv6 support for Linux sym In-Reply-To: <15916.42760.152912.977008@grasshopper.cs.duke.edu> References: <20030119195957.GA54865@walton.maths.tcd.ie> <15916.42760.152912.977008@grasshopper.cs.duke.edu> User-Agent: xcite1.38> Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.7-STABLE MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.3 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT version=2.43 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, >>>>> On Mon, 20 Jan 2003 20:48:56 -0500 (EST) >>>>> Andrew Gallatin said: gallatin> The ifdefs are there because the linux hack^W OS uses a different gallatin> syscall table on each platform, with a different ABI (eg, the same gallatin> syscall may take 3 args on x86 and 2 on alpha). They basically never gallatin> cleaned up after bootstrapping themselves from OSF/1. gallatin> The #ifndef alpha code is not compiled because it will never be gallatin> referred to on the alpha.. The osf1 compat code is a much better gallatin> match for the linux networking syscalls, so that's what's used. On gallatin> alpha, the linux compat module depends on the osf1 compat module.. Umm, I see. Thank you for clarification. gallatin> Naively, I'm uncertain why you're having compilation problems on gallatin> alpha, since the code is just ifdef'ed out there anyway ;) My previous patch had two problems on alpha: - sys/alpha/linux/linux.h did not define LINUX_AF_INET6. - linux_connect() called linux_sa_get(). linux_sa_get() calls linux_to_bsd_domain(). But, linux_to_bsd_domain() was not compiled in on alpha. I believe that these problems were gone in my current patch. Maybe, you saw new one. :) Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Jan 21 6:51: 2 2003 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 375E037B401; Tue, 21 Jan 2003 06:51:01 -0800 (PST) Received: from www.unsam.edu.ar (ns2.unsam.edu.ar [170.210.48.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CD5343E4A; Tue, 21 Jan 2003 06:50:58 -0800 (PST) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by www.unsam.edu.ar (8.9.3/8.9.3) with ESMTP id LAA56938; Tue, 21 Jan 2003 11:50:54 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id h0LEoZq6030701; Tue, 21 Jan 2003 11:50:35 -0300 (ART) (envelope-from fernan@pi.iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.6/8.12.6/Submit) id h0LEoYjR030700; Tue, 21 Jan 2003 11:50:34 -0300 (ART) Date: Tue, 21 Jan 2003 11:50:34 -0300 From: Fernan Aguero To: FreeBSD Ports Cc: freebsd-emulation@FreeBSD.ORG Subject: linux_base :: $LINUXBASE and reinstall woes Message-ID: <20030121145034.GB30087@iib.unsam.edu.ar> Mail-Followup-To: FreeBSD Ports , freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have installed rpm packages manually in the past, using some sort of: rpm --ignoreos --root /compat/linux ... Just to be sure I had no problem with these, I wanted to clean everything = get a fresh linux_base again. umount /compat/linux/proc pkg_delete 'linux_base*' and just to be sure (because there were some stuff left) rm -rf /compat/linux then cd /usr/ports/emulators/linux_base make clean && make install clean now for example acroread refuses to launch [fernan@pi] acroread ELF interpreter /compat/linux/lib/ld-linux.so.1 not found However I noticed that a ld-linux.so is indeed present but in /usr/compat/linux/lib/ld-linux.so.2 -> ld-2.2.4.so Now the questions: Is this the same one that acroread needs? Why is a complete compat tree under /usr, shouldn't it be under / (i.e. /compat/linux/...)? Thanks in advance, Fernan -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message