From owner-freebsd-current@freebsd.org Sat Jan 16 08:59:44 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 5F4E3A82F6A for ; Sat, 16 Jan 2016 08:59:44 +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 1A052184C for ; Sat, 16 Jan 2016 08:59:43 +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 <1aKMht-002GKw-Bb>; Sat, 16 Jan 2016 09:59:37 +0100 Received: from x5ce13fde.dyn.telefonica.de ([92.225.63.222] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1aKMht-00325U-3G>; Sat, 16 Jan 2016 09:59:37 +0100 Date: Sat, 16 Jan 2016 09:59:32 +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: <20160116095932.79c9e9f9.ohartman@zedat.fu-berlin.de> In-Reply-To: <20160116094234.351a8275@ernst.home> References: <20160115191943.5bf06310@hermann> <20160115182416.GD46213@albert.catwhisker.org> <56993BD5.1000106@protected-networks.net> <20160116051140.1300dd5b@ernst.home> <20160116091658.4693a717.ohartman@zedat.fu-berlin.de> <20160116094234.351a8275@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_/CoElA9Mz46x8A6bnut8.MDV"; protocol="application/pgp-signature" X-Originating-IP: 92.225.63.222 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:59:44 -0000 --Sig_/CoElA9Mz46x8A6bnut8.MDV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Sat, 16 Jan 2016 09:42:34 +0100 Gary Jennejohn schrieb: > On Sat, 16 Jan 2016 09:16:58 +0100 > "O. Hartmann" wrote: >=20 > > Am Sat, 16 Jan 2016 05:11:40 +0100 > > Gary Jennejohn schrieb: > > =20 > > > 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= amd64, > > > > >> loading nvidia kernel module results in the error: > > > > >> > > > > >> KLD nvidia-modeset.ko: depends on kernel - not available or vers= ion > > > > >> 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 probl= em with > > > > > 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 rebui= ld > > > > all modules to match the kernel: > > > >=20 > > > > -------------------------------------------------------------------= ----- > > > > r294086 | hselasky | 2016-01-15 06:18:58 -0500 (Fri, 15 Jan 2016) |= 7 lines > > > > 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 for= ce > > > > 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 > >=20 > > I did build without Linux, but Linuxulator gets loaded now with the ne= w driver for > > nVidia boards (nividia-modeset.ko) automatically when loaded :-( > >=20 > > I might be wrong, sinde I also load VBox modules, but I havn't had this= issue before. > >=20 > > Using proposal x11/nvidia-driver PR 201340. > > =20 >=20 > Well, do you really need nvidia-modeset? It isn't a prerequisite for > installing the driver. And my Linuxulator starts fine without it. > I would simply delete it. >=20 I need the new module since nVidia claims having put a lot of logic there. = Without loading it, the screen remains black, block cursor available, no graphics, = but switching console remains functional. Loading nvidia.ko only leads to that behaviour, nvidia-modeset.ko reels in nvidia.ko and everything is fine again. As I ref= ered to PR 201340. CURRENT clainms to have a new 64bit capable Linuxulator, but it should reve= al itself as linux64.ko - as I extracted from several posts. I persoanly do not need Lin= ux ontop of FreeBSD, neither 32bit nor 64bit, I have my Linux servers and desktops were= FreeBSD isn't capable or to clumsy (mostly moderate or modern graphical devices and scien= tific GPGPU issues). So, I'd like to get rid of the linuxulator kernel module. --Sig_/CoElA9Mz46x8A6bnut8.MDV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWmgZ0AAoJEOgBcD7A/5N8tlUIAI94AcIpiCu32uje9k5pHEEz TDkgZKdNoXzMUs7R8qp1S6rPFreVEAD83nG7u3HdoScesjmL+F5Ges8MVgnbVLJU vyaXu3nv8jL31QXLEfCpCNHYmXL2dhs3IgT2iAP24Tll5SjI6Y7FXz15zGOhpT1z PoBUXXl0B6JWnyY+NWZ1XWycbh1ABdzOs2wYhq/Iq41QY/lJVkLoOUxcWGdmzmXA iqVriPMQGu3BMw7n23lJts8ulyuU98hqfbfou6B5+DhODY4JSzE3WVm5iKIv8NZ5 p94U8GFyRlRO5sma9Nz5iq+045dNLW9pia0I8TMObeCPsNgeD8UkPrHI1NE3dnQ= =ZqBd -----END PGP SIGNATURE----- --Sig_/CoElA9Mz46x8A6bnut8.MDV--