From owner-freebsd-current@freebsd.org Tue Mar 21 12:47:28 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 E0AB4D16622; Tue, 21 Mar 2017 12:47:28 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 730871F50; Tue, 21 Mar 2017 12:47:28 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id n11so2726013wma.0; Tue, 21 Mar 2017 05:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=pLN1Olj46FKX3NV4nxCcL/FW+lb0EDmY+GiYb1p93PQ=; b=qwnaZKAqGYdh1PHlFREAUd0I2C5K/XcKD1Yye8I6av4q5ErOGo/LD3xJ4LGCxOat1z 7/bYKGDkq3/A19o3WY+14W0A9o2cMvi4wF1zw6KIMiXoy0OLgpaPGK4hVDMd8C9RUF0I 26cN0Nv5iONdRFqBOGKFtOBXbN8shqQfpcVB3r4l/WgwC3STYt6igxZdhPIceqsxJpS9 IzZVNq1K0WBL8e1d/MOss2mvArNR/AIyC8wjsMDiZMR5/658po8/gZq3UAIOuAx+zR+X kivgwqCfkDWwNMjPDJnwo9AYhtqqCsurJYQpMJwWK5H4uzEiaYL0wBPPbcesEgUZbnzy i6wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=pLN1Olj46FKX3NV4nxCcL/FW+lb0EDmY+GiYb1p93PQ=; b=iN/A165qn8MkqlaV1R0f02CeATjt7v9dn2OTzQRXUmBGUbBRZ9dFE7JawXOIVWcbwW LjAH6Qy00IAw3f/L35WazfNTHmsrT7+3cCEA05kyZYEHoiYiNNlOJp8jyXcao/soYB6n JXE00GfUhQtnO/i0UGFqSWuU8V+Hhyer6kvT9IFoyWgeZj78T55X/Xa6jAzcP7ulKWHR Pld1iI+EYbmHaFVaNM+3wM7MLEyP3m7CeLH4qXIIks7BStuB9cy3219caZ3SZg1wFG5s VqQblRYu/qZ+BbxBEIqbsCTY0U5lyfvb0PFITuY2NmhG66SFoPn20lwuOhoE7SB2Yztx GOjw== X-Gm-Message-State: AFeK/H2sh1jrQEFinTkWBuwFf3VeyADLD5ev3r9VRMH3GCdEBpNTO63Z1ndhacUMDDkeEA== X-Received: by 10.28.55.138 with SMTP id e132mr2612860wma.6.1490100445690; Tue, 21 Mar 2017 05:47:25 -0700 (PDT) Received: from ernst.home (p4FCA6070.dip0.t-ipconnect.de. [79.202.96.112]) by smtp.gmail.com with ESMTPSA id t63sm17504173wme.16.2017.03.21.05.47.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Mar 2017 05:47:24 -0700 (PDT) Date: Tue, 21 Mar 2017 13:47:23 +0100 From: Gary Jennejohn To: Mathieu Arnold Cc: Chris H , Kevin Lo , FreeBSD CURRENT , FreeBSD ports Subject: Re: ELF binary type "3" not known. Message-ID: <20170321134723.6fd5a1b0@ernst.home> In-Reply-To: <4432f7fd-e18a-e8fe-9f7c-681e300c0ff1@FreeBSD.org> References: <5014933e6348cb6eedcc2d33eab7b21d@ultimatedns.net> <20170321051455.GA38562@ns.kevlo.org> <6925bec4dc110e60a955ee773a368aef@ultimatedns.net> <4432f7fd-e18a-e8fe-9f7c-681e300c0ff1@FreeBSD.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 12:47:29 -0000 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. -- Gary Jennejohn