Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2016 09:16:58 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Gary Jennejohn <gljennjohn@gmail.com>
Cc:        Michael Butler <imb@protected-networks.net>, 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:  <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>

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

[-- Attachment #1 --]
Am Sat, 16 Jan 2016 05:11:40 +0100
Gary Jennejohn <gljennjohn@gmail.com> schrieb:

> On Fri, 15 Jan 2016 13:35:01 -0500
> Michael Butler <imb@protected-networks.net> wrote:
> 
> > On 01/15/16 13:24, David Wolfskill wrote:  
> > > On Fri, Jan 15, 2016 at 07:19:43PM +0100, O. Hartmann wrote:    
> > >> 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
> > >> ....    
> > > 
> > > My most recent build of head was at r294086; I didn't see a problem with
> > > nvidia -- but I have 'PORTS_MODULES=x11/nvidia-driver' in /etc/src.conf,
> > > so it's rebuilt every time I rebuild the kernel.
> > > 
> > > Have you rebuilt nvidia-driver recently?    
> > 
> > This is as a consequence of the following change. You need to rebuild
> > all modules to match the kernel:
> > 
> > ------------------------------------------------------------------------
> > 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
> > 
> > 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.
> >   
> 
> Or build it without Linux support.
> 
> Mine was built on October 17, 2015 and I'm running r294095 without
> a problem.
> 

I did build without Linux, but Linuxulator  gets loaded now with the new driver 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 issue before.

Using proposal x11/nvidia-driver PR 201340.

Kind regards,
Oliver

[-- Attachment #2 --]
-----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-----
help

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