Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 10:06:09 -0700
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-current@freebsd.org>
Subject:   Re: ELF binary type "3" not known.
Message-ID:  <7002670eabc16779ed8f141f24a6771d@ultimatedns.net>
In-Reply-To: <20170321134723.6fd5a1b0@ernst.home>
References:  <5014933e6348cb6eedcc2d33eab7b21d@ultimatedns.net> <f5c7add0fa5a0151eff9bd0665e58e34@ultimatedns.net> <20170321051455.GA38562@ns.kevlo.org> <6925bec4dc110e60a955ee773a368aef@ultimatedns.net> <4432f7fd-e18a-e8fe-9f7c-681e300c0ff1@FreeBSD.org>, <20170321134723.6fd5a1b0@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Mar 2017 13:47:23 +0100 Gary Jennejohn <gljennjohn@gmail.com> wrote

> On Tue, 21 Mar 2017 10:15:35 +0100
> Mathieu Arnold <mat@FreeBSD.org> wrote:
> 
> > Le 21/03/2017 __ 06:22, Chris H a __crit :
> > > On Tue, 21 Mar 2017 13:14:56 +0800 Kevin Lo <kevlo@FreeBSD.org> 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" <bsd-lists@bsdforge.com>
> > >>> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7002670eabc16779ed8f141f24a6771d>