From owner-freebsd-current@freebsd.org Sat Jan 16 08:13:37 2016 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 E85AAA83D94 for ; Sat, 16 Jan 2016 08:13:36 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABAD414A3 for ; Sat, 16 Jan 2016 08:13:36 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtp (envelope-from ) id <1aKLzG-0029bG-8g>; Sat, 16 Jan 2016 09:13:30 +0100 Received: from x5ce123a3.dyn.telefonica.de ([92.225.35.163] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1aKLzF-002z1z-To>; Sat, 16 Jan 2016 09:13:30 +0100 Date: Sat, 16 Jan 2016 09:13:29 +0100 From: "O. Hartmann" To: Michael Butler Cc: David Wolfskill , FreeBSD CURRENT 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> Organization: FU Berlin X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/SK9wafRD_uJ.23fAil.VDKe"; protocol="application/pgp-signature" X-Originating-IP: 92.225.35.163 X-ZEDAT-Hint: A X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 16 Jan 2016 08:13:37 -0000 --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 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--