From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-102804-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N4LjH-0007sH-Qx
	for garchives@archives.gentoo.org; Sat, 31 Oct 2009 21:43:24 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3143FE0AD9;
	Sat, 31 Oct 2009 21:43:22 +0000 (UTC)
Received: from mail-pz0-f199.google.com (mail-pz0-f199.google.com [209.85.222.199])
	by pigeon.gentoo.org (Postfix) with ESMTP id 05100E0AD9
	for <gentoo-user@lists.gentoo.org>; Sat, 31 Oct 2009 21:43:21 +0000 (UTC)
Received: by pzk37 with SMTP id 37so2555660pzk.10
        for <gentoo-user@lists.gentoo.org>; Sat, 31 Oct 2009 14:43:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=2+yMnVu79r8njvJA1gQHXudVTHNNnESwYKiKL08evlM=;
        b=gVF/g65fP40r2wbhNfbJqsgdPfIow2azdDY33QjpdIjf22nPK2qOjo5ps/hLSR27u3
         Ie6pTzV67qNaU+qiaYFlyYxYkcpJ30wx0c9O83iBiHK6kPhHz2sCUiERQpcOhnJV5AH8
         5yw7oomB0x4ew7d4FaVhzKDAdng5wzjpm3js0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=BLE+ocZpb/3Mt+hUQGHA++jW1B7sGjcZX/ckJtg1iMiBSSRVuoWDFOal0d/dJhbsjw
         CvzdlDOXMcy52LtBTkBVpbb9mc52ya9nIGRLt2/x3srlrkKsDaabp5mMzhBj3sJtxA4G
         WikWJ3dgmC1BAXEzzkj/y/3m9VnH8IUvuZANQ=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.143.24.42 with SMTP id b42mr306313wfj.237.1257025401572; Sat, 
	31 Oct 2009 14:43:21 -0700 (PDT)
In-Reply-To: <hcia3h$1rc$1@ger.gmane.org>
References: <87hbtfo68r.fsf@newsguy.com>
	 <200910312118.22975.alan.mckinnon@gmail.com>
	 <hci55j$jnm$1@ger.gmane.org>
	 <200910312307.19397.alan.mckinnon@gmail.com>
	 <hcia3h$1rc$1@ger.gmane.org>
Date: Sat, 31 Oct 2009 14:43:21 -0700
Message-ID: <5bdc1c8b0910311443h2273d06byf9cd3325da12202c@mail.gmail.com>
Subject: Re: [gentoo-user] Re: Kernel upgrading and linux symlink
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 70d9f072-5709-4438-9fb4-c535f162823b
X-Archives-Hash: 28a70e4e696437c09041b25de38ba636

On Sat, Oct 31, 2009 at 2:27 PM, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 10/31/2009 11:07 PM, Alan McKinnon wrote:
>>
>> On Saturday 31 October 2009 22:03:04 Nikos Chantziaras wrote:
>>>>
>>>> For instance, you might be running 2.6.31-r4 and also have 2.6.31-r3
>>>> installed. To install nvidia-drivers, you must build it twice - agains=
t
>>>> each kernel you want to use it with (nvidia-drivers builds and install=
s
>>>> a
>>>> kernel driver into /lib/modules/<kernel version>)
>>>
>>> It's a bit more obfuscated than that. =C2=A0Maybe nvidia-drivers work
>>> different, but ati-drivers will build against /usr/src/linux but instal=
l
>>> the actual modules in /lib/modules/running_kernel. =C2=A0If /usr/src/li=
nux
>>> doesn't point to the running kernel, the modules will be installed in
>>> the wrong place.
>>
>>
>> That is just so mind-bogglingly absurdly stupid I doubt if ATI should ev=
en
>> be
>> allowed near a computer....
>>
>> Compiling code never depends on something running, it only depends on
>> things
>> being present that can be linked against.
>>
>> Thanks for reminding me why I insist on NVidia GPUs, I'd forgotten.
>
> This isn't ATI's installer. =C2=A0It's the ebuild that does this.

And from deep memory it seems like there were other packages that
operated this way 8-10 years ago. I know in 1999 I had to be very
careful about where the linux link pointed, and while it's not as
necessary today to do so i'm still quite careful.

I use the ATI drivers on my AMD64 machine. I think I've always found
that I needed to emerge fglrx after the new kernel had been booted but
never understood why. This email is helpful. It seems to me that if it
is the ebuild that's doing this is needs to be fixed. If I understand
correctly I could be building for 2.6.31 but installing in 2.6.29?
That's not right...

Thanks to all for the info.

Cheers,
Mark