From owner-freebsd-current@freebsd.org Sat Jan 16 08:17:05 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 94E7BA83E91 for ; Sat, 16 Jan 2016 08:17:05 +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 5832C1624 for ; Sat, 16 Jan 2016 08:17:05 +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 <1aKM2d-002A9u-1o>; Sat, 16 Jan 2016 09:16:59 +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 <1aKM2c-002zL0-PK>; Sat, 16 Jan 2016 09:16:59 +0100 Date: Sat, 16 Jan 2016 09:16:58 +0100 From: "O. Hartmann" To: Gary Jennejohn Cc: Michael Butler , 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: <20160116091658.4693a717.ohartman@zedat.fu-berlin.de> In-Reply-To: <20160116051140.1300dd5b@ernst.home> References: <20160115191943.5bf06310@hermann> <20160115182416.GD46213@albert.catwhisker.org> <56993BD5.1000106@protected-networks.net> <20160116051140.1300dd5b@ernst.home> 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_/U4b2zo2jZivrzfJnFVG4OwG"; 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:17:05 -0000 --Sig_/U4b2zo2jZivrzfJnFVG4OwG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Sat, 16 Jan 2016 05:11:40 +0100 Gary Jennejohn schrieb: > On Fri, 15 Jan 2016 13:35:01 -0500 > Michael Butler wrote: >=20 > > On 01/15/16 13:24, David Wolfskill wrote: =20 > > > 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 amd= 64, > > >> 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 w= ith > > > nvidia -- but I have 'PORTS_MODULES=3Dx11/nvidia-driver' in /etc/src.= conf, > > > 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 l= ines > > 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 >=20 > Or build it without Linux support. >=20 > Mine was built on October 17, 2015 and I'm running r294095 without > a problem. >=20 I did build without Linux, but Linuxulator gets loaded now with the new dr= iver for nVidia boards (nividia-modeset.ko) automatically when loaded :-( I might be wrong, sinde I also load VBox modules, but I havn't had this iss= ue before. Using proposal x11/nvidia-driver PR 201340. Kind regards, Oliver --Sig_/U4b2zo2jZivrzfJnFVG4OwG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWmfx6AAoJEOgBcD7A/5N8q1AH/i9XuFX4EHj3yQ7joCf/eI0R nprAQXzO+ge+nxZGJjbpb/fMfTGlNbm/rDIqhaF+10h0E4hLCH2EhOQbkna84aEn ys9LWn6Jsj1ST9ktFAMwwFtD/93MVsCJVeQrzLDjO1GH7AcjZzRSagv9kHtZRSHg 6tGQ2NypJGeJ9CNbFwk7ny9/MHY7XRP23gJB8Adf5TaivytURPTmrnbStiQmoGFs 30BN3B5UqAkdZvmYdUU5E2EuHBkl7tCaojz6PCmlmQmPSB4MPtbekiC0RO3+nql3 qQE864LOENF6pHa1nXNaOsnzgGva28lWMCUgSBHC5rxEL5NuvgiQJfYt7nFyPQ8= =es3P -----END PGP SIGNATURE----- --Sig_/U4b2zo2jZivrzfJnFVG4OwG--