From owner-freebsd-current@freebsd.org Sat Jan 16 08:42:37 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 5B1B8A82834 for ; Sat, 16 Jan 2016 08:42:37 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 00FF71170 for ; Sat, 16 Jan 2016 08:42:37 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id u188so48860603wmu.1 for ; Sat, 16 Jan 2016 00:42:36 -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=/c1AOoUONbmrRJpGjq7/mz7KQGMUoo/scedZxAKLWP4=; b=XF9n/P2UkFzk0a7EIEO5ldC6XtCPLAFAssBkvLPz8MPyfCcI87EEyAdrnsBAqxUr4F T73wFfW73ZhERjJATNs14CIlTSZDgsS1O6jNo4DAJvrpLHn8PLiUAXZ7Rh+Z5m1KrCKG qDyIP2OXTZe5X72mYC84Au1CgDuSvZv/8P09YQcOYiTT/vVqp2Y7OkNTFDeSkVzoy0bY 7xPDMQO+W+qbjVgK7sz95uJWj3rxGnWGS3Ecr3jALEDSbpH7jMR2jTqEO7xj4/rxwXT2 Nn1lraMUyGR9oTlk9mVjS0T1Ha5bisIN3i5g9tBznGAWCZmlDXSS0vj6R6uEFXtXZi59 v8Aw== 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=/c1AOoUONbmrRJpGjq7/mz7KQGMUoo/scedZxAKLWP4=; b=VpPvBkMZK6urtZlNmZsXq7HHVf7gQaIMizWpP2jlH9TJY3gMC4rIfRHv6deAkUG1zo tNHB3sz4RIzykUQMyRArXID1U9wgIRCEYuueOjppTb6xge1BLB02F2/X0Fs51M/H3Jry 1hc0Hon848wFfMKn9gC4OA206MlCjWTigEUTMSB+08x7Sc6JlrxAox+PhFl5ncYwwBdU 3XtwPFg3Amy8nq0nPKlWozT58MGQ4H9BPUD7HtxdWaXRHmyE4S2/aOnjwtiZ0seN34xr mxvwEhx3o1WgnaUfb12KH2Q/hyhxW1I0lfOGGGcl60pMrxWe+HscjHKehzDC0QEZl1Le GxCQ== X-Gm-Message-State: AG10YOS3a8CkE0Vt9WoQLCKcOVzpy1ROzWvqwuAwvR5MBDBp1/JDa48JLKnrctQQP2l/Zg== X-Received: by 10.28.87.21 with SMTP id l21mr2660959wmb.8.1452933755201; Sat, 16 Jan 2016 00:42:35 -0800 (PST) Received: from ernst.home (p578E3D37.dip0.t-ipconnect.de. [87.142.61.55]) by smtp.gmail.com with ESMTPSA id s8sm14064076wje.35.2016.01.16.00.42.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jan 2016 00:42:34 -0800 (PST) Date: Sat, 16 Jan 2016 09:42:34 +0100 From: Gary Jennejohn To: "O. Hartmann" 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: <20160116094234.351a8275@ernst.home> In-Reply-To: <20160116091658.4693a717.ohartman@zedat.fu-berlin.de> 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> 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 08:42:37 -0000 On Sat, 16 Jan 2016 09:16:58 +0100 "O. Hartmann" wrote: > Am Sat, 16 Jan 2016 05:11:40 +0100 > Gary Jennejohn schrieb: > > > 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. > > > > 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. > 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. -- Gary Jennejohn