From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 16 14:12:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43CFD16A41F for ; Fri, 16 Sep 2005 14:12:37 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D569743D48 for ; Fri, 16 Sep 2005 14:12:36 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j8GECZVC018258; Fri, 16 Sep 2005 10:12:35 -0400 (EDT) Date: Fri, 16 Sep 2005 10:12:34 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "Daniel O'Connor" In-Reply-To: <200509162329.49465.doconnor@gsoft.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-hackers@freebsd.org, Wouter van Rooij Subject: Re: ELF binary type "0" not known. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 14:12:37 -0000 On Fri, 16 Sep 2005, Daniel O'Connor wrote: > On Friday 16 September 2005 23:26, Peter Pentchev wrote: > > Yep, I think this probably takes care of step 1 and possibly 3b, although > > the message that Wouter gets is making me think that for some reason > > the port has *not* run brandelf on the executables - if brandelf had been > > run, wouldn't the error message mention ELF binary type 3, not 0? > > > > So I went ahead and included all the steps, just to cover all bases :) > > I'd be *very* suprised.. > I expect he just downloaded an RPM from somewhere.. It's probably just not having linux.ko/linprocfs.ko loaded. $ kldstat Id Refs Address Size Name 1 1 0xc0400000 498518 kernel $ /usr/compat/linux/bin/ls ELF binary type "0" not known. $ sudo kldload linux.ko $ kldstat Id Refs Address Size Name 1 5 0xc0400000 498518 kernel 2 1 0xc2a1a000 16000 linux.ko $ /usr/compat/linux/bin/ls /bin basename chgrp cp echo fgrep ls mv rm setserial stty true bash chmod date egrep grep mkdir nice rmdir sh sync uname bash2 chown dd false ln mknod pwd rpm sleep touch -- DE