Re: r294070: KLD nvidia-modeset.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 16 Jan 2016 09:13:29 +0100
Am Fri, 15 Jan 2016 13:35:01 -0500
Michael Butler <imb_at_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:  
> >> 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.
> 
> 	imb
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

I imply - regarding my previous answer - that -DNO_CLEAN flag while building 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 of 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=201340).

Thank you very much.

Kind regards,

Oliver

Received on Sat Jan 16 2016 - 07:13:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC