Date: Sat, 27 Aug 2011 14:36:44 +0100 From: Chris Rees <utisoft@gmail.com> To: Test Rat <ttsestt@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Problem with nvidia-driver and "X" after upgrade Message-ID: <CADLo839RzPwdg2iGmUxfbAnFn6Ryz3it49VV5stdD51of18h1Q@mail.gmail.com> In-Reply-To: <867h5zm278.fsf@gmail.com> References: <BLU0-SMTP4202D6EAD2AD6157E83689D93130@phx.gbl> <20110826172328.67f707d7@cox.net> <BLU0-SMTP272523F17C12EEF65F60A1693130@phx.gbl> <1314402348.13483.6.camel@xenon> <BLU0-SMTP421FE1CB8F2D735D97D6E8393120@phx.gbl> <867h5zt6gd.fsf@gmail.com> <CADLo83-NdNMaCAncRY6W_f8u_KQ36YJxSF86yiNH_5EmHi5dsA@mail.gmail.com> <867h5zm278.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 Aug 2011 14:08, "Test Rat" <ttsestt@gmail.com> wrote: > > Chris Rees <utisoft@gmail.com> writes: > > >> >> Carmel <carmel_ny@hotmail.com> writes: > >> >> > 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. :) > [...] > > Really, the proper fix would be to make kldload give a more descriptive > > error, but IIRC this is much easier said than done... > > There are a few ports that use SRC_BASE and are *not* kernel modules, e.g. > > devel/linux_kdump > devel/linuxthreads > sysutils/lsof > > > I don't think doing more clever stuff in the port is the solution; It's not > > specific to that port. > > What about bsd.port.mk bailing out early if kernel sources are for > different version? It was in the patch you quoted but probably have not read. Hah, you're quite right, I misread. Please accept my apologies for thinking someone as smart as you could suggest such a bad idea ;) While it's not inherently terrible, it still comes under the hand-holding category that bad.port.mk is (fortunately?) lacking in. Bear on mind others are free to disagree, if you send a PR in porter will definitely give their opinion. :) Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839RzPwdg2iGmUxfbAnFn6Ryz3it49VV5stdD51of18h1Q>