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 ) id 1PeS99-0000BX-CL for garchives@archives.gentoo.org; Sun, 16 Jan 2011 12:55:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4108DE0C6C; Sun, 16 Jan 2011 12:54:29 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id EA95BE0C6C for ; Sun, 16 Jan 2011 12:54:28 +0000 (UTC) Received: by wyf22 with SMTP id 22so5265205wyf.40 for ; Sun, 16 Jan 2011 04:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=MYa9jcSQciTij1xisPU+HiUSYg45fkVMO8m0jfgbMos=; b=nLxsS3lWz81+c8QzKvD0Oo6MkXXSS/sL3FWErffxE/P7xSa5x+CYVa1i2aeYvOa995 AR/TY+if5IoSsUA0M37jjeIMf0T16sHNNRhQmKeapXvzjWSt+235T4mNyN4PuSLUwQ3m VUQTQbHRtW9YGF079wCOS2eNMthjI87+M8ujw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=lLU+io38Ew40WaPxrF7DrLtKHgEhLNJ3EmQ8lTcKrSz8HvOSBoW8dMasu+8ES9xl/8 1DlIf8IeXsBhhsYlX/ALJVT5RowzCGAu/4CpU3Xpo+8uWszatygCFYe/B3rF7Tq32tIG de8qsuZ0o2uFkMQgeKltrAertOkSEnBDDUP3E= Received: by 10.227.156.21 with SMTP id u21mr2640412wbw.228.1295182468196; Sun, 16 Jan 2011 04:54:28 -0800 (PST) Received: from nazgul.localnet (196-215-42-107.dynamic.isadsl.co.za [196.215.42.107]) by mx.google.com with ESMTPS id o19sm1770350wee.2.2011.01.16.04.54.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Jan 2011 04:54:27 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] invalid argument when trying to modprobe nvidia module Date: Sun, 16 Jan 2011 14:54:46 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.37-ck; KDE/4.5.5; x86_64; ; ) References: <5309.1295145276@ccs.covici.com> <6203.1295148341@ccs.covici.com> <201101160918.06073.peter@humphrey.ukfsn.org> In-Reply-To: <201101160918.06073.peter@humphrey.ukfsn.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201101161454.46829.alan.mckinnon@gmail.com> X-Archives-Salt: bd384320-4d3d-468e-a9b9-1382c63fd3cd X-Archives-Hash: 343adc7de81fa5ef156ebd03e374cee8 Apparently, though unproven, at 11:18 on Sunday 16 January 2011, Peter Humphrey did opine thusly: > On Sunday 16 January 2011 03:25:41 covici@ccs.covici.com wrote: > > Adam Carter wrote: > > > Did you remember to repoint the /usr/src/linux link? IIRC the > > > module is built to suit whatever kernel that is pointing to. If > > > its not set correctly you'll need to re-emerge nvidia-drivers. > > > > linux is pointing correctly and it was after I emerged the > > nvidia-drivers that I got the invalid argument. > > You can't emerge nvidia-drivers if /usr/src/linux points to a kernel > version other than the currently running one - it complains it can't find > a valid kernel config. This means that, after emerging a new kernel > version, it's necessary to reboot with the new kernel (and fail to start > X) before it's possible to remerge nvidia-drivers to suit the new kernel > - you can't do it in advance. That's nonsense. The nvidia-driver ebuild will build modules for whatever kernel /usr/src/linuc points to. There is no dependency on the running kernel -- alan dot mckinnon at gmail dot com