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 1PhrbJ-0003eu-Cr for garchives@archives.gentoo.org; Tue, 25 Jan 2011 22:43:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE81BE0C30; Tue, 25 Jan 2011 22:41:10 +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 70327E0C30 for ; Tue, 25 Jan 2011 22:41:10 +0000 (UTC) Received: by wyf22 with SMTP id 22so378397wyf.40 for ; Tue, 25 Jan 2011 14:41:09 -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=YtOHv6S9npModRfNv31JaowF+ea84kpp4qWFKz50KYM=; b=JocqDCIH7lxI7Jm6GCLYorhOBgyNtrKxOkoQQgPfqwBudTzPMjgySg8MOV8lnDv7Z7 gMQh8Ty8qMcM762G9xDbZQdGYaIKNFJXLmIcmwUXetA3S2EtspaE6cLDvCFTTPli/XdD qHhMqVkWV751j3wQcCkIUUBn0yG39yJoxaeAY= 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=hldPltDj0jQMRMAEdKUzmrT193TEbUZyns2WGHJfFOjV/7P5i8rETl5aQEZrXE65Zo 2uX/zi88Ni9YhGl5hkp6ZEneLWpifogS+d66VkaOe/9nH/IedTI0ZDFtYC+Yi/WU2KD4 xNpOkjKTlqRw9Old/kn/I2OblzZSAYIDMM9qM= Received: by 10.216.157.68 with SMTP id n46mr4592291wek.111.1295995269552; Tue, 25 Jan 2011 14:41:09 -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 r80sm1536890wei.15.2011.01.25.14.41.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Jan 2011 14:41:08 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: invalid argument when trying to modprobe nvidia module Date: Wed, 26 Jan 2011 00:41:38 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.37-ck; KDE/4.5.5; x86_64; ; ) References: <5309.1295145276@ccs.covici.com> In-Reply-To: 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-1" Content-Transfer-Encoding: 7bit Message-Id: <201101260041.38767.alan.mckinnon@gmail.com> X-Archives-Salt: X-Archives-Hash: 5975feeac4b57d886a46b889ed45d7da Apparently, though unproven, at 21:31 on Tuesday 25 January 2011, walt did opine thusly: > On 01/15/2011 06:34 PM, covici@ccs.covici.com wrote: > > Hi. I am trying to use my unstable gentoo on kernel 2.6.36-gentoo-r6 > > and when I emerge nvidia-drivers, I get invalid argument when I try to > > modprobe the module. > > Forgive me if I'm repeating something already posted in this very long > thread. I just had the same problem for no obvious reason. I finally > recompiled the kernel and the problem disappeared (for no obvious reason). > > Or, it might have been the chicken I sacrificed in front of the computer. Nope, it was the three pirouettes you did in the pale moonlight. That beats dead chickens any day. But most likely your problem was something like /usr/src/linux pointing to the wrong place last time you emerged the drivers, or something in a similar vein. Perhaps you even configured the kernel and forgot to build-install it, but were convinced you did. The sure certain way to avoid these issues is to always when upgrading out-of- tree drivers: - make sure /usr/src/linux point to current running kernel, or the kernel you plan to use if different - build & install that kernel - build & install drivers then the usual rmmod && modprobe. If that still doesn't work, reboot. You may need this if you rebuilt the kernel after making deep config changes. -- alan dot mckinnon at gmail dot com