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 1QUdaG-0006fx-Dz for garchives@archives.gentoo.org; Thu, 09 Jun 2011 11:39:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38D4B1C03A; Thu, 9 Jun 2011 11:38:07 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id D57E21C03A for ; Thu, 9 Jun 2011 11:38:06 +0000 (UTC) Received: by fxm8 with SMTP id 8so1165308fxm.40 for ; Thu, 09 Jun 2011 04:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=y3o6B7yEOuzZHklNI/qYyNI6xTpLlFZWDndmGLGO1g0=; b=Q+y6mF/G+YIhnwSjVfU6T8L38geTOS/C2HfTk46pO1EGPTLNFaVq+9DBJnppdpxc1d h3SgnwJsagySdLLYgsr156XiKk3tl9bmBBKSyTyInZIDZoVqdg3zDOsVW6CGP4kSPrZc d2TsJgoBo7hMf5TWqhDZoYat5zFmN/04Fsi8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; b=IYF48xBMIcpOJJxMu1POl2hnT4pyHy4vhhrNue/MauqgRlZUdt9fUCcynC/EqmmQhJ DLWPaYz+yhBc3Xg49v2ndLlkmd3CKhjyqdaiQtG4mJC71LA3Vcs4XL1Ta/PgxQXIGkCK JeHPtO7lGUeiWQCVjAYN2pMsSZyzblnO942Vg= Received: by 10.223.6.71 with SMTP id 7mr700335fay.14.1307619486027; Thu, 09 Jun 2011 04:38:06 -0700 (PDT) Received: from localhost.localnet (p4FC747CB.dip0.t-ipconnect.de [79.199.71.203]) by mx.google.com with ESMTPS id e15sm618804faa.23.2011.06.09.04.38.04 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2011 04:38:05 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Kernel Modules Date: Thu, 09 Jun 2011 13:37:02 +0200 Message-ID: <29734258.XRhzE4u60j@localhost> User-Agent: KMail/4.6 rc1 (Linux/2.6.39.1; KDE/4.6.3; x86_64; ; ) In-Reply-To: <4DF0A5FA.1020602@gmail.com> References: <4DF0A5FA.1020602@gmail.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: X-Archives-Hash: a3e0490d161abc3bcd291391549e144d On Thursday 09 June 2011 11:52:42 Ignas Anikevicius wrote: > Hello list, > > I was wondering if it is possible to have a tool with which it would be > possible to have external modules installed for _all_ kernel versions in > my computer. Now I am using 2.6.38 kernel, but would like to try 2.6.39 > and the thing is that I would like to have tp_smapi and phc-intel > modules in both kernels. Is it possible to have it without any serious > hacking? > > I have only 3 ideas how I could achieve that: > * Making a custom ebuild, which would build the modules, but install > itself as a different package depending on the kernel version (eg > tp_smapi-2.6.39-gentoo)? > * Making a custom ebuild, which would build the modules for all kernel > versions in one go... (is this possible?) > * patching the gentoo-sources each time. > > Is any of these solutions sensible? > > Cheers, > Ignas why not emerging them several times with linux pointing to the different kernels? I that does not work: ebuild .... unpack ebuild .... compile ebuild .... install cp .ko from image directory to modules directory depmod -ae -- #163933