Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 17:02:27 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-emulation@freebsd.org
Subject:   Re: user-mode-linux in fbsd
Message-ID:  <16955.20467.474306.849814@grasshopper.cs.duke.edu>
In-Reply-To: <20050316182800.GC91771@hub.freebsd.org>
References:  <20050316151639.GA6424@pancake.sggw.waw.pl> <20050316182800.GC91771@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16955.20467.474306.849814>