From owner-freebsd-ports@FreeBSD.ORG Fri Aug 26 23:45:53 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AB121065689 for ; Fri, 26 Aug 2011 23:45:53 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0A5818FC0A for ; Fri, 26 Aug 2011 23:45:52 +0000 (UTC) Received: by fxe4 with SMTP id 4so3807578fxe.13 for ; Fri, 26 Aug 2011 16:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=k9QpovlyKZ4DBMnblExgsgoG3if7tMXW8YCtWW6xn5I=; b=rkE2Ssr9VrRbClACmoiWGNKFM4EZRKLXTP3QiNyH7cElLjahtL8OdiPBWlxO1WLX7Z 3PdQT6FAQd10wVkqgAPuptu/CEOc/YSYruCnQdThZojRKGBn1X1plokFSbr5QK7vsoY2 soZ8SSX1MGmzOoWwdd1zOIxczMv5IwDAoPIbA= Received: by 10.223.87.204 with SMTP id x12mr2479568fal.27.1314402351924; Fri, 26 Aug 2011 16:45:51 -0700 (PDT) Received: from [10.0.101.2] (hotel.grandberoun.cz [90.182.105.26]) by mx.google.com with ESMTPS id p3sm1715506faa.9.2011.08.26.16.45.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Aug 2011 16:45:50 -0700 (PDT) From: Michal Varga To: freebsd-ports@freebsd.org In-Reply-To: References: <20110826172328.67f707d7@cox.net> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Sat, 27 Aug 2011 01:45:48 +0200 Message-ID: <1314402348.13483.6.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Problem with nvidia-driver and "X" after upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 23:45:53 -0000 On Fri, 2011-08-26 at 18:51 -0400, Carmel wrote: > I found the problem. I had downloaded the source files for BSD a few > days ago; however, I never rebuild the kernel or world. When the nvidia > driver got rebuild it was evidently using those new files. I got the > answer while Googling. When trying to manually load the driver, I > received this error message: > > kldload: can't load nvidia: Exec format error > > Evidently, this is a known phenomena with the nvidia-driver. This is a known phenomena with everything when having your OS sources and your live OS out of sync. > So, after rebuild World/Kernel and installing same and then rebuilding > the nvidia-driver, all is well again. > > Now, in my not so humble opinion, there should be some sort of warning > in the driver dialog, or at least in the port description that warns of > this behavior. It could have save3d me several hours of needless > searching. Hours that I will never get back. :) > Nvdia-driver is a driver, a kernel module so to say. You built the driver against kernel sources that are different from your live kernel. You got a driver that will work with kernel corresponding to those sources. What kind of "warning" would you be expecting there and what purpose would it serve? m. -- Michal Varga, Stonehenge (Gmail account)