From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 13 11:02:07 2004 Return-Path: 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 BBEF116A4CE for ; Mon, 13 Sep 2004 11:02:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9620243D58 for ; Mon, 13 Sep 2004 11:02:07 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8DB27Fu048653 for ; Mon, 13 Sep 2004 11:02:07 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8DB26JK048647 for emulation@freebsd.org; Mon, 13 Sep 2004 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Sep 2004 11:02:06 GMT Message-Id: <200409131102.i8DB26JK048647@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 11:02:07 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/12/28] kern/46576 emulation FreeBSD 4.6 broke linux emulation install o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor o [2003/07/30] ports/55032 emulation java/jdk13: SVr4 emulation interferes wit 3 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i p [2002/04/16] kern/37161 emulation ext2 linux file system, error handling la o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze f [2004/03/04] ports/63747 emulation vmmon is not performing o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2004/06/22] ports/68202 emulation [patch] Make vmware2 compile on -current o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal f [2004/06/30] ports/68532 emulation Add support for multiple VMWare instances o [2004/09/09] ports/71536 emulation emulators/rtc: kernel msg "rtc: [number] 11 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 13 11:02:12 2004 Return-Path: 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 4A56016A4CE for ; Mon, 13 Sep 2004 11:02:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 403C443D2F for ; Mon, 13 Sep 2004 11:02:12 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8DB2C2m048738 for ; Mon, 13 Sep 2004 11:02:12 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8DB2BpP048732 for freebsd-emulation@freebsd.org; Mon, 13 Sep 2004 11:02:11 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Sep 2004 11:02:11 GMT Message-Id: <200409131102.i8DB2BpP048732@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 11:02:12 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/07/14] kern/28966 emulation [patch] math libraries in linux emulation 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2004/07/14] ports/69041 emulation Please portlint [emulators/vmware3] 2 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 14 18:35:42 2004 Return-Path: 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 AB3DE16A4CE for ; Tue, 14 Sep 2004 18:35:42 +0000 (GMT) Received: from lakermmtao08.cox.net (lakermmtao08.cox.net [68.230.240.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2530C43D3F for ; Tue, 14 Sep 2004 18:35:42 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao08.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP id <20040914183541.ZEDI4360.lakermmtao08.cox.net@dolphin.local.net> for ; Tue, 14 Sep 2004 14:35:41 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id i8EIZeSE086064 for ; Tue, 14 Sep 2004 13:35:40 -0500 (CDT) (envelope-from conrads@cox.net) Date: Tue, 14 Sep 2004 13:35:35 -0500 From: "Conrad J. Sabatier" To: freebsd-emulation@freebsd.org Message-ID: <20040914133535.3aa9ee21@dolphin.local.net> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: /dev, /proc support in a chrooted Linux emulation environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 18:35:42 -0000 I've been exploring running Linux binaries under a chrooted Linux shell (entering the environment via "chroot /compat/linux /bin/bash"). I've had remarkable success in installing and running quite a few rpms beyond those found in the linux_base port, but have found that /dev support (as well as /proc) doesn't work as expected when running Linux apps within such an environment. Programs/scripts attempting to access, for example, /dev/null complain about no such file or device. The same for /dev/ttyX, /dev/zero, etc. Similar problems occur attempting to use /proc/*. I'm also experiencing some networking problems, mainly with DNS resolution, but for now, my main concern is /dev and /proc. I realize that the method I'm using for running Linux apps is not what was intended with FreeBSD's Linux emulation mode, but it's interesting enough that I want to continue delving into it. My goal is to have as near-complete a working Linux environment as possible, one that would support running practically any Linux app within this chrooted environment and would, for all intents and purposes, appear as a "real" Linux to any programs running within it. Are there any suggestions as to how I might remedy some of these problems? Or is this simply beyond the scope/capabilities of the Linux emulator at this time? -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 14 18:51:44 2004 Return-Path: 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 5707816A4CE for ; Tue, 14 Sep 2004 18:51:44 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3196043D45 for ; Tue, 14 Sep 2004 18:51:44 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i8EIqaC3004661; Tue, 14 Sep 2004 11:52:36 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8EIqaXZ004660; Tue, 14 Sep 2004 11:52:36 -0700 Date: Tue, 14 Sep 2004 11:52:36 -0700 From: Brooks Davis To: "Conrad J. Sabatier" Message-ID: <20040914185236.GA31186@odin.ac.hmc.edu> References: <20040914133535.3aa9ee21@dolphin.local.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <20040914133535.3aa9ee21@dolphin.local.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-emulation@freebsd.org Subject: Re: /dev, /proc support in a chrooted Linux emulation environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 18:51:44 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2004 at 01:35:35PM -0500, Conrad J. Sabatier wrote: > I've been exploring running Linux binaries under a chrooted Linux shell > (entering the environment via "chroot /compat/linux /bin/bash"). I've > had remarkable success in installing and running quite a few rpms beyond > those found in the linux_base port, but have found that /dev support (as > well as /proc) doesn't work as expected when running Linux apps within > such an environment. >=20 > Programs/scripts attempting to access, for example, /dev/null complain > about no such file or device. The same for /dev/ttyX, /dev/zero, etc. >=20 > Similar problems occur attempting to use /proc/*. I'm also experiencing > some networking problems, mainly with DNS resolution, but for now, my > main concern is /dev and /proc. > > I realize that the method I'm using for running Linux apps is not what > was intended with FreeBSD's Linux emulation mode, but it's interesting > enough that I want to continue delving into it. My goal is to have as > near-complete a working Linux environment as possible, one that would > support running practically any Linux app within this chrooted > environment and would, for all intents and purposes, appear as a "real" > Linux to any programs running within it. >=20 > Are there any suggestions as to how I might remedy some of these > problems? Or is this simply beyond the scope/capabilities of the Linux > emulator at this time? You can provide a fairly complete linux /proc with linprocfs. /dev is more difficult. You can try mounting devfs in your linux /dev which may work for many applications. For the moment, you can also make nodes like /dev/null and /dev/zero with mknod, but I believe that functionality will be going away. I suspect we will eventually need a lindevfs to make devices show up the way linux wants them to. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBRz3zXY6L6fI4GtQRApofAKC3i/RY5cMEss8OO2/xE+0rt6x7YgCcCBPw L0q/jHuwM8FtZin4wj0ZPpw= =FEU1 -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 01:55:26 2004 Return-Path: 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 71E2B16A4CF for ; Wed, 15 Sep 2004 01:55:26 +0000 (GMT) Received: from lakermmtao06.cox.net (lakermmtao06.cox.net [68.230.240.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A8043D68 for ; Wed, 15 Sep 2004 01:55:25 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.71.51]) by lakermmtao06.cox.net (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709) with ESMTP <20040915015522.RYFQ10360.lakermmtao06.cox.net@dolphin.local.net>; Tue, 14 Sep 2004 21:55:22 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with ESMTP id i8F1tNRa011251; Tue, 14 Sep 2004 20:55:23 -0500 (CDT) (envelope-from conrads@dolphin.local.net) Received: (from conrads@localhost) by dolphin.local.net (8.13.1/8.13.1/Submit) id i8F1tDGC011250; Tue, 14 Sep 2004 20:55:13 -0500 (CDT) (envelope-from conrads) Date: Tue, 14 Sep 2004 20:55:13 -0500 From: Conrad Sabatier To: Brooks Davis Message-ID: <20040915015513.GB11111@cox.net> References: <20040914133535.3aa9ee21@dolphin.local.net> <20040914185236.GA31186@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040914185236.GA31186@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i cc: freebsd-emulation@freebsd.org Subject: Re: /dev, /proc support in a chrooted Linux emulation environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 01:55:26 -0000 On Tue, Sep 14, 2004 at 11:52:36AM -0700, Brooks Davis wrote: > On Tue, Sep 14, 2004 at 01:35:35PM -0500, Conrad J. Sabatier wrote: > > I've been exploring running Linux binaries under a chrooted Linux shell > > (entering the environment via "chroot /compat/linux /bin/bash"). I've > > had remarkable success in installing and running quite a few rpms beyond > > those found in the linux_base port, but have found that /dev support (as > > well as /proc) doesn't work as expected when running Linux apps within > > such an environment. > > > > Programs/scripts attempting to access, for example, /dev/null complain > > about no such file or device. The same for /dev/ttyX, /dev/zero, etc. > > > > Similar problems occur attempting to use /proc/*. I'm also experiencing > > some networking problems, mainly with DNS resolution, but for now, my > > main concern is /dev and /proc. > > > > I realize that the method I'm using for running Linux apps is not what > > was intended with FreeBSD's Linux emulation mode, but it's interesting > > enough that I want to continue delving into it. My goal is to have as > > near-complete a working Linux environment as possible, one that would > > support running practically any Linux app within this chrooted > > environment and would, for all intents and purposes, appear as a "real" > > Linux to any programs running within it. > > > > Are there any suggestions as to how I might remedy some of these > > problems? Or is this simply beyond the scope/capabilities of the Linux > > emulator at this time? > > You can provide a fairly complete linux /proc with linprocfs. Yes, I am using linprocfs. But even so, certain parts are either missing or not working properly. > /dev is > more difficult. You can try mounting devfs in your linux /dev which > may work for many applications. Hmm, that's a thought. Hadn't thought of trying that yet. > For the moment, you can also make > nodes like /dev/null and /dev/zero with mknod, but I believe that > functionality will be going away. I've tried doing that, but the devices still don't function properly. I've installed Linux's MAKEDEV package as well (into the chrooted environment), and even with all the devices being created by the package's install script, they still don't work. > I suspect we will eventually need a lindevfs to make devices show up the > way linux wants them to. I think you're probably right. That would be a cool feature to add to the emulator, for sure. Wonder how difficult it would be. -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 04:23:45 2004 Return-Path: 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 7425B16A4CE for ; Wed, 15 Sep 2004 04:23:45 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B17543D49 for ; Wed, 15 Sep 2004 04:23:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i8F4Og7p028374; Tue, 14 Sep 2004 21:24:42 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8F4OgQs028372; Tue, 14 Sep 2004 21:24:42 -0700 Date: Tue, 14 Sep 2004 21:24:42 -0700 From: Brooks Davis To: Conrad Sabatier Message-ID: <20040915042442.GA27877@odin.ac.hmc.edu> References: <20040914133535.3aa9ee21@dolphin.local.net> <20040914185236.GA31186@odin.ac.hmc.edu> <20040915015513.GB11111@cox.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20040915015513.GB11111@cox.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-emulation@freebsd.org Subject: Re: /dev, /proc support in a chrooted Linux emulation environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 04:23:45 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2004 at 08:55:13PM -0500, Conrad Sabatier wrote: > On Tue, Sep 14, 2004 at 11:52:36AM -0700, Brooks Davis wrote: > > On Tue, Sep 14, 2004 at 01:35:35PM -0500, Conrad J. Sabatier wrote: > > > I've been exploring running Linux binaries under a chrooted Linux she= ll > > > (entering the environment via "chroot /compat/linux /bin/bash"). I've > > > had remarkable success in installing and running quite a few rpms bey= ond > > > those found in the linux_base port, but have found that /dev support = (as > > > well as /proc) doesn't work as expected when running Linux apps within > > > such an environment. > > >=20 > > > Programs/scripts attempting to access, for example, /dev/null complain > > > about no such file or device. The same for /dev/ttyX, /dev/zero, etc. > > >=20 > > > Similar problems occur attempting to use /proc/*. I'm also experienc= ing > > > some networking problems, mainly with DNS resolution, but for now, my > > > main concern is /dev and /proc. > > > > > > I realize that the method I'm using for running Linux apps is not what > > > was intended with FreeBSD's Linux emulation mode, but it's interesting > > > enough that I want to continue delving into it. My goal is to have as > > > near-complete a working Linux environment as possible, one that would > > > support running practically any Linux app within this chrooted > > > environment and would, for all intents and purposes, appear as a "rea= l" > > > Linux to any programs running within it. > > >=20 > > > Are there any suggestions as to how I might remedy some of these > > > problems? Or is this simply beyond the scope/capabilities of the Lin= ux > > > emulator at this time? > >=20 > > You can provide a fairly complete linux /proc with linprocfs. >=20 > Yes, I am using linprocfs. But even so, certain parts are either missing= =20 > or not working properly. If you know what you need, it may be possiable to implement. Given that StarOffice and Java run I wouldn't think there could be that much left that a sane process could need. > > For the moment, you can also make > > nodes like /dev/null and /dev/zero with mknod, but I believe that > > functionality will be going away. >=20 > I've tried doing that, but the devices still don't function properly. I'= ve=20 > installed Linux's MAKEDEV package as well (into the chrooted environment)= ,=20 > and even with all the devices being created by the package's install scri= pt,=20 > they still don't work. If you use Linux's MAKEDEV to make them your 100% certain to fail. They need to be FreeBSD devices, not Linux ones. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBR8QJXY6L6fI4GtQRAhUeAKC5CVsZhxOhPwgWjdi7cCSIR8OIRgCgmdoO WQpZqx6X2wXlEB1F5Llbj+o= =Umgj -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 07:13:53 2004 Return-Path: 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 0F6B016A4CE for ; Wed, 15 Sep 2004 07:13:53 +0000 (GMT) Received: from web54209.mail.yahoo.com (web54209.mail.yahoo.com [206.190.39.251]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CA4743D1F for ; Wed, 15 Sep 2004 07:13:52 +0000 (GMT) (envelope-from urgaolong@yahoo.com) Message-ID: <20040915071352.23917.qmail@web54209.mail.yahoo.com> Received: from [61.165.83.2] by web54209.mail.yahoo.com via HTTP; Wed, 15 Sep 2004 08:13:52 BST Date: Wed, 15 Sep 2004 08:13:52 +0100 (BST) From: =?iso-8859-1?q?Gao=20Long?= To: "Conrad J. Sabatier" , freebsd-emulation@freebsd.org In-Reply-To: <20040914133535.3aa9ee21@dolphin.local.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: /dev, /proc support in a chrooted Linux emulation environment X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 07:13:53 -0000 I believe that you have run into the same problem I have met before. There are two main causes that make /dev unavailable to linux applications: first , the device names differs in the two operating system, like /dev/tty0 and /dev/ttyv0 in FreeBSD and Linux; second, the major and minor device numbers, which mostly checked and used in the glibc , differ in the two operating systems, as about the virtual terminals. The emulation layer of the FreeBSD doesn't care about these differences, but I want:) I placed a table mapping the devices names and major/minor numbers from Linux to FreeBSD styles.And find it work well, eliminating the differences of devices of the two different os from the applications' view, at least the difference of virtual terminals , hard disk partitions, even pysedo terminals, and are going to find anything that can't be mapped;) Yet , I don't have the complete knowledge about the devices, I think I have to study LANANA first , and the devices of FreeBSD second, and then , I may be able to develop the mapping better. What is more , I think I have already written a message on this mailing-list before, I may try to find it out. "Conrad J. Sabatier" wrote: I've been exploring running Linux binaries under a chrooted Linux shell (entering the environment via "chroot /compat/linux /bin/bash"). I've had remarkable success in installing and running quite a few rpms beyond those found in the linux_base port, but have found that /dev support (as well as /proc) doesn't work as expected when running Linux apps within such an environment. Programs/scripts attempting to access, for example, /dev/null complain about no such file or device. The same for /dev/ttyX, /dev/zero, etc. Similar problems occur attempting to use /proc/*. I'm also experiencing some networking problems, mainly with DNS resolution, but for now, my main concern is /dev and /proc. I realize that the method I'm using for running Linux apps is not what was intended with FreeBSD's Linux emulation mode, but it's interesting enough that I want to continue delving into it. My goal is to have as near-complete a working Linux environment as possible, one that would support running practically any Linux app within this chrooted environment and would, for all intents and purposes, appear as a "real" Linux to any programs running within it. Are there any suggestions as to how I might remedy some of these problems? Or is this simply beyond the scope/capabilities of the Linux emulator at this time? -- Conrad J. Sabatier -- "In Unix veritas" _______________________________________________ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscribe@freebsd.org --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 16 08:41:49 2004 Return-Path: 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 1C4FE16A4CE for ; Thu, 16 Sep 2004 08:41:49 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3EC943D2F for ; Thu, 16 Sep 2004 08:41:48 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 35E8250; Thu, 16 Sep 2004 10:41:48 +0200 (CEST) Date: Thu, 16 Sep 2004 10:41:48 +0200 From: Guido van Rooij To: freebsd-emulation@freebsd.org Message-ID: <20040916084148.GA8757@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: vmware3 panic on full screen X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 08:41:49 -0000 Hi, I am having the same problem as mentioned in http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/042423.html When trying to go full screen, my vmware3 panics. Is a solution to this problem known? -Guido From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 16 08:53:58 2004 Return-Path: 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 3F1D716A4CF for ; Thu, 16 Sep 2004 08:53:58 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E720143D54 for ; Thu, 16 Sep 2004 08:53:57 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.42 (FreeBSD)) id 1C7s1a-000IMy-QH; Thu, 16 Sep 2004 12:53:54 +0400 From: Vladimir Grebenschikov To: Guido van Rooij In-Reply-To: <20040916084148.GA8757@gvr.gvr.org> References: <20040916084148.GA8757@gvr.gvr.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 16 Sep 2004 12:53:54 +0400 Message-Id: <1095324834.62780.31.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: freebsd-emulation@freebsd.org Subject: Re: vmware3 panic on full screen X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 08:53:58 -0000 =F7 =DE=D4, 16/09/2004 =D7 10:41 +0200, Guido van Rooij =D0=C9=DB=C5=D4: > Hi, >=20 > I am having the same problem as mentioned in > http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/042423.h= tml >=20 > When trying to go full screen, my vmware3 panics. I have another, but probably related, problem When Vmware3 goes full-screen - it shows screen, but keyboard hard locked, I can't change consoles, I can't send keystrokes to vmware. I can't even run another X-server when logged via network. > Is a solution to this problem known? same question > -Guido --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 16 09:35:34 2004 Return-Path: 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 28AC016A559 for ; Thu, 16 Sep 2004 09:35:09 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id E07A343D49 for ; Thu, 16 Sep 2004 09:35:08 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 47C9F50; Thu, 16 Sep 2004 11:35:08 +0200 (CEST) Date: Thu, 16 Sep 2004 11:35:08 +0200 From: Guido van Rooij To: freebsd-emulation@freebsd.org Message-ID: <20040916093508.GA9435@gvr.gvr.org> References: <20040916084148.GA8757@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040916084148.GA8757@gvr.gvr.org> Subject: Re: vmware3 panic on full screen X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 09:35:34 -0000 On Thu, Sep 16, 2004 at 10:41:48AM +0200, Guido van Rooij wrote: > Hi, > > I am having the same problem as mentioned in > http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/042423.html > > When trying to go full screen, my vmware3 panics. > > Is a solution to this problem known? Hmm, I could have been a bit more verbose....This is on a 5.2.1-RELEASE-p4 system with the following vmware ports: rtc-2004.02.24.1_4 vmware3-3.2.1.2242_9,1 -Guido From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 16 14:47:48 2004 Return-Path: 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 2157F16A4CE for ; Thu, 16 Sep 2004 14:47:48 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id F243743D39 for ; Thu, 16 Sep 2004 14:47:47 +0000 (GMT) (envelope-from phusion2k@gmail.com) Received: by mproxy.gmail.com with SMTP id u22so92007cwc for ; Thu, 16 Sep 2004 07:47:45 -0700 (PDT) Received: by 10.11.98.78 with SMTP id v78mr5019cwb; Thu, 16 Sep 2004 07:47:45 -0700 (PDT) Received: by 10.11.100.10 with HTTP; Thu, 16 Sep 2004 07:47:45 -0700 (PDT) Message-ID: Date: Thu, 16 Sep 2004 09:47:45 -0500 From: phusion To: freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: VMware3 Mouse Question X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: phusion List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 14:47:48 -0000 I'm running VMware3 on FreeBSD 5.2.1, and been having a problem with my mouse configuration. In my vmware configuration setting I have the mouse as PS/2 and autodetect. When I start up the virtual machine it says the following: Cannot open host device "/dev/psm0": Device or resource busy. Unable to open host mouse device for full-screen VGA. Full-screen VGA will not be available. In my xorg.conf I have the following set: Option "Device" "/dev/psm0", and it works great in X-Windows. When I have the next setting in the vmware configuration it also gives me an error message about mouse type "sysmouse". autodetect, and specify /dev/psm0 Let me know how I can finally fix this little problem. Thanks.