From owner-freebsd-current@FreeBSD.ORG Mon Jan 8 18:00:17 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F281016A492 for ; Mon, 8 Jan 2007 18:00:17 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4BC13C448 for ; Mon, 8 Jan 2007 18:00:17 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l08I0EgR007671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Jan 2007 19:00:14 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l08I0Eei007670; Mon, 8 Jan 2007 19:00:14 +0100 (CET) Date: Mon, 8 Jan 2007 19:00:14 +0100 From: Divacky Roman To: Boris Samorodov Message-ID: <20070108180014.GA4540@stud.fit.vutbr.cz> References: <20070108165157.GA94941@stud.fit.vutbr.cz> <57417212@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57417212@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: current@freebsd.org Subject: Re: broken linuxulator in -current as of Jan 8 17:51:45 CET X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2007 18:00:18 -0000 On Mon, Jan 08, 2007 at 08:32:03PM +0300, Boris Samorodov wrote: > On Mon, 8 Jan 2007 17:51:57 +0100 Divacky Roman wrote: > > > can someone confirm that running for example /bin/ls > > in linux compat doesnt work. here it goes like: > > > witten ~# /compat/linux/bin/ls > > /compat/linux/bin/ls: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid > > I don't have -current ATM, but if you won't find an error at your > config, I'll definitely do. I didnt change anything... it just stopped working :( I am doing non-fbsd work these days so I really cannot imagine what changed > > I cannot see what can be wrong. I tried to backout all changes that > > alexander commited yesterday but it didnt help. is it regression > > local to my machine or is the problem -current wide? > > /usr/ports/UPDATING (20060616: AFFECTS users of emulation/linux_base-*) > has some advices how to find and diagnose the culprit. The most > typical case here is changing the standard way of library searching > (i.e. LD_* paths, etc.). I dont have anything like that set... it looks like a bug in kernel/linux_base because the trace looks like: Jan 8 18:57:59 witten kernel: linux(1582): open(/lib/tls/librt.so.1, 0x0, 0x0) Jan 8 18:57:59 witten kernel: linux(1582): open returns error 2 Jan 8 18:57:59 witten kernel: linux(1582): open(/compat/linux/lib/librt.so.1, 0x0, 0x0) Jan 8 18:57:59 witten kernel: linux(1582): open returns error 0 Jan 8 18:57:59 witten kernel: linux(1582): open(/usr/lib/tls/librt.so.1, 0x0, 0x0) Jan 8 18:57:59 witten kernel: linux(1582): open returns error 2 Jan 8 18:57:59 witten kernel: linux(1582): open(/usr/lib/librt.so.1, 0x0, 0x0) Jan 8 18:57:59 witten kernel: linux(1582): open returns error 0 Jan 8 18:57:59 witten kernel: linux(1582): exit_group(127) ie. it opens the right library but IGNORES it and the iterates through the rest and then stops on fbsd library saying that its not compatible... from within jail it works (because it must stop at the correct library). I tried to reinstall fc4 base but it didnt help. I see this behaviour on both fc4 and gentoo base. I even tried to cvsup to yesterdays sources (when it worked for me) but it didnt help either.. I am really hopeless ;( roman