From owner-freebsd-current@FreeBSD.ORG Thu Oct 6 00:47:46 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FDF31065675 for ; Thu, 6 Oct 2011 00:47:46 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E9B328FC14 for ; Thu, 6 Oct 2011 00:47:45 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so3298107bkb.13 for ; Wed, 05 Oct 2011 17:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5CHyQE0EpqircYkxxNlMC8MjIfER/aLx5emMR/v4mSI=; b=DgqCn9TcGcaBdS8Jocl8B4HHVGjwm9CDPu4aJsg+/e+imjzx1xahxjybWQhnaIRjg5 gOblyfxy30+DfdbDen1t8ddptT4ieWbAopNJPMSVTJr4Sma7BuWCUOLF2I43gEvSJA2K +pXfDgDB94QoU92nrnb3/+EqvrTvEAhz5yJ7w= MIME-Version: 1.0 Received: by 10.204.155.150 with SMTP id s22mr95930bkw.321.1317862064529; Wed, 05 Oct 2011 17:47:44 -0700 (PDT) Received: by 10.152.6.36 with HTTP; Wed, 5 Oct 2011 17:47:44 -0700 (PDT) In-Reply-To: References: <4e4ab684.0c4c970a.68e8.6846SMTPIN_ADDED@mx.google.com> <9A6F7C9D-32D8-4387-BB03-B11CB0A91BFA@gmail.com> <20110829.214640.1568838937885804931.ken@tydfam.jp> <20110831124126.GB82908@FreeBSD.org> Date: Wed, 5 Oct 2011 19:47:44 -0500 Message-ID: From: Scot Hetzel To: Ali Mashtizadeh Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current Subject: Re: x11/nvidia-driver / Compilation has failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 06 Oct 2011 00:47:46 -0000 On Wed, Oct 5, 2011 at 4:43 PM, Ali Mashtizadeh wrote: > On Wed, Oct 5, 2011 at 2:27 PM, Scot Hetzel wrote: >> On Wed, Oct 5, 2011 at 3:52 PM, Ali Mashtizadeh wrote: >>> Is there any reason I should still be hitting this bug when building >>> on 9-STABLE? With Linux compatibility disabled I can build the driver, >>> but the kernel refuses to load it saying it's incompatible with my >>> kernel version. >>> >> Was your kernel built from the same version of /usr/src, or have you >> updated the source (/usr/src) since you last rebuilt the kernel. >> >> If you updated the source, then you need to rebuild the kernel from >> those updated sources (should also build/installworld). >> > Yes, I did that just before. I'll try buildkernel and installkernel > again but I know havn't updated the tree. Could there be an issue > since I built it from the directory /usr/src-9? > Do you also have a /usr/src directory? If you do, then the port is using the wrong kernel source. You'll need to set SRC_BASE to /usr/src-9 when building the port. cd /usr/ports/x11/nvida-driver make deinstall ; make clean ; make install -DSRC_BASE=/usr/src-9 Then you should be able to load the kernel module. Scot