public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
* [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
* [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

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