From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 29 06:46:14 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E158106568D for ; Tue, 29 Apr 2008 06:46:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF238FC32 for ; Tue, 29 Apr 2008 06:46:13 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.248] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JqjbQ-0007uy-Hq; Tue, 29 Apr 2008 10:46:12 +0400 To: Kostik Belousov References: <48164CD5.9030109@gmail.com> <790a9fff0804281537p27003437p10ff1d9bf7c7bff@mail.gmail.com> <20080429045001.GW18958@deviant.kiev.zoral.com.ua> From: Boris Samorodov Date: Tue, 29 Apr 2008 10:46:10 +0400 In-Reply-To: <20080429045001.GW18958@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Tue\, 29 Apr 2008 07\:50\:01 +0300") Message-ID: <42172269@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, Scot Hetzel , Walter Venable Subject: Re: linux_base-f8 giving me guff 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: Tue, 29 Apr 2008 06:46:14 -0000 (drop freebsd-ports@ from cross posting) On Tue, 29 Apr 2008 07:50:01 +0300 Kostik Belousov wrote: > On Mon, Apr 28, 2008 at 05:37:18PM -0500, Scot Hetzel wrote: > > On Mon, Apr 28, 2008 at 5:16 PM, Walter Venable wrote: > > > /usr/ports/emulators/linux_base-f8 $ sudo make > > > ===> linux_base-f8-8_3 compat.linux.osrelease: 2.4.2 is not supported. > > > *** Error code 1 > > > > > > Stop in /usr/ports/emulators/linux_base-f8. > > > > > > Ok -- I get it, linux kernel 2.4.2 isn't supported. How do I get around > > > this issue? I'm running 6.3-RELEASE-p2... > > > > sysctl compat.linux.osrelease=2.6.16 > The question that seems to be relevant there is why the port refuses to > install with some compat.linux.osrelease value ? Does port run some > linux binary during install time (unlikely) ? Any linux port that installs a shared library (including linux_base ports) runs linux ldconfig while (at the very end of) installing. Since that ldconfig cannot run with such an old kernel it stops with the error. > I think the port should ignore even absence of the linux.ko; the value > of the linux.osrelease is purely runtime issue as opposed to the install > time. WBR -- bsam