From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 18 22:02:39 2005 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 CE8FF16A4CE for ; Fri, 18 Mar 2005 22:02:39 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E0E43D41 for ; Fri, 18 Mar 2005 22:02:39 +0000 (GMT) (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.13.1/8.13.1) with ESMTP id j2IM2cJ5008634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Mar 2005 17:02:38 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id j2IM2RTe053167; Fri, 18 Mar 2005 17:02:27 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16955.20467.474306.849814@grasshopper.cs.duke.edu> Date: Fri, 18 Mar 2005 17:02:27 -0500 (EST) To: freebsd-emulation@freebsd.org In-Reply-To: <20050316182800.GC91771@hub.freebsd.org> References: <20050316151639.GA6424@pancake.sggw.waw.pl> <20050316182800.GC91771@hub.freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: Re: user-mode-linux in fbsd 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: Fri, 18 Mar 2005 22:02:39 -0000 Kris Kennaway writes: > On Wed, Mar 16, 2005 at 04:16:40PM +0100, Krzysztof Drewicz wrote: > > Hello! > > > > I've tried COMPAT_LINUX and must admit: it works good. > > > > But is/will be ever posible to run user-mode-linux kernel inside of fbsd box? > > Not currently planned. Since it is "user mode linux", it is mostly just a linux binary. So we should be able to run the executable. Krzysztof: The executable you're running is probably static, which means that you need to brand it so that FreeBSD can know it is a linux binary. not a FreeBSD binary. Try: brandelf -t Linux linux-2.4.19-5 After doing this, it should run, but don't be surprised if it segfaults immediately... There is some problem with it mmapping the sparse file it creates that I never had time to track down. See the thread I started about this a little under one year ago. http://lists.freebsd.org/pipermail/freebsd-emulation/2004-April/000407.html I'm probably going to need uml again soon, so I may try to spend some time figuring this out. Then again, I may just fire up vmware and run uml under vmware like I did before.. Drew