From owner-freebsd-current@FreeBSD.ORG Mon Feb 23 05:08:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 124A316A4CE for ; Mon, 23 Feb 2004 05:08:08 -0800 (PST) Received: from lagavulin.lacave.net (212-100-178-134.adsl.easynet.be [212.100.178.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FAE743D1F for ; Mon, 23 Feb 2004 05:08:07 -0800 (PST) (envelope-from fred.letter@lacave.net) Received: (qmail 47343 invoked from network); 23 Feb 2004 13:08:04 -0000 Received: from lagavulin.lacave.net by localhost (uid 82) with lacave-scan, v1.0, 2.057503s; 23 Feb 2004 13:08:04 -0000 X-Remote-IP: 213.193.172.116 X-Virus-Flag: NO X-Virus-Scanner: F-Prot v4.3.3 (engine v3.14.8) X-Virus-Definitions: SIGN.DEF (18 February 2004), SIGN2.DEF (18 February 2004), MACRO.DEF (16 February 2004) Received: from 213-193-172-116.adsl.easynet.be (HELO laphroaig.local) (213.193.172.116) by lagavulin.lacave.net with SMTP; 23 Feb 2004 13:08:02 -0000 Date: Mon, 23 Feb 2004 14:05:45 +0100 From: "F. Senault" X-Mailer: The Bat! (v2.02.3 CE) Educational Organization: Secte de l'Elephant Fuschia X-Priority: 3 (Normal) Message-ID: <35020120.20040223140545@lacave.net> To: freebsd-current@freebsd.org In-Reply-To: <20040223104524.GA92278@drunkmonk.net> References: <20040223092822.362add30.pbrossin@swissgeeks.com> <20040223104524.GA92278@drunkmonk.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on lagavulin.lacave.net Subject: Re[2]: driver has wrong version and is disabled X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "F. Senault" List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 13:08:08 -0000 (Sorry for the direct reply, missed the reply to the list... :}) Monday, February 23, 2004, 11:45:24 AM, you wrote: > On 2004-02-23 09:28 +0100, Pierrick Brossin wrote: >> Hey! >> >> I'm having an issue there with 5.2. >> I just built and install the new world/kernel and I tried to recompile >> both the nvidia and the emu10kx (chibis' one) drivers but they return >> the following thing when loaded: >> >> WARNING: Device driver "nvidia" has wrong version and is disabled. >> Recompile KLD module. >> WARNING: Device driver "nvidiactl" has wrong version and is disabled. >> Recompile KLD module. > See here for patches submitted by matk. > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=203542+0+current/cvs-all FYI, I had the exact same problem with vinum, from fresh sources cvsupped today around 12:00 CST, with the added joy of the machine dropping to single user because it was unable to mount a disk. It seems that the exact same correction as above did the trick for me. I don't know if it's _correct_, but it made the system usable again for me... Simply : ---------------8<------------ 13:49 talisker:/usr/src# diff -u sys/dev/vinum/vinum.c.old sys/dev/vinum/vinum.c --- sys/dev/vinum/vinum.c.old Mon Feb 23 13:49:09 2004 +++ sys/dev/vinum/vinum.c Mon Feb 23 13:46:18 2004 @@ -63,8 +63,13 @@ .d_ioctl = vinumioctl, .d_strategy = vinumstrategy, .d_name = "vinum", +#if __FreeBSD_version < 502103 .d_maj = VINUM_CDEV_MAJOR, .d_flags = D_DISK +#else + .d_version = D_VERSION, + .d_flags = D_DISK|D_NEEDGIANT +#endif }; /* Called by main() during pseudo-device attachment. */ --------------->8------------ Note that I ain't no kernel hacker, so this patch may screw up things in some obscure way for you (and me, but it seems that my news spool hasn't exploded yet). > Amar. Fred -- Lord, grant me the serenity to accept the things I cannot change, the courage to try to change the things I can, and the wisdom to hide the bodies of the people I had to kill because they pissed me off. (Keith Eluard)