Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-28 Thread Zac Slade
On Monday 27 February 2006 00:48, Dirk Heinrichs wrote:
 Wrong. Switch to runlevel 1 (using telinit 1), which is for maintenance.
 In RL 1, no user processes are running and you can umount everything
 except /.
Partially right.  Gentoo has several gotchas in runlevel 1.  If /usr is a 
seperate filesystem you have to be careful.  Bash by default is not 
statically linked and requires readline (which is installed in /usr/lib).  ls 
will require libgpm which is also in /usr/lib.  So you have to be careful.  
One of the best things you can do for yourself is install an all in one shell 
for maintenece like busybox or nash.  Also lvm is not statically linked and 
can require libraries out of /usr/lib also.  So be careful and understand 
what you are doing.  You  just might need a livecd in some cases for 
shrinking.

-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Adding gw route in /etc/conf.d/net

2006-02-28 Thread Harry Putnam
I've recently added a second nic and a sort of semi-dmz machine on a
new subnet so my gentoo box now has 2 nics with addresses:
192.168.0.4  and 192.168.1.2.  That second one was installed just to
talk to the semi-dmz machine also with 2 nics at 192.168.0.19 amd
192.168.1.1

I say semi because this is really just for my own experimentation.
I'm sending everything that hits my router/firewall (NETGEAR FVS-318) 
thru to that machine on 192.168.0.19.  Its running openbsd and PF.

I wanted it sort of isolated so my PF rules block all traffic on  
192.168.0.19 from the rest of the local network and talks only to the
incoming stuff from the netgear router.

I don't really want to go on and on into a description of this but cut
right to the chase:

Some things endup trying to use the new 192.168.1.2 address for
outgoing, like firing up a webbrowser which files since its the wrong
network. 

/etc/conf.d/net currently looks like this:

  config_eth0=( 192.168.0.4 netmask 255.255.255.0 )
  
  routes_eth0=(
 default via 192.168.0.20
  )
  config_eth1=( 192.168.1.2 netmask 255.255.255.0 )

I wondering if that is the reason for my troubles.  maybe I need to
add a static route for config_eth1? 

Or something else like changing the netmask to 255.255.0.0
So its all one network (192.168.0/16)

I'm a little over my head here so would like to hear from some
experienced networking people as to how to go at this.

I know how to set a static route using the route command ( I think)
but not sure how to in /etc/conf.d/net.

Just to see if I'm clear off base.
  I'm thinking something like:
  
   route add 192.168.1.1 192.168.1.2

would set a static route from gentoo 192.168.1.2 to obsd 192.168.1.1

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] when will seamonkey be available in portage?

2006-02-28 Thread Zhang Weiwu
Just curious, everytime I don't know where to look for progress of the
update of certain software, I think of this question:

How can I know when certain package (seamonkey) is going to be added to the
portage?

--
Zhang Weiwu   Real Softservice
International business: http://www.realss.com
International sales:0086 10 84606011
Inland business:http://www.realss.cn
Inland sales call:  0086 592 2099987
Sent from Pine: http://www.washington.edu/pine/
-- 
gentoo-user@gentoo.org mailing list



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

2006-02-28 Thread Seo Boon, NG
Wrote Richard Fish on Tue, Feb 28, 2006 at 01:52:49AM SGT:
 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.

My baselayout is:

*  sys-apps/baselayout
  Latest version available: 1.12.0_pre16-r1
  Latest version installed: 1.12.0_pre16-r1
  Size of files: 632 kB
  Homepage:  http://www.gentoo.org/
  Description:   Filesystem baselayout and init scripts
  License:   GPL-2

/etc/conf.d/net only has one entry. 
iface_eth0=dhcp

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

-- 
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] Gentoo LVM Newbie Question

2006-02-28 Thread Dirk Heinrichs
Am Dienstag, 28. Februar 2006 06:01 schrieb ext Zac Slade:
 On Monday 27 February 2006 00:48, Dirk Heinrichs wrote:
  Wrong. Switch to runlevel 1 (using telinit 1), which is for
  maintenance. In RL 1, no user processes are running and you can umount
  everything except /.

 Partially right.  Gentoo has several gotchas in runlevel 1.  If /usr is a
 seperate filesystem you have to be careful.  Bash by default is not
 statically linked and requires readline (which is installed in /usr/lib).
  ls will require libgpm which is also in /usr/lib.  So you have to be
 careful. One of the best things you can do for yourself is install an all
 in one shell for maintenece like busybox or nash.  Also lvm is not
 statically linked and can require libraries out of /usr/lib also.  So be
 careful and understand what you are doing.  You  just might need a livecd
 in some cases for shrinking.

Oops, you're right, telinit 1 doesn't work as expected in Gentoo (are there 
any bugreports about it?). However, I can reboot into RL 1 just fine and 
umount /usr w/o problems. I can also use ls just fine with /usr unmounted, 
all fs maintenance tools should also work.

However, after trying it out, it seems that even telinit 3 (when booted into 
RL 1) doesn't work properly, so using a LiveCD indeed looks to be the 
better option for the moment.

Bye...

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


pgpkmy6rGJKJn.pgp
Description: PGP signature


Re: [gentoo-user] Adding gw route in /etc/conf.d/net

2006-02-28 Thread Zac Slade
On Monday 27 February 2006 20:06, Harry Putnam wrote:
 /etc/conf.d/net currently looks like this:

   config_eth0=( 192.168.0.4 netmask 255.255.255.0 )

   routes_eth0=(
  default via 192.168.0.20
   )
   config_eth1=( 192.168.1.2 netmask 255.255.255.0 )
With both interfaces up what is the output of ip route?  I don't see 
anything wrong with the configuration really, both networks are in different 
subnets so they should be seperate.  However you may be getting a default 
route for eth1.  You really don't need one, from the description you give you 
don't need a route at all for eth1.  If all the computers on the 
192.168.0.0/24 network can all see each other's MAC addresses then there is 
no problem.

 I wondering if that is the reason for my troubles.  maybe I need to
 add a static route for config_eth1?
This should not be required for your setup as I understand it.  I'd be realy 
interested in your arp table too, arp -a.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SUID mounts

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 00:56, Ow Mun Heng wrote:
 Hi All,

   I'm having some issues with enabling programs to be suid root. Stuffs
 like /bin/mount /usr/bin/mount.cifs is already in mode 47xx and I still
 get errors that I have no permissions to execute it (to mount)
If the mount point is not specified in /etc/fstab then only root can do the 
mount.  If it's in /etc/fstab it needs the option users to allow this.  There 
are exceptions, like when HAL manages the mount for you.

 (I'm troubleshooting another program but using mount as an example as
 the error symptom is the same)
What is the other program?  What is the real issue?  Mount is sort of special.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

If you are using the latest prozilla:

RESUMECOMMAND='/usr/local/bin/proz -r --no-curses --no-getch -s ${URI}
- -P ${DISTDIR} --min-size=2048'

This will invoke an ftp mirror search if the filesize if above 2MB (I do
this because the time taken for a  2MB is less than the search for
faster mirrors). Adjust to your likings ;-)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEA3KTCt0ZF9kLPvYRAgalAJsFip3T5V7XWRFNed2f0LH2rXUKCACgpBYV
hFsSjn1c/mHztaYOjDdidSw=
=A5u8
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 03:03, Dirk Heinrichs wrote:
 Oops, you're right, telinit 1 doesn't work as expected in Gentoo (are there
 any bugreports about it?). However, I can reboot into RL 1 just fine and
 umount /usr w/o problems. I can also use ls just fine with /usr unmounted,
 all fs maintenance tools should also work.
It just depends on the setup and USE flags.  The situation has begun to 
improve in the default case.

The telinit command is not how it's done in Gentoo.  You should use rc or 
init.  The best way to get to single user mode on a running Gentoo system is 
to use rc single.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-28 Thread Boyd Stephen Smith Jr.
On Monday 27 February 2006 23:01, Zac Slade [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Gentoo LVM Newbie Question':
 On Monday 27 February 2006 00:48, Dirk Heinrichs wrote:
  Wrong. Switch to runlevel 1 (using telinit 1), which is for
  maintenance. In RL 1, no user processes are running and you can umount
  everything except /.

Also, some maintenance tasks can be run when a filesystem is mounted 
read-only that can't be run when a filesystem is mounted read-write.  So, 
you may be able to do some tasks without disturbing the system as much as 
a init 1 will do.

 Partially right.  Gentoo has several gotchas in runlevel 1.  If /usr is
 a seperate filesystem you have to be careful.  

Also, I've had init scripts leave things open in both /usr and /var, but 
these stragglers can be killed simply:
fuser -mv mount_point # to list
fuser -mk mount_point # to kill

In my experience the processes killed will be either recreated when the 
service is restarted, or were not actually required for any service.

 Bash by default is not 
 statically linked and requires readline (which is installed in
 /usr/lib).

Used to be a problem, isn't anymore.  My bash is no longer linked to 
readline at all, and readline has been moved to /lib:

# ls -l /lib/*readline*
lrwxrwxrwx 1 root root 16 Feb 24 09:11 /lib/libreadline.so - 
libreadline.so.5
lrwxrwxrwx 1 root root 18 Feb 24 09:11 /lib/libreadline.so.5 - 
libreadline.so.5.1
-rwxr-xr-x 1 root root 246528 Feb 24 09:11 /lib/libreadline.so.5.1

 ls will require libgpm which is also in /usr/lib.

This was a bug at one time, but IIRC, has been fixed.  My ls no longer 
links to gpm at all, and gpm has been moved to /lib:

# ls -l /lib/*gpm*
lrwxrwxrwx 1 root root11 Feb 24 08:01 /lib/libgpm.so - libgpm.so.1
lrwxrwxrwx 1 root root16 Feb 24 08:01 /lib/libgpm.so.1 - 
libgpm.so.1.19.0
-rwxr-xr-x 1 root root 24160 Feb 24 08:01 /lib/libgpm.so.1.19.0

IMO, finding a binary in /bin or /sbin that links to a library in /usr 
(including /usr/local etc.) is probably grounds for a bug report, even if 
it's not currently causing any problems.

 So you  
 have to be careful. One of the best things you can do for yourself is
 install an all in one shell for maintenece like busybox or nash.  

This is a good idea, even if none of your particular examples are 
problematic.  The crux of your argument is valid: some very useful 
programs reside in /usr or use libraries in /usr so when trying to umount 
it you must be prepared to do without those programs.

 lvm is not statically linked and can require libraries out of /usr/lib
 also.

lvm2 is static by default, but I have enabled the nolvmstatic USE flag. 
This is in contrast to /other/ programs, like mdadm, which are just as 
important but only statically linked is the static USE flag is on.

Why the developers decided this crazy behavior is acceptable is a mystery 
to me.  IMO, lvm2 should just be using the static use flag like all the 
other packages.

-- 
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] After upgrading to the latest Baselayout...

2006-02-28 Thread RockerZ71
On Monday 27 February 2006 12:52, Richard Fish wrote:
 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)   
  [ !! ]


etc-update and then check out /etc/conf.d/net.  I had this same problem a few 
weeks ago and I think I fixed it by just commenting out just about everything 
in that file that wasn't already commented.  all I have in it now is:

modules=( dhcpcd )
config_eth1=( dhcp )
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Zac Slade
On Monday 27 February 2006 10:39, El Nino wrote:
  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
 how can i get to know all these portage features?
Read two lines above this one for the answer to your question.  The other way 
is to read man portage, man emerge, man make.conf.  The example file stays 
updated with new features (it may lag some) and so do the man pages.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] XFig Export

2006-02-28 Thread Justin Hart
I'm using xfig for figures for a paper that I am writing.  When I hit
the export menu option, it crashes.  Inconvenient, since I need to get
this into a format acceptable to latex (is there a package for .fig
files?)

Anyway, is anybody else experiencing this?  Can anybody tell me a fix?
--
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



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

2006-02-28 Thread Boyd Stephen Smith Jr.
On Monday 27 February 2006 10:39, Seo Boon, NG [EMAIL PROTECTED] wrote 
about '[gentoo-user] After upgrading to the latest Baselayout...':
 I have the following error upon booting up after the latest baselayout
 upgrade.

  * 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

Last time I saw this error is was because of upgrade to bash.  You might 
try downgrading bash to a known good version.  That fixed it for my 
friend.  (After much gnashing of teeth since he was out of town and 
provides internet services and it broke one of his eth interfaces.)

-- 
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] when will seamonkey be available in portage?

2006-02-28 Thread Alexander Skwar
Zhang Weiwu wrote:

 How can I know when certain package (seamonkey) is going to be added to the
 portage?

It'll be very soon. In bugzilla, you can already find a bug
about this with an ebuild.

https://bugs.gentoo.org/show_bug.cgi?id=116231

Alexander Skwar
-- 
Lackland's Laws:
(1) Never be first.
(2) Never be last.
(3) Never volunteer for anything
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SUID mounts

2006-02-28 Thread Mattias Merilai

Ow Mun Heng wrote:


or do I need to chgrp /bin/mount into group-owned by disk/wheel?
 


Yes you do, and for /bin/mount, it already should be 4755 root:root.
SUID bit makes the program to be executed in the rights the owner of it, 
so if you want to have a program run SUID root you will have to chown 
root it. The same goes for SGID.

'man chmod' would have happily told you just that.

P.S. Beware that SUID/SGID root is a potential security risk.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wildcards in /etc/group

2006-02-28 Thread Richard Fish
On 2/27/06, Sascha Hlusiak [EMAIL PROTECTED] wrote:
 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.

If every user that logs in gets the same GID (domain users), you can
change the group IDs for those other groups to match.  There is no
reason your /etc/group cannot contain:

domain users:x:1000
audio:x:1000
cdrom:x:1000

and so on...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] when will seamonkey be available in portage?

2006-02-28 Thread Thomas Kear
It's in portage.
http://packages.gentoo.org/ebuilds/?seamonkey-1.0


On 28/02/06, Alexander Skwar [EMAIL PROTECTED] wrote:
 Zhang Weiwu wrote:

  How can I know when certain package (seamonkey) is going to be added to the
  portage?

 It'll be very soon. In bugzilla, you can already find a bug
 about this with an ebuild.

 https://bugs.gentoo.org/show_bug.cgi?id=116231

 Alexander Skwar
 --
 Lackland's Laws:
 (1) Never be first.
 (2) Never be last.
 (3) Never volunteer for anything
 --
 gentoo-user@gentoo.org mailing list




--
Thomas Kear
[EMAIL PROTECTED]
+64211031910
==
Mozilla Firefox: Take back the web
www.mozilla.org/products/firefox

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with logging in as non-root user after installation is finished

2006-02-28 Thread Anirban Brahmachari
I finished installing Gentoo Linux 2005.1 after a long 16 hour
struggle on my system ( Pentium III, 256MB ram, 2 x 20GB ATA hard
disks, CDRW drive, optical scroll mouse ).
The first package ( and its dependencies) that I installed from the
Packages CD was gdm.
 emerge -k gdm
It installed fine and allowed both root and non-root users to log in.
But gnome and openoffice were not installed yet.
So I emerged x11followed by openoffice-bin.
After that finished, I found that I could not log in as a non root
user from gdm.
I then tried logging in as a non root user at the command line console.
My username is anirban.
Again, I could not log in and it said that my home directory was not found.
   /home/anirban - directory not found
I then logged in as root and tried
   su anirban
Again it gave the same message : home directory not found.
But I checked and found the directory /home/anirban existed and its
permissions were rwxr-xr-x and its owership was anirban.

PLEASE HELP !!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XFig Export

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

On Tue, 28 Feb 2006 00:25:25 -0500 Justin Hart [EMAIL PROTECTED]
wrote:

 I'm using xfig for figures for a paper that I am writing.  When I hit
 the export menu option, it crashes.  Inconvenient, since I need to get
 this into a format acceptable to latex (is there a package for .fig
 files?)

AFAIK, Xfig calls transfig for this. Maybe you could try to run it
manually?

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



[gentoo-user] Re: Adding gw route in /etc/conf.d/net

2006-02-28 Thread Harry Putnam
Zac Slade [EMAIL PROTECTED] writes:

 With both interfaces up what is the output of ip route?  I don't
 see anything wrong with the configuration really, both networks are
 in different subnets so they should be seperate.  However you may be
 getting a default route for eth1.  You really don't need one, from
 the description you give you don't need a route at all for eth1.  If
 all the computers on the 192.168.0.0/24 network can all see each
 other's MAC addresses then there is no problem.

Note, I've included the requested outputs for completeness but:

It all cleared up after a reboot.  I didn't mention I made a domain
name switch preceding the reported problem too.  I suspect my
nameserver cache hadn't had time to clear up (I have pretty long Time
To Live values set). Although I really don't now if that would be an
issue.

ip route
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.2 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.4 
127.0.0.0/8 dev lo  scope link 
default via 192.168.0.20 dev eth0 

 I wondering if that is the reason for my troubles.  maybe I need to
 add a static route for config_eth1?

 This should not be required for your setup as I understand it.  I'd be realy 
 interested in your arp table too, arp -a.

 arp -a 
fw.local.lan (192.168.0.20) at 00:09:5B:01:2F:E4 [ether] on eth0
fwobsd.local.lan (192.168.0.19) at 00:10:B5:91:85:88 [ether] on eth0

-- 
gentoo-user@gentoo.org mailing list



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

2006-02-28 Thread Alan E. Davis
I am pretty much clueless, in general; however, I might report that I,
too, recently experienced this same breakdown in all of the net
interfaces on one of my machines.  This appeared after a massive
update to a ~x86 system involving over 700MB of downloads.  It took
several days to perform the update, and --- albeit I cannot pinpoint
the exact cause of my griefs (X11 also failed when started from the
enlightenment display manager 'entrance') after I had finally gotten
my network connection established and run all of the following,
everything works again.

emerge --sync

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After upgrading to the latest Baselayout... (Oops - slip of the thumb)

2006-02-28 Thread Alan E. Davis
Oops, my thumb slipped before i had finished my message, so
continuing, I had tried

emerge --sync
emerge --depclean
revdep-rebuild
 glsa-check -f all

The system seemed then to catch up with all of the inconsistencies. 
Furthermore, the same has happened to me many times.  Almost every
serious problem I have had has been solved in somewhat the same way.  
I cling to these procedures like a blind man clings to a wall.

Sorry for the bodged message.

Alan Davis

On 2/28/06, Alan E. Davis [EMAIL PROTECTED] wrote:
 I am pretty much clueless, in general; however, I might report that I,
 too, recently experienced this same breakdown in all of the net
 interfaces on one of my machines.  This appeared after a massive
 update to a ~x86 system involving over 700MB of downloads.  It took
 several days to perform the update, and --- albeit I cannot pinpoint
 the exact cause of my griefs (X11 also failed when started from the
 enlightenment display manager 'entrance') after I had finally gotten
 my network connection established and run all of the following,
 everything works again.

 emerge --sync


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Bo Andresen
On Saturday 25 February 2006 18:50, Bo Andresen wrote:
 On Saturday 25 February 2006 00:36, Benno Schulenberg wrote:
  But it's working now.  So tell us how many frames glxgears is doing
  now, with and without radeon.  :)

 Actually the results using dri is worse than the results without dri in
 terms of frame rates. Without dri I get something like 250 FPS. With dri I
 get something like 228 FPS. The great difference though is when looking at
 the X cpu usage. glxgears uses around 0.5 % with or without dri. But
 without dri X uses 92% of the cpu resources. With dri X uses between 0.5
 and 1% cpu. So obviously dri is preferable... ;)

Either something is seriously wrong with my settings somehow or x11-drm is 
really crappy. A have no idea.. Fact is yesterday I was forces to boot back 
in to my previous kernel since the one I created for x11-drm (i.e. with dri 
disabled in the kernel configuration) failed me. The previous kernel had dri 
compiled as modules and I have never had direct rendering working with it... 
until now..

I am very surprised by this but it turns out direct rendering is working now 
with the kernel modules. And the performance is quite a bit better than 
before:

~ $ glxinfo | grep dir
direct rendering: Yes

~ $ glxgears
6057 frames in 5.0 seconds = 1211.400 FPS
7273 frames in 5.0 seconds = 1454.600 FPS
7268 frames in 5.0 seconds = 1453.600 FPS
7275 frames in 5.0 seconds = 1455.000 FPS
7274 frames in 5.0 seconds = 1454.800 FPS
7275 frames in 5.0 seconds = 1455.000 FPS
7268 frames in 5.0 seconds = 1453.600 FPS
7275 frames in 5.0 seconds = 1455.000 FPS
7272 frames in 5.0 seconds = 1454.400 FPS
7201 frames in 5.0 seconds = 1440.200 FPS
7259 frames in 5.0 seconds = 1451.800 FPS
7270 frames in 5.0 seconds = 1454.000 FPS
7272 frames in 5.0 seconds = 1454.400 FPS

I am clueless as to why this is working now when it wasn't before...

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wildcards in /etc/group

2006-02-28 Thread Sascha Hlusiak

 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.
 
 If every user that logs in gets the same GID (domain users), you can
 change the group IDs for those other groups to match.  There is no
 reason your /etc/group cannot contain:
 
 domain users:x:1000
 audio:x:1000
 cdrom:x:1000

Thank you, it seems to work. However I don't like idea, because the
association is no more clear, because `id` does not list me in the group
'audio' then. I will see, if this setup behaves odd, or if it works fine.

Cheers,
Sascha



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problem with logging in as non-root user after installation is finished

2006-02-28 Thread Rick van Hattem
On Tuesday 28 February 2006 12:13, Anirban Brahmachari wrote:
 I finished installing Gentoo Linux 2005.1 after a long 16 hour
 struggle on my system ( Pentium III, 256MB ram, 2 x 20GB ATA hard
 disks, CDRW drive, optical scroll mouse ).
 The first package ( and its dependencies) that I installed from the
 Packages CD was gdm.
  emerge -k gdm
 It installed fine and allowed both root and non-root users to log in.
 But gnome and openoffice were not installed yet.
 So I emerged x11followed by openoffice-bin.
 After that finished, I found that I could not log in as a non root
 user from gdm.
 I then tried logging in as a non root user at the command line console.
 My username is anirban.
 Again, I could not log in and it said that my home directory was not found.
/home/anirban - directory not found
 I then logged in as root and tried
su anirban
 Again it gave the same message : home directory not found.
 But I checked and found the directory /home/anirban existed and its
 permissions were rwxr-xr-x and its owership was anirban.

 PLEASE HELP !!

Are you sure that /home/anirban is the home directory for that user?
Check /etc/passwd to be sure :)


-- 
Rick van Hattem Rick.van.Hattem(at)Fawo.nl


pgpGqomrqwRaR.pgp
Description: PGP signature


Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Bo Andresen
On Tuesday 28 February 2006 13:13, Bo Andresen wrote:
 I am very surprised by this but it turns out direct rendering is working
 now with the kernel modules. And the performance is quite a bit better than
 before:
[SNIP]

Well, when I conducted the tests that yielded a performance of 228 FPS with 
dri I forgot that I had [EMAIL PROTECTED] running in the background. This makes 
the whole 
difference in performance. By starting that service I get down to the same 
lousy framerates with dri from the kernel and by stopping it again the 
performance goes up again.

So all in all the performance without [EMAIL PROTECTED] and with dri is 5-6 
times better 
without [EMAIL PROTECTED] and without dri.

 I am clueless as to why this is working now when it wasn't before...

This still does not explain why this is working now when it wasn't before I 
compiled a kernel without dri and emerged x11-drm. But hey, it works... ;)

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Nvidia hangs Xorg

2006-02-28 Thread Jonatan Antoni
Hy there,

I'm playing around with the nvidia kernel-modules and glx-drivers for x11 for a 
while.
First all works fine, but using mozilla-firefox crashes the x-server after a 
while. Let
me give you an example: Running firefox works, going to google as well, but 
going to
http://gentoo-wiki.com/HOWTO_Dual_Monitors and click the link 4.1 Moving focus 
between screens
hangs the display. I can still move around the mouse-cursor, but everything 
else is locked.

Logging in to my system remotely by ssh, I can find the X-proccess taking 
nearly 100 percent
of cpu-time. By restarting xdm the X-system comes back correctly.

Now I'm back using the default nv-driver of the xorg-project, because that's 
the only way of sending
this email without x11 hangs. In the future I want to use the dual-head 
function of my geforce fx5200
for a video-beamer. Is there another way without using the original nvidia 
drivers or has somebody
a hint about that nasty error?

thx,
jonatan
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-28 Thread Dirk Heinrichs
Am Dienstag, 28. Februar 2006 10:29 schrieb ext Boyd Stephen Smith Jr.:
 IMO, finding a binary in /bin or /sbin that links to a library in /usr
 (including /usr/local etc.) is probably grounds for a bug report, even if
 it's not currently causing any problems.

Yep.

  So you
  have to be careful. One of the best things you can do for yourself is
  install an all in one shell for maintenece like busybox or nash.

 This is a good idea, even if none of your particular examples are
 problematic.  The crux of your argument is valid: some very useful
 programs reside in /usr or use libraries in /usr so when trying to umount
 it you must be prepared to do without those programs.

However, the discussion was about unmounting /usr to be able to resize it 
(in case the fs only supports unmounted resize). So these very useful 
programs in /usr are not needed during umount - resize - mount, anyway.

Bye...

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


pgpj7KgSj2v7F.pgp
Description: PGP signature


[gentoo-user] Bitmap fonts with remote X

2006-02-28 Thread Maik Musall
Hello,

I'm using gvim on a remote X terminal a lot. Since the time gentoo
replaced SuSE9 running the system where gvim is installed, I have a nice
gtk2 UI, but can only use those antialiased fonts, which are nice
- but awfully slow, especially on remote X displays. Scrolling through
source code is a pain.

When I recompile gvim without the gtk USE flag, I've got back bitmap
fonts, but of course also the ugly older UI.

So, is there a way to use gtk2 gvim with bitmap fonts?

Thanks for any hint
Maik
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE=mysql

2006-02-28 Thread Arnau Bria Ramírez
Hi,

trying to install cacti, at the end it gives me next error:

 md5 files   ;-) cacti-0.8.6g.ebuild
 md5 files   ;-) cacti-0.8.6g_p20051023.ebuild
 md5 files   ;-) cacti-0.8.6h.ebuild
 md5 files   ;-) cacti-0.8.6h_p20060108.ebuild
 md5 files   ;-) files/digest-cacti-0.8.6g_p20051023
 md5 files   ;-) files/postinstall-en.txt
 md5 files   ;-) files/digest-cacti-0.8.6g
 md5 files   ;-) files/digest-cacti-0.8.6h_p20060108
 md5 files   ;-) files/digest-cacti-0.8.6h
 md5 src_uri ;-) cacti-0.8.6g.tar.gz
 md5 src_uri ;-) short_open_tag_parse_error.patch
 md5 src_uri ;-) graph_properties_zoom.patch
 md5 src_uri ;-) script_server_snmp_auth.patch
 md5 src_uri ;-) mib_file_loading.patch

!!! ERROR: net-analyzer/cacti-0.8.6g_p20051023 failed.
!!! Function pkg_setup, Line 48, Exitcode 1
!!! php cli sapi must be compiled with USE=mysql

Which package is php cli sapi refering to?¿

after adding mysql USE flag:

 # emerge -p --newuse world
 --newuse implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild   R   ] net-ftp/proftpd-1.2.10-r7  
[ebuild   R   ] sys-devel/make-3.80-r3  
[ebuild   R   ] net-misc/openssh-4.2_p1-r1  
[ebuild   R   ] mail-filter/spamassassin-3.1.0  
[ebuild   R   ] net-mail/fetchmail-6.2.5.2-r1  
[ebuild   R   ] mail-mta/postfix-2.2.5  
[ebuild   R   ] net-fs/samba-3.0.14a-r2  
[ebuild   R   ] x11-libs/qt-3.3.4-r8  
[ebuild   R   ] kde-base/kdelibs-3.4.3-r1  
[ebuild   R   ] mail-client/sylpheed-claws-2.0.0  
[ebuild   R   ] kde-base/kdemultimedia-kioslaves-3.4.3  
[ebuild U ] media-sound/amarok-1.3.8 [1.3.6] 
[ebuild U ] net-dns/bind-9.3.2 [9.2.5-r6] 
[ebuild U ] net-dns/bind-tools-9.3.2 [9.2.5] 

I don't see any reference to php cli or sapi, and I wouldn't like to recompile
kdelibs or qt just for a use of one specific package. I'd use package.use ..

Thanks in advance.


--
Arnau Bria

La parte contratante de la primera parte será considerada como la parte
contratante de la primera parte.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] no sound when playing flash

2006-02-28 Thread Stefan Istvan
Hello List,

I have two machines with Gentoo Linux installed, and one of them I don't
hear sound when playing flash anims either in konqueror or in firefox.
On the other machine I hear sounds well in flash anims. Other
applications play sound well.
I don't find any significant differencies between the two install, so I
thought I ask it in this list.

Where should I search for the solution?

Thank you for your help in advance,
Istvan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE=mysql

2006-02-28 Thread Richard Fish
On 2/28/06, Arnau Bria Ramírez [EMAIL PROTECTED] wrote:
 !!! ERROR: net-analyzer/cacti-0.8.6g_p20051023 failed.
 !!! Function pkg_setup, Line 48, Exitcode 1
 !!! php cli sapi must be compiled with USE=mysql

 Which package is php cli sapi refering to?¿

From the ebuild:

pkg_setup() {
webapp_pkg_setup
built_with_use virtual/php mysql || \
die php cli sapi must be compiled with USE=mysql
built_with_use virtual/httpd-php mysql || \
die php apache/cgi sapi must be compiled with USE=mysql
}

So whatever package is providing virtual/php on your system (most
likely dev-lang/php) needs to have USE=mysql.  So does
virtual/httpd-php, but that should be the same package (dev-lang/php).

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

2006-02-28 Thread Richard Fish
On 2/27/06, Seo Boon, NG [EMAIL PROTECTED] wrote:
 /etc/conf.d/net only has one entry.
 iface_eth0=dhcp

I believe this is incorrect.  Looking at net.example from the same
version of baselayout has no syntax for iface_eth0=dhcp.  I think
the correct syntax is now:

config_eth0=( dhcp )

Although, I think this is also the default, so should not be necessary.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After upgrading to the latest Baselayout... (Oops - slip of the thumb)

2006-02-28 Thread Richard Fish
On 2/28/06, Alan E. Davis [EMAIL PROTECTED] wrote:
 emerge --sync
 emerge --depclean
 revdep-rebuild
  glsa-check -f all

 The system seemed then to catch up with all of the inconsistencies.
 Furthermore, the same has happened to me many times.  Almost every
 serious problem I have had has been solved in somewhat the same way.
 I cling to these procedures like a blind man clings to a wall.


You are missing a step.

etc-update

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem with acerhk and dri...

2006-02-28 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] no sound when playing flash

2006-02-28 Thread Andrei Slavoiu
--- Stefan Istvan [EMAIL PROTECTED] wrote:
 Hello List,
 
 I have two machines with Gentoo Linux installed, and
 one of them I don't
 hear sound when playing flash anims either in
 konqueror or in firefox.
 On the other machine I hear sounds well in flash
 anims. Other
 applications play sound well.
 I don't find any significant differencies between
 the two install, so I
 thought I ask it in this list.
Well, the difference between the flash plugin and most
other programs that play sounds is that it only
supports OSS not alsa or arts. So the problem is that
you either have OSS emulation disabled in the kernel
or the soundcard only supports one stream at a time
and another application is using the soundcard (if you
are using KDE that program is artsd)

 Where should I search for the solution?
Assuming you are indeed using KDE it can be fixed in
Konqueror by checking the Use artsdsp... in the
netscape modules configuration tab in Konquerors
properties.
For a general fix see the alsa documentation on how to
enable dmix for OSS emulation too.


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



[gentoo-user] Apache ?!?

2006-02-28 Thread William Meertens
Hi all,

Just a question. Has anyone experienced the fact that Apache is eating up all 
the server resources and filling all swap space?  Where do I find the reason 
why? Or in what log-file do I look for what reason?  The server runs a Drupal 
based site if that should matter. Only after restarting Apache it directly goes 
true the roof. As well as I am at the moment.

To be honest, it runs on Debian. I know, I know, if only I had the nerves to 
install Gentoo on it from a distance. Then I would be as happy as my home 
system running day after day without stopping, thanks to Gentoo. Only I don't 
want to surprise the hosting company and tell them to please fix my ssh 
connection. At least not for now ;-)

Thanks in advance, why aren't all systems like Gentoo. It could also be 
possible that it's me being to stupid :-)

Cheers,
William.

-- 
   \|/  \|/_ _ `  _  '
    @~/ ,. \~@   o' \,=./ `o  -  (_)  -
(o -)  /_( \__/ )_\ (o o)   '   `
+---ooO--(_)--Ooo-\__U_/ooO--(_)--Ooo--+
http://www.meewi.be   SMILE
http://www.ladiescycling.net   it cost nothing and
http://www.hostinglc.net   it's beyond price !



signature.asc
Description: PGP signature


Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread Daniel da Veiga
On 2/28/06, Stefan Istvan [EMAIL PROTECTED] wrote:
 Hello List,

 I have two machines with Gentoo Linux installed, and one of them I don't
 hear sound when playing flash anims either in konqueror or in firefox.
 On the other machine I hear sounds well in flash anims. Other
 applications play sound well.
 I don't find any significant differencies between the two install, so I
 thought I ask it in this list.

 Where should I search for the solution?

I once had the same problem, solved it using ESD (well, not the best
solution, but it works), so, at my startup script I have esd  and
flash anims have sound...

Try it, open any console and type esd  and try flash...


 Thank you for your help in advance,
 Istvan

 --
 gentoo-user@gentoo.org mailing list




--
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



Re: [gentoo-user] USE=mysql

2006-02-28 Thread Arnau Bria Ramírez
El Tue, 28 Feb 2006 08:25:47 -0700
Richard Fish dijo:

 On 2/28/06, Arnau Bria Ramírez [EMAIL PROTECTED] wrote:

 
 From the ebuild:
I've been looking for this in google and I did not go to the source of the
error?¿ I must stop my google dependency!
 
 pkg_setup() {
 webapp_pkg_setup
 built_with_use virtual/php mysql || \
 die php cli sapi must be compiled with USE=mysql
 built_with_use virtual/httpd-php mysql || \
 die php apache/cgi sapi must be compiled with USE=mysql
 }
 
 So whatever package is providing virtual/php on your system (most
 likely dev-lang/php) needs to have USE=mysql.  So does
 virtual/httpd-php, but that should be the same package (dev-lang/php).

You're right:
*  dev-lang/php
  Latest version available: 5.0.5-r5
  Latest version installed: 5.0.5-r5
  Size of downloaded files: 4,853 kB
  Homepage:http://www.php.net/
  Description: The PHP language runtime engine

How may I know which package is serving each virtual service?



But, why if I set mysql to my make.conf and try to emerge with --newuse, php is
not a candidate of rebuild?

# cat /etc/portage/package.use 
sys-libs/glibc userlocales
=dev-lang/php-5.0.5-r5  dba mysql

Calculating world dependencies ...done!
[ebuild   R   ] net-ftp/proftpd-1.2.10-r7  
[ebuild   R   ] sys-devel/make-3.80-r3  
[ebuild   R   ] net-misc/openssh-4.2_p1-r1  
[ebuild   R   ] mail-filter/spamassassin-3.1.0  
[ebuild   R   ] net-mail/fetchmail-6.2.5.2-r1  
[ebuild   R   ] mail-mta/postfix-2.2.5  
[ebuild   R   ] net-fs/samba-3.0.14a-r2  
[ebuild   R   ] x11-libs/qt-3.3.4-r8  
[ebuild   R   ] kde-base/kdelibs-3.4.3-r1  
[ebuild   R   ] mail-client/sylpheed-claws-2.0.0  
[ebuild   R   ] kde-base/kdemultimedia-kioslaves-3.4.3  
[ebuild U ] media-sound/amarok-1.3.8 [1.3.6] 
[ebuild U ] net-dns/bind-9.3.2 [9.2.5-r6] 
[ebuild U ] net-dns/bind-tools-9.3.2 [9.2.5] 

Many thanks!

 
 -Richard

-- 
Arnau Bria

La parte contratante de la primera parte será considerada como la parte
contratante de la primera parte.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread William Meertens
Hi Uwe and the rest of this wonderful world,

That's just what buggers me the most. NO. If only I did I would know how to get 
back.

It's happening for some time now. Only since yesterday evening it's persistent. 
When it first came to my attention I was thinking at a cron job that triggered 
something, or a visitor. Even without any cron jobs running it's happening. And 
it is not visitor related. At least not as far as I can figure out true there 
IP-numbers and so on. I was thinking this because I had the impression that it 
happened on a regular basis, every two weeks or so. When I then stopped Apache 
for a few seconds and restarted Apache again everything was back to normal.

I now have been uninstalling everything that I could miss for a while, even 
stopped Apache for several hours. No result. The only thing that happens is a 
very slow server.

Thanks again,
William.

On Tue, 28 Feb 2006 17:37:28 +0100
Uwe Klosa [EMAIL PROTECTED] wrote Re: [gentoo-user] Apache ?!? :

 Did you change something in the apache configuration or anything else?
 
 Cheers
 Uwe
 
 William Meertens wrote:
  Hi all,
  
  Just a question. Has anyone experienced the fact that Apache is eating up
  all the server resources and filling all swap space?  Where do I find the
  reason why? Or in what log-file do I look for what reason?  The server runs
  a Drupal based site if that should matter. Only after restarting Apache it
  directly goes true the roof. As well as I am at the moment.
  
  To be honest, it runs on Debian. I know, I know, if only I had the nerves
  to install Gentoo on it from a distance. Then I would be as happy as my
  home system running day after day without stopping, thanks to Gentoo. Only
  I don't want to surprise the hosting company and tell them to please fix my
  ssh connection. At least not for now ;-)
  
  Thanks in advance, why aren't all systems like Gentoo. It could also be
  possible that it's me being to stupid :-)
  
  Cheers,
  William.
  


-- 
   \|/  \|/_ _ `  _  '
    @~/ ,. \~@   o' \,=./ `o  -  (_)  -
(o -)  /_( \__/ )_\ (o o)   '   `
+---ooO--(_)--Ooo-\__U_/ooO--(_)--Ooo--+
http://www.meewi.be   SMILE
http://www.ladiescycling.net   it cost nothing and
http://www.hostinglc.net   it's beyond price !



signature.asc
Description: PGP signature


[gentoo-user] problem emerging xscreensaver

2006-02-28 Thread Allan Spagnol Comar
Hi all, I am trying to emerge xscreensaver and I am having the following error:

libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive
make[2]: *** [jiv] Error 1
make[2]: *** Waiting for unfinished jobs
x86_64-pc-linux-gnu-gcc -O3 -march=k8 -pipe -msse3 -mmmx -m3dnow -W
-Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes
-pedantic -o .libs/jasper jasper.o  ../libjasper/.libs/libjasper.so
-lm /usr/lib64/libjpeg.so
creating jasper
make[2]: Leaving directory
`/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src/appl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src'
make: *** [all-recursive] Error 1

I already tried revdep-rebuild and env-update, what more should I do ?
--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread Alexander Kirillov

If you've enabled server-status handler
this might give you an idea of what apache threads are doing
when it's eating up your resources.
HTH,
Sasha


That's just what buggers me the most. NO. If only I did I would know how to get 
back.

It's happening for some time now. Only since yesterday evening it's persistent. 
When it first came to my attention I was thinking at a cron job that triggered 
something, or a visitor. Even without any cron jobs running it's happening. And 
it is not visitor related. At least not as far as I can figure out true there 
IP-numbers and so on. I was thinking this because I had the impression that it 
happened on a regular basis, every two weeks or so. When I then stopped Apache 
for a few seconds and restarted Apache again everything was back to normal.

I now have been uninstalling everything that I could miss for a while, even 
stopped Apache for several hours. No result. The only thing that happens is a 
very slow server.


Did you change something in the apache configuration or anything else?


Just a question. Has anyone experienced the fact that Apache is eating up
all the server resources and filling all swap space?  Where do I find the
reason why? Or in what log-file do I look for what reason?  The server runs
a Drupal based site if that should matter. Only after restarting Apache it
directly goes true the roof. As well as I am at the moment.

To be honest, it runs on Debian. I know, I know, if only I had the nerves
to install Gentoo on it from a distance. Then I would be as happy as my
home system running day after day without stopping, thanks to Gentoo. Only
I don't want to surprise the hosting company and tell them to please fix my
ssh connection. At least not for now ;-)

Thanks in advance, why aren't all systems like Gentoo. It could also be
possible that it's me being to stupid :-)

Cheers,
William.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging xscreensaver

2006-02-28 Thread Boris Fersing
2006/2/28, Allan Spagnol Comar [EMAIL PROTECTED]:
 Hi all, I am trying to emerge xscreensaver and I am having the following 
 error:

Hi,

 libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive
 make[2]: *** [jiv] Error 1
 make[2]: *** Waiting for unfinished jobs
 x86_64-pc-linux-gnu-gcc -O3 -march=k8 -pipe -msse3 -mmmx -m3dnow -W
 -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes
 -pedantic -o .libs/jasper jasper.o  ../libjasper/.libs/libjasper.so
 -lm /usr/lib64/libjpeg.so
 creating jasper
 make[2]: Leaving directory
 `/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src/appl'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/var/tmp/portage/jasper-1.701.0/work/jasper-1.701.0/src'
 make: *** [all-recursive] Error 1

 I already tried revdep-rebuild and env-update, what more should I do ?

eselect or opengl-update maybe ?
https://forums.gentoo.org/viewtopic-t-422699-highlight-valid+libtool+archive+libgl+la.html

HTH.

Boris.
 --
 An application asked:
 Requeires Windows 9x, NT4 or better,
 so I´ve installed Linux

 --
 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] Apache ?!?

2006-02-28 Thread Michael Crute
On 2/28/06, William Meertens [EMAIL PROTECTED] wrote:
 Hi all,

 Just a question. Has anyone experienced the fact that Apache is eating up all 
 the
 server resources and filling all swap space?  Where do I find the reason why? 
 Or in
 what log-file do I look for what reason?  The server runs a Drupal based site 
 if that
 should matter. Only after restarting Apache it directly goes true the roof. 
 As well as
 I am at the moment.

Depends on the MPM you are running. What MPM are you running? If you
are using prefork then try setting some sane values for StartServers,
Min/MaxSpareServers, MaxClients, and MaxRequestsPerChild. Any other
MPM and you should RTM.

-Mike

--

Michael E. Crute
http://mike.crute.org

Linux takes junk and turns it into something useful.
Windows takes something useful and turns it into junk.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread William Meertens
Hi Sasha and happy Gentoo people,

I have it running. I believe the lines that follow this one :
Srv PID Acc M   CPU SS  Req ConnChild   Slot
Client  VHost   Request
are the ones that are going to give me an answer.

The start of the page gives me this information :
Current Time: Tuesday, 28-Feb-2006 20:14:15 CET
Restart Time: Tuesday, 28-Feb-2006 19:54:28 CET
Parent Server Generation: 0
Server uptime: 19 minutes 47 seconds
Total accesses: 219 - Total Traffic: 1.4 MB
CPU Usage: u5.88 s.8 cu0 cs0 - .563% CPU load
.184 requests/sec - 1263 B/second - 6.7 kB/request
31 requests currently being processed, 5 idle servers

This long after my swap space got filled. That only takes about 2 minutes. And 
doesn't get filled with Apache not running. The CPU load doesn't rise higher 
then 5%.

If I understand the lines at the bottom of the page. And the direction you are 
heading at. Then my problem is site related. Only how do I know which one 
causes it. Or where do I have to pay the most attention at when looking at the 
outcome? Which always changes, I don't see anything looking different, or 
sticking out from the rest.

Many thanks,
William.


On Tue, 28 Feb 2006 21:32:31 +0300
Alexander Kirillov [EMAIL PROTECTED] wrote Re: [gentoo-user] Apache ?!? :

 If you've enabled server-status handler
 this might give you an idea of what apache threads are doing
 when it's eating up your resources.
 HTH,
 Sasha
 
  That's just what buggers me the most. NO. If only I did I would know how to
  get back.
  
  It's happening for some time now. Only since yesterday evening it's
  persistent. When it first came to my attention I was thinking at a cron job
  that triggered something, or a visitor. Even without any cron jobs running
  it's happening. And it is not visitor related. At least not as far as I can
  figure out true there IP-numbers and so on. I was thinking this because I
  had the impression that it happened on a regular basis, every two weeks or
  so. When I then stopped Apache for a few seconds and restarted Apache again
  everything was back to normal.
  
  I now have been uninstalling everything that I could miss for a while, even
  stopped Apache for several hours. No result. The only thing that happens is
  a very slow server.
  
 Did you change something in the apache configuration or anything else?
 
 Just a question. Has anyone experienced the fact that Apache is eating up
 all the server resources and filling all swap space?  Where do I find the
 reason why? Or in what log-file do I look for what reason?  The server runs
 a Drupal based site if that should matter. Only after restarting Apache it
 directly goes true the roof. As well as I am at the moment.
 
 To be honest, it runs on Debian. I know, I know, if only I had the nerves
 to install Gentoo on it from a distance. Then I would be as happy as my
 home system running day after day without stopping, thanks to Gentoo. Only
 I don't want to surprise the hosting company and tell them to please fix my
 ssh connection. At least not for now ;-)
 
 Thanks in advance, why aren't all systems like Gentoo. It could also be
 possible that it's me being to stupid :-)
 
 Cheers,
 William.
 


-- 
   \|/  \|/_ _ `  _  '
    @~/ ,. \~@   o' \,=./ `o  -  (_)  -
(o -)  /_( \__/ )_\ (o o)   '   `
+---ooO--(_)--Ooo-\__U_/ooO--(_)--Ooo--+
http://www.meewi.be   SMILE
http://www.ladiescycling.net   it cost nothing and
http://www.hostinglc.net   it's beyond price !



signature.asc
Description: PGP signature


[gentoo-user] fsck although normal shutdown

2006-02-28 Thread Konstantinos Agouros
Hi,

we have a box running as a fileserver (the same directories are shared
using samba and nfs). It is one fs with approx 50GB and one with approx
180GB. Today we did a schedules reboot and ran into errors that needed 
manual repairing. Mainly this was duplicate block stuff.
The fs we are running is ext3 and before the reboot we were running
a vanilla 2.4.32 and are now to gentoo 2.6.15-r1. 

We have a 3ware controller in the box and two disks running as a mirror.
3dm2 is running but didn't report any errors.

Anybody got a clue what we are doing wrong?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] nvidia vs. 2.6.15r1

2006-02-28 Thread Konstantinos Agouros
Hi,

is it possible that these two are not compatible? I am running
2.6.15-r1 and nvidia-kernel-1.0-6629-r5. If I start X the kernel
oopses and I have to reboot.

Is there a bug open for this?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: linux filesystem + transparent compression (rw)

2006-02-28 Thread Sascha Lucas

Hi list,

what is the status of transparent compression in a linux filesystem 
(read/write)? wikipedia[1] says jfs has one. Is this true? I don't think 
so. Hans Reiser proclaimed to have a reiser4 compression plugin before 
2.6.1[4-5]. Where is it? Has someone tried extz[2]? chattr(1) tells me to 
set the (c) attribute. But this seems not to work: writing 100MB /dev/zero 
to a c ./test file on a 100MB partion results in disk full.


There is a true gap in the linux market. Isn't it?

[1] http://en.wikipedia.org/wiki/Comparison_of_file_systems
[2] http://www.geocities.com/maxcompress/

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia vs. 2.6.15r1

2006-02-28 Thread Jeff
What kind of card you using?

I would dump that old driver - it's given me nothing but headaches!

Konstantinos Agouros wrote:
 Hi,
 
 is it possible that these two are not compatible? I am running
 2.6.15-r1 and nvidia-kernel-1.0-6629-r5. If I start X the kernel
 oopses and I have to reboot.
 
 Is there a bug open for this?
 
 Konstantin

-- 
Darth Vader:
Commander, tear this ship apart until you've
found those plans. And bring me the passengers, I
want them alive!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia vs. 2.6.15r1

2006-02-28 Thread Sascha Lucas

On Tue, 28 Feb 2006, Konstantinos Agouros wrote:

is it possible that these two are not compatible? I am running
2.6.15-r1 and nvidia-kernel-1.0-6629-r5. If I start X the kernel
oopses and I have to reboot.

Is there a bug open for this?


http://bugs.gentoo.org/show_bug.cgi?id=120103

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia vs. 2.6.15r1

2006-02-28 Thread Daniel Pielmeier
Hello,

i had the same problem recently, updating to the latest nvidia.driver
1.0.8178-r3 works for me. You have to to put nvidia-kernel and
nvidia-glx in your /etc/portage/package.keywords cause it is ~x86.

Hth Daniel

Konstantinos Agouros schrieb:
 Hi,
 
 is it possible that these two are not compatible? I am running
 2.6.15-r1 and nvidia-kernel-1.0-6629-r5. If I start X the kernel
 oopses and I have to reboot.
 
 Is there a bug open for this?
 
 Konstantin
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: using gnupic

2006-02-28 Thread James
maxim wexler blissfix at yahoo.com writes:

 Like to learn from others their experiences using
 gnupic tools. 

Mostly use windoz based tools for Microchip embedded firmware
development. I'll install this and look at the support
for the 18F series. But I have access to many pic dev
boards for testing.


 What is the best programmer? DIY preferred. Serial or
 parallel. What sorts of pitfalls, tradeoffs? 

MPlab ICD2 driven off of usb. Jtag is always the best device
for low level hardware debugging.

 Are some of the pic chips more linux-worthy than others?

This a joke? Pics do not have MMU, nor any sort of significant
memory resources. I do not know of any uClinux hacks using
uClinux on a pic, although you could if one wanted to,
I suppose...


 
 I plan to use a K6 500MHz AMD as a dedicated pic
 development platform. 

Um, you must have missed architecture class when minimalistic
risk processors were  covered. The K6 is a 'CISC' 
architecture, compatible with x86 architectures, the last
time I look

Any tips on how to configure it for best results? USE flags etc?

You might ask here:
embedded.gentoo.org


I'd be curious to follow you acheivements in getting pic, as
in a Microchip 18F processor to run a mimimal linux kernel/rtos.

A very good rumor has it Microchips 24F series of micro controllers
will be accompanies by an embedded linux port, of some sort.

If you really, really are serious about pic developemnt using an
IDE, then read this article where the author outlines how to
hack support, via a cross compiler into Eclipse, for a particular
microcontroller:

Developing Eclipse Plugins in the March '06 issue of The LinuxJournal.com
Article by Mike McCollough.

I do sort of follow these sort of issues with keen interest.



James


 
 -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] need to be in wheel for sound?

2006-02-28 Thread Benno Schulenberg
Uwe Thiem wrote:
 Just read through the thread again. It isn't clear what *kind* of
 sound the original poster Antoine meant.

Yes, some lack of info.  Just system sounds, or all sounds?  Does 
catting a file to /dev/sound/dsp produce noise?  Is everything muted 
maybe?  Is arts running?  Does it say true on the relevant lines 
wen doing 'grep Arts .kde/share/config/*'?  What version of KDE?  
Two users on the same box?  Two different boxes?

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



Re: [gentoo-user] Re: Adding gw route in /etc/conf.d/net

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 05:30, Harry Putnam wrote:
 It all cleared up after a reboot.  I didn't mention I made a domain
 name switch preceding the reported problem too.  I suspect my
 nameserver cache hadn't had time to clear up (I have pretty long Time
 To Live values set). Although I really don't now if that would be an
 issue.
That's great!  Too bad you didn't get to the bottom of it, but fixed is better 
than broken.

 ip route
 192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.2
 192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.4
 127.0.0.0/8 dev lo  scope link
 default via 192.168.0.20 dev eth0
This is proper.  Only one gateway and it's through the eth0 device.

  arp -a
 fw.local.lan (192.168.0.20) at 00:09:5B:01:2F:E4 [ether] on eth0
 fwobsd.local.lan (192.168.0.19) at 00:10:B5:91:85:88 [ether] on eth0
It's interesting here that you don't see anything on 192.168.1.0/24.  Perhaps 
nothing is connected to that interface right now?

Congrats on the problem being fixed.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Benno Schulenberg
Bo Andresen wrote:
 The previous kernel had dri compiled as
 modules and I have never had direct rendering working with it...
 until now..

 I am very surprised by this but it turns out direct rendering is
 working now with the kernel modules.

Are you certain that the radeon module being used is the one from 
that old kernel and not the one from x11-drm?  If not that, maybe 
you changed something in xorg.conf?  What versions of kernel, BTW?

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



Re: [gentoo-user] OT: linux filesystem + transparent compression (rw)

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 13:48, Sascha Lucas wrote:
 what is the status of transparent compression in a linux filesystem
 (read/write)? wikipedia[1] says jfs has one. Is this true? I don't think
 so. Hans Reiser proclaimed to have a reiser4 compression plugin before
 2.6.1[4-5]. Where is it? Has someone tried extz[2]? chattr(1) tells me to
 set the (c) attribute. But this seems not to work: writing 100MB /dev/zero
 to a c ./test file on a 100MB partion results in disk full.
I will speak to what I know, which is the reiser4 part of the story.  There 
will be no repacker/resizer or any other modules for the fs until it gets 
merged into the kernel.  During the process of getting reiser4 into mainline 
many things about the implementation are changing so it is probably 
impossible to write the compression or encryption modules until it gets 
merged.

I don't consider it a lacking feature, just a nice checkbox to be able to 
check.  If we get transparent compression in the filesystems (that you can 
toggle on and off) then that will be great news to marketers.  It also could 
be good news to embedded people if the compression isn't too processor 
intensive.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Benno Schulenberg
Richard Fish wrote:
 On 2/25/06, Bruce Burden [EMAIL PROTECTED] wrote:
  BoardName   RV350 [MOBILITY RADEON X600]

 The opensource xorg/kernel drivers do not support DRI with this
 chip.

But they are working on it.  If someone wishes to try it out, 
upgrade to modular Xorg (7.0), and get the drivers from CVS.
See http://dri.freedesktop.org/wiki/Building.

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



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 10:19, Daniel da Veiga wrote:
 I once had the same problem, solved it using ESD (well, not the best
 solution, but it works), so, at my startup script I have esd  and
 flash anims have sound...
It's not only the best solution it is the only solution.  Flash uses esd for 
sound.  You can start it everytime you start your web browser or you can add 
esound to your default run level.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread David Morgan
On 14:42 Tue 28 Feb , Zac Slade wrote:
 On Tuesday 28 February 2006 10:19, Daniel da Veiga wrote:
  I once had the same problem, solved it using ESD (well, not the best
  solution, but it works), so, at my startup script I have esd  and
  flash anims have sound...
 It's not only the best solution it is the only solution.  Flash uses esd for 
 sound.  You can start it everytime you start your web browser or you can add 
 esound to your default run level.
 

eh? I have sound with flash and I don't have esd installed.

I don't have proper hardware mixing though, so when I want to hear
sound with flash I usually have to restart firefox or it doesn't work.

Presumably this is fixable, and is due to flash using oss rather than
alsa, but I haven't really tried.

On a computer with a soundcard that does do hardware mixing (and without
esd installed) I could get sound with flash whilst other things were
playing sound though.

Dave

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [gentoo-dev] Re: Re: KDE, metapackages, and monolithic packages

2006-02-28 Thread Mike Myers
Hi!

It should be moved by now, I think.

Anyways, I understand that removing pieces of KDE and the parts of it
is possible and not all that difficult.  I'm not really worried about
how to do it, but thanks for the info anyway! :)

I was just wondering why the metapackages only seemed like a one way
street.  They're simple to install, but useless for anything else
because of a bug (?) that was inhereted from portage.  From what
everybody is saying, I almost get the impression that it's going to
stay that way.  Is that true or is anything going on to take care of
that?

On 2/27/06, Duncan [EMAIL PROTECTED] wrote:
 Mike Myers posted [EMAIL PROTECTED], excerpted below,  on Sun,
 26 Feb 2006 17:05:57 -0600:

  Do you know if there's a way or going to be a way to handle the split
  ebuilds so that reemerging or unemerging a split ebuild will reemerge or
  unemerge the corresponding packages?  It seems like the ebuilds are only
  intended to make installing kde easier, which they do, but it doesn't
  make handle uninstalling or reinstalling a split ebuild very easy at
  all.

 As others have said it's a technical/portage issue.

 Unmerging a package always leaves dependencies  behind.  To clean those
 up, emerge -NuD world (to ensure use dependencies are uptodate), emerge -p
 depclean (to get a list of what it thinks is unneeded), fix anything on
 that list you know to be needed (add it to world), then either unmerge
 individually (as I do, even then, ensuring I haven't missed adding
 something to world that I should have, verifying what each package does
 and thinking about whether I actually do need it as I go) or if you
 prefer, use the depclean without the -p, then, finally, do a
 revdep-rebuild (first -p it, of course) to catch any dependencies that
 still might have  slipped thru and need rebuilt.

 Upgrading is a bit more sensitive.  However, with things like KDE
 upgrades, I'll often use the --prune parameter on emerge, combined with -p
 first of course.  Then again, I unmerge manually as necessary.  One other
 method I've used is to do an equery list of kde packages, then grep it
 for the version I want to unmerge, to get a  list of old packages.  So an
 upgrade from 3.4 to 3.5 I'd grep for 3.4.  Finally, when you've unmerged
 most old KDE packages, take a look at the old /usr/kde/ver dir and see
 what's left there, then do equery belongs file with what's left, to
 figure out the packages they belong to.  Anything left over that doesn't
 belong to a package should be deletable, or if you prefer to be safe, move
 it to a backup dir for a month or so first, so you can restore it if
 necessary.  Again, after unmerging stuff, a revdep-rebuild is recommended.

 As others said, please move futher discussion to either user or desktop.
 I don't look at user, but I'm a regular over in desktop, where KDE
 questions are happily answered, as it's certainly part of desktop.

 --
 Duncan - List replies preferred.   No HTML msgs.
 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman in
 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


 --
 gentoo-dev@gentoo.org mailing list




--
Mike Myers
[EMAIL PROTECTED]
http://www.yaay.us

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache ?!?

2006-02-28 Thread Alexander Kirillov

Hi William,
You should also have the list of workers
with the DOCUMENTS they are currently serving.
If you don't, check if ExtendedStatus is On in httpd.conf.
If you're using any scripting engines server-side you probably
should check the limits on the resources your scripts may consume.
Like max_execution_time, memory_limit, mysql.connect_timeout and so on 
if it's PHP.

HTH,
Sasha


I have it running. I believe the lines that follow this one :
Srv PID Acc M   CPU SS  Req ConnChild   Slot
Client  VHost   Request
are the ones that are going to give me an answer.

The start of the page gives me this information :
Current Time: Tuesday, 28-Feb-2006 20:14:15 CET
Restart Time: Tuesday, 28-Feb-2006 19:54:28 CET
Parent Server Generation: 0
Server uptime: 19 minutes 47 seconds
Total accesses: 219 - Total Traffic: 1.4 MB
CPU Usage: u5.88 s.8 cu0 cs0 - .563% CPU load
.184 requests/sec - 1263 B/second - 6.7 kB/request
31 requests currently being processed, 5 idle servers

This long after my swap space got filled. That only takes about 2 minutes. And 
doesn't get filled with Apache not running. The CPU load doesn't rise higher 
then 5%.

If I understand the lines at the bottom of the page. And the direction you are 
heading at. Then my problem is site related. Only how do I know which one 
causes it. Or where do I have to pay the most attention at when looking at the 
outcome? Which always changes, I don't see anything looking different, or 
sticking out from the rest.


If you've enabled server-status handler
this might give you an idea of what apache threads are doing
when it's eating up your resources.
HTH,
Sasha



That's just what buggers me the most. NO. If only I did I would know how to
get back.

It's happening for some time now. Only since yesterday evening it's
persistent. When it first came to my attention I was thinking at a cron job
that triggered something, or a visitor. Even without any cron jobs running
it's happening. And it is not visitor related. At least not as far as I can
figure out true there IP-numbers and so on. I was thinking this because I
had the impression that it happened on a regular basis, every two weeks or
so. When I then stopped Apache for a few seconds and restarted Apache again
everything was back to normal.

I now have been uninstalling everything that I could miss for a while, even
stopped Apache for several hours. No result. The only thing that happens is
a very slow server.



Did you change something in the apache configuration or anything else?



Just a question. Has anyone experienced the fact that Apache is eating up
all the server resources and filling all swap space?  Where do I find the
reason why? Or in what log-file do I look for what reason?  The server runs
a Drupal based site if that should matter. Only after restarting Apache it
directly goes true the roof. As well as I am at the moment.

To be honest, it runs on Debian. I know, I know, if only I had the nerves
to install Gentoo on it from a distance. Then I would be as happy as my
home system running day after day without stopping, thanks to Gentoo. Only
I don't want to surprise the hosting company and tell them to please fix my
ssh connection. At least not for now ;-)

Thanks in advance, why aren't all systems like Gentoo. It could also be
possible that it's me being to stupid :-)

Cheers,
William.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Bo Andresen
On Tuesday 28 February 2006 21:31, Benno Schulenberg wrote:
 Bo Andresen wrote:
  The previous kernel had dri compiled as
  modules and I have never had direct rendering working with it...
  until now..
 
  I am very surprised by this but it turns out direct rendering is
  working now with the kernel modules.

 Are you certain that the radeon module being used is the one from
 that old kernel and not the one from x11-drm?  

I am very certain... but then again, I've been so before in this thread and 
yet been terribly wrong. Do you think there is any way to check it? Other 
than by compiling a new kernel with the same kernel configuration.

 If not that, maybe 
 you changed something in xorg.conf?  

Sad to say I don't remember anymore.

 What versions of kernel, BTW? 

Kernel version has not changed - 2.6.15-r1.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 14:56, David Morgan wrote:
 eh? I have sound with flash and I don't have esd installed.
Didn't use to be the case, went googling and found that it no longer requires 
esd it just uses OSS.

 I don't have proper hardware mixing though, so when I want to hear
 sound with flash I usually have to restart firefox or it doesn't work.
Or as I found there are alternatives here, try launching firefox with artsdsp 
firefox, or alternatively aoss firefox.  This will play all sound through a 
muxer and will allow it to play nice even on machines without hardware 
mixing.

So to recap, you don't need esd anymore, just working OSS (ALSA provides OSS 
compatibility).  If you are having trouble with it playing while other things 
are playing sound try using aoss or artsdsp to mux the sounds for you (or esd 
if you like).
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mplayer sound issues

2006-02-28 Thread Mike Myers

Hey folks!

I'm having kind of a weird problem with mplayer.  I can play some 
things, but not others but only under certain circumstances.  I can play 
.mp3 files and movies.  I can play anything if I'm using the arts driver 
as the audio output, except when I play DVDs, I get no sound.  I can get 
sound with dvds in xine, but i can't get a decent video driver to 
display the video without choppiness with xine.  If I use the alsa 
driver with mplayer, I can't seem to play .wav files.  I can play them 
with arts however.  I'd really prefer to use alsa though, because 
there's lag whenever I skip forwards or backwards.  I use it to 
transcribe phone messages, so that lag is extremely irritating.


Except for dvds, mplayer was working great with .wav files.  I'm not 
sure what the difference is at all, but I'm just guessing something 
needs recompiled or something like that.  I tried recompiling mplayer 
with different use flags several times, recompiling the libraries for 
mplayer, but no matter what I do I get the same issue.  What happens 
exactly, with alsa in mplayer, is it'll start to play for a split second 
and then just freeze.  The output looks like this from a console:


laptop$ mplayer file.wav
MPlayer dev-CVS-060217-04:46-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
MMX supported but disabled
MMX2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: SSE SSE2



91 audio  206 video codecs
Playing 2006-02-27 13-42-42.wav.
Audio file file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000-16000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or 
resource busy

alsa-init: 1 soundcard found, using: default
alsa: 8000 Hz/1 channels/2 bpf/5460 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 8000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 2991.0 (49:51.0) ??,?%

I have to press ctrl+c to stop it.  I've tried various wave files, 
including ones I've used before that worked before.  These same files 
work with arts, except for the lag.  Can anybody help me with this?


Thanks in advance,
Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread David Morgan
On 15:22 Tue 28 Feb , Zac Slade wrote:
 Or as I found there are alternatives here, try launching firefox with artsdsp 
 firefox, or alternatively aoss firefox.  This will play all sound through a 
 muxer and will allow it to play nice even on machines without hardware 
 mixing.
 
 So to recap, you don't need esd anymore, just working OSS (ALSA provides OSS 
 compatibility).  If you are having trouble with it playing while other things 
 are playing sound try using aoss or artsdsp to mux the sounds for you (or esd 
 if you like).
 


aoss firefox works, and I've changed line 454 of
/usr/libexec/mozilla-launcher to 

aoss $mozbin $@ 

which will hopefully do the same thing

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



Re: [gentoo-user] mplayer sound issues

2006-02-28 Thread Richard Fish
On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
 AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000-16000)
 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
 ==
 [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
 resource busy
 alsa-init: 1 soundcard found, using: default
 alsa: 8000 Hz/1 channels/2 bpf/5460 bytes buffer/Signed 16 bit Little Endian
 AO: [alsa] 8000Hz 1ch s16le (2 bytes per sample)

What version of alsa-lib do you have, and do you use the in-kernel
alsa drivers or the alsa-driver package?  Which version?

Does anything change if you do mplayer -ao alsa file.wav?

The above resource busy error indicates that something is using the
legacy OSS interface.  IIRC, older versions of alsa could not share
this interface, and in fact would prevent other applications from
using the sound card at all if something was using this interface.

Maybe try an lsof /dev/dsp to see what is using the old OSS interface...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: using gnupic

2006-02-28 Thread James
maxim wexler blissfix at yahoo.com writes:

 Like to learn from others their experiences using
 gnupic tools. 

Well at the moment it's a little difficult to download:

emerge -v pikdev
snip

!!! Couldn't download pikdev-0.7.1.tar.gz. Aborting.

Look like the package is not available  even though it
is marked stable..

???


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Benno Schulenberg
Bo Andresen wrote:
 On Tuesday 28 February 2006 21:31, Benno Schulenberg wrote:
  Are you certain that the radeon module being used is the one
  from that old kernel and not the one from x11-drm?

 I am very certain... but then again, I've been so before in this
 thread and yet been terribly wrong. Do you think there is any way
 to check it?

Yes.  Unmerge x11-drm, reboot, and see if it still works.  :)

 Kernel version has not changed - 2.6.15-r1.

Yeah, then it's the x11-drm radeon module you're using, not the one 
from the kernel.  If it had been a diffent version (2.6.14, say), 
the module would have been in a different subdir in /lib/modules and 
wouldn't get used.

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



[gentoo-user] Re: Adding gw route in /etc/conf.d/net

2006-02-28 Thread Harry Putnam
Zac Slade [EMAIL PROTECTED] writes:

  arp -a
 fw.local.lan (192.168.0.20) at 00:09:5B:01:2F:E4 [ether] on eth0
 fwobsd.local.lan (192.168.0.19) at 00:10:B5:91:85:88 [ether] on
 eth0

 It's interesting here that you don't see anything on 192.168.1.0/24.
 Perhaps nothing is connected to that interface right now?

The interface had machines on both ends but no traffic had occured.
That arp -a was run faily soon after a reboot.

arp -a (after ssh to 192.168.1.1)

? (192.168.1.1) at 00:04:75:9B:E5:0D [ether] on eth1
harvey.local.lan (192.168.0.22) at 00:11:2F:92:54:E7 [ether] on eth0
fw.local.lan (192.168.0.20) at 00:09:5B:01:2F:E4 [ether] on eth0
fwobsd.local.lan (192.168.0.19) at 00:10:B5:91:85:88 [ether] on eth0

Do you know what the first line notation means?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Walter Dnes
On Mon, Feb 27, 2006 at 05:05:39PM +0100, Alexander Skwar 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.

  I have a different interpretation.  Assume I'm doing an
emerge --deep --update --world

  I've set my ADSL router-modem to log off after 15 minutes.  The
sequence of events is something like...

  1) emerge wants to download a package, so it attempts to connect to a
 server, taking several seconds to wake up my ADSL router-modem

  2) emerge downloads a big package, taking a few minutes to do so

  3) emerge spends the next half hour building the big package, during
 which time the modem-router logs off

  4) emerge finally finishes building the package, and wants to work on
 the next one... GOTO 1

  I could run a short script

#!/bin/bash
emerge --deep --update --world --fetchonly
emerge --deep --update --world

...but I'd like to get an emerge going on the 1st package as soon as
it's finished downloading, whilst having the downloads of all the other
packages continue in a separate thread.  When the 1st build is finished,
check whether the 2nd package has been downloaded.  If not, wait.  Then
build the 2nd package... etc, etc.

  The best way to describe it is as a --fetchonly emerge that launches a
separate emerge as each individual package is finished downloading.  The
build emerges should be serialized, i.e. only one build running at a
time, because a package may depend on the immediately preceding package.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Adding gw route in /etc/conf.d/net

2006-02-28 Thread Zac Slade
On Tuesday 28 February 2006 16:12, Harry Putnam wrote:
 arp -a (after ssh to 192.168.1.1)

 ? (192.168.1.1) at 00:04:75:9B:E5:0D [ether] on eth1
 harvey.local.lan (192.168.0.22) at 00:11:2F:92:54:E7 [ether] on eth0
 fw.local.lan (192.168.0.20) at 00:09:5B:01:2F:E4 [ether] on eth0
 fwobsd.local.lan (192.168.0.19) at 00:10:B5:91:85:88 [ether] on eth0

 Do you know what the first line notation means?
Yeah the first field is the hostname of the remote system.  If it's not in 
your /etc/hosts file or in DNS then it will show up with a ?.  It shows that 
eth1 is seeing another host at 192.168.1.1 and eth0 shows three hosts 
192.168.0.10,20,22 and each of those it knows their hostname.
-- 
Zac Slade
[EMAIL PROTECTED]
ICQ:1415282 YM:krakrjak AIM:ttyp99
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer sound issues

2006-02-28 Thread Mike Myers

Richard Fish wrote:


On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 


Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000-16000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
resource busy
alsa-init: 1 soundcard found, using: default
alsa: 8000 Hz/1 channels/2 bpf/5460 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 8000Hz 1ch s16le (2 bytes per sample)
   



What version of alsa-lib do you have, and do you use the in-kernel
alsa drivers or the alsa-driver package?  Which version?
 

I'm using the kernel alsa drivers with the 2.6.15-suspend2-r6 kernel 
with alsa-lib 1.0.11_rc3 and alsa-headers 1.0.11_rc3.



Does anything change if you do mplayer -ao alsa file.wav?
 

This is where it's kinda weird.  If I use vo=alsa then the .wav files 
won't play at all.  If I use ao=arts, then they work, but skipping 
around, like fast forwarding or rewinding lags.  Like, I'll press the 
left or right button and then about a second later it will actually 
rewind or forward.  Before I migrated to the modular xorg, when I used 
the alsa driver it worked fine and it responded immediately when I 
skipped around.



The above resource busy error indicates that something is using the
legacy OSS interface.  IIRC, older versions of alsa could not share
this interface, and in fact would prevent other applications from
using the sound card at all if something was using this interface.

Maybe try an lsof /dev/dsp to see what is using the old OSS interface...

-Richard

 

I seem to get that error regardless of what I'm playing.  I can play 
some files, like mp3s with the ao=alsa and that message will still 
appear, but it plays anyway.


Also, if I do the 'lsof /dev/dsp' command as you suggested, it only goes 
to a newline and then just sits there.  It seems to do that for any file 
i use it on.  The man page for that program is like a mile long and I 
don't have time to read through it right now.  I'll read it later though.


Also, I don't know if it's worth mentioning or not, but the whole reason 
I upgraded to the modular xorg is because it was the only way I could 
get my mobile intel video card to work with the i810 driver and dri 
rendering.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Iain Buchanan
On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
 
   I have a different interpretation.

I assume you know about FEATURES=parallel-fetch?
-- 
Iain Buchanan iain at netspace dot net dot au

Elves and Dragons! I says to him.  Cabbages and potatoes are better
for you and me.
-- J. R. R. Tolkien

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-28 Thread Bo Andresen
While the two kernels are the same version from portage they have of course 
different EXTRAVERSION. For the kernel I compiled for dri I simply added 
'-dri' to EXTRAVERSION. So when running uname -r it yielded 2.6.15-r1-dri. 
The previous kernel which I am running now lacks the '-dri'.

On Tuesday 28 February 2006 23:16, Benno Schulenberg wrote:
 Bo Andresen wrote:
  On Tuesday 28 February 2006 21:31, Benno Schulenberg wrote:
   Are you certain that the radeon module being used is the one
   from that old kernel and not the one from x11-drm?
 
  I am very certain... but then again, I've been so before in this
  thread and yet been terribly wrong. Do you think there is any way
  to check it?

 Yes.  Unmerge x11-drm, reboot, and see if it still works.  :)

Unmerging x11-drm does not remove the kernel due to CONFIG_PROTECT.

--- cfgpro obj /lib/modules/2.6.15-gentoo-r1-dri/x11-drm/radeon.ko
--- cfgpro obj /lib/modules/2.6.15-gentoo-r1-dri/x11-drm/r128.ko
--- cfgpro obj /lib/modules/2.6.15-gentoo-r1-dri/x11-drm/mach64.ko
--- cfgpro obj /lib/modules/2.6.15-gentoo-r1-dri/x11-drm/drm.ko
--- cfgpro dir /lib/modules/2.6.15-gentoo-r1-dri/x11-drm

I do, however, believe that this output proves that I am not running the 
x11-drm modules since it does contain '-dri'.

  Kernel version has not changed - 2.6.15-r1.

 Yeah, then it's the x11-drm radeon module you're using, not the one
 from the kernel.  If it had been a diffent version (2.6.14, say),
 the module would have been in a different subdir in /lib/modules and
 wouldn't get used.

I'm not really sure what you by this. Why does that mean that I'm using the 
x11-drm modules?

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] using gnupic

2006-02-28 Thread Ted Ozolins
maxim wexler wrote:

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

  

Just so you know, I am not a programmer. I do have to use PIC's in
various project and each time I have to suffer through hacking existing
code to make things work. To program the PICs I use ponyprog. There is a
linux binary version available and is quite easy to setup. You can use
parallel or serial port.  A while back I read that a linux
version/work-alike for mplab was in the works, I never followed up on
its progress.

Cheers.

-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer sound issues

2006-02-28 Thread Richard Fish
On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 This is where it's kinda weird.  If I use vo=alsa then the .wav files
 won't play at all.  If I use ao=arts, then they work, but skipping
 around, like fast forwarding or rewinding lags.  Like, I'll press the
 left or right button and then about a second later it will actually
 rewind or forward.

In the KDE Control Center, under Sounds  Multimedia-Sound System,
there is a control for the Sound buffer.  Reducing that to the minimum
should eliminate the lagging with arts.

Also, on the Hardware tab of the Sound System configuration, is the
audio device set to ALSA?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Mike Owen
On 2/28/06, Iain Buchanan [EMAIL PROTECTED] wrote:
 On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
 
I have a different interpretation.

 I assume you know about FEATURES=parallel-fetch?

It's probably not the best idea to recommend ~arch versions of portage.

Mike

-- 
gentoo-user@gentoo.org mailing list



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

2006-02-28 Thread Seo Boon, NG
Wrote Boyd Stephen Smith Jr. on Tue, Feb 28, 2006 at 05:50:01PM SGT:
 On Monday 27 February 2006 10:39, Seo Boon, NG [EMAIL PROTECTED] wrote 
 about '[gentoo-user] After upgrading to the latest Baselayout...':
  I have the following error upon booting up after the latest baselayout
  upgrade.
 
   * 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
 
 Last time I saw this error is was because of upgrade to bash.  You might 
 try downgrading bash to a known good version.  That fixed it for my 
 friend.  (After much gnashing of teeth since he was out of town and 
 provides internet services and it broke one of his eth interfaces.)

Bingo, that was it. Downgraded to the last version of bash and it's working now.
Thanks a lot. Just for the archive, my last stable version is:

Latest version installed: 3.0-r12

 
 -- 
 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

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


pgpObwAylBByY.pgp
Description: PGP signature


Re: [gentoo-user] mplayer sound issues

2006-02-28 Thread Mike Myers

Richard Fish wrote:


On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 


I seem to get that error regardless of what I'm playing.  I can play
some files, like mp3s with the ao=alsa and that message will still
appear, but it plays anyway.
   



Ok, theorizing time.  (ie., I have absolute no idea whether this is
right or not)

It sounds like this may be related to the sampling frequency of the
generated PCM.  If some application (like arts) is using /dev/dsp and
programming a specific rate (like 44100Hz), then when another
application (like mplayer) wants to generate PCM, it must program a
different rate (the wav file in your original message uses a 8000Hz
rate).  But the card cannot be changed to the 8kHz rate because the
original application is still using the OSS device.
 

The weird thing is that this was totally working great before modular 
Xorg.  I'm really thinking it's just a matter of reinstalling 
something.  I just don't know what.  Also, when I play the .wav file, it 
plays for like a split second, and then mplayer just hangs.  But I do 
hear it for that first short second.



If you play through arts, it handles the rate conversions for you, so
everything works.

You can test this by trying mplayer -srate 44100 -ao arts file.wav. 
You can try different rates, or carefully examine the output of

mplayer with an mp3 to see what rate it is using there.

One last question: do you have a ~/.asoundrc file, and if so, what is in it?

-Richard

 


Here's the output from doing that:

/Desktop $ mplayer -vo alsa -srate 44100 file.wav
MPlayer dev-CVS-060217-04:46-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
MMX supported but disabled
MMX2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: SSE SSE2



91 audio  206 video codecs
Playing 2006-02-27 13-42-42.wav.
Audio file file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000-16000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or 
resource busy

alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/1 channels/2 bpf/30104 bytes buffer/Signed 16 bit Little 
Endian

AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 2991.0 (49:51.0) ??,?%

It does the same, plays for a short second and then it still locks up.  
I have an mp3 that runs at that rate and it works fine.


Thanks a lot for your help and patience so far, btw.  I really 
appreciate it.


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



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 February 2006 16:27, Walter Dnes [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] accelerate emerge':
 #!/bin/bash
 emerge --deep --update --world --fetchonly
 emerge --deep --update --world

 ...but I'd like to get an emerge going on the 1st package as soon as
 it's finished downloading, whilst having the downloads of all the other
 packages continue in a separate thread.

Try adding '' to your first line to start it as a background process.  I 
did this for months.  MAKE SURE emerge --info SHOWS THAT YOU ARE USING THE 
DISTLOCKS FEATURE.

It's a separate process instead of a separate thread, but it should do what 
you want.  You may also want to throw a ' /dev/null 2-' before the '', 
but that depends on your sensibilities.

-- 
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] kde screenshot shortcut doesn't work?!

2006-02-28 Thread Iain Buchanan
Hi,

I'm trying to take a screenshot in kde.

When I press alt - print screen, or ctrl - print screen, nothing
happens.

I checked the keyboard shortcuts - these are definately mappend.  Also,
running ksnapshot from the terminal works, just not the keyboard
shortcuts.

What can I do to find out why?  Is there any way of logging when a
shortcut is pressed and what kde is trying to do?

Many thanks,
-- 
Iain Buchanan iain at netspace dot net dot au

It is difficult to soar with the eagles when you work with turkeys.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 February 2006 17:25, Mike Owen [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] accelerate emerge':
 On 2/28/06, Iain Buchanan [EMAIL PROTECTED] wrote:
  On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
 I have a different interpretation.
 
  I assume you know about FEATURES=parallel-fetch?

 It's probably not the best idea to recommend ~arch versions of portage.

I will recommend going ~arch for portage, I've done so for over a year.

That said, there's no need to go ~arch just for this feature.  See my other 
post.

-- 
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] accelerate emerge

2006-02-28 Thread Iain Buchanan
On Tue, 2006-02-28 at 15:25 -0800, Mike Owen wrote:
 On 2/28/06, Iain Buchanan [EMAIL PROTECTED] wrote:
  On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
  
 I have a different interpretation.
 
  I assume you know about FEATURES=parallel-fetch?
 
 It's probably not the best idea to recommend ~arch versions of portage.

Why not?  Its a great feature.  My (two) systems have been running
entirely ~x86 ever since I installed them (years ago), and I've never
had any real problems.  Only rarely do I have to recompile, or
downgrade, but usually it's all handled by portage anyway.

Standard disclaimer applies: just because it works now, doesn't mean it
will work in the future; not for production / isolated servers, etc.

Note that from the comments before you modify ~arch:

... '~arch' is a superset of 'arch' which includes the unstable, in
testing, packages ... 'Broken' packages will not be added to testing ...
IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY
[ACCEPT_KEYWORDS].

:)
-- 
Iain Buchanan iain at netspace dot net dot au

The use of money is all the advantage there is to having money.
-- B. Franklin

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Need help connecting a camera

2006-02-28 Thread Wes Gray
My camera used to come up fine and at some point it broke and I can't figure
out what changed, though no doubt it is related to a kernel upgrade.  It might
have been the switch to udev.  I've been though the howto's and I seem to
have all the correct modules (compiled in, not loaded if that matters).
Dmesg says:

usb 4-2: new full speed USB device using uhci_hcd and address 5

but that is all, nothing about scsi emulation.  Could that be related?
One of the howtos mentioned it, but I think that was related to 2.4 kernels.
Mounting (which used to work) now says:

# mount /dev/sda1 /mnt/camera
mount: /dev/sda1 is not a valid block device

lsusb says:

# lsusb
Bus 005 Device 001: ID :
Bus 004 Device 005: ID 04a9:30b5 Canon, Inc. PowerShot A75
Bus 004 Device 001: ID :
Bus 003 Device 001: ID :
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :

I'm stumped about how to approach this problem.  Appreciate any ideas. Thanks!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SUID mounts ( cross platform encryption program/container)

2006-02-28 Thread Ow Mun Heng
On Tue, 2006-02-28 at 03:20 -0600, Zac Slade wrote:
 On Tuesday 28 February 2006 00:56, Ow Mun Heng wrote:
  Hi All,
 
  I'm having some issues with enabling programs to be suid root. Stuffs
  like /bin/mount /usr/bin/mount.cifs is already in mode 47xx and I still
  get errors that I have no permissions to execute it (to mount)

 If the mount point is not specified in /etc/fstab then only root can do the 
 mount.  If it's in /etc/fstab it needs the option users to allow this.  There 
 are exceptions, like when HAL manages the mount for you.

Okay. I hope this applies to /bin/mount only and not some other
programs. (see more below)

 
  (I'm troubleshooting another program but using mount as an example as
  the error symptom is the same)
 What is the other program?  What is the real issue?  Mount is sort of special.

The other program is called truecrypt - www.truecrypt.org) which
happens to be a cross platform cryptological container which works in
Windows (fully) and Linux (partially)

I'm using fuse and encfs natively under linux but looking for something
cross platform and found truecrypt. It works as advertised in Windows,
but in Linux, it's odd.

it's installed 4755 root:root truecrypt but I won't be able to access
it any other way than either as root or using sudo.

$truecrypt -vl
Admin priv needed
$sudo truecrypt -vl
[data]...

This program is _very_ lacking in Linux. It works but, it's _very_
lacking. Anyone has any other recommendation?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] After upgrading to the latest Baselayout... (Oops - slip of the thumb)

2006-02-28 Thread Alan E. Davis
Yes.  I am using dispatch-conf.  Do you find it to be adequate?

Alan

On 3/1/06, Richard Fish [EMAIL PROTECTED] wrote:
 On 2/28/06, Alan E. Davis [EMAIL PROTECTED] wrote:
  emerge --sync
  emerge --depclean
  revdep-rebuild
   glsa-check -f all
 
  The system seemed then to catch up with all of the inconsistencies.
  Furthermore, the same has happened to me many times.  Almost every
  serious problem I have had has been solved in somewhat the same way.
  I cling to these procedures like a blind man clings to a wall.


 You are missing a step.

 etc-update

 -Richard

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Michael A. Smith

El Nino wrote:

AybOwan!

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


Someone else answered that question directly, so I'll try the 
indirect approach.


Another way to speed up emerges is to download while you compile:

emerge -fq foo  emerge foo

Of course it only makes sense if 'foo' has at least one dependency, 
but if you use this command frequently it makes sense to alias it.


Concurrent downloads used to be difficult, but now that Portage has 
locking it's reasonably safe. Still, every optimization comes with an 
increase in risk, and concurrent downloading is no different.


Peace,
Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Michael A. Smith

Iain Buchanan wrote:

On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:


 I have a different interpretation.



I assume you know about FEATURES=parallel-fetch?
How long has this been around? I couldn't find any mention of it in 
the man files. Where is it documented?


Thanks,
Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Vladimir G. Ivanovic
It's new in the latest testing version of emerge.

--- Vladimir

On Tue, 2006-02-28 at 22:17 -0500, Michael A. Smith wrote:
 Iain Buchanan wrote:
  On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
  
   I have a different interpretation.
  
  
  I assume you know about FEATURES=parallel-fetch?
 How long has this been around? I couldn't find any mention of it in 
 the man files. Where is it documented?
 
 Thanks,
 Mike
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer sound issues

2006-02-28 Thread Mike Myers
Just to keep you posted, if you're still interested;

I migrated to alsa-drivers from using the kernel drivers.  That alone
didn't seem to fix anything.  So, I updated to the 1.0_pre7-r1 version
of mplayer and that seemed to take care of the alsa issue with the wav
files.

I'm still having trouble playing dvds though.  But that's really a
separate issue.

On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 Richard Fish wrote:

 On 2/28/06, Mike Myers [EMAIL PROTECTED] wrote:
 
 
 I seem to get that error regardless of what I'm playing.  I can play
 some files, like mp3s with the ao=alsa and that message will still
 appear, but it plays anyway.
 
 
 
 Ok, theorizing time.  (ie., I have absolute no idea whether this is
 right or not)
 
 It sounds like this may be related to the sampling frequency of the
 generated PCM.  If some application (like arts) is using /dev/dsp and
 programming a specific rate (like 44100Hz), then when another
 application (like mplayer) wants to generate PCM, it must program a
 different rate (the wav file in your original message uses a 8000Hz
 rate).  But the card cannot be changed to the 8kHz rate because the
 original application is still using the OSS device.
 
 
 The weird thing is that this was totally working great before modular
 Xorg.  I'm really thinking it's just a matter of reinstalling
 something.  I just don't know what.  Also, when I play the .wav file, it
 plays for like a split second, and then mplayer just hangs.  But I do
 hear it for that first short second.

 If you play through arts, it handles the rate conversions for you, so
 everything works.
 
 You can test this by trying mplayer -srate 44100 -ao arts file.wav.
 You can try different rates, or carefully examine the output of
 mplayer with an mp3 to see what rate it is using there.
 
 One last question: do you have a ~/.asoundrc file, and if so, what is in it?
 
 -Richard
 
 
 
 Here's the output from doing that:

 /Desktop $ mplayer -vo alsa -srate 44100 file.wav
 MPlayer dev-CVS-060217-04:46-3.4.4 (C) 2000-2006 MPlayer Team
 CPU: Intel Pentium M Dothan (Family: 6, Stepping: 8)
 MMX supported but disabled
 MMX2 supported but disabled
 CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
 Compiled for x86 CPU with extensions: SSE SSE2



 91 audio  206 video codecs
 Playing 2006-02-27 13-42-42.wav.
 Audio file file format detected.
 ==
 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
 AUDIO: 8000 Hz, 1 ch, s16le, 128.0 kbit/100.00% (ratio: 16000-16000)
 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
 ==
 [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
 resource busy
 alsa-init: 1 soundcard found, using: default
 alsa: 44100 Hz/1 channels/2 bpf/30104 bytes buffer/Signed 16 bit Little
 Endian
 AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample)
 Video: no video
 Starting playback...
 A:   0.0 (00.0) of 2991.0 (49:51.0) ??,?%

 It does the same, plays for a short second and then it still locks up.
 I have an mp3 that runs at that rate and it works fine.

 Thanks a lot for your help and patience so far, btw.  I really
 appreciate it.

 Mike



--
Mike Myers
[EMAIL PROTECTED]
http://www.yaay.us

-- 
gentoo-user@gentoo.org mailing list