Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 13:58:12 -0700
From:      "R. Tyler Croy" <tyler@monkeypox.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: linux64.ko fails to load in -CURRENT
Message-ID:  <20170728205812.5luxebr6t2kjgshy@blackberry.coupleofllamas.com>
In-Reply-To: <20170728123810.3e25acd0@kan>
References:  <20170728155032.ok5jkeewzvbe3kti@blackberry.coupleofllamas.com> <20170728123810.3e25acd0@kan>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
(replies inline)

On Fri, 28 Jul 2017, Alexander Kabaev wrote:

> On Fri, 28 Jul 2017 08:50:32 -0700
> "R. Tyler Croy" <tyler@monkeypox.org> wrote:
> 
> > I have noticed this over the past couple weeks with my -CURRENT
> > laptop that 64-bit linux compatibility is failing to load, and I'm
> > not entirely sure why. My current kernel is based off of r321626.
> > 
> > When I run `kldload linux64` it fails with the following:
> > 
> >     link_elf_obj: symbol elf64_linux_vdso_fixup undefined
> >     linker_load_file: /boot/kernel/linux64.ko - unsupported file type
> > 
> > 
> > It's unclear to me whether this is old cruft sitting around, a
> > regression, or something else entirely floating around my system. Any
> > pointer would help :)
> > 
> > 
> > Cheers
> > - R. Tyler Croy
> 
> I am guessing you have COMPAT_LINUX in your kernel and 32bit emulation
> is compiled into it. This does not work for linux64, one needs to build
> all three required components as modules:


COMPAT_LINUX32 was in the kernel configuration, guess I know that these things
are incompatible now :)

I think the handbook notes on statically linking linux support should probably
be removed:
<https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-install.html>;



- R. Tyler Croy

------------------------------------------------------
     Code: <https://github.com/rtyler>;
  Chatter: <https://twitter.com/agentdero>;
     xmpp: rtyler@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
------------------------------------------------------

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSQYoZaRujHSSvxiNcUJsfcP1HhbwUCWXulYgAKCRAUJsfcP1Hh
bw+nAKCNapCTuZU78gH92yzsgiRjBWeeCgCeI9GMNJk78BMF+bUWj63/APVeQUs=
=HWEj
-----END PGP SIGNATURE-----

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