From owner-freebsd-current@freebsd.org Sat Jan 16 04:11: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 30D7FA84E7A for ; Sat, 16 Jan 2016 04:11:44 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAD971F22 for ; Sat, 16 Jan 2016 04:11:43 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id f206so44996418wmf.0 for ; Fri, 15 Jan 2016 20:11:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=IHzDN1Bkp/sD3yfyuRl6SZgLxLX0DSZ+2oc3GezEKFE=; b=Pq811w8spkBrsyMKuz+0ggr2AhRP1zIAhbSfPvYFAD8t7FGqPDdag5tM2NW5tOp0No OQL44zosjX4fJZUgcaOR/V8cQpVe/yKrD9MsYcEuDmDkic/MFYvEo1vvK2tIZMA36V67 KXYqabBuGYhldAQKx3UMKMoiv9gV9Tvt/iNSBSWNvwGeOTnt4HkgkHtIpP5+8gkcwxd3 6FzR1fiCmp/+ugb4qVOak2u2jO2Cs5c3YcnIelZ0AODjaPa73jTO3OE7moPMMJPFG5hg j+GJM1jJds+4kFs3jRecFCwFPfdSvLLTAxrMaILGbB6nm3U3eREL8qJezH2nVIBipUv9 TvRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-type :content-transfer-encoding; bh=IHzDN1Bkp/sD3yfyuRl6SZgLxLX0DSZ+2oc3GezEKFE=; b=WqbHvYQgi3KBGfy+5WqLdwqPTSfUty7/19+Z3TnqQVZ3y5QzhcKInsEXgCNTqCs+e7 VAXLFzBffk92H+jYV1JijZzyQbIAUS4DhwiS6dcHabKax0F9PgczJ+z2/4ZCCwVikWln 1tEgdI7g7mkXmjuMjdKXs6BOcUNV1T4dJCPQ1pVeI0m1WyDFXh5cVqVbTn28XUmJP78/ VPs6sxnGKQu6/wpwyd/2wYxBe1CR3GsDzarJWO/AHlZXL4fPADCjoMSyMLeeOexY98Ko /MDzt/NrGAPXfwodyNe5smCH1qm0hknsv12nSJJWA6txEURXQrLpa/Mg8eHBFccgCuwJ PtfQ== X-Gm-Message-State: ALoCoQnFHKJ1ve5cQR9a6LtTjQn3AWkv7vgD3u/feBAtRzwVcSiplL9BkktwbAv5tcwlOUo4fSU6B/1fgGb24JQotIEBDPd9aQ== X-Received: by 10.195.12.75 with SMTP id eo11mr13128241wjd.50.1452917502350; Fri, 15 Jan 2016 20:11:42 -0800 (PST) Received: from ernst.home (p578E3D37.dip0.t-ipconnect.de. [87.142.61.55]) by smtp.gmail.com with ESMTPSA id v82sm5200688wmv.12.2016.01.15.20.11.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 20:11:41 -0800 (PST) Date: Sat, 16 Jan 2016 05:11:40 +0100 From: Gary Jennejohn To: Michael Butler Cc: David Wolfskill , "O. Hartmann" , 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: <20160116051140.1300dd5b@ernst.home> In-Reply-To: <56993BD5.1000106@protected-networks.net> References: <20160115191943.5bf06310@hermann> <20160115182416.GD46213@albert.catwhisker.org> <56993BD5.1000106@protected-networks.net> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 04:11:44 -0000 On Fri, 15 Jan 2016 13:35:01 -0500 Michael Butler 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. -- Gary Jennejohn