Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2016 09:13:29 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Michael Butler <imb@protected-networks.net>
Cc:        David Wolfskill <david@catwhisker.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r294070: KLD nvidia-modeset.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type
Message-ID:  <20160116091329.6a0edf19.ohartman@zedat.fu-berlin.de>
In-Reply-To: <56993BD5.1000106@protected-networks.net>
References:  <20160115191943.5bf06310@hermann> <20160115182416.GD46213@albert.catwhisker.org> <56993BD5.1000106@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/SK9wafRD_uJ.23fAil.VDKe
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Fri, 15 Jan 2016 13:35:01 -0500
Michael Butler <imb@protected-networks.net> schrieb:

> On 01/15/16 13:24, David Wolfskill wrote:
> > On Fri, Jan 15, 2016 at 07:19:43PM +0100, O. Hartmann wrote: =20
> >> On FreeBSD 11.0-CURRENT #1 r294070: Fri Jan 15 06:21:20 CET 2016 amd64,
> >> loading nvidia kernel module results in the error:
> >>
> >> KLD nvidia-modeset.ko: depends on kernel - not available or version
> >> mismatch linker_load_file: Unsupported file type
> >>
> >> This worked prior to r294070
> >> .... =20
> >=20
> > My most recent build of head was at r294086; I didn't see a problem with
> > nvidia -- but I have 'PORTS_MODULES=3Dx11/nvidia-driver' in /etc/src.co=
nf,
> > so it's rebuilt every time I rebuild the kernel.
> >=20
> > Have you rebuilt nvidia-driver recently? =20
>=20
> This is as a consequence of the following change. You need to rebuild
> all modules to match the kernel:
>=20
> ------------------------------------------------------------------------
> r294086 | hselasky | 2016-01-15 06:18:58 -0500 (Fri, 15 Jan 2016) | 7 lin=
es
> Changed paths:
>    M /head/sys/compat/linuxkpi/common/include/linux/pci.h
>    M /head/sys/compat/linuxkpi/common/src/linux_pci.c
>    M /head/sys/sys/param.h
>=20
> Implement support for PCI suspend, resume and shutdown events in the
> LinuxKPI. Fix a few spaces to tabs. Bump the FreeBSD version to force
> recompilation of existing KMODs.
>=20
> 	imb
>=20
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

I imply - regarding my previous answer - that -DNO_CLEAN flag while buildin=
g kernel will
not do. As I wrote, I rebuild the kernel with "make kernel" and the module =
could be
loaded again.

But I see for now, that the Linuxulator modules are loaded - idenependent o=
f disabling
Linux in the configuration of x11/nvidia-driver (I use the proposal from PR=
 201340, found
here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201340).

Thank you very much.

Kind regards,

Oliver

--Sig_/SK9wafRD_uJ.23fAil.VDKe
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWmfupAAoJEOgBcD7A/5N85jAIAJrc2SVHn1lF6/GEClO2+IjI
4oV7g/M0BnQbm6JxcHlhrMmV0M2B3kQT5rYzNjCmdDvVVEa+tpSBNl9OkF9tWbQH
1kuroyfzXGQ/k1o/VylG9vqfaPyNcYo6Nt6oxXTYAvEU0YFvTKF8iMpEFCEVLHIY
SiaecB//DpA509tmaY8Xo9uqI/CAOhSaVLGFZ5ExRF3QVU6H2NlZAEWKnsp0al/S
Zfvzg3uQESvbKuMc3r7lLLafirbMZI+t3PXEdJ5ZOmoMcku0tl1PjA0QHgZ+hOqk
AdfD1NQ0CrcMpg1C3o/fW6vvqm1IRL/7EeNqCb/sdpuNif89I0k7LAQ5QYgIfwg=
=O9rR
-----END PGP SIGNATURE-----

--Sig_/SK9wafRD_uJ.23fAil.VDKe--



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