Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Joost Roeleveld
On Friday 10 June 2011 08:52:15 Pandu Poluan wrote:
 -original message-
 Subject: Re: [gentoo-user] IPv6 not ready here; Hmmm
 From: Paul Hartman paul.hartman+gen...@gmail.com
 Date: 2011-06-10 03:52
 
 And another bonus is that there are plenty of
 
 funny things we can spell in hexadecimal. ;)
 
 While I'm sure I'll tag the C001:D00D address for my workstation, I'm not
 sure upper management will appreciate me naming some servers DEAD:BEEF or
 BAD:D06 or A55:401E ... :-P

If you don't tell them and, when they do notice, tell them that changing the 
IPs is not recommended due to possible issues with the installed software, you 
might get away with that.

Although, why reserve those for servers instead of said management? ;)

--
Joost



[gentoo-user] Re: Kernel Modules

2011-06-10 Thread Nikos Chantziaras

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





Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Pandu Poluan
On Fri, Jun 10, 2011 at 14:22, Joost Roeleveld jo...@antarean.org wrote:
 On Friday 10 June 2011 08:52:15 Pandu Poluan wrote:
 -original message-
 Subject: Re: [gentoo-user] IPv6 not ready here; Hmmm
 From: Paul Hartman paul.hartman+gen...@gmail.com
 Date: 2011-06-10 03:52

 And another bonus is that there are plenty of

 funny things we can spell in hexadecimal. ;)

 While I'm sure I'll tag the C001:D00D address for my workstation, I'm not
 sure upper management will appreciate me naming some servers DEAD:BEEF or
 BAD:D06 or A55:401E ... :-P

 If you don't tell them and, when they do notice, tell them that changing the
 IPs is not recommended due to possible issues with the installed software, you
 might get away with that.

 Although, why reserve those for servers instead of said management? ;)


There's playing with fire, and there's playing with FIRE. :D

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



[gentoo-user] Gentoo server installation

2011-06-10 Thread Perenaster
Hey,
I dont't know if this is the right list I'm writing to but I want to use
Gentoo as server. My aim is a small as possible installation of an OS with
only the modules I want. So I thought Gentoo might be the OS of choice. Is
it suitable for an server or should I look for an other distro?
Is there anything in particular that I have to mention at the installation?
Thanks in advance,
Tom

-- 
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com
sip:3...@perenaster.com


Re: [gentoo-user] Gentoo server installation

2011-06-10 Thread Pandu Poluan
On Fri, Jun 10, 2011 at 17:13, Perenaster perenas...@googlemail.com wrote:
 Hey,
 I dont't know if this is the right list I'm writing to but I want to use
 Gentoo as server. My aim is a small as possible installation of an OS with
 only the modules I want. So I thought Gentoo might be the OS of choice. Is
 it suitable for an server or should I look for an other distro?

You know, we have a mailing list dedicated for those using Gentoo as
servers : gentoo-server

That said...

Depends on your definition of 'suitable'.

If you're more focused on 'only the things I need and nothing else'
a.k.a 'pedal-to-the-metal performance optimized for my system', then
the answer is a resounding : YES

If you want quick and (relatively) painless ( = fast ) updates, then
Gentoo's not really suitable for you.

Unless you want to take the time and pains to learn and implement an
'update server' who will perform the binary package creation.

(imagine trying emerge --update @world for 100 servers)

 Is there anything in particular that I have to mention at the installation?

Well, just use the hardened stage3, hardened profile, and hardened sources.

Oh, and config the kernel manually, of course :-)

 Thanks in advance,
 Tom

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] Gentoo server installation

2011-06-10 Thread Joost Roeleveld
On Friday 10 June 2011 12:13:22 Perenaster wrote:
 Hey,
 I dont't know if this is the right list I'm writing to but I want to use
 Gentoo as server. My aim is a small as possible installation of an OS with
 only the modules I want. So I thought Gentoo might be the OS of choice. Is
 it suitable for an server or should I look for an other distro?
 Is there anything in particular that I have to mention at the installation?
 Thanks in advance,
 Tom

Hi Tom,

Gentoo is quite usable as a Server. I use it as such myself.

The installation itself is the same wether it's for desktop or server. The 
only difference is which packages you install once it's running.
If you follow the handbook you end up with a working system where you can 
install the software you need/want. What will be missing, compared to most 
other distributions, are things like a graphical desktop.
For a server, this is not necessary and is also not found on my server.

What is usefull to consider is what the server is going to be used for. With 
this, I mean, to consider if using a hardened profile would be advisable. If 
yes, it's best to start with that rather then to convert your installation 
afterwards.

And I'm sure others on this list will have plenty of ideas as well.

--
Joost



Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Joost Roeleveld
On Friday 10 June 2011 17:08:40 Pandu Poluan wrote:
 On Fri, Jun 10, 2011 at 14:22, Joost Roeleveld jo...@antarean.org wrote:
  On Friday 10 June 2011 08:52:15 Pandu Poluan wrote:
  -original message-
  Subject: Re: [gentoo-user] IPv6 not ready here; Hmmm
  From: Paul Hartman paul.hartman+gen...@gmail.com
  Date: 2011-06-10 03:52
  
  And another bonus is that there are plenty of
  
  funny things we can spell in hexadecimal. ;)
  
  While I'm sure I'll tag the C001:D00D address for my workstation, I'm
  not sure upper management will appreciate me naming some servers
  DEAD:BEEF or BAD:D06 or A55:401E ... :-P
  
  If you don't tell them and, when they do notice, tell them that changing
  the IPs is not recommended due to possible issues with the installed
  software, you might get away with that.
  
  Although, why reserve those for servers instead of said management? ;)
 
 There's playing with fire, and there's playing with FIRE. :D

Considering I regularly play with Nitro mixtures and sharp blades spinning 
around through the air, playing with FIRE isn't too bad :)

Besides, how many managers do you have that actually check the IP-addresses 
the DHCP server gives their machines randomly? :)

--
Joost



[gentoo-user] Re: Gentoo server installation

2011-06-10 Thread James
Perenaster perenaster at googlemail.com writes:


 Hey,I dont't know if this is the right list I'm writing to but 
 I want to use Gentoo as server. My aim is a small as possible 
 installation of an OS with only the modules I want. 

I run several gentoo servers, on a minimal configuration.
It is painless and I do most updates at night, unattended
on the servers. Oh, I run duplicate machines on my servers
with mostly stable software; so if a version rollback is necessary
on a given piece of software, it's not too cumbersome (mostly).
If you are pushing the latest Java technology, it'll be a bit 
more challenging, imho. Minimal firewalls using Compact Flash 
are a favorite of mine using gentoo.

For a server, I'd suggest RAID although those docs are a bit dated,
folks here will help you stagger through the installation if
you choose to add RAID to your server(s).


Be careful, *Gentoo will seduce you* into building that ultimate
workstation, just the way you want it. TIME SINK, particularly if
you want tons of the latest software from various sources, but ultimate
pleasure as a workstation. Gentoo also runs as an embedded
platform and on many different architectures. If you are
not vigilant, Gentoo will even enhance your dreams, as
you sleep.


caveat emptor!
hth,
James






Re: [gentoo-user] RE: Kernel Modules

2011-06-10 Thread Paul Hartman
On Thu, Jun 9, 2011 at 8:41 PM, Pandu Poluan pa...@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.



Re: [gentoo-user] Gentoo server installation

2011-06-10 Thread Alan McKinnon
Apparently, though unproven, at 15:15 on Friday 10 June 2011, Joost Roeleveld 
did opine thusly:

 On Friday 10 June 2011 12:13:22 Perenaster wrote:
  Hey,
  I dont't know if this is the right list I'm writing to but I want to use
  Gentoo as server. My aim is a small as possible installation of an OS
  with only the modules I want. So I thought Gentoo might be the OS of
  choice. Is it suitable for an server or should I look for an other
  distro?
  Is there anything in particular that I have to mention at the
  installation? Thanks in advance,
  Tom
 
 Hi Tom,
 
 Gentoo is quite usable as a Server. I use it as such myself.

Funny think about Gentoo is that it can save you a few MB of disk space by 
removing things you don't need.

But it consumes 3GB of disk space to do it.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Alan McKinnon
Apparently, though unproven, at 15:17 on Friday 10 June 2011, Joost Roeleveld 
did opine thusly:

 On Friday 10 June 2011 17:08:40 Pandu Poluan wrote:
  On Fri, Jun 10, 2011 at 14:22, Joost Roeleveld jo...@antarean.org wrote:
   On Friday 10 June 2011 08:52:15 Pandu Poluan wrote:
   -original message-
   Subject: Re: [gentoo-user] IPv6 not ready here; Hmmm
   From: Paul Hartman paul.hartman+gen...@gmail.com
   Date: 2011-06-10 03:52
   
   And another bonus is that there are plenty of
   
   funny things we can spell in hexadecimal. ;)
   
   While I'm sure I'll tag the C001:D00D address for my workstation, I'm
   not sure upper management will appreciate me naming some servers
   DEAD:BEEF or BAD:D06 or A55:401E ... :-P
   
   If you don't tell them and, when they do notice, tell them that
   changing the IPs is not recommended due to possible issues with the
   installed software, you might get away with that.
   
   Although, why reserve those for servers instead of said management? ;)
  
  There's playing with fire, and there's playing with FIRE. :D
 
 Considering I regularly play with Nitro mixtures and sharp blades spinning
 around through the air, playing with FIRE isn't too bad :)
 
 Besides, how many managers do you have that actually check the IP-addresses
 the DHCP server gives their machines randomly? :)


You have managers that know what an IP address is?

Wow


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gentoo server installation

2011-06-10 Thread Pandu Poluan
On Fri, Jun 10, 2011 at 21:29, Alan McKinnon alan.mckin...@gmail.com wrote:
 Apparently, though unproven, at 15:15 on Friday 10 June 2011, Joost Roeleveld
 did opine thusly:

 On Friday 10 June 2011 12:13:22 Perenaster wrote:
  Hey,
  I dont't know if this is the right list I'm writing to but I want to use
  Gentoo as server. My aim is a small as possible installation of an OS
  with only the modules I want. So I thought Gentoo might be the OS of
  choice. Is it suitable for an server or should I look for an other
  distro?
  Is there anything in particular that I have to mention at the
  installation? Thanks in advance,
  Tom

 Hi Tom,

 Gentoo is quite usable as a Server. I use it as such myself.

 Funny think about Gentoo is that it can save you a few MB of disk space by
 removing things you don't need.

 But it consumes 3GB of disk space to do it.


Heh, I personally don't really care about hard disk usage.

All I know is, compared to other 'server'-oriented distros (or distro
variant), Gentoo has the least amount of memory usage :-)

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] Re: Error while `emerge grub`

2011-06-10 Thread Pandu Poluan
On Fri, Jun 10, 2011 at 05:46, walt w41...@gmail.com wrote:
 On 06/08/2011 10:54 PM, Pandu Poluan wrote:

   $ ./configure --prefix=/usr --build=x86-pc-linux-gnu

 Hm.  That should be --build=i686-pc-linux-gnu (for 32-bit machines)

 My first thought would be to grep through /etc/* for x86.  At this
 minute I don't have a second thought :(


Amazing! You're right!

Apparently I created a make.conf with x86-pc-linux-gnu instead of
i686-linux-gnu.

I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P

( That said, isn't it ... inconsistent that the flags are ~amd64 and
~x86 while the CHOST can be x86_64 and i686 ... )

Rgds,
-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] Re: Error while `emerge grub`

2011-06-10 Thread Alan McKinnon
Apparently, though unproven, at 16:42 on Friday 10 June 2011, Pandu Poluan did 
opine thusly:

 On Fri, Jun 10, 2011 at 05:46, walt w41...@gmail.com wrote:
  On 06/08/2011 10:54 PM, Pandu Poluan wrote:
$ ./configure --prefix=/usr --build=x86-pc-linux-gnu
  
  Hm.  That should be --build=i686-pc-linux-gnu (for 32-bit machines)
  
  My first thought would be to grep through /etc/* for x86.  At this
  minute I don't have a second thought :(
 
 Amazing! You're right!
 
 Apparently I created a make.conf with x86-pc-linux-gnu instead of
 i686-linux-gnu.
 
 I'll blame that to installing too many x86_64-pc-linux-gnu systems :-P
 
 ( That said, isn't it ... inconsistent that the flags are ~amd64 and
 ~x86 while the CHOST can be x86_64 and i686 ... )

Not at all inconsistent. Stupid, but not inconsistent.

AMD developed the 64 bit instructions set so it is correctly amd64. Intel 
developed the 32 bit instruction set so they can call it what they want it to 
be, which is x86.

Now, as for CHOST. Well, that comes from Red Hat who are deeply involved in 
glibc and gcc and they insist that the OneAndOnlyTrueName(tm) is x86_64.

Red Hat are flat out wrong of course, but that doesn't stop them punting their 
wrong idea and shoving it into the toolchain when we regular schmucks have to 
deal with it.

So now you know. The stupid ones are very very consistent in their stupidity.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Dale

OK.  I rebooted and I don't think the test results changed anything.

Test with IPv4 DNS record   
ok (1.003s) using ipv4
Test with IPv6 DNS record   
bad (0.496s)
Test with Dual Stack DNS record 
ok (0.993s) using ipv4
Test for Dual Stack DNS and large packet
ok (0.543s)
Test IPv4 without DNS   
ok (0.988s) using ipv4
Test IPv6 without DNS   
bad (0.012s)
Test IPv6 large packet  
bad (0.455s)
Test if your ISP's DNS server uses IPv6 
timeout (15.018s)



Kernel config.

root@fireball / # cat /usr/src/linux/.config | grep -i ipv6
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
# CONFIG_IPV6_MIP6 is not set
CONFIG_IPV6_SIT=y
CONFIG_IPV6_SIT_6RD=y
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_SUBTREES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
# IPv6: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV6=y
CONFIG_NF_CONNTRACK_IPV6=y
CONFIG_IP6_NF_MATCH_IPV6HEADER=y
root@fireball / #

Did I miss anything?  I think most of the failures are outside my rig.  
I don't run the DNS servers for google.  ;-)


Thoughts?  Something I need to check here?

Dale

:-)  :-)


Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Joost Roeleveld
On Friday 10 June 2011 16:30:16 Alan McKinnon wrote:
 Apparently, though unproven, at 15:17 on Friday 10 June 2011, Joost
 Roeleveld
 
 did opine thusly:
  On Friday 10 June 2011 17:08:40 Pandu Poluan wrote:
   On Fri, Jun 10, 2011 at 14:22, Joost Roeleveld jo...@antarean.org 
wrote:
On Friday 10 June 2011 08:52:15 Pandu Poluan wrote:
-original message-
Subject: Re: [gentoo-user] IPv6 not ready here; Hmmm
From: Paul Hartman paul.hartman+gen...@gmail.com
Date: 2011-06-10 03:52

And another bonus is that there are plenty of

funny things we can spell in hexadecimal. ;)

While I'm sure I'll tag the C001:D00D address for my
workstation, I'm not sure upper management will appreciate me
naming some servers DEAD:BEEF or BAD:D06 or A55:401E ... :-P

Although, why reserve those for servers instead of said
management? ;)
   
   There's playing with fire, and there's playing with FIRE. :D
  
  Considering I regularly play with Nitro mixtures and sharp blades
  spinning around through the air, playing with FIRE isn't too bad :)
  
  Besides, how many managers do you have that actually check the
  IP-addresses the DHCP server gives their machines randomly? :)
 
 You have managers that know what an IP address is?
 
 Wow

It is mentioned in some magazines on occasion
Although IP is usually translated to Intellectual Person by some and an IP-
address is the address of that person ;)

--
Joost



Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 10:46 AM, Dale rdalek1...@gmail.com wrote:

 Thoughts?  Something I need to check here?

Does your ISP offer IPv6? If not, are you using an IPv6 tunnel of some
kind? If not, then you don't have IPv6 connection to the Internet, so
the results look normal.



Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 9:30 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You have managers that know what an IP address is?

iPod, iPhone, iPad... surely iP is something related to that.



[gentoo-user] Re: Thanks for all the fish!

2011-06-10 Thread James
Alan Mackenzie acm at muc.de writes:


  Besides how can grow a cool community, if you leave?

 Hmm.  Yes I do feel guilty.  Maybe I can keep up on Usenet.

Yea OOPS, I meant nntp via your mail program. I use
thunderbird and the gentoo group is easy...

hth,

James





[gentoo-user] Re: thunderbird

2011-06-10 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 WTF is that thing the ladies are firing at 1:25 and 4:25? I'll 
 hazard a guess  at the calibre - 18mm?

Sorry for the delayed response.
Barret 50 cal would be my guess.

 And I thought the RPG7s we played with back in the day were impressive

Dam shame 911 happened. Lots of folks use to play with all sorts of
pyro-technik-toys. FEDS now have little patience for good old fashion fun.
anymore.

Besides, if folks can protect themselves, then much less law enforcement
is needed; aka bodes poorly for the political-legal-law_enforcement 
type of feudal business system we are now under, here in the good ole
USA i.e. spend your money and let lawyers protect you, based
on the paperwork that the law-enforcement file..

After 4 years in the Marine corp, my nephew's entire battalion
did not (re-up) continue with their military careers. It seems the
Rules of engagement just plain suck now. Too many have held fellow
dying marines in their arms as a result of the Afgan Army regulars' habit
of shooting American Marines. Big Scandal but Obama does not care. 
Nobody cares; nobody investigates. Better off waiting until a real war comes
about or politicians put their family members into military service..
Then things will change.


CHEERS!

James






Re: [gentoo-user] IPv6 not ready here; Hmmm

2011-06-10 Thread Dale

Paul Hartman wrote:

On Fri, Jun 10, 2011 at 10:46 AM, Dalerdalek1...@gmail.com  wrote:
   

Thoughts?  Something I need to check here?
 

Does your ISP offer IPv6? If not, are you using an IPv6 tunnel of some
kind? If not, then you don't have IPv6 connection to the Internet, so
the results look normal.

   


I have ATT so no idea what they do.  They are so slow at times, they 
may still be on IPv3 or something.  lol  I'm just kidding about IPv3.  
Just making a point.


Another thing, I have a old router too.  I'm not sure what role that 
would play in this.  Unless it just allows the packets through without 
any changes, it may be blocking the new stuff.


I guess I'm as ready as I can be right now.

Dale

:-)  :-)



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Dale

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

:-)  :-)



[gentoo-user] Re: thunderbird

2011-06-10 Thread Nikos Chantziaras

On 06/10/2011 07:43 PM, James wrote:

[snip war mongering crap]


Please keep bullshit out of a technical Linux mailing list, thank you.




Re: [gentoo-user] Re: thunderbird

2011-06-10 Thread Dale

James wrote:

Alan McKinnonalan.mckinnonat  gmail.com  writes:


   

WTF is that thing the ladies are firing at 1:25 and 4:25? I'll
hazard a guess  at the calibre - 18mm?
 

Sorry for the delayed response.
Barret 50 cal would be my guess.

   

And I thought the RPG7s we played with back in the day were impressive
 

Dam shame 911 happened. Lots of folks use to play with all sorts of
pyro-technik-toys. FEDS now have little patience for good old fashion fun.
anymore.

Besides, if folks can protect themselves, then much less law enforcement
is needed; aka bodes poorly for the political-legal-law_enforcement
type of feudal business system we are now under, here in the good ole
USA i.e. spend your money and let lawyers protect you, based
on the paperwork that the law-enforcement file..

After 4 years in the Marine corp, my nephew's entire battalion
did not (re-up) continue with their military careers. It seems the
Rules of engagement just plain suck now. Too many have held fellow
dying marines in their arms as a result of the Afgan Army regulars' habit
of shooting American Marines. Big Scandal but Obama does not care.
Nobody cares; nobody investigates. Better off waiting until a real war comes
about or politicians put their family members into military service..
Then things will change.


CHEERS!

James
   


I can't say I blame them.  They give them guns then tell them they can't 
use them.  May as well give them a plastic ball bat to fight with.  It 
would do as much good.  I suspect there is about to be a LOT of that 
going on.


Dale

:-)  :-)



Re: [gentoo-user] java eselect

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 1:05 PM, András Csányi sayusi.a...@gmail.com wrote:
 Hi All,

 I would like to use netbeans to programming in java language. I can't
 start netbeans because Cannot find java I thought, no problem
 because here is the fantastic eselect tool and I'm going to set up the
 java environment on my machine. But, I made a mistake. On my machine
 only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. By
 the way, the system-vm is not accessible for user, only for root. On
 one hand, after this I tried to delete or disable the system-vm but I
 didn't find any option for this in eselect. On the other hand, to use
 the same java-vm as system-vm and as user-vm is not possible because
 the eselect not able to do this setup.

 Here is my question:
 - how can I change to user-vm a system-vm when I have only one
 installed java-vm which is set up as system-vm?

 Thanks for any help in advance!

Maybe use java-config instead of eselect. Something like java-config -s 1



Re: [gentoo-user] java eselect

2011-06-10 Thread Yohan Pereira
On Friday 10 Jun 2011 20:05:16 András Csányi wrote:
 how can I change to user-vm a system-vm when I have only one
 installed java-vm which is set up as system-vm?

the system-vm and the user-vm can be the same. 
So in this case just set the user-vm to sun-jdk-1.6.0.26 by running

eselect java-vm set user 1

assuming you have only one vm as you say.

-- 

- Yohan Pereira

A man can do as he will, but not will as he will - Schopenhauer

Re: [gentoo-user] java eselect

2011-06-10 Thread András Csányi
On 10 June 2011 20:45, Yohan Pereira yohan.pere...@gmail.com wrote:
 On Friday 10 Jun 2011 20:05:16 András Csányi wrote:

 how can I change to user-vm a system-vm when I have only one

 installed java-vm which is set up as system-vm?

 the system-vm and the user-vm can be the same.

 So in this case just set the user-vm to sun-jdk-1.6.0.26 by running

 eselect java-vm set user 1

 assuming you have only one vm as you say.

Unfortunately not can be user and system vm the same according to
output of eselect commands below.

sa-home sayusi # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.6  system-vm

sa-home sayusi # eselect java-vm set user 1
!!! Error: Sorry, you cannot set a user vm as root. Set the system vm instead
exiting
sa-home sayusi #



-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] java eselect

2011-06-10 Thread András Csányi
On 10 June 2011 20:41, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Fri, Jun 10, 2011 at 1:05 PM, András Csányi sayusi.a...@gmail.com wrote:
 Hi All,

 I would like to use netbeans to programming in java language. I can't
 start netbeans because Cannot find java I thought, no problem
 because here is the fantastic eselect tool and I'm going to set up the
 java environment on my machine. But, I made a mistake. On my machine
 only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. By
 the way, the system-vm is not accessible for user, only for root. On
 one hand, after this I tried to delete or disable the system-vm but I
 didn't find any option for this in eselect. On the other hand, to use
 the same java-vm as system-vm and as user-vm is not possible because
 the eselect not able to do this setup.

 Here is my question:
 - how can I change to user-vm a system-vm when I have only one
 installed java-vm which is set up as system-vm?

 Thanks for any help in advance!

 Maybe use java-config instead of eselect. Something like java-config -s 1

java-config is not appropriate.

sa-home sayusi # java-config-2 -L
The following VMs are available for generation-2:
*)  Sun JDK 1.6.0.26 [sun-jdk-1.6]

sa-home sayusi # java-config-2 -s sun-jdk-1.6
!!! ERROR: The user 'root' should always use the System VM

sa-home sayusi # java-config -s sun-jdk-1.6
!!! ERROR: The user 'root' should always use the System VM
sa-home sayusi #



-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



[gentoo-user] RE: Kernel Modules

2011-06-10 Thread Pandu Poluan
-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale rdalek1...@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





Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Dale

Paul Hartman wrote:

See Pandu's latest message in this thread. Once you enable it like he
showed, it'll work like this:

# eselectpressed tab twice here
bashcomp   boost  ctags  fontconfig java-vm
 locale news   pager  python usage
 visual
binutils   --briefeditor help   kernel
 mesa   --no-colourpinentry   rc
versionwxwidgets
blas   cblas  envjava-nsplugin  lapack
 modulesopengl profileruby   vi
 xvmc

   


Oh.  Oh!!!  NEATO.  Now to remember I can do this the next time I 
can't remember the name of a module.  lol


Double neato !  It works after each option too.  Holy crap.  OK.  We 
need to start a thread and list all the NEATO things like this that 
others may not know about.  Sound like a idea?


Dale

:-)  :-)



Re: [gentoo-user] java eselect

2011-06-10 Thread Yohan Pereira
On Friday 10 Jun 2011 20:58:28 András Csányi wrote:
 Unfortunately not can be user and system vm the same according to
 output of eselect commands below.

you have to run the command as a normal user not the root user. 
Same goes for java-config as Paul suggested.
-- 

- Yohan Pereira

A man can do as he will, but not will as he will - Schopenhauer

Re: [gentoo-user] java eselect

2011-06-10 Thread András Csányi
On 10 June 2011 21:13, Yohan Pereira yohan.pere...@gmail.com wrote:
 On Friday 10 Jun 2011 20:58:28 András Csányi wrote:

 Unfortunately not can be user and system vm the same according to

 output of eselect commands below.

 you have to run the command as a normal user not the root user.

 Same goes for java-config as Paul suggested.

Oooop... :) I'm a noob...

Many thanks for this enlightenment! :)

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] java eselect

2011-06-10 Thread Alan McKinnon
Apparently, though unproven, at 21:03 on Friday 10 June 2011, András Csányi 
did opine thusly:

 On 10 June 2011 20:41, Paul Hartman paul.hartman+gen...@gmail.com wrote:
  On Fri, Jun 10, 2011 at 1:05 PM, András Csányi sayusi.a...@gmail.com 
wrote:
  Hi All,
  
  I would like to use netbeans to programming in java language. I can't
  start netbeans because Cannot find java I thought, no problem
  because here is the fantastic eselect tool and I'm going to set up the
  java environment on my machine. But, I made a mistake. On my machine
  only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. By
  the way, the system-vm is not accessible for user, only for root. On
  one hand, after this I tried to delete or disable the system-vm but I
  didn't find any option for this in eselect. On the other hand, to use
  the same java-vm as system-vm and as user-vm is not possible because
  the eselect not able to do this setup.
  
  Here is my question:
  - how can I change to user-vm a system-vm when I have only one
  installed java-vm which is set up as system-vm?
  
  Thanks for any help in advance!
  
  Maybe use java-config instead of eselect. Something like java-config -s
  1
 
 java-config is not appropriate.
 
 sa-home sayusi # java-config-2 -L
 The following VMs are available for generation-2:
 *)  Sun JDK 1.6.0.26 [sun-jdk-1.6]
 
 sa-home sayusi # java-config-2 -s sun-jdk-1.6
 !!! ERROR: The user 'root' should always use the System VM
 
 sa-home sayusi # java-config -s sun-jdk-1.6
 !!! ERROR: The user 'root' should always use the System VM
 sa-home sayusi #

That is incorrect.

java-config is quite appropriate. Using it to try and set a user vm for root 
is not, as the output clearly shows.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: Kernel Modules

2011-06-10 Thread Nikos Chantziaras

On 06/10/2011 10:08 PM, Dale wrote:

Paul Hartman wrote:

See Pandu's latest message in this thread. Once you enable it like he
showed, it'll work like this:

# eselectpressed tab twice here
bashcomp boost ctags fontconfig java-vm
locale news pager python usage
visual
binutils --brief editor help kernel
mesa --no-colour pinentry rc
version wxwidgets
blas cblas env java-nsplugin lapack
modules opengl profile ruby vi
xvmc



Oh. Oh!!! NEATO. Now to remember I can do this the next time I can't
remember the name of a module. lol

Double neato ! It works after each option too.


Well, it's called bash completion and works pretty much for everything 
that has a completion file.  It needs app-shells/bash-completion to be 
installed.  There's a also global USE flag called bash-completion.


And also an eselect module called bashcomp, where you can enable this 
feature for specific tools and packages.  eselect bashcomp list shows 
the packages that support this.  For example, try ls --tabtab and 
you get a list options.  Or gcc, or unrar, or...





Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Dale

Nikos Chantziaras wrote:

On 06/10/2011 10:08 PM, Dale wrote:

Paul Hartman wrote:

See Pandu's latest message in this thread. Once you enable it like he
showed, it'll work like this:

# eselectpressed tab twice here
bashcomp boost ctags fontconfig java-vm
locale news pager python usage
visual
binutils --brief editor help kernel
mesa --no-colour pinentry rc
version wxwidgets
blas cblas env java-nsplugin lapack
modules opengl profile ruby vi
xvmc



Oh. Oh!!! NEATO. Now to remember I can do this the next time I can't
remember the name of a module. lol

Double neato ! It works after each option too.


Well, it's called bash completion and works pretty much for everything 
that has a completion file.  It needs app-shells/bash-completion to 
be installed.  There's a also global USE flag called bash-completion.


And also an eselect module called bashcomp, where you can enable this 
feature for specific tools and packages.  eselect bashcomp list 
shows the packages that support this.  For example, try ls 
--tabtab and you get a list options.  Or gcc, or unrar, or...




This is one of those, 'I have heard of this but didn't know what is was' 
things.  I did set the USE flag and updated the needed things, -N and 
all, but this is pretty darn cool.


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?


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 3:05 PM, Dale rdalek1...@gmail.com wrote:
 I notice a really long list of things when I do this:

 eselect bashcomp list

 Is there a way to just enable them all?

The wiki has a bunch of info, including a command to set them all at
once. I've pasted it below, but e-mail formatting may ruin it.
http://en.gentoo-wiki.com/wiki/TAB-Completion

(quote)
If you want to enable all Bash tab-completions available for your system, type:

if using eselect (just remove the --global option if you don't
want to enable them globally):

( shopt -s extglob; eselect bashcomp list | while read -r s; do
s=${s##*][[:space:]]}; [[ $s != Available* ]]  eselect bashcomp
enable --global ${s%%?([[:space:]]\\*)}; done )

Remember, for the changes to have an immediate effect, issue the
following command:
source /etc/bash/bashrc
(unquote)



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 2:08 PM, Dale rdalek1...@gmail.com wrote:
 We need to start a thread and list all the NEATO things like this that
 others may not know about.  Sound like a idea?

Additional sources of fun info:

Gentoo Tips, Tricks  Documentation forum:
https://forums.gentoo.org/viewforum-f-12.html

Steve Dibb compiled a list of links to the Gentoo Weekly News tips 
tricks articles:
http://dev.gentoo.org/~beandog/tips/

And of course the Gentoo Wiki  Wiki Archives are full of great info
like this in general:
http://en.gentoo-wiki.com
http://www.gentoo-wiki.info



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Dale

Paul Hartman wrote:

On Fri, Jun 10, 2011 at 3:05 PM, Dalerdalek1...@gmail.com  wrote:
   

I notice a really long list of things when I do this:

eselect bashcomp list

Is there a way to just enable them all?
 

The wiki has a bunch of info, including a command to set them all at
once. I've pasted it below, but e-mail formatting may ruin it.
http://en.gentoo-wiki.com/wiki/TAB-Completion

(quote)
If you want to enable all Bash tab-completions available for your system, type:

 if using eselect (just remove the --global option if you don't
want to enable them globally):

( shopt -s extglob; eselect bashcomp list | while read -r s; do
s=${s##*][[:space:]]}; [[ $s != Available* ]]  eselect bashcomp
enable --global ${s%%?([[:space:]]\\*)}; done )

Remember, for the changes to have an immediate effect, issue the
following command:
source /etc/bash/bashrc
(unquote)

   


I was just starting to use the wiki when it crashed long ago.  After 
that, lots of stuff was missing so I haven't been back in a while.  I 
mostly learn off this list.  I don't even go to the forums much any more.


Looks like it would have a ALL option to me.  ;-)

Thanks for the link.  It is in process as I type.

Dale

:-)  :-)



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Mick
On Friday 10 Jun 2011 19:18:06 Paul Hartman wrote:
 On Fri, Jun 10, 2011 at 12:41 PM, Dale rdalek1...@gmail.com wrote:
  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
 
 See Pandu's latest message in this thread. Once you enable it like he
 showed, it'll work like this:
 
 # eselect pressed tab twice here
 bashcomp   boost  ctags  fontconfig java-vm
 locale news   pager  python usage
 visual
 binutils   --briefeditor help   kernel
 mesa   --no-colourpinentry   rc
 versionwxwidgets
 blas   cblas  envjava-nsplugin  lapack
 modulesopengl profileruby   vi
 xvmc

Not here:

# eselect bashcomp list
Available completions:
  [1]   gdbus
  [2]   gsettings

# eselect bashcomp enable eselect
!!! Error: /usr/share/bash-completion/eselect doesn't exist
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 4:34 PM, Mick michaelkintz...@gmail.com wrote:
 Not here:

 # eselect bashcomp list
 Available completions:
  [1]   gdbus
  [2]   gsettings

 # eselect bashcomp enable eselect
 !!! Error: /usr/share/bash-completion/eselect doesn't exist

Looks like maybe you didn't have the bash-completion USE flag set when
you emerged the eselect package.



Re: [gentoo-user] Re: Kernel Modules

2011-06-10 Thread Mick
On Friday 10 Jun 2011 22:42:21 Paul Hartman wrote:
 On Fri, Jun 10, 2011 at 4:34 PM, Mick michaelkintz...@gmail.com wrote:
  Not here:
  
  # eselect bashcomp list
  Available completions:
   [1]   gdbus
   [2]   gsettings
  
  # eselect bashcomp enable eselect
  !!! Error: /usr/share/bash-completion/eselect doesn't exist
 
 Looks like maybe you didn't have the bash-completion USE flag set when
 you emerged the eselect package.

Yes, that's why nothing more comes up in the list.  I was about to post this 
but you beat me to it!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Sorting soundcards...

2011-06-10 Thread meino . cramer
Hi,

With my PC I have three soundcards (from the Alsa point of view),
which are:

0 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xfcaf8000 irq 16
1 [NVidia ]: HDA-Intel - HDA NVidia
 HDA NVidia at 0xfe97c000 irq 25
2 [CameraB404271  ]: USB-Audio - USB Camera-B4.04.27.1
  OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at 
usb-:00:12.2-3, high

. To prevent, that they come up in any possible kind of sorting after
a reboot, I wrote into /etc/modporbe.d/alsa.conf:

# Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias snd-card-1 snd-usb-intel
alias sound-slot-1 snd-usb-intel
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

, but that did not help (I did a update-modules before reboot).

How can I urge the soundcards into a specific order?
How can I more specific than specifying snd-hda-intel since
this appears twice...?

Thank you very much in advance for any help! :)

Have a nice weekend!
Best regardsm
mcc




Re: [gentoo-user] Sorting soundcards...

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 5:39 PM,  meino.cra...@gmx.de wrote:
 How can I urge the soundcards into a specific order?
 How can I more specific than specifying snd-hda-intel since
 this appears twice...?

Oh, I love when someone asks a question that I already had to solve
for myself. :)

I also have 2 intel-hda devices and 1 usb-audio. If you read the ALSA
documentation in the kernel, you'll find that the index option is
how you determine the card order. But, like you realized, when you
have more than one of the same type, how do you do that?

The answer is that you can define multiple devices in one entry,
separated by comma. You can also specify vendor ID/product ID so it
knows which piece of hardware you are talking about.

options snd-intel-hda model=intel-x58,auto enable_msi=1,0 index=0,1
vid=0x8086,0x10de pid=0x3a3e,0x0be4
options snd-usb-audio index=2

To explain the first line:

options snd-intel-hda
- This part is obvious.

model=intel-x58,auto
- For the first card, I specify the model is intel-x58. That way it
shows me the proper inputs and outputs. For the second card (my Nvidia
HDMI) I set it to auto-detect.

enable_msi=1,0
- I want to enable MSI for my on-board sound, but disable it for my
Nvidia HDMI sound.

index=0,1
- My first card is index 0, second is index 1. That way my on-board is
always first.

vid=0x8086,0x10de
pid=0x3a3e,0x0be4
- Now this is the magical part :) By using vendor and product ID, it
knows which exact hardware I'm talking about in the previous options.

For your case, maybe you don't care about setting the model or the
MSI, you can leave that out. But the real important part to solve your
problem is to set the index and the vid/pid.

 Thank you very much in advance for any help! :)

I hope I helped!



Re: [gentoo-user] Sorting soundcards...

2011-06-10 Thread Mark Knecht
On Fri, Jun 10, 2011 at 3:39 PM,  meino.cra...@gmx.de wrote:
 Hi,

 With my PC I have three soundcards (from the Alsa point of view),
 which are:

    0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfcaf8000 irq 16
    1 [NVidia         ]: HDA-Intel - HDA NVidia
                         HDA NVidia at 0xfe97c000 irq 25
    2 [CameraB404271  ]: USB-Audio - USB Camera-B4.04.27.1
                      OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at 
 usb-:00:12.2-3, high

 . To prevent, that they come up in any possible kind of sorting after
 a reboot, I wrote into /etc/modporbe.d/alsa.conf:

    # Alsa kernel modules' configuration file.
    # ALSA portion
    # OSS/Free portion

    ##
    ## IMPORTANT:
    ## You need to customise this section for your specific sound card(s)
    ## and then run `update-modules' command.
    ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
    ##

    alias /dev/mixer snd-mixer-oss
    alias /dev/dsp snd-pcm-oss
    alias /dev/midi snd-seq-oss

    alias snd-card-0 snd-hda-intel
    alias sound-slot-0 snd-hda-intel
    alias snd-card-1 snd-usb-intel
    alias sound-slot-1 snd-usb-intel
    alias snd-card-0 snd-hda-intel
    alias sound-slot-0 snd-hda-intel

 , but that did not help (I did a update-modules before reboot).

 How can I urge the soundcards into a specific order?
 How can I more specific than specifying snd-hda-intel since
 this appears twice...?

 Thank you very much in advance for any help! :)

 Have a nice weekend!
 Best regardsm
 mcc



Please check the two sections at the Alsa Wiki for some suggestions to
your problems

http://alsa.opensrc.org/MultipleCards

For card ordering, look at the The newer slots= method entry.

For multiple cards using the same driver look at Ordering multiple
cards of the same type where basically you give it specifics about
each piece of hardware.

HTH,
Mark



Re: [gentoo-user] Sorting soundcards...

2011-06-10 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [11-06-11 01:08]:
 On Fri, Jun 10, 2011 at 5:39 PM,  meino.cra...@gmx.de wrote:
  How can I urge the soundcards into a specific order?
  How can I more specific than specifying snd-hda-intel since
  this appears twice...?
 
 Oh, I love when someone asks a question that I already had to solve
 for myself. :)
 
 I also have 2 intel-hda devices and 1 usb-audio. If you read the ALSA
 documentation in the kernel, you'll find that the index option is
 how you determine the card order. But, like you realized, when you
 have more than one of the same type, how do you do that?
 
 The answer is that you can define multiple devices in one entry,
 separated by comma. You can also specify vendor ID/product ID so it
 knows which piece of hardware you are talking about.
 
 options snd-intel-hda model=intel-x58,auto enable_msi=1,0 index=0,1
 vid=0x8086,0x10de pid=0x3a3e,0x0be4
 options snd-usb-audio index=2
 
 To explain the first line:
 
 options snd-intel-hda
 - This part is obvious.
 
 model=intel-x58,auto
 - For the first card, I specify the model is intel-x58. That way it
 shows me the proper inputs and outputs. For the second card (my Nvidia
 HDMI) I set it to auto-detect.
 
 enable_msi=1,0
 - I want to enable MSI for my on-board sound, but disable it for my
 Nvidia HDMI sound.
 
 index=0,1
 - My first card is index 0, second is index 1. That way my on-board is
 always first.
 
 vid=0x8086,0x10de
 pid=0x3a3e,0x0be4
 - Now this is the magical part :) By using vendor and product ID, it
 knows which exact hardware I'm talking about in the previous options.
 
 For your case, maybe you don't care about setting the model or the
 MSI, you can leave that out. But the real important part to solve your
 problem is to set the index and the vid/pid.
 
  Thank you very much in advance for any help! :)
 
 I hope I helped!
 

Hi Paul,

thank you for your quick response! :))

short question before starting a new adventure :)

Did specify this in /etc/modprobe.d/alsa.conf or in
/etc/conf.d/modules (I am asking due to the option keyword...)

Do you use udev?

...will start the new audio adventure next morning ... its
to late to keep my eyes open...

Best regards,
mcc





[gentoo-user] RE: Kernel Modules

2011-06-10 Thread Pandu Poluan
-original message-
Subject: Re: [gentoo-user] Re: Kernel Modules
From: Dale rdalek1...@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





Re: [gentoo-user] RE: Kernel Modules

2011-06-10 Thread Dale

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

:-)  :-)



Re: [gentoo-user] Sorting soundcards...

2011-06-10 Thread Paul Hartman
On Fri, Jun 10, 2011 at 6:25 PM,  meino.cra...@gmx.de wrote:
 short question before starting a new adventure :)

 Did specify this in /etc/modprobe.d/alsa.conf or in
 /etc/conf.d/modules (I am asking due to the option keyword...)

in /etc/modprobe.d/

 Do you use udev?

Yes, but I don't have any special udev rules for sound.

 ...will start the new audio adventure next morning ... its
 to late to keep my eyes open...

Good luck!



Re: [gentoo-user] Sorting soundcards...

2011-06-10 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [11-06-11 05:08]:
 On Fri, Jun 10, 2011 at 6:25 PM,  meino.cra...@gmx.de wrote:
  short question before starting a new adventure :)
 
  Did specify this in /etc/modprobe.d/alsa.conf or in
  /etc/conf.d/modules (I am asking due to the option keyword...)
 
 in /etc/modprobe.d/
 
  Do you use udev?
 
 Yes, but I don't have any special udev rules for sound.
 
  ...will start the new audio adventure next morning ... its
  to late to keep my eyes open...
 
 Good luck!
 

Hi Paul,

it seems that snd-hda-intel no longer supports vid= and pid=, since
there messages unknown parameter in the bootlog.
Also I dont find any product ids when grepping in /sys/.
or with lspci -vv.
I am using Advanced Linux Sound Architecture Driver Version 1.0.24. 
on a vanilla linux 2.6.39.1 kernel...

Am I lost again here...? 

Thank you very much in advance for any help! :)

Best regards
mcc