Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 01:45:48 +0200
From:      Michal Varga <varga.michal@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Problem with nvidia-driver and "X" after upgrade
Message-ID:  <1314402348.13483.6.camel@xenon>
In-Reply-To: <BLU0-SMTP272523F17C12EEF65F60A1693130@phx.gbl>
References:  <BLU0-SMTP4202D6EAD2AD6157E83689D93130@phx.gbl> <20110826172328.67f707d7@cox.net> <BLU0-SMTP272523F17C12EEF65F60A1693130@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1314402348.13483.6.camel>