From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 07:27:29 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org 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 E650116A6F0; Wed, 20 Sep 2006 07:27:28 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59E3143D55; Wed, 20 Sep 2006 07:27:27 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D5BD.dip.t-dialin.net [84.165.213.189]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8K741ak054419; Wed, 20 Sep 2006 09:04:01 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8K7RKD4025971; Wed, 20 Sep 2006 09:27:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 20 Sep 2006 09:27:09 +0200 Message-ID: <20060920092709.hkhg24ii8oggc0ok@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 20 Sep 2006 09:27:09 +0200 From: Alexander Leidinger To: "Marc G. Fournier" References: <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> <20060919181052.T1031@ganymede.hub.org> In-Reply-To: <20060919181052.T1031@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, gkovesdan@t-hosting.hu Subject: Re: /dev/null: No such file or directory X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Sep 2006 07:27:29 -0000 Quoting "Marc G. Fournier" (from Tue, 19 Sep =20 2006 18:11:24 -0300 (ADT)): > On Tue, 19 Sep 2006, Alexander Leidinger wrote: > >> Quoting Brooks Davis (from Mon, 18 Sep =20 >> 2006 21:25:30 -0500): >> >>> On Mon, Sep 18, 2006 at 11:08:42PM -0300, Marc G. Fournier wrote: >>>> >>>> I have linux_base-fc-4_8 installed, clean install, and the two sysctl >>>> referred to in /usr/ports/UPDATING haven't been changed from the defaul= t: >>>> >>>> # sysctl -a | grep compat.linux.osname >>>> compat.linux.osname: Linux >>>> # sysctl -a | grep compat.linux.osrelease >>>> compat.linux.osrelease: 2.4.2 >>>> >>>> But, when I try to run configure from a chroot environment, I get: >>>> >>>> ../gcc-4.0.3/configure: line 533: /dev/null: No such file or directory >>>> >>>> I've searched through /usr/ports/UPDATING, but am not finding anything >>>> except for the section on "remove /compat/linux completely", which I've >>>> done ... >>>> >>>> So, either the port isn't creating something, or I'm missing something = in >>>> the UPDATING doc :( >>> >>> You must have devfs containing at least null and zero mounted in your >>> chroot. >> >> Right. Additionally I suggest to use a linux_dist-gento-* port if =20 >> you want to do cross-development. The default linux_base port only =20 >> contains stuff to run the programs in the ports collection (and =20 >> maybe a little bit more). To compile the stuff to test the =20 >> linuxolator in -current I use linux_dist-gento-stage3. You should =20 >> mount devfs, linprovfs and maybe linsysfs in the chroot. > > Is there a trick I need to do to get stage3 to install in a jail? :) I don't know, but what about installing it on the host (with a PREFIX =20 which is ok for you) and then making a jail out of it (so you can ssh =20 to a linux-in-a-jail)? Maintainer CCed (and therefore no quote-trimming). > dev/ttya4: Can't restore device node: Operation not permitted > dev/radio49: Can't restore device node: Operation not permitted > dev/sdd14: Can't restore device node: Operation not permitted > dev/xda8: Can't restore device node: Operation not permitted > dev/mcdx0: Can't restore device node: Operation not permitted > dev/scd3: Can't restore device node: Operation not permitted > dev/vcs54: Can't restore device node: Operation not permitted > dev/fd0u800: Can't restore device node: Operation not permitted > *** Error code 1 > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org= ) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 Bye, Alexander. --=20 I think I am an overnight sensation right now!! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137