From owner-freebsd-current@freebsd.org Tue Mar 21 17:05:57 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC233D165EE for ; Tue, 21 Mar 2017 17:05:57 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8236777F for ; Tue, 21 Mar 2017 17:05:56 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id v2LH63GN004333 for ; Tue, 21 Mar 2017 10:06:09 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <20170321134723.6fd5a1b0@ernst.home> References: <5014933e6348cb6eedcc2d33eab7b21d@ultimatedns.net> <20170321051455.GA38562@ns.kevlo.org> <6925bec4dc110e60a955ee773a368aef@ultimatedns.net> <4432f7fd-e18a-e8fe-9f7c-681e300c0ff1@FreeBSD.org>, <20170321134723.6fd5a1b0@ernst.home> From: "Chris H" Subject: Re: ELF binary type "3" not known. Date: Tue, 21 Mar 2017 10:06:09 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <7002670eabc16779ed8f141f24a6771d@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 21 Mar 2017 17:05:57 -0000 On Tue, 21 Mar 2017 13:47:23 +0100 Gary Jennejohn wrote > On Tue, 21 Mar 2017 10:15:35 +0100 > Mathieu Arnold wrote: > > > Le 21/03/2017 __ 06:22, Chris H a __crit : > > > On Tue, 21 Mar 2017 13:14:56 +0800 Kevin Lo wrote > > > > > >> On Mon, Mar 20, 2017 at 09:11:44PM -0700, Chris H wrote: > > >>> On Mon, 20 Mar 2017 20:56:05 -0700 "Chris H" > > >>> wrote > > >>>> I'm not sure which of the two lists I'm directing > > >>>> this to is the best/correct one. So I picked both. > > >>>> > > >>>> To the point; I received this message during a big > > >>>> build session. I was only able to catch the one from > > >>>> x11/nvidia-driver in such a way as to actually get > > >>>> the entire message: > > >>>> > > >>>> Installing nvidia-driver-375.26_1... > > >>>> ELF binary type "3" not known. > > >>>> /bin/sh: /compat/linux/sbin/ldconfig: Exec format error > > >>>> > > >>>> I built && installed emulators/linux_base-c7 *prior* > > >>>> to installing this. This is on a: > > >>>> > > >>>> FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r314700: > > >>>> Sun Mar 5 09:01:30 PST 2017 amd64 > > >>> Sorry. Forgot to add the ports revision. > > >>> > > >>> revision 435383 > > >> Did you do kldload linux64 ? > > > Thanks for the reply, Kevin. > > > Yes. Both before building/installing nvidia-driver, > > > and via loader.conf(5): > > > > > > linux_load="YES" > > > nvidia-modeset_load="YES" > > > > > > > So your answer is not "Yes" but "No", you don't have linux64, you need > > linux64_load=yes too. > > > > Or remove the option for Linux support (make config). I've never > used it myself and have no idea what benefits it's supposed to > provide. > > That would eliminate your Linux problems re nvidia-driver. Last I checked (actually read all the data), the Linux ABI is pretty much a requirement. As it's (nvidia-driver) actually the Linux (version of the) driver. But since FreeBSD (can) supports the Linux ABI, it just "works". > > -- > Gary Jennejohn Thanks for taking the time to reply, Gary. --Chris