Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound

2006-02-27 Thread Ducky Z.
Hello,

I've removed kernel support for ALSA and using alsa-driver instead.
Still no luck and same error. And I still don't have /etc/asound.conf
or ~/.asoundrc. Is that a problem?

Thanks.

On 2/27/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
 On Sunday 26 February 2006 22:46, Zac Slade [EMAIL PROTECTED] wrote
 about 'Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no
 sound':
  On Sunday 26 February 2006 22:17, Ducky Z. wrote:
   I'm using the modules provided by the kernel, which is 2.6.15.
   alsa-lib is 1.0.10.
 
  This should be fine.

 Hrm, is alsa-lib 1.0 backwards compatible to 0.9?  'Cause the kernel
 shipped with 0.9 support for a while and my kernel now has to have an
 option to provide the 0.9 abi/api.

 You could try either upgrading your kernel or downgrading your alsa-lib.
 Or, you could abandon the kernel-provide modules and use alsa-drivers.

   When I aplay a file, it shows:
  
   ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to
   install hw params
   ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave
   aplay: main:544: audio open error: Inappropriate ioctl for device
 
  Hrm  Is this being done as root?  I think your /etc/asound.conf file
  might need some help.  I'm not sure here, but it might not be able to
  play because the wrong information is in the asound.conf file.

 Yeah, try as root and if that works, check permissions on stuff
 in /dev/sound.

 If you can get the 1.0 alsa-lib to work with your kernel, you can probably
 blow away your asound.conf file anyway.  The move to 1.0 made dmix
 automatic for devices that don't do hw mixing.

 --
 If there's one thing we've established over the years,
 it's that the vast majority of our users don't have the slightest
 clue what's best for them in terms of package stability.
 -- Gentoo Developer Ciaran McCreesh
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound

2006-02-27 Thread Ducky Z.
Hello,

Here are some more interesting output from dmesg while I was trying to
play a sound file.

PCI: Setting latency timer of device :00:1e.2 to 64
intel8x0_measure_ac97_clock: measured 50457 usecs
intel8x0: clocking to 48000
ACPI: PCI interrupt for device :00:1e.2 disabled
ACPI: PCI Interrupt :00:1e.2[A] - Link [LNKB] - GSI 10 (level,
low) - IRQ 10

Thanks.


On 2/27/06, Ducky Z. [EMAIL PROTECTED] wrote:
 Hello,

 I've removed kernel support for ALSA and using alsa-driver instead.
 Still no luck and same error. And I still don't have /etc/asound.conf
 or ~/.asoundrc. Is that a problem?

 Thanks.

 On 2/27/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
  On Sunday 26 February 2006 22:46, Zac Slade [EMAIL PROTECTED] wrote
  about 'Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no
  sound':
   On Sunday 26 February 2006 22:17, Ducky Z. wrote:
I'm using the modules provided by the kernel, which is 2.6.15.
alsa-lib is 1.0.10.
  
   This should be fine.
 
  Hrm, is alsa-lib 1.0 backwards compatible to 0.9?  'Cause the kernel
  shipped with 0.9 support for a while and my kernel now has to have an
  option to provide the 0.9 abi/api.
 
  You could try either upgrading your kernel or downgrading your alsa-lib.
  Or, you could abandon the kernel-provide modules and use alsa-drivers.
 
When I aplay a file, it shows:
   
ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to
install hw params
ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:544: audio open error: Inappropriate ioctl for device
  
   Hrm  Is this being done as root?  I think your /etc/asound.conf file
   might need some help.  I'm not sure here, but it might not be able to
   play because the wrong information is in the asound.conf file.
 
  Yeah, try as root and if that works, check permissions on stuff
  in /dev/sound.
 
  If you can get the 1.0 alsa-lib to work with your kernel, you can probably
  blow away your asound.conf file anyway.  The move to 1.0 made dmix
  automatic for devices that don't do hw mixing.
 
  --
  If there's one thing we've established over the years,
  it's that the vast majority of our users don't have the slightest
  clue what's best for them in terms of package stability.
  -- Gentoo Developer Ciaran McCreesh
  --
  gentoo-user@gentoo.org mailing list
 
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sata Controllers and drives

2006-02-27 Thread jarry
Brett I. Holcomb wrote:

 1. SATA Controllers - I see a bunch listed in menuconfig but what have
 you found to work? Is Promise any good?  What are some good brands

Personally I could not install gentoo 2005.1-r1 on ASUS A8N-VM mobo
(southbridge nVidia 410 MCP, + northbridge GF6100 graphics).
Loading sata_nv always freezes system. Probably too old kernel...

I also tried experimental install-amd64-universal-2005-12-11.iso
(as advised in gentoo-forum). This time booting was without problems,
both network as well as sata-drives were recognised. I could even
partition both sata-drives, and create /dev/md's arrays...

Problems came later, when formating (mke2fs -j /dev/md*):
I got random sync-errors causing kernel-panic. I repeated it a few
times, always sync-error, but on random places of disk (sometimes while
formating 1st partition, sometimes while formating 4th partition).
I could never get past formating all 8 partitions, so I gave it up...

 2.  Sata drives - what have you found to be reliable and work well.
 I've crossed Hitachi off my list because of my experience with the
 Ultrastores.

In my story, I have tried it with 2x Seagate 7200.9, but I still think
problem is mobo/chipset. I tested drives with Seagates' sea-tools
utility, full test took ~4 hours (2x 160GB). No errors found. Moreover,
I could install WinXP on this computer without any problem. Sad, but
I've heard NVidia is not so open to kernel-dev to give them enough
details about its new chipsets...

That's my experience with gentoo  sata drives/controler. I'l try
to get some VIA-based mobo (K8T890) to see if it works better...

Jarry

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where do these use flags come from?

2006-02-27 Thread Alexander Kirillov
Too bad the guy willing to answer your question didn't live up to the 
expectations


Do you never read to the end of mails to which you reply? Stop top-posting. 
Don't include quotes to which you do not reply. Reply below quotes to which 
you do reply. It is not that hard!


http://www.catb.org/jargon/html/T/top-post.html


--
gentoo-user@gentoo.org mailing list



[gentoo-user] redundant Perl module?

2006-02-27 Thread Jorge Almeida


I made a perl script using the Digest::MD5 module.  _It works_. Now, a
emerge -s md5 displays, besides some other packages unrelated to perl:
*  dev-perl/Authen-DigestMD5
   Latest version available: 0.04
   Latest version installed: [ Not Installed ]
   Size of downloaded files: 4 kB
   Homepage:http://search.cpan.org/~salva/Authen-DigestMD5-0.04/
   Description: SASL DIGEST-MD5 authentication (RFC2831)
   License: || ( Artistic GPL-2 )

*  dev-perl/MD5
   Latest version available: 2.03
   Latest version installed: [ Not Installed ]
   Size of downloaded files: 2 kB
   Homepage:http://www.cpan.org/authors/is/G/GA/GAAS/MD5-2.03.readme
   Description: The Perl MD5 Module
   License: Artistic

*  perl-core/Digest-MD5
   Latest version available: 2.33
   Latest version installed: [ Not Installed ]
   Size of downloaded files: 43 kB
   Homepage:http://search.cpan.org/~gaas/Digest-MD5-2.33/
   Description: MD5 message digest algorithm
   License: || ( Artistic GPL-2 )

*  virtual/perl-Digest-MD5
   Latest version available: 2.33
   Latest version installed: [ Not Installed ]
   Size of downloaded files: 0 kB
   Homepage:http://www.gentoo.org/proj/en/perl/
   Description: Virtual for Digest-MD5
   License: GPL-2

So, none is installed...

How to explain this? Are the packages perl-core/Digest-MD5 and
virtual/perl-Digest-MD5 obsolete? Meaning, are the modules included in
the standard packages?
(I did check that none of these packages is installed off portage...)


--
Jorge Almeida

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] redundant Perl module?

2006-02-27 Thread Dirk Heinrichs
Am Montag, 27. Februar 2006 12:57 schrieb ext Jorge Almeida:

 How to explain this? Are the packages perl-core/Digest-MD5 and
 virtual/perl-Digest-MD5 obsolete? Meaning, are the modules included in
 the standard packages?

# epm -qf /usr/lib/perl5/5.8.8/i686-linux/Digest/MD5.pm
perl-5.8.8

So Digest::MD5 is installed as part of Perl 5.8.8. But this may not be true 
for older Perl versions.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgp5f8yCIoSLR.pgp
Description: PGP signature


Re: [gentoo-user] libungif?

2006-02-27 Thread Philip Webb
060226 David Corbin wrote:
 On Sunday 26 February 2006 07:02 pm, Peter Ruskin wrote:
 On Sunday 26 February 2006 17:01, David Corbin wrote:
 grep: /usr/lib/libungif.la: No such file or directory

Which version of Kdegraphics are you trying to install ?
Have you thought of using the split ebuilds instead ?

Using the latter (3.5.1), I have a lot of separate KDE packages installed
 no 'libungif.la' but instead 'libgif.la',
which comes from 'media-libs/giflib-4.1.4'.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Acerhk and dri problem on travelmate 803

2006-02-27 Thread Benoit Joseph
Hello all,I have an acer travelmate LCI803 laptop running gentoo (of course)I have followed the instructions and gentoo-wiki about my laptop and several others ressources on forum and wiki. everything was fine:
* hotkeys (using acerhk)* fglrx (using latest ati-drivers )* fbsplash/bootsplash* ...until I upgrade...I switched from gcc 3.3.6 to 3.4 (folowing the instructions on wiki) then I updated xorg and ati-drivers
First, i had to switch to xorg drm for my ati radeon because latest ati-drivers does not support dlloader and my hardened use flag need it (or X die with a libbitmap.a problem...)Now I can start xorg, i have a better glxgears but if I try to leave x to go in a console, I get a black screen, keyboard and mouse not responding and I have to hard reboot...
Second, after gcc, and xorg/dri update, my module acerhk stop working. The module loads without a warning but no rep under /proc/driver and rmmod acerhk segfault! :-/Of course, i have recompiled my kernel and modules-rebuild'ed the external modules after my upgrades but nothing works. I can not have acerhk working nomally...
Any helps greatly appreciated!!thanks in advanceBenoit


Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Christian Heim
On Monday 27 February 2006 15:01, MC wrote:
 Hi list,
i need to search for a particular string inside a list of text
 files: i've thought of this very simple one:

 cat *.C | grep GetChi

 it works but however if the string is found it does not say in which
 of the file it has been found.

try this one:
grep -H GetChi *.C

-- 
Christian Heim [EMAIL PROTECTED]
Gentoo Linux Developer - vserver


pgpQgrDYB0qqv.pgp
Description: PGP signature


Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Marco Calviani
Hi Boris,

 try grep GetChi *.C

poor me, this was very easy. It was my fault because man grep says it all.

Many thanks for your help Boris,
MC

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound

2006-02-27 Thread Boyd Stephen Smith Jr.
On Monday 27 February 2006 03:17, Ducky Z. [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, 
still no sound':
 I've removed kernel support for ALSA and using alsa-driver instead.
 Still no luck and same error. And I still don't have /etc/asound.conf
 or ~/.asoundrc. Is that a problem?

No.  They are only necessary if you want to create non-hw based or hw+sw 
based alsa devices.  My people will have some because it used to be 
necessary to create a dmix device in order to enable software mixing.

If anything, the *presence* of an asound.conf / asoundrc would be more 
likely to be causing trouble than the *absence* thereof.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Alexander Skwar
Marco Calviani wrote:
 Hi list,
i need to search for a particular string inside a list of text
 files: i've thought of this very simple one:
 
 cat *.C | grep GetChi
 
 it works but however if the string is found it does not say in which
 of the file it has been found.
 
 Is there a simple way to do it?

grep GetChi *.C


Alexander Skwar
-- 
Doubt isn't the opposite of faith; it is an element of faith.
-- Paul Tillich, German theologian.
-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Sata Controllers and drives

2006-02-27 Thread brettholcomb
Thanks for the input.  I've come to the conclusion my two motherboards are too 
old.  One doesn't work on 2005.1-r1  and the other doesn't work on Windows XP 
Pro.  Both systems install but they can't boot because they don't see the 
drives and don't see the controller.


 
 From: [EMAIL PROTECTED]
 Date: 2006/02/27 Mon AM 06:15:27 EST
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Sata Controllers and drives
 
 Brett I. Holcomb wrote:
 
  1. SATA Controllers - I see a bunch listed in menuconfig but what have
  you found to work? Is Promise any good?  What are some good brands
 
 Personally I could not install gentoo 2005.1-r1 on ASUS A8N-VM mobo
 (southbridge nVidia 410 MCP, + northbridge GF6100 graphics).
 Loading sata_nv always freezes system. Probably too old kernel...
 
 I also tried experimental install-amd64-universal-2005-12-11.iso
 (as advised in gentoo-forum). This time booting was without problems,
 both network as well as sata-drives were recognised. I could even
 partition both sata-drives, and create /dev/md's arrays...
 
 Problems came later, when formating (mke2fs -j /dev/md*):
 I got random sync-errors causing kernel-panic. I repeated it a few
 times, always sync-error, but on random places of disk (sometimes while
 formating 1st partition, sometimes while formating 4th partition).
 I could never get past formating all 8 partitions, so I gave it up...
 
  2.  Sata drives - what have you found to be reliable and work well.
  I've crossed Hitachi off my list because of my experience with the
  Ultrastores.
 
 In my story, I have tried it with 2x Seagate 7200.9, but I still think
 problem is mobo/chipset. I tested drives with Seagates' sea-tools
 utility, full test took ~4 hours (2x 160GB). No errors found. Moreover,
 I could install WinXP on this computer without any problem. Sad, but
 I've heard NVidia is not so open to kernel-dev to give them enough
 details about its new chipsets...
 
 That's my experience with gentoo  sata drives/controler. I'l try
 to get some VIA-based mobo (K8T890) to see if it works better...
 
 Jarry
 
 -- 
 Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
 Satte Provisionen f?r GMX Partner: http://www.gmx.net/de/go/partner
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Muthu

Hai,

I am using gentoo 2.6.15 kernel and grub 0.96.

I am using software RAID1 for 3 devices (2 IDE(hda,hdb)+1 
SATA(sda)).


I am not able to boot through the SATA hardisk(ie. Just the 
plain cursor comes). When the grub loader loads initially, if I type the 
the command

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)

and it hangs, it is not detecting the SATA drive and not even coming out 
from the prompt.


After the machine booted in the normal mode using IDE drive, I 
logged in as root and I tried

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)
hd(4,0)

 Now the grub is recognizing the SATA drive.

 Can somebody give me a suggestion why the SATA is not 
recognized while booting in the grub?


Thanks  Regards,
Muthu.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread John Jolet


On Feb 27, 2006, at 9:27 AM, Muthu wrote:


Hai,

I am using gentoo 2.6.15 kernel and grub 0.96.
I am using software RAID1 for 3 devices (2 IDE(hda,hdb)+1  
SATA(sda)).


I am not able to boot through the SATA hardisk(ie. Just the  
plain cursor comes). When the grub loader loads initially, if I  
type the the command

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)

and it hangs, it is not detecting the SATA drive and not even  
coming out from the prompt.


After the machine booted in the normal mode using IDE  
drive, I logged in as root and I tried

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)
hd(4,0)

 Now the grub is recognizing the SATA drive.

 Can somebody give me a suggestion why the SATA is not  
recognized while booting in the grub?



is your sata support compiled in as modules or into the kernel?

Thanks  Regards,
Muthu.


--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where do these use flags come from?

2006-02-27 Thread Richard Fish
On 2/27/06, Alexander Kirillov [EMAIL PROTECTED] wrote:
 Too bad the guy willing to answer your question didn't live up to the
 expectations

No, it's too bad the guy willing to answer his question didn't adhere
to the etiquette rules of this and other mailing lists.  He should
have:

1. trimmed the original message to quote only the part necessary for
his reply to make sense.
2. Written his reply below the quoted part.

His entire response message could have been 5 lines, instead of 60.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/issue information

2006-02-27 Thread Marco Calviani
Hi list,
   using this page of the gentoo wiki http://gentoo-wiki.com/TIP_Console_Prompt
i'm trying to use the /etc/issue file.

After having enabled the file in the /etc/ssh/sshd_config file with

Banner /etc/issue

file i've observed that effectively the system shows the welcome string.
However i'm not seeing the effective system name, kernel etc but only this:

This is \n.\O (\s \m \r) \t

Password:

it seems that the escape character is not correctly identified.

What i'm doing wrong?

Regards,
MC

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] accelerate emerge

2006-02-27 Thread El Nino
AybOwan!

  is there a way to accelerate the fetching part of emerge
by using prozilla or some other tool?

--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.15-gentoo-r1-sinhalese-jan201
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Muthu




On Feb 27, 2006, at 9:27 AM, Muthu wrote:


Hai,

I am using gentoo 2.6.15 kernel and grub 0.96.
I am using software RAID1 for 3 devices (2 IDE(hda,hdb)+1  
SATA(sda)).


I am not able to boot through the SATA hardisk(ie. Just the  
plain cursor comes). When the grub loader loads initially, if I  type 
the the command

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)

and it hangs, it is not detecting the SATA drive and not even  coming 
out from the prompt.


After the machine booted in the normal mode using IDE  drive, 
I logged in as root and I tried

grubfind /boot/grub/stage1
hd(0,0)
hd(1,0)
hd(4,0)

 Now the grub is recognizing the SATA drive.

 Can somebody give me a suggestion why the SATA is not  
recognized while booting in the grub?



is your sata support compiled in as modules or into the kernel?


sata support is compiled in to the kernel. It is detecting as SCSI 
drive. I could access the disk.



Thanks  Regards,
Muthu.


--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Boris Fersing
2006/2/27, El Nino [EMAIL PROTECTED]:
 AybOwan!

   is there a way to accelerate the fetching part of emerge
 by using prozilla or some other tool?

Hi,

if you want to use prozilla, just change the  FETCHCOMMAND and
RESUMECOMMAND in /etc/make.conf

There is some examples in /etc/make.conf.example, but not for prozilla ...

HTH.

Boris

PS: With portage-2.1_pre* you can use the parallel fetch, just add
parallel-fetch in the FEATURES variable ...
 ...
 The future lies ahead.
  ___
  Have you mooed today? 
  
 \^__^
  \   (oo) \___
  (__) \ )\/\
 | |-w   |
 | || |

 2.6.15-gentoo-r1-sinhalese-jan201
 (((o)))~--~--~--
 Proud to be a Sinhalese.
 SINHALESE ARE GENIUSES OF IRRIGATION
 http://easyweb.easynet.co.uk/~sydney/sinhales.htm

 --
 gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Alexander Skwar
El Nino wrote:

   is there a way to accelerate the fetching part of emerge
 by using prozilla or some other tool?

I never quite understood the sense in those tools.

Why should prozilla or some other tool make the
download be faster? When I download something with
wget, or watch emerge invoking wget, it's always
maxing out the saturation of the line.

Alexander Skwar
-- 
Doubt isn't the opposite of faith; it is an element of faith.
-- Paul Tillich, German theologian.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Javier Payno
El Lunes, 27 de Febrero de 2006 16:52, Muthu escribió:
  is your sata support compiled in as modules or into the kernel?

 sata support is compiled in to the kernel. It is detecting as SCSI
 drive. I could access the disk.

At the boot while rub is runing the kernel isn't loaded on the system, the 
kernel module and the support for grub are different.

Look for the supoort of your sata chipset on grub homepage or something like 
this, or you can try to boot the kernel from a /boot partition in a IDE disk 
and then mount the / from the SATA drive when the kernel give you support

Regards
-- 
Javier Payno

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Uwe Thiem
On 27 February 2006 17:27, Muthu wrote:
 Hai,

  I am using gentoo 2.6.15 kernel and grub 0.96.

  I am using software RAID1 for 3 devices (2 IDE(hda,hdb)+1
 SATA(sda)).

  I am not able to boot through the SATA hardisk(ie. Just the
 plain cursor comes). When the grub loader loads initially, if I type the
 the command
 grubfind /boot/grub/stage1
 hd(0,0)
 hd(1,0)

 and it hangs, it is not detecting the SATA drive and not even coming out
 from the prompt.

  After the machine booted in the normal mode using IDE drive, I
 logged in as root and I tried
 grubfind /boot/grub/stage1
 hd(0,0)
 hd(1,0)
 hd(4,0)

   Now the grub is recognizing the SATA drive.

   Can somebody give me a suggestion why the SATA is not
 recognized while booting in the grub?

If you want to boot from a device your kernel has no built-in driver for use 
an initrd (for the nit-pickers: initramfs) generated by genkernel. ;-)

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] After upgrading to the latest Baselayout...

2006-02-27 Thread Seo Boon, NG
I have the following error upon booting up after the latest baselayout upgrade.
My lo interface can comes alive after I manually do a ifconfig lo up. Any I'm
operating a number of services on lo, I need lo to be up and running afteri each
reboot. Any idea how to fix this? Thanks.

init.d £ ./net.lo start
 * Caching service dependencies ...
 *  Service 'cupsd' should be AFTER service 'vmware', but one of
 *  the services 'vmware' depends on, depends on 'cupsd'! [ ok ]
 *  * Starting lo
 *   Bringing up lo
 * 127.0.0.1/8
 * No loaded modules provide 127.0.0.1/8 (127.0.0.1/8_start)[ !! ]
 *  brd
 *  No loaded modules provide brd (brd_start)
 *  127.255.255.255

-- 
SB
http://www.employees.org/‾sbng/pgp.txt
Key fingerprint = 5945 5E12 25A9 2404 8900  E171 052C 33B6 E210 AB93
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread El Nino
On 2/27/06, Boris Fersing [EMAIL PROTECTED] wrote:
 2006/2/27, El Nino [EMAIL PROTECTED]:
  AybOwan!
 
is there a way to accelerate the fetching part of emerge
  by using prozilla or some other tool?
 
 Hi,

 if you want to use prozilla, just change the  FETCHCOMMAND and
 RESUMECOMMAND in /etc/make.conf

 There is some examples in /etc/make.conf.example, but not for prozilla ...

 HTH.

 Boris

 PS: With portage-2.1_pre* you can use the parallel fetch, just add
 parallel-fetch in the FEATURES variable ...

how can i get to know all these portage features?

  ...
  The future lies ahead.
   ___
   Have you mooed today? 
   
  \^__^
   \   (oo) \___
   (__) \ )\/\
  | |-w   |
  | || |
 
  2.6.15-gentoo-r1-sinhalese-jan201
  (((o)))~--~--~--
  Proud to be a Sinhalese.
  SINHALESE ARE GENIUSES OF IRRIGATION
  http://easyweb.easynet.co.uk/~sydney/sinhales.htm
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 


 --
 Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

 --
 gentoo-user@gentoo.org mailing list




--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.15-gentoo-r1-sinhalese-jan201
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Willie Wong
On Mon, Feb 27, 2006 at 04:44:19PM +0100, Penguin Lover Marco Calviani squawked:
 file i've observed that effectively the system shows the welcome string.
 However i'm not seeing the effective system name, kernel etc but only 
 this:
 
 This is \n.\O (\s \m \r) \t
 
 Password:
 
 it seems that the escape character is not correctly identified.
 

Not an answer, but an observation on my part of a similar behaviour:

On my box, the first load of the issue would display the right thing
(substituting the proper text for all the escape characters), but if, 
say, I type in an invalid username/password combo, login will wait a
few seconds (like it is told to do) and display the banner again. But
this time, the escaped characters will be displayed like what you
have there. But if I once again log-in correctly, and then log-out,
the banner displayed on that VC would be correct again. 

I can't figure out what's wrong either. 

W
-- 
Man, I broke my G string trying to finger a minor... 
  Now my guitar is useless.
Sortir en Pantoufles: up 107 days,  9:03
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Richard Fish
On 2/27/06, Muthu [EMAIL PROTECTED] wrote:
   Can somebody give me a suggestion why the SATA is not
 recognized while booting in the grub?

Grub uses BIOS calls to access disk drives.  Is this SATA disk on a
separate controller card?  If so, I suspect that card doesn't have a
bootable BIOS.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Richard Fish
On 2/27/06, Uwe Thiem [EMAIL PROTECTED] wrote:
 If you want to boot from a device your kernel has no built-in driver for use
 an initrd (for the nit-pickers: initramfs) generated by genkernel. ;-)

This won't help.  Grub uses BIOS calls to access the disk
drives...kerrnel drivers/initrd doesn't matter.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Richard Fish
 Look for the supoort of your sata chipset on grub homepage or something like

Grub doesn't support SATA chipsets, IDE chipsets, SCSI chipsets, or
any other kind of chipset.  It supports PC BIOS interface calls to
find and read bootable disks.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: SATA+GRUB not able to boot

2006-02-27 Thread Mick
Javier Payno wrote:

 El Lunes, 27 de Febrero de 2006 16:52, Muthu escribió:
  is your sata support compiled in as modules or into the kernel?

 sata support is compiled in to the kernel. It is detecting as SCSI
 drive. I could access the disk.
 
 At the boot while rub is runing the kernel isn't loaded on the system, the
 kernel module and the support for grub are different.
 
 Look for the supoort of your sata chipset on grub homepage or something
 like this, or you can try to boot the kernel from a /boot partition in a
 IDE disk and then mount the / from the SATA drive when the kernel give you
 support

Grub will boot hard drives (SATA inc.) as long as the BIOS maps them
correctly.  Is your SATA seen by the BIOS?  Check
your /boot/grub/device.map and include/correct the path for your SATA
drive.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Richard Fish
On 2/27/06, Marco Calviani [EMAIL PROTECTED] wrote:
 After having enabled the file in the /etc/ssh/sshd_config file with

 Banner /etc/issue

 file i've observed that effectively the system shows the welcome string.
 However i'm not seeing the effective system name, kernel etc but only 
 this:

 This is \n.\O (\s \m \r) \t

 Password:

 it seems that the escape character is not correctly identified.

 What i'm doing wrong?

Those escape characters are recognized only by the getty program,
which is used for console logins.  You should still be able to use the
color setting escape sequences, since those are terminal escapes.  But
the substitution stuff is getty specific, and will not work with ssh.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-27 Thread Ciaran McCreesh
On Sun, 26 Feb 2006 20:26:54 -0500 John J. Foster
[EMAIL PROTECTED] wrote:
| That's a very true statement, and part of the attraction of Gentoo.
| But your comment about most users (at least of this distro) not
| having the slightest clue what's best for them is totally off base,
| (except, perhaps, where I'm concerned ;-)).

Hah. Try doing bug wrangling for a week and you might change that
opinion.

Anyway, part of the point of using a distribution is that it spares you
from having to know what's best for you.

-- 
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


[gentoo-user] using gnupic

2006-02-27 Thread maxim wexler
Hello group,

Like to learn from others their experiences using
gnupic tools. 

What is the best programmer? DIY preferred. Serial or
parallel. What sorts of pitfalls, tradeoffs? Are some
of the pic chips more linux-worthy than others?

I plan to use a K6 500MHz AMD as a dedicated pic
development platform. Any tips on how to configure it
for best results? USE flags etc?

-mw

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Daniel da Veiga
On 2/27/06, Alexander Skwar [EMAIL PROTECTED] wrote:
 El Nino wrote:

is there a way to accelerate the fetching part of emerge
  by using prozilla or some other tool?

 I never quite understood the sense in those tools.

 Why should prozilla or some other tool make the
 download be faster? When I download something with
 wget, or watch emerge invoking wget, it's always
 maxing out the saturation of the line.


Well, if you have a high bandwidth line, like 8MB ADSL for example,
the host providing the download usually limit your download speed
reserving some band to other requests. If you could teach portage to
fetch pieces (like some other tools do) from different mirrors till
you saturate your line, your download would be considerably faster
(all your band would be used).

So, lets say I can use a program and tell it to use the GENTOO_MIRRORS
variable to download various pieces of the same file (reaching the
mirror servers limit and after a while your band limit), this would
ensure you would always use the max band you can... I think I saw some
tool over the net that could do that... Maybe wget itself

/me go read the man pages...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] python stack smashing attack

2006-02-27 Thread El Nino
dear friends,

yesterday i sync my portage. but after it completed i can't compile
some applications, its always saying following error. please help me
to solv this. i sync the portage today but still same result.

python: stack smashing attack in function sha_done()
Aborted


#emerge info
Gentoo Base System version 1.12.0_pre15

*** Deprecated use of action 'info', use '--info' instead
Portage 2.1_pre5 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2,
2.6.15-gentoo-r5-ait227a i686)
=
System uname: 2.6.15-gentoo-r5-ait227a i686 Pentium III (Coppermine)
dev-lang/python: 2.3.4-r1, 2.4.2
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium3 -O3 -pipe -fstack-protector
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc
CONFIG_PROTECT_MASK=/etc/gconf /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d
CXXFLAGS=-march=pentium3 -O3 -pipe -fstack-protector
DISTDIR=/home/storage/public/gentoo/distfiles
FEATURES=autoconfig candy ccache distcc distlocks sandbox sfperms
strict userpriv usersandbox
GENTOO_MIRRORS=http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LINGUAS=si en
MAKEOPTS=-j2
PKGDIR=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://134.68.220.97/gentoo-portage
USE=x86 16bit X a52 aac aalib acl acpi activefilter aliaschain alsa
apache2 apm asf async audiofile avi bash-completion berkdb
bitmap-fonts bl bluetooth browserplugin bzip2 cdparanoia cdr chroot
cjk clamav cnamefix cracklib crypt css cups curl customlog dbus dga
dhcp directfb divx4linux dlloader dpms dts dv dvb edl eds emboss
encode exif extraengine fame fax fb fbcon fbdev ffmpeg firefox flac
flash foomaticdb fortran fpx gd gdbm ggi gif gimp glut gmail gmp
gnutls gpgme gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal hpn
id3 idn ieee1394 imagemagick imap imlib immqt ipalias ipv6 irda java
javascript jbig jikes jpeg jpeg2 jpeg2k justify kde kdgraphics
kerberos lame lcd lcms ldap libcaca libclamav libg++ libwww lirc
logmail logrotate lzo mad maildir mailwrapper md5sum mikmod mime mjpeg
mmap mmx mng mono motif mozcalendar mozdevelop mozilla mozsvg mp3
mp4live mpeg mpeg2 mpi mplayer multipleip musepack musicbrainz mysql
nas ncurses network nfs nis nls nntp nptl nptlonly nsplugin oav odbc
ogg oggvorbis openexr opengl oss pam pam_chroot pam_console pcmcia
pdflib perl player png pop posix ppds python qmail qt quicktime quotas
readline real roundrobin rtc samba scanner sdl shorten smime smp smtp
sndfile socks5 spamassassin speex spell spf sqlite sse sse-filters ssl
stencil-buffer svg svga swat sysfs syslog tcpd tetex tga theora
threads tiff tools truetype truetype-fonts type1-fonts ucs2
underscores unicode usb utf8 v4l v4l2 vcd vhosts vidix virus-scan
vorbis win32codecs winbind wmf xanim xine xml xml2 xmlreader xmms xpm
xprint xv xvid xvmc zeroconf zip zlib elibc_glibc kernel_linux
linguas_si linguas_en userland_GNU video_cards_ati
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS,
PORTDIR_OVERLAY




--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.15-gentoo-r1-sinhalese-jan201
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-27 Thread Dave Nebinger

Ciaran McCreesh wrote:

Anyway, part of the point of using a distribution is that it spares you
from having to know what's best for you.


That's a little harsh, Ciaran.  I did the linux from scratch thing.  Had 
a lot of fun with it.  Enjoyed being down in the bowels of the linux 
system and the total control over what was installed.  I knew what was 
best for me, I knew what my requirements were and built the box to 
satisfy those requirements.


Then after a few weeks of tracking freshmeat daily to see what updates I 
needed to download and apply manually, I stumbled upon gentoo and have 
been a happy gentoo'er since.  I never lost sight of what was best for 
me, what my requirements were.  I merely had to alter my processes to 
incorporate the automated nature that gentoo offers (what a relief that 
was ;-)


Your statement is probably true for all of the binary distribution 
folks.  But I doubt that you'll get many from this crowd that would say 
that we want or expect the gentoo team to know what's best for [us].



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Hans-Werner Hilse
Hi,

On Mon, 27 Feb 2006 17:05:39 +0100 Alexander Skwar
[EMAIL PROTECTED] wrote:

 Why should prozilla or some other tool make the
 download be faster? When I download something with
 wget, or watch emerge invoking wget, it's always
 maxing out the saturation of the line.

On my 1Gig line on my workstation at work it's usually _not_ saturizing
the line. But I decided that it's not very polite to use a parallel
fetching tool under these circumstances...

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After upgrading to the latest Baselayout...

2006-02-27 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Seo Boon, NG wrote:

I have the following error upon booting up after the latest baselayout
upgrade.
My lo interface can comes alive after I manually do a ifconfig lo up.
Any I'm
operating a number of services on lo, I need lo to be up and running
afteri each
reboot. Any idea how to fix this? Thanks.

init.d £ ./net.lo start
 * Caching service dependencies ...
 * Service 'cupsd' should be AFTER service 'vmware', but one of
 * the services 'vmware' depends on, depends on 'cupsd'! [ ok ]
 * * Starting lo
 * Bringing up lo
 * 127.0.0.1/8
 * No loaded modules provide 127.0.0.1/8 (127.0.0.1/8_start) [ !! ]
 * brd
 * No loaded modules provide brd (brd_start)
 * 127.255.255.255

Are you running a customly configured kernel? Do you have loopback
support enabled (in your kernel)?

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEAznWLYGSSmmWCZMRAlmjAKDW76t4Fvi6ibcir21C19qcuxEFyACfQKHo
z57EddKPt82UUizrooRc1As=
=EFeG
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python stack smashing attack

2006-02-27 Thread Richard Fish
On 2/27/06, El Nino [EMAIL PROTECTED] wrote:
 yesterday i sync my portage. but after it completed i can't compile
 some applications, its always saying following error. please help me
 to solv this. i sync the portage today but still same result.

 python: stack smashing attack in function sha_done()
 Aborted


snip

 FEATURES=autoconfig candy ccache distcc distlocks sandbox sfperms
 strict userpriv usersandbox

Do all of your distcc hosts use the same version of gcc?

Does this work if you do FEATURES=-distcc emerge ...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After upgrading to the latest Baselayout...

2006-02-27 Thread Richard Fish
On 2/27/06, Seo Boon, NG [EMAIL PROTECTED] wrote:
  *   Bringing up lo
  * 127.0.0.1/8
  * No loaded modules provide 127.0.0.1/8 (127.0.0.1/8_start)[ 
 !! ]

Looks like your /etc/conf.d/net file is confused.  Please post the
contents of that file, and also specify which version of baselayout
you are using.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-27 Thread Dave Nebinger

Hans-Werner Hilse wrote:

Why should prozilla or some other tool make the
download be faster? When I download something with
wget, or watch emerge invoking wget, it's always
maxing out the saturation of the line.


On my 1Gig line on my workstation at work it's usually _not_ saturizing
the line. But I decided that it's not very polite to use a parallel
fetching tool under these circumstances...


I would bet that has more to do with traffic shaping on your connection 
to the external world than anything to do with the local bandwidth, in 
which case you could probably parallel all you want w/o improving 
download performance.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Marco Calviani
Hi Richard,

 Those escape characters are recognized only by the getty program,
 which is used for console logins.  You should still be able to use the
 color setting escape sequences, since those are terminal escapes.  But
 the substitution stuff is getty specific, and will not work with ssh.

thanks for sharing this info. It comes completely new for me. So, as
far as i understand, there is no way of having this info with ssh
login? Am i right?

Thanks,
MC

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA+GRUB not able to boot

2006-02-27 Thread Uwe Thiem
On 27 February 2006 18:48, Richard Fish wrote:
 On 2/27/06, Uwe Thiem [EMAIL PROTECTED] wrote:
  If you want to boot from a device your kernel has no built-in driver for
  use an initrd (for the nit-pickers: initramfs) generated by genkernel.
  ;-)

 This won't help.  Grub uses BIOS calls to access the disk
 drives...kerrnel drivers/initrd doesn't matter.

Yup, realised that meanwhile.

Sorry for the wrong answer.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where do these use flags come from?

2006-02-27 Thread kashani

Bo Andresen wrote:
I decided I wanted to remove the ipv6 use flag which I have had enabled in 
make.conf for quite a while but never really been on a ipv6 network and don't 
suspect I will in the near future. When upgrading firefox I noted it has that 
use flag and decided I want to know what it actually does. Only, I cannot 
find it anywhere in the ebuilds! So where does it come from and what 
*exactly* does it do?


	Looks like you've already been answered. However when the ipv6 flag 
first hit the scene about two years ago it seemed to cause a number of 
weird problems so I disabled it on most machines. I'm not sure if that's 
the case today, but as always you're better off disabling something if 
you're not using it.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] need to be in wheel for sound?

2006-02-27 Thread Antoine

Benno Schulenberg wrote:

Antoine wrote:


I just had to add the missus to wheel for her to get sound in kde



Check the permissions and owners in /dev/s{,ou}nd?

Benno


tux ~ # ls -l /dev/sound/
total 0
crw-rw  1 root audio 14, 12 Jan 19 20:29 adsp
crw-rw  1 root audio 14,  4 Jan 19 20:29 audio
crw-rw  1 root audio 14,  3 Jan 19 20:29 dsp
crw-rw  1 root audio 14,  0 Jan 19 20:29 mixer
crw-rw  1 root audio 14,  1 Jan 19 20:29 sequencer
crw-rw  1 root audio 14,  8 Jan 19 20:29 sequencer2
tux ~ # ls -l /dev/sound/audio
crw-rw  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

The groups seem right... but even after adding her to wheel the problems 
persist after a reboot. It seems bizarre as I haven't had sound problems 
for ages.

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-27 Thread Ciaran McCreesh
On Mon, 27 Feb 2006 12:33:46 -0500 Dave Nebinger [EMAIL PROTECTED]
wrote:
| Your statement is probably true for all of the binary distribution 
| folks.  But I doubt that you'll get many from this crowd that would
| say that we want or expect the gentoo team to know what's best for
| [us].

What, you think that everyone here knows exactly which version of gcc,
with which patches and which corresponding binutils to use? You think
that everyone here knows exactly which versions of db they do and do
not need installed? You think that everyone here knows which kernel
headers they should be using and in what way they should be patched?

Most of our users don't have a clue about those questions. Heck, most
of our devs don't either. Figuring all that stuff out correctly is a
hell of a lot of work. One of the major reasons for using Gentoo over
LFS is that someone else has done said work for you.

-- 
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


[gentoo-user] hard lockups w/nfs, md raid5

2006-02-27 Thread matthew . garman

I've got a homebuilt server running gentoo.  I just built a software
(linux md) RAID5 array using four SATA drives (connected via a
Promise PCI SATA card).

In addition to the RAID array, there's a SCSI drive from which the
OS boots and runs; two PATA drives merged together under lvm2; and
one PATA drive mounted normally (i.e. no lvm2/md/whatever).

Last night, I was copying about 26GB from the standalone PATA drive
to the RAID array.  At the same time, I was ripping a DVD to the
RAID drive via NFS (i.e. the rip occurred on a different computer,
but the storage was the RAID array exported via nfs).

Twice in a row, under these conditions, the server locked up.  They
were hard lockups---couldn't ping the machine and the keyboard was
totally unresponsive.

I checked the logs, and couldn't find ANYTHING to suggest the cause
of the lockup (nothing at all out of the ordinary).

After being discouraged by the two hard lockups, I performed one
task at a time: first ripped the DVD, then copied files.  No
lockups.

My questions are: (1) does anyone know what might have caused the
lockups?  I have a feeling I could duplicate this again without too
much effort.  Also, (2) is there any mechanism I can use to actually
track down the root cause?  Right now, there are too many variables:
flaky hardware (although this machine has *never* locked up prior to
adding the SATA card+drives), nfs daemon, libata code, sata
controller driver, linux md code...

Thanks in advance,
Matt

-- 
Matt Garman
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Richard Fish
On 2/27/06, Marco Calviani [EMAIL PROTECTED] wrote:
 Hi Richard,

  Those escape characters are recognized only by the getty program,
  which is used for console logins.  You should still be able to use the
  color setting escape sequences, since those are terminal escapes.  But
  the substitution stuff is getty specific, and will not work with ssh.

 thanks for sharing this info. It comes completely new for me. So, as
 far as i understand, there is no way of having this info with ssh
 login? Am i right?

The current time will be difficult.  But you could create a file (like
/etc/issue.ssh) with the rest of the information in it:

echo This is `hostname`.`hostname -d` ( `uname -s` `uname -m` `uname
-r` )  /etc/issue.ssh

You could put the above in local.start to update the hostname or
kernel version information at each boot.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hard lockups w/nfs, md raid5

2006-02-27 Thread Richard Fish
On 2/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 My questions are: (1) does anyone know what might have caused the
 lockups?

My experience has been that lockups occuring during heavy IO can be
caused by aggressive memory timings.  If your BIOS supports it, try
increasing the memory timings.

Also try the memory test script from here, but it does pretty much
what you were describing...massive IO and memory bandwidth test:

http://people.redhat.com/dledford/memtest.html

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] need to be in wheel for sound?

2006-02-27 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Antoine wrote:

 Benno Schulenberg wrote:

 Antoine wrote:

 I just had to add the missus to wheel for her to get sound in kde



 Check the permissions and owners in /dev/s{,ou}nd?

 Benno


 tux ~ # ls -l /dev/sound/
 total 0
 crw-rw 1 root audio 14, 12 Jan 19 20:29 adsp
 crw-rw 1 root audio 14, 4 Jan 19 20:29 audio
 crw-rw 1 root audio 14, 3 Jan 19 20:29 dsp
 crw-rw 1 root audio 14, 0 Jan 19 20:29 mixer
 crw-rw 1 root audio 14, 1 Jan 19 20:29 sequencer
 crw-rw 1 root audio 14, 8 Jan 19 20:29 sequencer2
 tux ~ # ls -l /dev/sound/audio
 crw-rw 1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

 The groups seem right... but even after adding her to wheel the
 problems persist after a reboot. It seems bizarre as I haven't had
 sound problems for ages.
 Cheers
 Antoine

I have never bee able to get the sound working right in KDE for my
normal user account.  I know it has to be permissions related somehow,
since it seems to work for root.  I've got the same permissons you do
in /dev/sound, and  my user account is also in the wheel group.  I
wonder if it matters what your primary group is, as mine is (or was)
NOT wheel.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEA1xMLYGSSmmWCZMRAry3AKDwEnWcXUQcR2h44Jw3VG+2PNqZAQCdEEF6
yj0jsApISC7D6sO9HyGimyo=
=+0jo
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] need to be in wheel for sound?

2006-02-27 Thread Richard Fish
On 2/27/06, Antoine [EMAIL PROTECTED] wrote:
 tux ~ # ls -l /dev/sound/
 total 0
 crw-rw  1 root audio 14, 12 Jan 19 20:29 adsp
 crw-rw  1 root audio 14,  4 Jan 19 20:29 audio
 crw-rw  1 root audio 14,  3 Jan 19 20:29 dsp
 crw-rw  1 root audio 14,  0 Jan 19 20:29 mixer
 crw-rw  1 root audio 14,  1 Jan 19 20:29 sequencer
 crw-rw  1 root audio 14,  8 Jan 19 20:29 sequencer2
 tux ~ # ls -l /dev/sound/audio
 crw-rw  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

These are the legacy OSS device nodes.  Most likely KDE is using the
alsa device nodes at /dev/snd/.  What are the permissions on those?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Willie Wong
On Mon, Feb 27, 2006 at 12:45:58PM -0700, Penguin Lover Richard Fish squawked:
 The current time will be difficult.  But you could create a file (like
 /etc/issue.ssh) with the rest of the information in it:
 
 echo This is `hostname`.`hostname -d` ( `uname -s` `uname -m` `uname
 -r` )  /etc/issue.ssh
 
 You could put the above in local.start to update the hostname or
 kernel version information at each boot.
 

IIRC, another choice is to emerge linux-logo. I believe it comes with 
a init.d script that does precisely that. And you can program in an
ANSI/ASCII banner while you are at it. 

W
-- 
So there was an argument over what type of engineer God was, to have
created man. Some suggested Electrical Engineer, given the complex
neural network, others suggested Mechanical Engineer, given the
amazing mechanics of the body. It was finally realized that he was a
Civil Engineer, as only a Civ. E. would put an waste management
facility in a recreational area.
Sortir en Pantoufles: up 107 days, 12:37
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/issue information

2006-02-27 Thread Greg Bur
On 2/27/06, Marco Calviani [EMAIL PROTECTED] wrote:
Hi Richard, Those escape characters are recognized only by the getty program, which is used for console logins.You should still be able to use the color setting escape sequences, since those are terminal escapes.But
 the substitution stuff is getty specific, and will not work with ssh.thanks for sharing this info. It comes completely new for me. So, asfar as i understand, there is no way of having this info with ssh
login? Am i right?Look and see if you have an /etc/issue.netAll of my old RedHat boxes used that file to display a logon banner via ssh. 


[gentoo-user] [OT] Buffalo LinkTheater Wireless Media Player

2006-02-27 Thread John J. Foster
Just wondering if anybody is using this device, and what their
experience with it is. Possibly in conjuction with their TeraStation
Home Server.

Thanks,
festus

-- 
I contend we are both atheists, I just believe in one fewer gods than
you do. When you understand why you dismiss all the other possible gods, 
you will understand why I dismiss yours.
...Stephen F Roberts


pgpTDzB8ELUWa.pgp
Description: PGP signature


Re: [gentoo-user] need to be in wheel for sound?

2006-02-27 Thread Uwe Thiem
On 27 February 2006 22:13, Richard Fish wrote:
 On 2/27/06, Antoine [EMAIL PROTECTED] wrote:
  tux ~ # ls -l /dev/sound/
  total 0
  crw-rw  1 root audio 14, 12 Jan 19 20:29 adsp
  crw-rw  1 root audio 14,  4 Jan 19 20:29 audio
  crw-rw  1 root audio 14,  3 Jan 19 20:29 dsp
  crw-rw  1 root audio 14,  0 Jan 19 20:29 mixer
  crw-rw  1 root audio 14,  1 Jan 19 20:29 sequencer
  crw-rw  1 root audio 14,  8 Jan 19 20:29 sequencer2
  tux ~ # ls -l /dev/sound/audio
  crw-rw  1 root audio 14, 4 Jan 19 20:29 /dev/sound/audio

 These are the legacy OSS device nodes.  Most likely KDE is using the
 alsa device nodes at /dev/snd/.  What are the permissions on those?

Just read through the thread again. It isn't clear what *kind* of sound the 
original poster Antoine meant.

There is a big difference between playing sound files residing on your 
harddisk and playing CDs in your CD-ROM. For the latter, you don't really 
need access to those audio devices but to the CD-ROM because a CD player like 
kscd only sends commands to it and receives responses from it. The CD-ROM 
then sends the audio stream directly to your soundcard; it isn't really going 
through your CPU.

[EMAIL PROTECTED] ~ $ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Feb 27 14:25 /dev/cdrom - hdd
[EMAIL PROTECTED] ~ $ ls -l /dev/hdd
brw-rw 1 root cdrom 22, 64 Feb 27 14:25 /dev/hdd

As you can see, the CD-ROm isn't in the audio but in the cdrom group. So if 
your problem is with CDs add your users to group cdrom.

If that isn't your problem, play with the options under Control Center - 
Sound  Multimedia - Sound System - Hardware - Select the audio device.

I used to have it set to Autodetect and no OSS support in the kernel. That 
worked. All of a sudden - probably after the update to KDE 3.5.1, but I am 
not completely sure here - that stopped working. Setting the audio device 
to ALSA explicitly didn't work either. Now I need the OSS emulation in my 
kernel and audio device set to OSS explicitly. 

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Wildcards in /etc/group

2006-02-27 Thread Sascha Hlusiak
Hi group,

I administrate a gentoo box, that authenticates with ldap.
Authentication works fine, and the ldap server is giving my user an uid
and one gid : 1000(Domain Users) in my case. I have NO access to the
ldap server.

I want now, on this local machine, that everybody, who can login, is in
another group, maybe audio. I can add certain ldap users to the
/etc/group file, which is respected. So my ldap user is in the local
wheel group, too.

But how can I do this for every other user? /etc/group does not seem
accept wildcard users, or group names. How can I do this, without
touching the ldap server? Is there a pam module, which can do this?


Thank you,
Sascha





signature.asc
Description: OpenPGP digital signature