* [gentoo-user] Kernel Modules
@ 2011-06-09 10:52 Ignas Anikevicius
2011-06-09 11:06 ` YoYo Siska
` (2 more replies)
0 siblings, 3 replies; 38+ messages in thread
From: Ignas Anikevicius @ 2011-06-09 10:52 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Kernel Modules
2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
@ 2011-06-09 11:06 ` YoYo Siska
2011-06-09 11:06 ` Alan McKinnon
2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
2 siblings, 0 replies; 38+ messages in thread
From: YoYo Siska @ 2011-06-09 11:06 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 09, 2011 at 11:52:42AM +0100, 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.
kernel modules are CONFIG_PROTECTED, so they are not automatically
removed when you uninstall / remerge the package (you have to remove
them manually), so you just have to remerge the package after you change
the /usr/src/linux symlink
there is also the module-rebuild utility, that automatically remerges
packages that installed a kernel module
i.e.
ln -sfn linux-VERSION1 /usr/src/linux
module-rebuild -X rebuild
ln -sfn linux-VERSION2 /usr/src/linux
module-rebuild -X rebuild
...
you might have to do
module-rebuild populate
before the first time...
yoyo
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Kernel Modules
2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
2011-06-09 11:06 ` YoYo Siska
@ 2011-06-09 11:06 ` Alan McKinnon
2011-06-09 12:12 ` Ignas Anikevicius
2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
2 siblings, 1 reply; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 11:06 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 12:52 on Thursday 09 June 2011, Ignas
Anikevicius did opine thusly:
> 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.
why you making so much work for yourself?
set the /usr/src/linux symlink to each set of installed sources in turn,
run emerge @module-rebuild
or run module-rebuild rebuild
you could even script it
cd /usr/src
for I in linux-*
do
ln -sfn $I linux
module-rebuild rebuils
done
Fixing my bash syntax errors is left as an exercise for the interested reader
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Kernel Modules
2011-06-09 11:06 ` Alan McKinnon
@ 2011-06-09 12:12 ` Ignas Anikevicius
2011-06-09 17:32 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 38+ messages in thread
From: Ignas Anikevicius @ 2011-06-09 12:12 UTC (permalink / raw
To: gentoo-user
On 09/06/11 12:06, Alan McKinnon wrote:
> why you making so much work for yourself?
>
> set the /usr/src/linux symlink to each set of installed sources in turn,
> run emerge @module-rebuild
> or run module-rebuild rebuild
>
> you could even script it
>
> cd /usr/src
> for I in linux-*
> do
> ln -sfn $I linux
> module-rebuild rebuils
> done
>
> Fixing my bash syntax errors is left as an exercise for the interested reader
Thanks very much!
I am a former Arch user, so I was used for a lot of inconvenience while
doing such things, but gentoo seems to make my life easier and easier.
Ignas
^ permalink raw reply [flat|nested] 38+ messages in thread
* [gentoo-user] Re: Kernel Modules
2011-06-09 12:12 ` Ignas Anikevicius
@ 2011-06-09 17:32 ` Nikos Chantziaras
2011-06-09 18:18 ` Alan McKinnon
0 siblings, 1 reply; 38+ messages in thread
From: Nikos Chantziaras @ 2011-06-09 17:32 UTC (permalink / raw
To: gentoo-user
On 06/09/2011 03:12 PM, Ignas Anikevicius wrote:
> On 09/06/11 12:06, Alan McKinnon wrote:
>> why you making so much work for yourself?
>>
>> set the /usr/src/linux symlink to each set of installed sources in turn,
>> run emerge @module-rebuild
>> or run module-rebuild rebuild
>>
>> you could even script it
>>
>> cd /usr/src
>> for I in linux-*
>> do
>> ln -sfn $I linux
>> module-rebuild rebuils
>> done
>>
>> Fixing my bash syntax errors is left as an exercise for the interested reader
> Thanks very much!
You actually don't need to the symlinks yourself. Try:
eselect kernel list
Then choose one with something like:
eselect kernel set 2
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 17:32 ` [gentoo-user] " Nikos Chantziaras
@ 2011-06-09 18:18 ` Alan McKinnon
2011-06-09 18:52 ` Bill Longman
2011-06-09 19:03 ` Dale
0 siblings, 2 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 18:18 UTC (permalink / raw
To: gentoo-user; +Cc: Nikos Chantziaras
Apparently, though unproven, at 19:32 on Thursday 09 June 2011, Nikos
Chantziaras did opine thusly:
> On 06/09/2011 03:12 PM, Ignas Anikevicius wrote:
> > On 09/06/11 12:06, Alan McKinnon wrote:
> >> why you making so much work for yourself?
> >>
> >> set the /usr/src/linux symlink to each set of installed sources in turn,
> >>
> >> run emerge @module-rebuild
> >> or run module-rebuild rebuild
> >>
> >> you could even script it
> >>
> >> cd /usr/src
> >> for I in linux-*
> >> do
> >>
> >> ln -sfn $I linux
> >> module-rebuild rebuils
> >>
> >> done
> >>
> >> Fixing my bash syntax errors is left as an exercise for the interested
> >> reader
> >
> > Thanks very much!
>
> You actually don't need to the symlinks yourself. Try:
>
> eselect kernel list
>
> Then choose one with something like:
>
> eselect kernel set 2
Sure, but I can use ln in my sleep.
eselect OTOH, is something I always have to run bit by bit to recall the
invocation. That's just way too much effort for this here old git....
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 18:18 ` Alan McKinnon
@ 2011-06-09 18:52 ` Bill Longman
2011-06-09 19:06 ` Alan McKinnon
2011-06-10 9:49 ` Nikos Chantziaras
2011-06-09 19:03 ` Dale
1 sibling, 2 replies; 38+ messages in thread
From: Bill Longman @ 2011-06-09 18:52 UTC (permalink / raw
To: gentoo-user
On 06/09/2011 11:18 AM, Alan McKinnon wrote:
> eselect OTOH, is something I always have to run bit by bit to recall the
> invocation. That's just way too much effort for this here old git....
Wasn't on this list that I saw the correct procedure for eselect?
eselect
eselect kernel
eselect kernel list
eselect kernel set 6
<sigh> It's so true....
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 18:52 ` Bill Longman
@ 2011-06-09 19:06 ` Alan McKinnon
2011-06-10 9:49 ` Nikos Chantziaras
1 sibling, 0 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 19:06 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 20:52 on Thursday 09 June 2011, Bill Longman
did opine thusly:
> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
> > eselect OTOH, is something I always have to run bit by bit to recall the
> > invocation. That's just way too much effort for this here old git....
>
> Wasn't on this list that I saw the correct procedure for eselect?
>
> eselect
> eselect kernel
> eselect kernel list
> eselect kernel set 6
>
> <sigh> It's so true....
In my case there's usually a lot of wondering which one it is after step 1.
Try this, poke around, nope. Try that, nope not that one. Sometime after the
third try I find it.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* [gentoo-user] Re: Kernel Modules
2011-06-09 18:52 ` Bill Longman
2011-06-09 19:06 ` Alan McKinnon
@ 2011-06-10 9:49 ` Nikos Chantziaras
2011-06-10 17:41 ` Dale
1 sibling, 1 reply; 38+ messages in thread
From: Nikos Chantziaras @ 2011-06-10 9:49 UTC (permalink / raw
To: gentoo-user
On 06/09/2011 09:52 PM, Bill Longman wrote:
> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>> eselect OTOH, is something I always have to run bit by bit to recall the
>> invocation. That's just way too much effort for this here old git....
>
> Wasn't on this list that I saw the correct procedure for eselect?
>
> eselect
> eselect kernel
> eselect kernel list
> eselect kernel set 6
>
> <sigh> It's so true....
Never happened to me. I simply enter "eselect" and then press TAB twice
and get a list of every module :-P
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-10 9:49 ` Nikos Chantziaras
@ 2011-06-10 17:41 ` Dale
[not found] ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
0 siblings, 1 reply; 38+ messages in thread
From: Dale @ 2011-06-10 17:41 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras wrote:
> On 06/09/2011 09:52 PM, Bill Longman wrote:
>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>>> eselect OTOH, is something I always have to run bit by bit to recall
>>> the
>>> invocation. That's just way too much effort for this here old git....
>>
>> Wasn't on this list that I saw the correct procedure for eselect?
>>
>> eselect
>> eselect kernel
>> eselect kernel list
>> eselect kernel set 6
>>
>> <sigh> It's so true....
>
> Never happened to me. I simply enter "eselect" and then press TAB
> twice and get a list of every module :-P
>
Huh?
root@fireball / # eselect < hit tab twice here >
bin/ .config/ dev/ home/ lib/ lib64/ mnt/ opt/
root/ sys/ usr/
boot/ data/ etc/ kde lib32/ media/ old-etc/ proc/
sbin/ tmp/ var/
root@fireball / # eselect
Dale
:-) :-)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 18:18 ` Alan McKinnon
2011-06-09 18:52 ` Bill Longman
@ 2011-06-09 19:03 ` Dale
2011-06-09 19:37 ` Alan McKinnon
1 sibling, 1 reply; 38+ messages in thread
From: Dale @ 2011-06-09 19:03 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
>
> Sure, but I can use ln in my sleep.
>
> eselect OTOH, is something I always have to run bit by bit to recall the
> invocation. That's just way too much effort for this here old git....
>
>
I'm still not used to eselect and its options. They are sensible but I
just haven't got the hang of it. I been practicing tho. I do eselect
modules list then go from there. You are right tho Alan, in the end, it
takes longer. I bet it was supposed to save time too. lol
Dale
:-) :-)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 19:03 ` Dale
@ 2011-06-09 19:37 ` Alan McKinnon
2011-06-09 19:44 ` YouTube Support
2011-06-09 20:06 ` [gentoo-user] " Paul Hartman
0 siblings, 2 replies; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 19:37 UTC (permalink / raw
To: gentoo-user
Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did opine
thusly:
> Alan McKinnon wrote:
> > Sure, but I can use ln in my sleep.
> >
> > eselect OTOH, is something I always have to run bit by bit to recall the
> > invocation. That's just way too much effort for this here old git....
>
> I'm still not used to eselect and its options. They are sensible but I
> just haven't got the hang of it. I been practicing tho. I do eselect
> modules list then go from there. You are right tho Alan, in the end, it
> takes longer. I bet it was supposed to save time too. lol
On the whole, eselect is a good idea, just some of it's modules are extreme.
eselect opengl and eselect python are just two examples of things I have no
idea how to accomplish manually
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 19:37 ` Alan McKinnon
@ 2011-06-09 19:44 ` YouTube Support
2011-06-09 20:23 ` [gentoo-user] Re: umm, google.... WAS: " Alan McKinnon
2011-06-09 20:06 ` [gentoo-user] " Paul Hartman
1 sibling, 1 reply; 38+ messages in thread
From: YouTube Support @ 2011-06-09 19:44 UTC (permalink / raw
To: gentoo-user
You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube
If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.
Original Message Follows:
------------------------
From: Alan McKinnon <alan.mckinnon@gmail.com>
Subject: [gentoo-user] Re: Kernel Modules
Date: Thu, 9 Jun 2011 21:37:30 +0200
Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
opine
thusly:
> Alan McKinnon wrote:
> > Sure, but I can use ln in my sleep.
> >
> > eselect OTOH, is something I always have to run bit by bit to recall
the
> > invocation. That's just way too much effort for this here old git....
>
> I'm still not used to eselect and its options. They are sensible but I
> just haven't got the hang of it. I been practicing tho. I do eselect
> modules list then go from there. You are right tho Alan, in the end, it
> takes longer. I bet it was supposed to save time too. lol
On the whole, eselect is a good idea, just some of it's modules are
extreme.
eselect opengl and eselect python are just two examples of things I have
no
idea how to accomplish manually
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: umm, google.... WAS: Kernel Modules
2011-06-09 19:44 ` YouTube Support
@ 2011-06-09 20:23 ` Alan McKinnon
2011-06-09 21:05 ` Dale
0 siblings, 1 reply; 38+ messages in thread
From: Alan McKinnon @ 2011-06-09 20:23 UTC (permalink / raw
To: gentoo-user
How exceptionally interesting, as I didn't mail youtube...
Headers of what I did send:
From: Alan McKinnon <alan.mckinnon@gmail.com>
X-KMail-Identity: 1726407999
X-KMail-Transport: Gmail
X-KMail-Fcc: .Community.directory/gentoo-user
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Kernel Modules
Date: Thu, 9 Jun 2011 21:37:30 +0200
User-Agent: KMail/1.13.7 (Linux/2.6.39-ck; KDE/4.6.3; x86_64; ; )
References: <4DF0A5FA.1020602@gmail.com>
<201106092018.37311.alan.mckinnon@gmail.com> <4DF118FC.2030805@gmail.com>
In-Reply-To: <4DF118FC.2030805@gmail.com>
X-KMail-Link-Message: 96095
X-KMail-Link-Type: reply
X-KMail-QuotePrefix: >
MIME-Version: 1.0
Content-Type: Text/Plain;
charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201106092137.30415.alan.mckinnon@gmail.com>
Status: RO
X-Status: RS
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:
I wonder if this one will do the same.
Apparently, though unproven, at 21:44 on Thursday 09 June 2011, YouTube
Support did opine thusly:
> You are receiving this automated reply because you have sent mail to
> an invalid email address. If you are trying to contact YouTube,
> please visit the YouTube Help Center at:
> http://www.google.com/support/youtube
>
> If you're unable to find the answer to your question in the Help
> Center, you may use the contact forms located there to send us your
> question.
>
>
>
> Original Message Follows:
> ------------------------
> From: Alan McKinnon <alan.mckinnon@gmail.com>
> Subject: [gentoo-user] Re: Kernel Modules
> Date: Thu, 9 Jun 2011 21:37:30 +0200
>
> Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
> opine
>
> thusly:
> > Alan McKinnon wrote:
> > > Sure, but I can use ln in my sleep.
> > >
> > > eselect OTOH, is something I always have to run bit by bit to recall
>
> the
>
> > > invocation. That's just way too much effort for this here old git....
> >
> > I'm still not used to eselect and its options. They are sensible but I
> > just haven't got the hang of it. I been practicing tho. I do eselect
> > modules list then go from there. You are right tho Alan, in the end, it
> > takes longer. I bet it was supposed to save time too. lol
>
> On the whole, eselect is a good idea, just some of it's modules are
> extreme.
>
> eselect opengl and eselect python are just two examples of things I have
> no
> idea how to accomplish manually
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 19:37 ` Alan McKinnon
2011-06-09 19:44 ` YouTube Support
@ 2011-06-09 20:06 ` Paul Hartman
2011-06-09 20:44 ` Mick
1 sibling, 1 reply; 38+ messages in thread
From: Paul Hartman @ 2011-06-09 20:06 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 9, 2011 at 2:37 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did opine
> thusly:
>
>> Alan McKinnon wrote:
>> > Sure, but I can use ln in my sleep.
>> >
>> > eselect OTOH, is something I always have to run bit by bit to recall the
>> > invocation. That's just way too much effort for this here old git....
>>
>> I'm still not used to eselect and its options. They are sensible but I
>> just haven't got the hang of it. I been practicing tho. I do eselect
>> modules list then go from there. You are right tho Alan, in the end, it
>> takes longer. I bet it was supposed to save time too. lol
>
> On the whole, eselect is a good idea, just some of it's modules are extreme.
>
> eselect opengl and eselect python are just two examples of things I have no
> idea how to accomplish manually
I'm okay with most of them, but whenever I need to use "eselect news"
my brain comes up empty.
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 20:06 ` [gentoo-user] " Paul Hartman
@ 2011-06-09 20:44 ` Mick
2011-06-15 16:10 ` Peter Humphrey
0 siblings, 1 reply; 38+ messages in thread
From: Mick @ 2011-06-09 20:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1353 bytes --]
On Thursday 09 Jun 2011 21:06:12 Paul Hartman wrote:
> On Thu, Jun 9, 2011 at 2:37 PM, Alan McKinnon <alan.mckinnon@gmail.com>
wrote:
> > Apparently, though unproven, at 21:03 on Thursday 09 June 2011, Dale did
> > opine
> >
> > thusly:
> >> Alan McKinnon wrote:
> >> > Sure, but I can use ln in my sleep.
> >> >
> >> > eselect OTOH, is something I always have to run bit by bit to recall
> >> > the invocation. That's just way too much effort for this here old
> >> > git....
> >>
> >> I'm still not used to eselect and its options. They are sensible but I
> >> just haven't got the hang of it. I been practicing tho. I do eselect
> >> modules list then go from there. You are right tho Alan, in the end, it
> >> takes longer. I bet it was supposed to save time too. lol
> >
> > On the whole, eselect is a good idea, just some of it's modules are
> > extreme.
> >
> > eselect opengl and eselect python are just two examples of things I have
> > no idea how to accomplish manually
>
> I'm okay with most of them, but whenever I need to use "eselect news"
> my brain comes up empty.
Aha! I had to memorise that because it kept popping up every time I would run
emerge (and couldn't be bothered to run eselect at the time). So it is:
eselect news read new
it sort of rhymes. ;-)
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Re: Kernel Modules
2011-06-09 20:44 ` Mick
@ 2011-06-15 16:10 ` Peter Humphrey
0 siblings, 0 replies; 38+ messages in thread
From: Peter Humphrey @ 2011-06-15 16:10 UTC (permalink / raw
To: gentoo-user
On Thursday 09 June 2011 21:44:19 Mick wrote:
> I had to memorise that because it kept popping up every time I would run
> emerge (and couldn't be bothered to run eselect at the time). So it is:
>
> eselect news read new
Or just "eselect news read".
I found that while messing about trying to find out why one box listed news
items oldest-first and the others newest-first. Never did find out.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] Kernel Modules
2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
2011-06-09 11:06 ` YoYo Siska
2011-06-09 11:06 ` Alan McKinnon
@ 2011-06-09 11:37 ` Volker Armin Hemmann
2 siblings, 0 replies; 38+ messages in thread
From: Volker Armin Hemmann @ 2011-06-09 11:37 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 38+ messages in thread
* [gentoo-user] RE: Kernel Modules
@ 2011-06-10 1:41 Pandu Poluan
2011-06-10 14:22 ` Paul Hartman
0 siblings, 1 reply; 38+ messages in thread
From: Pandu Poluan @ 2011-06-10 1:41 UTC (permalink / raw
To: gentoo-user
-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Alan McKinnon <alan.mckinnon@gmail.com>
Date: 2011-06-10 02:06
>Apparently, though unproven, at 20:52 on Thursday 09 June 2011, Bill Longman
>did opine thusly:
>
>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>> > eselect OTOH, is something I always have to run bit by bit to recall the
>> > invocation. That's just way too much effort for this here old git....
>>
>> Wasn't on this list that I saw the correct procedure for eselect?
>>
>> eselect
>> eselect kernel
>> eselect kernel list
>> eselect kernel set 6
>>
>> <sigh> It's so true....
>
>In my case there's usually a lot of wondering which one it is after step 1.
>Try this, poke around, nope. Try that, nope not that one. Sometime after the
>third try I find it.
>
>--
>alan dot mckinnon at gmail dot com
eselect bashcomp enable gentoo
eselect bashcomp enable eselect
I always do those when doing a new install. Of course, don't forget to do USE=bash-completion and the subsequent emerge --update --newuse --deep @world ;)
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
Sent from Nokia E72-1
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] RE: Kernel Modules
2011-06-10 1:41 [gentoo-user] " Pandu Poluan
@ 2011-06-10 14:22 ` Paul Hartman
0 siblings, 0 replies; 38+ messages in thread
From: Paul Hartman @ 2011-06-10 14:22 UTC (permalink / raw
To: gentoo-user
On Thu, Jun 9, 2011 at 8:41 PM, Pandu Poluan <pandu@poluan.info> wrote:
> eselect bashcomp enable gentoo
> eselect bashcomp enable eselect
>
> I always do those when doing a new install. Of course, don't forget to do USE=bash-completion and the subsequent emerge --update --newuse --deep @world ;)
Why did I not enable this before? :) Thanks.
^ permalink raw reply [flat|nested] 38+ messages in thread
* [gentoo-user] RE: Kernel Modules
@ 2011-06-10 19:05 Pandu Poluan
0 siblings, 0 replies; 38+ messages in thread
From: Pandu Poluan @ 2011-06-10 19:05 UTC (permalink / raw
To: gentoo-user
-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale <rdalek1967@gmail.com>
Date: 2011-06-11 00:41
>Nikos Chantziaras wrote:
>> On 06/09/2011 09:52 PM, Bill Longman wrote:
>>> On 06/09/2011 11:18 AM, Alan McKinnon wrote:
>>>> eselect OTOH, is something I always have to run bit by bit to recall
>>>> the
>>>> invocation. That's just way too much effort for this here old git....
>>>
>>> Wasn't on this list that I saw the correct procedure for eselect?
>>>
>>> eselect
>>> eselect kernel
>>> eselect kernel list
>>> eselect kernel set 6
>>>
>>> <sigh> It's so true....
>>
>> Never happened to me. I simply enter "eselect" and then press TAB
>> twice and get a list of every module :-P
>>
>
>Huh?
>
>root@fireball / # eselect < hit tab twice here >
>bin/ .config/ dev/ home/ lib/ lib64/ mnt/ opt/
>root/ sys/ usr/
boot/ data/ etc/ kde lib32/ media/ >old-etc/ proc/
sbin/ tmp/ var/
>root@fireball / # eselect
>
>Dale
>
You need to first incantate the 2-line spell I posted earlier, followed by a logout and a login.
And bash will from then on automagically provide a contextual command completion.
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
Sent from Nokia E72-1
^ permalink raw reply [flat|nested] 38+ messages in thread
* [gentoo-user] RE: Kernel Modules
@ 2011-06-11 1:35 Pandu Poluan
2011-06-11 2:14 ` Dale
2011-06-13 12:43 ` YoYo Siska
0 siblings, 2 replies; 38+ messages in thread
From: Pandu Poluan @ 2011-06-11 1:35 UTC (permalink / raw
To: gentoo-user
-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale <rdalek1967@gmail.com>
Date: 2011-06-11 03:05
>I notice a really long list of things when I do this:
>
>eselect bashcomp list
>
>Is there a way to just enable them all? Is there some that should NOT
>be enabled, maybe for good reason?
Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):
1. It will make bash (or the whole system) slower
2. For some commands I *might* want the standard completion
That results in a short list of 'essential' bashcomps that I enable this way:
for m in $ESSENTIAL_BASHCOMP; do eselect bashcomp enable $m; done
Shove that line (prepended by ESSENTIAL_BASHCOMP) into a script, save the script somewhere safe and retrievable, and everytime I need to enable the bashcomp modules, I'll just download the script and execute it :)
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
Sent from Nokia E72-1
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] RE: Kernel Modules
2011-06-11 1:35 Pandu Poluan
@ 2011-06-11 2:14 ` Dale
2011-06-13 12:43 ` YoYo Siska
1 sibling, 0 replies; 38+ messages in thread
From: Dale @ 2011-06-11 2:14 UTC (permalink / raw
To: gentoo-user
Pandu Poluan wrote:
> Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):
>
> 1. It will make bash (or the whole system) slower
>
> 2. For some commands I *might* want the standard completion
>
> That results in a short list of 'essential' bashcomps that I enable this way:
>
> for m in $ESSENTIAL_BASHCOMP; do eselect bashcomp enable $m; done
>
> Shove that line (prepended by ESSENTIAL_BASHCOMP) into a script, save the script somewhere safe and retrievable, and everytime I need to enable the bashcomp modules, I'll just download the script and execute it :)
>
> Rgds,
> --
> FdS Pandu E Poluan
> ~ IT Optimizer ~
>
> Sent from Nokia E72-1
>
>
So far, I'm just enjoying not having to type so much. I'm not a great
typer anyway so the less I have to do the better.
If I run into something that I don't want bash completion on, I can
always disable it. The man page tells how to do that but doesn't have a
enable all option.
Since I have a quad core 3.2Ghz machine, I'm not to worried about
speed. I actually can't tell any difference, at least so far. I may
not do this on my old x86 rig tho. It's a single 2500+ CPU and IDE
drives. That may slow things down there.
Thanks for sharing tho. I'll keep that in mind when I mess with my old
rig.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: [gentoo-user] RE: Kernel Modules
2011-06-11 1:35 Pandu Poluan
2011-06-11 2:14 ` Dale
@ 2011-06-13 12:43 ` YoYo Siska
1 sibling, 0 replies; 38+ messages in thread
From: YoYo Siska @ 2011-06-13 12:43 UTC (permalink / raw
To: gentoo-user
On Sat, Jun 11, 2011 at 08:35:52AM +0700, Pandu Poluan wrote:
> -original message-
> Subject: Re: [gentoo-user] Re: Kernel Modules
> From: Dale <rdalek1967@gmail.com>
> Date: 2011-06-11 03:05
>
> >I notice a really long list of things when I do this:
> >
> >eselect bashcomp list
> >
> >Is there a way to just enable them all? Is there some that should NOT
> >be enabled, maybe for good reason?
>
> Personally, I do some cherry-picking and enable a bashcomp when I found out I need it. I have 2 concerns (which may or may not be true):
>
> 1. It will make bash (or the whole system) slower
well, only when you are hitting tab ... ;)
I know it can be annoying to have to wait a long time when you
accidentally hit tab on a "complex" command..., but when you know how to
do the explicit filename only completion...
>
> 2. For some commands I *might* want the standard completion
meta-/ (or ESC then /) for the complete-filename, there are also others
for some other things (variable, username...)
man bash
/Completing
yoyo
^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~2011-06-16 8:07 UTC | newest]
Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 10:52 [gentoo-user] Kernel Modules Ignas Anikevicius
2011-06-09 11:06 ` YoYo Siska
2011-06-09 11:06 ` Alan McKinnon
2011-06-09 12:12 ` Ignas Anikevicius
2011-06-09 17:32 ` [gentoo-user] " Nikos Chantziaras
2011-06-09 18:18 ` Alan McKinnon
2011-06-09 18:52 ` Bill Longman
2011-06-09 19:06 ` Alan McKinnon
2011-06-10 9:49 ` Nikos Chantziaras
2011-06-10 17:41 ` Dale
[not found] ` <BANLkTinmmzhzXXJ6Sq1pSTGtM5prJ7dq3Q@mail.gmail.com>
2011-06-10 19:08 ` Dale
2011-06-10 19:46 ` Nikos Chantziaras
2011-06-10 20:05 ` Dale
2011-06-10 20:31 ` Paul Hartman
2011-06-10 20:55 ` Dale
2011-06-15 16:07 ` Peter Humphrey
2011-06-15 16:25 ` Neil Bothwick
2011-06-15 18:05 ` Peter Humphrey
2011-06-16 7:14 ` [gentoo-user] " Stroller
2011-06-10 20:38 ` [gentoo-user] " Paul Hartman
2011-06-10 21:34 ` Mick
2011-06-10 21:42 ` Paul Hartman
2011-06-10 21:55 ` Mick
2011-06-09 19:03 ` Dale
2011-06-09 19:37 ` Alan McKinnon
2011-06-09 19:44 ` YouTube Support
2011-06-09 20:23 ` [gentoo-user] Re: umm, google.... WAS: " Alan McKinnon
2011-06-09 21:05 ` Dale
2011-06-09 20:06 ` [gentoo-user] " Paul Hartman
2011-06-09 20:44 ` Mick
2011-06-15 16:10 ` Peter Humphrey
2011-06-09 11:37 ` [gentoo-user] " Volker Armin Hemmann
-- strict thread matches above, loose matches on Subject: below --
2011-06-10 1:41 [gentoo-user] " Pandu Poluan
2011-06-10 14:22 ` Paul Hartman
2011-06-10 19:05 Pandu Poluan
2011-06-11 1:35 Pandu Poluan
2011-06-11 2:14 ` Dale
2011-06-13 12:43 ` YoYo Siska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox