From owner-freebsd-emulation Sun Mar 14 16:45:53 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (Postfix) with ESMTP id 0098915392 for ; Sun, 14 Mar 1999 16:45:49 -0800 (PST) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co ([168.176.3.40]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.0) with ESMTP id AAA9776 for ; Sun, 14 Mar 1999 19:44:17 -0500 Message-ID: <36EC1273.ADCFE2A9@bachue.usc.unal.edu.co> Date: Sun, 14 Mar 1999 14:48:03 -0500 From: "Pedro F. Giffuni" Organization: U. Nacional de Colombia X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: emulation@FreeBSD.org Subject: Linux emulation now part of Unixware Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org An SCO announce reports they are adding support for linux emulation to the standard Unixware base. They are also helping the lxrun effort: from http://www.ugcs.caltech.edu/~steven/lxrun/ : __________________ NEWS FLASH -- The LinuxWorld Conference is underway in San Jose! This is an exciting time for lxrun. SCO and Sun are expected to announce their participation in the lxrun project. I've already received numerous patches from both companies, and a merge is underway. As soon as the merged source base is somewhat stable, I'll be putting it online here. Watch this site over the next few weeks for updates! __________________ Their support is probably lagging FreeBSD's but anyway it's interesting news... cheers, Pedro. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Mar 15 8:16: 1 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mail-gw1adm.rcsntx.swbell.net (mail-gw1.rcsntx.swbell.net [151.164.30.51]) by hub.freebsd.org (Postfix) with ESMTP id 9A03614DBE for ; Mon, 15 Mar 1999 08:15:59 -0800 (PST) (envelope-from pajtim@hotmail.com) Received: from hotmail.com (ppp-207-193-1-184.kscymo.swbell.net [207.193.1.184]) by mail-gw1adm.rcsntx.swbell.net (8.8.5/8.8.5) with ESMTP id KAA11085 for ; Mon, 15 Mar 1999 10:15:37 -0600 (CST) Message-ID: <12D6ECAF.145EDD6B@hotmail.com> Date: Mon, 07 Jan 1980 00:39:44 -0600 From: "J. Mark Hord" Reply-To: pajtim@swbell.net X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Join Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am interested in the emulator discussion. Thanks, Mark Hord pajtim@hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Mar 15 17:48:31 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id EB48514CD4 for ; Mon, 15 Mar 1999 17:48:27 -0800 (PST) (envelope-from nrahlstr@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id TAA16521 for ; Mon, 15 Mar 1999 19:48:08 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma016405; Mon, 15 Mar 99 19:47:34 -0600 Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id TAA16794 for freebsd-emulation@FreeBSD.org; Mon, 15 Mar 1999 19:48:04 -0600 (CST) Message-ID: <19990315194803.B16646@winternet.com> Date: Mon, 15 Mar 1999 19:48:03 -0600 From: Nathan Ahlstrom To: freebsd-emulation@FreeBSD.org Subject: vmware and linux loadable modules Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was looking over the vmware product (http://www.vmware.com/) and it seems to require the linux equivalent of KLDs. Is it possible to load and use these on FreeBSD? Nathan -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 1:10:42 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 58A7114D78 for ; Tue, 16 Mar 1999 01:10:34 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA52043; Tue, 16 Mar 1999 09:12:32 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 16 Mar 1999 09:12:32 +0000 (GMT) From: Doug Rabson To: Nathan Ahlstrom Cc: freebsd-emulation@freebsd.org Subject: Re: vmware and linux loadable modules In-Reply-To: <19990315194803.B16646@winternet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 15 Mar 1999, Nathan Ahlstrom wrote: > > I was looking over the vmware product (http://www.vmware.com/) and it seems > to require the linux equivalent of KLDs. Is it possible to load and use > these on FreeBSD? I'm afraid not. The Linux kernel is very different from FreeBSD and we will almost certainly never be able to share nontrivial kernel modules. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 2:34:44 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id B58931518F for ; Tue, 16 Mar 1999 02:33:49 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i149.ztm.euronet.nl [194.134.112.110]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id LAA01931 from for ; Tue, 16 Mar 1999 11:33:24 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id LAA54027 for emulation@FreeBSD.ORG; Tue, 16 Mar 1999 11:19:46 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Tue, 16 Mar 1999 11:19:40 +0100 From: Marcel Moolenaar Message-ID: <36EE303C.C7937EE3@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19990315194803.B16646@winternet.com> Subject: Re: vmware and linux loadable modules Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nathan Ahlstrom wrote: > I was looking over the vmware product (http://www.vmware.com/) and it seems > to require the linux equivalent of KLDs. Is it possible to load and use > these on FreeBSD? No, the internals of the kernel are different. The easiest way to try vmware is to install Linux or WinNT and use FreeBSD as a guest OS. I don't expect emulation of loadable kernel module support. marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 12:50:44 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 0257215413 for ; Tue, 16 Mar 1999 12:50:42 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA00623; Tue, 16 Mar 1999 12:44:26 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199903162044.MAA00623@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Marcel Moolenaar Cc: emulation@FreeBSD.ORG Subject: Re: vmware and linux loadable modules In-reply-to: Your message of "Tue, 16 Mar 1999 11:19:40 +0100." <36EE303C.C7937EE3@scc.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Mar 1999 12:44:25 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nathan Ahlstrom wrote: > > > I was looking over the vmware product (http://www.vmware.com/) and it seems > > to require the linux equivalent of KLDs. Is it possible to load and use > > these on FreeBSD? > > No, the internals of the kernel are different. The easiest way to try vmware > is to install Linux or WinNT and use FreeBSD as a guest OS. > > I don't expect emulation of loadable kernel module support. At this point in time, VMware is unable to run FreeBSD. Yet again, we push the emulation authors' envelopes. However, there is some interest inside the company for a FreeBSD version, so we may see a skunkware release at some stage. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 13:30:12 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 14CB3151FC for ; Tue, 16 Mar 1999 13:29:51 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id VAA53589; Tue, 16 Mar 1999 21:31:39 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 16 Mar 1999 21:31:39 +0000 (GMT) From: Doug Rabson To: Mike Smith Cc: Marcel Moolenaar , emulation@freebsd.org Subject: Re: vmware and linux loadable modules In-Reply-To: <199903162044.MAA00623@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 16 Mar 1999, Mike Smith wrote: > > Nathan Ahlstrom wrote: > > > > > I was looking over the vmware product (http://www.vmware.com/) and it seems > > > to require the linux equivalent of KLDs. Is it possible to load and use > > > these on FreeBSD? > > > > No, the internals of the kernel are different. The easiest way to try vmware > > is to install Linux or WinNT and use FreeBSD as a guest OS. > > > > I don't expect emulation of loadable kernel module support. > > At this point in time, VMware is unable to run FreeBSD. Yet again, we > push the emulation authors' envelopes. I thought *BSD was supported as a client OS or has some feature of current broken this? I haven't had a chance to play with vmware yet. I'm seriously tempted to install Linux just to try it out. > > However, there is some interest inside the company for a FreeBSD > version, so we may see a skunkware release at some stage. Now that would be damn useful to me as long as there was a way to hook up kernel gdb (maybe through an emulated serial port). On the other hand, most of the stuff I am working on needs real hardware.. Does Bochs boot FreeBSD yet? Last time I tried, it fell over during clock initialisation (to get that far, I had to disable APM). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 14:13:36 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from octopus.originative (originat.demon.co.uk [158.152.220.9]) by hub.freebsd.org (Postfix) with ESMTP id F3F9F14F6F for ; Tue, 16 Mar 1999 14:13:30 -0800 (PST) (envelope-from paul@originative.co.uk) Received: by octopus with Internet Mail Service (5.5.2232.9) id ; Tue, 16 Mar 1999 22:11:29 -0000 Message-ID: From: paul@originative.co.uk To: dfr@nlsystems.com, mike@smith.net.au Cc: marcel@scc.nl, emulation@freebsd.org Subject: RE: vmware and linux loadable modules Date: Tue, 16 Mar 1999 22:11:26 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > -----Original Message----- > From: Doug Rabson [mailto:dfr@nlsystems.com] > Sent: 16 March 1999 21:32 > To: Mike Smith > Cc: Marcel Moolenaar; emulation@freebsd.org > Subject: Re: vmware and linux loadable modules > > > On Tue, 16 Mar 1999, Mike Smith wrote: > > > > Nathan Ahlstrom wrote: > > > > > > > I was looking over the vmware product > (http://www.vmware.com/) and it seems > > > > to require the linux equivalent of KLDs. Is it > possible to load and use > > > > these on FreeBSD? > > > > > > No, the internals of the kernel are different. The > easiest way to try vmware > > > is to install Linux or WinNT and use FreeBSD as a guest OS. > > > > > > I don't expect emulation of loadable kernel module support. > > > > At this point in time, VMware is unable to run FreeBSD. > Yet again, we > > push the emulation authors' envelopes. > > I thought *BSD was supported as a client OS or has some > feature of current > broken this? I haven't had a chance to play with vmware yet. I'm > seriously tempted to install Linux just to try it out. > 3.X isn't supported in the current version though I was told they have a version working internally so expect it to be supported soon. FreeBSD 2.2.8 apparently works. Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Mar 16 16:30:38 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from mercury.dnai.com (mercury.dnai.com [207.181.194.99]) by hub.freebsd.org (Postfix) with ESMTP id DAA831516B for ; Tue, 16 Mar 1999 16:30:36 -0800 (PST) (envelope-from kmarx@bigshed.com) Received: from bigshed.com (dnai-207-181-236-38.dialup.dnai.com [207.181.236.38]) by mercury.dnai.com (8.8.7/8.8.7) with ESMTP id QAA08955; Tue, 16 Mar 1999 16:30:17 -0800 (PST) Message-ID: <36EEFB0C.C4A24A87@bigshed.com> Date: Tue, 16 Mar 1999 16:45:00 -0800 From: Ken Marx X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: emulation@FreeBSD.ORG Cc: Ken Marx Subject: /lib/ld-linux.so.2 in 2.2.8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've been scouring the handbook, and the general and emulation archives but haven't seen a resolution for this: I *am* able to run certain linux ELF binaries. I'm having linux compat problems in 2.2.8 wrt dynamic libs. I have installed the linux_lib and linux_devel stuff from the 2.2.8 CD. The first symptom is a bad magic complaint in the lib: bad magic number in "./../J-HAPI/lib/linux/libjhapi.so" (libjhapi.so) I tracked down the instructions for setting up linux_lib (http://www.freebsd.org/handbook/handbook310.html#655) and got to the step where I run /compat/linux/usr/bin/ldd on itself to verify that things work. It fails due to not mapping /lib -> /compat/linux/lib, so I kludged this link by hand. The above 'ldd' is a script that tries to actually invoke ld-linux.so.2 --verify $file This makes no sense to me, but doing so definitely gives an error: bash: /lib/ld-linux.so.2: cannot execute binary file (Same as any wrongly attempted execution of any .so.) This happens also if I use the /compat/linux/bin/bash, and occurs whether I modload /lkm/linux_mox.o, or run a kernel with COMPAT_LINUX enabled. I've tried brandelf'ing some of the .so's with no effect. I didn't try branding everything under /compat/linux though. Since this is for a production system, I currently don't have the option of upgrading to 3.1. Does anyone have a clue what I can do to get .so format recognized? Thanks! k. (If you know the solution to exist within the archives, can you give me an explicit pointer please - As mentioned, I've already spent quite a bit of time in there, so if I missed it, I need my nose stuck directly into it. Thanks...) -- Ken Marx, kmarx@bigshed.com This seems correct, however, correctness doesn't pay the bills. We need to right size and get our arms around the inappropriate behavior. - http://cgi.bigshed.com/~kmarx/cgi-bin/speak.cgi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Mar 17 3: 4: 9 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id BE7401506F for ; Wed, 17 Mar 1999 03:04:06 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i054.ztm.euronet.nl [194.134.112.55]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id MAA19565 from for ; Wed, 17 Mar 1999 12:03:29 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id LAA45893 for emulation@FreeBSD.ORG; Wed, 17 Mar 1999 11:58:11 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Wed, 17 Mar 1999 11:58:08 +0100 From: Marcel Moolenaar Message-ID: <36EF8AC0.579A296E@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <36EEFB0C.C4A24A87@bigshed.com> Subject: Re: /lib/ld-linux.so.2 in 2.2.8 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ken Marx wrote: [snip] > /compat/linux/usr/bin/ldd > > The above 'ldd' is a script that tries to actually invoke > > ld-linux.so.2 --verify $file > > This makes no sense to me, but doing so definitely gives an error: > > bash: /lib/ld-linux.so.2: cannot execute binary file > > (Same as any wrongly attempted execution of any .so.) [snip] This does also not work on 3.x systems. But since 3.x is using ELF, you can use the FreeBSD version of ldd on those systems: scones% pwd /usr/compat/linux/usr/bin scones% ./ldd gcc ./ldd: /compat/linux/lib/ld-linux.so.2: cannot execute binary file not a dynamic executable scones% pwd /usr/compat/linux/lib scones% ./ld-linux.so.2 --verify ../usr/bin/gcc ./ld-linux.so.2: Exec format error. Wrong Architecture. scones% which ldd /usr/bin/ldd scones% ldd ../usr/bin/gcc ../usr/bin/gcc: libc.so.6 => /lib/libc.so.6 (0x28060000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28053000) marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Mar 17 4:53:25 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 9B27C153A5 for ; Wed, 17 Mar 1999 04:53:22 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i153.ztm.euronet.nl [194.134.112.114]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id NAA27018 from for ; Wed, 17 Mar 1999 13:52:59 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id NAA08223 for emulation@FreeBSD.ORG; Wed, 17 Mar 1999 13:24:55 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Wed, 17 Mar 1999 13:23:39 +0100 From: Marcel Moolenaar Message-ID: <36EF9ECB.96C0FBA9@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <36EEFB0C.C4A24A87@bigshed.com> Subject: Re: /lib/ld-linux.so.2 in 2.2.8 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ken Marx wrote: > bash: /lib/ld-linux.so.2: cannot execute binary file > > (Same as any wrongly attempted execution of any .so.) To follow up on my on post: The reason is in fact very simple. Linux allows the execution of shared objects whereas FreeBSD doesn't. IMO, FreeBSD has it right: you don't execute ELF binaries when they are not flagged as such. For users of 2.x systems this is a bit annoying, since they do not have an alternative. The problem can be solved by applying the following *untested* patch on 2.2.7 and 2.2.8 systems: *** imgact_elf.c.orig Wed Mar 17 13:16:39 1999 --- imgact_elf.c Wed Mar 17 13:19:34 1999 *************** *** 252,260 **** if (hdr->e_machine != EM_386 && hdr->e_machine != EM_486) return ENOEXEC; ! if (hdr->e_type != type) ! return ENOEXEC; ! return 0; } --- 252,266 ---- if (hdr->e_machine != EM_386 && hdr->e_machine != EM_486) return ENOEXEC; ! if (type == ET_EXEC) { ! if (hdr->e_type != ET_EXEC && hdr->e_type != ET_DYN) ! return ENOEXEC; ! } ! else { ! if (hdr->e_type != type) ! return ENOEXEC; ! } ! return 0; } An equivalent patch on my -current system does solve the problem. I just don't have a 2.2.x system available for testing. In any case, you'll get the drift... marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Mar 17 5:52:49 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from corpex.com (yuri.corpex.com [195.153.247.11]) by hub.freebsd.org (Postfix) with SMTP id 6420E15427 for ; Wed, 17 Mar 1999 05:52:46 -0800 (PST) (envelope-from nsmith@ldap-solutions.com) Received: from ldap-solutions.com(really [194.222.112.235]) by corpex.com via sendmail with esmtp id for ; Wed, 17 Mar 1999 13:39:49 +0000 (GMT) (Smail-3.2 1996-Jul-4 #1 built 1996-Aug-19) Message-ID: <36EFB10E.BC4E442@ldap-solutions.com> Date: Wed, 17 Mar 1999 13:41:34 +0000 From: Neil Smith Organization: LDAP Solutions Limited X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Emulation Subject: Running Linux version of Netscape Directory Server under FreeBSD Content-Type: multipart/mixed; boundary="------------5ACF3708E4A3606D51BDE179" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------5ACF3708E4A3606D51BDE179 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'd be interested to hear from anyone who has managed to run the beta of Netscape Directory v4 for Linux under FreeBSD. The installation bombs out for me almost immediately, but then I am running what I guess is a relatively old version of FreeBSD (2.2CAM....). Is there anything I can do to further diagnose the problem and potentially fix it? Thanks, Neil. --------------5ACF3708E4A3606D51BDE179 Content-Type: text/x-vcard; charset=us-ascii; name="nsmith.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Neil Smith Content-Disposition: attachment; filename="nsmith.vcf" begin:vcard n:Smith;Neil tel;cell:+44 7801 789 070 tel;fax:+44 181 390 1666 tel;home:+44 181 406 8692 tel;work:+44 7801 789 070 x-mozilla-html:TRUE org:LDAP Solutions Limited;Professional Services version:2.1 email;internet:nsmith@ldap-solutions.com title:Principal Consultant adr;quoted-printable:;;34 Headley=0D=0AKing Charles Road;Surbiton;Surrey;KT5 8QW;England fn:Neil Smith end:vcard --------------5ACF3708E4A3606D51BDE179-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Mar 17 11:53:25 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 6AD4D15524 for ; Wed, 17 Mar 1999 11:53:22 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i048.ztm.euronet.nl [194.134.112.49]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id UAA06494 from for ; Wed, 17 Mar 1999 20:53:02 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id RAA73116 for emulation@FreeBSD.ORG; Wed, 17 Mar 1999 17:36:34 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Wed, 17 Mar 1999 17:35:19 +0100 From: Marcel Moolenaar Message-ID: <36EFD9C7.B41ED895@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <36EFB10E.BC4E442@ldap-solutions.com> Subject: Re: Running Linux version of Netscape Directory Server under FreeBSD Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Neil Smith wrote: > I'd be interested to hear from anyone who has managed to run the beta of > Netscape Directory v4 for Linux under FreeBSD. The installation bombs > out for me almost immediately, but then I am running what I guess is a > relatively old version of FreeBSD (2.2CAM....). Is there anything I can > do to further diagnose the problem and potentially fix it? A kernel trace (see ktrace(1)) always helps. Make sure the kernel has support for kernel tracing. Also, since you're ktracing linux binaries, you'll need linux_kdump in the ports collection instead of kdump(1). If you know the reason as to why the installer fails, you'll probably also know if it will work on 2.2CAM... If I've time, I'll try it out on my machine myself. marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Mar 18 3:16:38 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dingo.cdrom.com (castles193.castles.com [208.214.165.193]) by hub.freebsd.org (Postfix) with ESMTP id 5E90814DCC for ; Thu, 18 Mar 1999 03:16:35 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id DAA01848; Thu, 18 Mar 1999 03:10:22 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199903181110.DAA01848@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Doug Rabson Cc: Mike Smith , Marcel Moolenaar , emulation@freebsd.org Subject: Re: vmware and linux loadable modules In-reply-to: Your message of "Tue, 16 Mar 1999 21:31:39 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Mar 1999 03:10:21 -0800 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Does Bochs boot FreeBSD yet? Last time I tried, it fell over during clock > initialisation (to get that far, I had to disable APM). No. Last I tried it couldn't even run the loader anymore. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Mar 18 3:59:21 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from iservern.teligent.se (www.teligent.se [194.17.198.46]) by hub.freebsd.org (Postfix) with ESMTP id 75D7415385 for ; Thu, 18 Mar 1999 03:59:10 -0800 (PST) (envelope-from jakob@teligent.se) Received: from dyn-66 (dyn-66.teligent.se [192.168.2.66]) by iservern.teligent.se (8.8.7/8.8.7) with ESMTP id MAA25710 for ; Thu, 18 Mar 1999 12:53:53 +0100 (CET) (envelope-from jakob@teligent.se) Date: Thu, 18 Mar 1999 12:57:20 +0100 (CET) From: Jakob Alvermark To: freebsd-emulation@freebsd.org Subject: VMware In-Reply-To: <01BE7061.3EF2F100.christiane@vmware.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Thought this might be interesting: I think everyone interested in running vmware native on FreeBSD should mail tech_info@vmware.com tell them that! /Jakob On Wed, 17 Mar 1999, Christiane Holtzman wrote: > Jakob, > Thank you for your email and interest in VMware. > Unfortunately we currently do not have plans to support FreeBSD as a=20 > host > operating system. We will support FreeBSD as a guest operating system. > We have noted you request of FreeBSD host support in case we review=20 > this in the future. >=20 > BTW our current Linux beta should run FreeBSD 2.2.8 (and probably=20 > other2.2.x) > as a *guest* OS with a Linux host. FreeBSD 3.0 or 3.1 will not run in > this current beta release. We have 3.1 running here and need to release > some changes to our software to support it, hopefully this will happen > sometime soon as we refresh the beta release. >=20 > I have however noted your inquiry as a request for that support. > Sincerely, >=20 > Christiane Holtzman > VMware, Inc. >=20 > On Tuesday, March 16, 1999 11:38 PM, Jakob Alvermark=20 > [SMTP:jakob@teligent.se] wrote: > > Hello. > > > > Will we see a vmware for FreeBSD hosts? If, when? > > > > TIA! > > > > /Jakob Alvermark > > > > ------------------------------------------------------- > > Teligent AB, P.O. Box 213, S-149 23 Nynashamn, Sweden > > Telephone +46-(0)8 520 660 00 * Fax +46-(0)8 520 193 36 > > Direct +46-(0)8 520 660 32 * GSM +46-(0)70 792 16 57 > > * * * http://www.teligent.se * * * > > ------------------------------------------------------- >=20 >=20 ------------------------------------------------------- Teligent AB, P.O. Box 213, S-149 23 Nyn=E4shamn, Sweden =20 Telephone +46-(0)8 520 660 00 * Fax +46-(0)8 520 193 36=20 Direct +46-(0)8 520 660 32 * GSM +46-(0)70 792 16 57 * * * http://www.teligent.se * * * ------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Mar 18 4:53:31 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 102BF14C57 for ; Thu, 18 Mar 1999 04:53:26 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i137.ztm.euronet.nl [194.134.112.98]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id NAA02354 from for ; Thu, 18 Mar 1999 13:53:06 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id NAA02161 for emulation@FreeBSD.ORG; Thu, 18 Mar 1999 13:27:48 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Thu, 18 Mar 1999 13:27:48 +0100 From: Marcel Moolenaar Message-ID: <36F0F144.62569D1F@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Request to StarOffice/Wordperfect users Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, As you may know, I've made two new ports to replace the current linux_lib and linux_devel ports. I'm currently trying to install and run each port (dependent on linux_lib and linux_devel), having only my ports installed. Since StarOffice and Wordperfect are quite large, I want to prevent unnecessary downloading to save both time and money. Is there someone who can tell me whether StarOffice and/or Wordperfect work as expected with my new ports, when installed from the ports collection? Is someone in the position to try? Thanks, marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 19 0: 5:35 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from pike.cdrom.com (pike.cdrom.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 8A8A214BEF for ; Fri, 19 Mar 1999 00:05:34 -0800 (PST) (envelope-from r3cgm@pike.cdrom.com) Received: (from r3cgm@localhost) by pike.cdrom.com (8.9.1a/8.9.1) id AAA06548 for freebsd-emulation@freebsd.org; Fri, 19 Mar 1999 00:06:37 -0800 (PST) Date: Fri, 19 Mar 1999 00:06:36 -0800 From: "Christopher G. Mann" To: freebsd-emulation@freebsd.org Subject: Suggestion, Linux ldconfig /etc/defaults/rc.conf Message-ID: <19990319000636.L4567@cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i X-Operating-System: FreeBSD 2.2.8-STABLE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Problem: Headaches getting Real Player 5.0 to work under FreeBSD 3.1 with Linux emulation. Source: Tracking down appropriate Linux ldconfig-type settings. Suggestion: With Linux emulation on by default now, wouldn't it make sense to migrate the Linux library paths into /etc/default/rc.conf? That was the first place I looked, and the spot I was ultimately disappointed to not find it in. -- Christopher G. Mann - Technical Manager, Web Administrator Walnut Creek CDROM (www.cdrom.com) - The FreeBSD Mall (www.freebsdmall.com) * Check out OpenCart for an exciting into a new open * source shopping cart effort: www.opencart.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 19 2:53:44 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id 2D35414F3C for ; Fri, 19 Mar 1999 02:53:32 -0800 (PST) (envelope-from freebsd-emulation@scc.nl) Received: from scones.sup.scc.nl (i445.ztm.euronet.nl [194.134.67.166]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id LAA00973 from for ; Fri, 19 Mar 1999 11:53:06 +0100 (MET) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id LAA46746 for emulation@FreeBSD.ORG; Fri, 19 Mar 1999 11:16:51 +0100 (CET) (envelope-from freebsd-emulation@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for emulation@FreeBSD.ORG (emulation@FreeBSD.ORG) To: emulation@FreeBSD.ORG Date: Fri, 19 Mar 1999 11:15:36 +0100 From: Marcel Moolenaar Message-ID: <36F223C8.5550608A@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19990319000636.L4567@cdrom.com> Subject: Re: Suggestion, Linux ldconfig /etc/defaults/rc.conf Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Christopher G. Mann" wrote: > Problem: Headaches getting Real Player 5.0 to work under FreeBSD 3.1 > with Linux emulation. > > Source: Tracking down appropriate Linux ldconfig-type settings. > > Suggestion: With Linux emulation on by default now, wouldn't it make > sense to migrate the Linux library paths into /etc/default/rc.conf? > That was the first place I looked, and the spot I was ultimately > disappointed to not find it in. It's much simpler. Yesterday I installed real Player 5.0 using the ports to see if it works with my new linux_lib and linux_devel replacements. It worked somewhat out of the box. So this is what I suggest you do: download linux-base from my webpage http://www.wi.leidenuniv.nl/~mhmoolen/ and install it. After that, install the real-player using the ports collection. There are (just) two thing you need to do: (1) Make sure you have applied the following patch to the Makefile of the rvplayer port: *** Makefile.orig Thu Mar 18 13:02:41 1999 --- Makefile Thu Mar 18 13:03:02 1999 *************** *** 13,19 **** MAINTAINER= kkennawa@physics.adelaide.edu.au ! RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib ONLY_FOR_ARCHS= i386 NO_CDROM= "Redistribution not allowed" --- 13,19 ---- MAINTAINER= kkennawa@physics.adelaide.edu.au ! RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emu lators/linux-base ONLY_FOR_ARCHS= i386 NO_CDROM= "Redistribution not allowed" (2) After installation of the linux-realplayer port, update /compat/linux/etc/ld.so.conf to include the path where the rvplayer libs are installed (/usr/local/lib/rvplayer5.0 IIRC) and run /compat/linux/sbin/ldconfig. There is no need to create or update LD_LIBRARY_PATH envvars. That's it! If this don't solve your problem, then euh... something else will :-) marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Mar 20 8:31:18 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from colin.muc.de (colin.muc.de [193.149.48.1]) by hub.freebsd.org (Postfix) with SMTP id C73B814E97 for ; Sat, 20 Mar 1999 08:31:16 -0800 (PST) (envelope-from lutz@muc.de) Received: from tavari.muc.de ([193.149.49.22]) by colin.muc.de with SMTP id <140564-3>; Sat, 20 Mar 1999 17:30:53 +0100 Received: (from daemon@localhost) by tavari.muc.de (8.8.8/8.8.7) id RAA21331; Sat, 20 Mar 1999 17:29:23 +0100 (CET) Received: from abraxas(192.168.42.5) by morranon via smap (V2.1) id xma021329; Sat, 20 Mar 99 17:29:19 +0100 Date: Sat, 20 Mar 1999 17:27:36 +0100 From: Lutz Albers To: Marcel Moolenaar Cc: emulation@FreeBSD.ORG Subject: Re: Request to StarOffice/Wordperfect users In-Reply-To: <36F0F144.62569D1F@scc.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 18 Mar 1999, Marcel Moolenaar wrote: > unnecessary downloading to save both time and money. Is there someone who can > tell me whether StarOffice and/or Wordperfect work as expected with my new > ports, when installed from the ports collection? Is someone in the position > to try? Both wordperfect-8.0 (installed from ports) and StarOffice 5.0 (installed natively from CD-ROM) seems to work. I removed the old /compat/linux directory and installed poth ports. ciao lutz -- Lutz Albers, lutz@muc.de, pgp key available from Do not take life too seriously, you will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message