Re: [gentoo-user] Re: sys-libs/db dev-lang/php dependency problem...

2009-11-04 Thread Alan McKinnon
On Wednesday 04 November 2009 09:54:07 Nicolas Sebrecht wrote:
 On Sat, Oct 03, 2009 at 06:56:17PM +0200, Jarry wrote:
  # emerge --depclean
 
 ...
 
   * In order to avoid breakage of link level dependencies, one or more
   * packages will not be removed. This can be solved by rebuilding the
   * packages that pulled them in.
   *
   *   sys-libs/db-4.6.21_p4 pulled in by:
   * dev-lang/php-5.2.10
   *
 
 depclean says it won't clean the db package because of a php
 dependency. I _guess_ it comes from the berkdb use flag of php.
 
  I repeated it a few times, still the same. So what can I do more
  to fix it?
 
 I you're sure you don't need db, you could try to remove it by hand and
 see if 'emerge php' want reinstall it. I think you should use quickpkg
 or demerge before everything else.
 

I have a similar recurring problem and simply rebuilding packages does not 
help. In my case it's caused by a package linking to a library which is not in 
DEPEND. (Yes, this has broken policy on how to do these things). The result is 
that the portage dependency tree says the library can be removed, but ldd says 
otherwise. Sometimes you have to put the library in world

If you run ldd on the php binaries, what do you can with regard to db?
db is also slotted, what does eix -e db say?

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: debug and regular library

2009-11-04 Thread Nicolas Sebrecht
On Mon, Oct 05, 2009 at 01:56:29PM +0200, Krzysztof Poc wrote:

I would like to install the debugged version of glibc. Compiled with
symbols and minimal optimization. I don't want it to be the default
libc in my
system. I want to link it only with some programs.
I'm familiar with the following document:
http://www.gentoo.org/proj/en/qa/backtraces.xml?style=printable
How can I solve my problem.

What I would do is to install it by hand somewhere in my home (or create
a personal ebuild). You would have to manually set the good path to this
dependency when compiling those programs (or again write your own
ebuilds).

I don't think that portage has any feature to allow a plainly
automagically support for what you want. You also may want to look for
how to write ports of a library (don't know if such a documentation
exists).

-- 
Nicolas Sebrecht



[gentoo-user] Re: vsftpd conf ...still..:)

2009-11-04 Thread Nicolas Sebrecht
On Fri, Oct 09, 2009 at 04:44:17PM +0200, laurent wrote:

 xferlog_file=/home/var/log/vsftpd/vsftpd.log

Looking at the content of this file would be a good start !

-- 
Nicolas Sebrecht



Re: [gentoo-user] portage sends faulty emails

2009-11-04 Thread Neil Bothwick
On Tue, 3 Nov 2009 22:23:32 -0700, Kevin O'Gorman wrote:

 But: there is no /etc/ssmtp directory, let alone a config file.  That
 could explain a lot, but I need some help fixing it.

emerge --oneshot --noconfmem ssmtp


-- 
Neil Bothwick

Do I BELIEVE in the Bible?! HELL man, I've SEEN one!!!


signature.asc
Description: PGP signature


[gentoo-user] mounting /var prior to invocation of /sbin/rc

2009-11-04 Thread Amit Dor-Shifer

Hi.
I've a setup where /var resides on a separate partition than root. After 
boot, I see that /var is created on root and some files are written to 
it. E.G, the following folders are created:


/var/lib/init.d/snapshot
/var/lib/init.d/options
/var/lib/init.d/daemons
/var/lib/init.d/started
/var/lib/init.d/starting
/var/lib/init.d/inactive
/var/lib/init.d/wasinactive
/var/lib/init.d/stopping
/var/lib/init.d/exclusive
/var/lib/init.d/exitcodes
/var/lib/init.d/scheduled
/var/lib/init.d/coldplugged
/var/lib/init.d/softscripts

I'm suspecting that /sbin/rc is writing to /var prior to the mounting of 
the respective partition. Am I correct?


Is there some commonly-used place in gentoo for specifying partitions 
that have to be mounted prior to writing a/m files?


10x,
Amit





[gentoo-user] Re: syslog-ng: v2-v3 config issue...

2009-11-04 Thread Fekete Robert

Hi Jarry,

I work for BalaBit, the developer of syslog-ng, and am the maintainer
of the syslog-ng docs.
You are right, the program-override option is missing from the
documentation of the file source, but it should work anyway.
We did a quick test and it was working on our Ubuntu machines (tested
with syslog-ng 3.02a), both on kernel messages and also on custom
files containing log messages.
Which version of syslog-ng are you running? Are the messages in the file in 
correct syslog format, or do they have some custom format?


If the problem persists, could you open a ticket in the syslog-ng bugzilla at 
https://bugzilla.balabit.com/?


Regards,

Robert Fekete


Hi,
as syslog-ng 3.0.x became stable, all my servers updated
to it from 2.1.4, but I have a problem with configuration:

In 2.x I used log_prefix() option for file() source.
When I tried to start syslog-ng 3.x it complained about
log_prefix() being deprecated, and said I have to use
program_override() instead.

I modified syslog-ng.conf, but it does not work at all.
It simply acts as if there was no program_override()
option in file() source.

I checked syslog-ng-v3.0-guide-admin-en.pdf and found this:
log_prefix() really *is* deprecated, but it seems to me
that program_override() was not implemented in file()
source driver at all! At least, I did not find it as valid
option for file() source driver in the chapter 8 Reference
(in syslog-ng admin guide)...

How can I fix this? I definitelly need that log_prefix()
(or program_override()) option as I use it later for
filtering of non-standard log messages on my log-server...

Jarry




[gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Arnau Bria
Hi all,

I have no xorg.conf, so hal does all the conf stuff for me.
My problem (I think) is that I have both modules in my sytem:


[I] x11-drivers/nvidia-drivers

$ grep nv /etc/make.conf 
VIDEO_CARDS=vesa nvidia


and seems that Xorg tries some drivers and finally loads nv driver:

from less /var/log/Xorg.0.log, some relevant info:

[..]
(--) PCI:*(0:1:0:0) 10de:0221:: nVidia Corporation NV44A [GeForce 6200] 
rev 161, Mem
[...]

(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module  180.60  Tue May 12 12:42:34 PDT 2009
[...]
(II) LoadModule: dri
(WW) Warning, couldn't open module dri
(II) UnloadModule: dri
(EE) Failed to load module dri (module does not exist, 0)
(II) LoadModule: dri2
(WW) Warning, couldn't open module dri2
(II) UnloadModule: dri2
(EE) Failed to load module dri2 (module does not exist, 0)
(II) LoadModule: nv
(II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
(II) Module nv: vendor=X.Org Foundation
compiled for 1.6.3.901, module version = 2.1.14
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: vesa
(II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor=X.Org Foundation
compiled for 1.6.3.901, module version = 2.2.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: fbdev
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: fbdev
(EE) Failed to load module fbdev (module does not exist, 0)
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
[...]
(II) NV(0): Initializing int10
(II) NV(0): Primary V_BIOS segment is: 0xc000
(--) NV(0): Chipset: GeForce 6200
(II) NV(0): Creating default Display subsection in Screen section
Builtin Default nv Screen 0 for depth/fbbpp 24/32
(==) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
[...]
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[...]


from here all refers to NV.

Am Iworng or my xorg uses nv driver? if so, how may I force hal to use
nvidia driver? what about dri module? why is it failling to load it?

TIA,
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



[gentoo-user] emerge --depclean does not remove due to link level dependencies

2009-11-04 Thread Alex Schuster
Hi there!

Again, this is just something I am curious about, not a real problem. 
emerge -p --depclean gives me this output:

[...]
Calculating dependencies... done!
 Checking for lib consumers...
 Assigning files to packages...
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in. 
 *   
 *   dev-libs/elfutils-0.131-r2 pulled in by:
 * dev-util/ddd-3.3.12-r1 needs libelf.so.1  
[...]
And some more of that involving media-libs/libcddb-1.3.2, media-
sound/esound-0.2.41, sys-libs/db-4.5.20_p2-r1 and sys-libs/db-4.6.21_p4.

Okay, ddd needs libelf.so.1, provided by elfutils. Still the same when I 
rebuild ddd. So, why does this output appear at all? ddd needs 
libelf.so.1, this is in elfutils, so of course elfutils is needed just 
like any other package.

Oh, wait I think I got it. emerge -pe ddd dos NOT list elfutils. So is 
this a bug in the ddd ebuild, not having elfutils as a dependency? And the 
same would be true for the other packages? Should I file some bugs?

H. Now I got it. ddd does indeed not need elfutils. But it uses it 
when it is available. After removing elfutils, ddd still builds. Starting 
the ddd configure script in by hand with the --help option does not show 
options like --without-elf, so it's not the ebuild's fault that ddd makes 
use of the libelf library when it is available.

Still, this is ugly I think. Another part of the emerge --depclean output 
is:
 *   media-sound/esound-0.2.41 pulled in by:
 * app-office/gnucash-2.2.9-r1 needs libesd.so.0
 * gnome-extra/gnome-media-2.26.0-r1 needs libesd.so.0
 * gnome-extra/nautilus-cd-burner-2.24.0 needs libesd.so.0
 * gnome-extra/yelp-2.26.0 needs libesd.so.0  
 * media-libs/smpeg-0.4.4-r9 needs libesd.so.0
 * media-sound/amarok-1.4.10_p20090130-r3 needs libesd.so.0
 * media-sound/rhythmbox-0.11.6-r1 needs libesd.so.0   
 * media-sound/synaesthesia-2.4 needs libesd.so.0  
 * media-video/transcode-1.0.7 needs libesd.so.0   

I do not have esd in my USE flags. Looks like all those packages use it 
anyway when it is available.

Should some bugs be filed? And if so, should they go:
- To the ebuild maintainers? But they probably cannot do much about it, 
apart from patching the package's autoconf stuff.
- To upstream? Well, would they consider this this a bug at all, or a mere 
problem with Gentoo's special build system, that wants to know all the 
dependencies?
- To the doc team? Suggesting that the emerge --depclean output should 
change from:
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in. 
to something like:
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. If you like them to be removed, do so
 * manually, and run revdep-rebuild afterwards to rebuild the packages
 * without the libraries. We are sorry, this is an upstream problem with
 * bad configure files and we cannot do much about it. Use quickpkg 
 * before removing the packages, so if anything breaks you can get them 
 * back quickly. Good luck.

Wonko



Re: [gentoo-user] emerge --depclean does not remove due to link level dependencies

2009-11-04 Thread KH

Alex Schuster schrieb:

Hi there!

[snip]
Still, this is ugly I think. Another part of the emerge --depclean output 
is:

 *   media-sound/esound-0.2.41 pulled in by:
 * app-office/gnucash-2.2.9-r1 needs libesd.so.0
 * gnome-extra/gnome-media-2.26.0-r1 needs libesd.so.0
 * gnome-extra/nautilus-cd-burner-2.24.0 needs libesd.so.0
 * gnome-extra/yelp-2.26.0 needs libesd.so.0  
 * media-libs/smpeg-0.4.4-r9 needs libesd.so.0
 * media-sound/amarok-1.4.10_p20090130-r3 needs libesd.so.0
 * media-sound/rhythmbox-0.11.6-r1 needs libesd.so.0   
 * media-sound/synaesthesia-2.4 needs libesd.so.0  
 * media-video/transcode-1.0.7 needs libesd.so.0   

I do not have esd in my USE flags. Looks like all those packages use it 
anyway when it is available.



[snip]

Hi,

esd might be in there because of the profile you use. Did you change 
your profile lately? You can add -esd to make.conf and see what happens.


kh



Re: [gentoo-user] sys-libs/db dev-lang/php dependency problem...

2009-11-04 Thread Alex Schuster
Jarry writes:

 # emerge --depclean
[...]
   * In order to avoid breakage of link level dependencies, one or more
   * packages will not be removed. This can be solved by rebuilding the
   * packages that pulled them in.
   *
   *   sys-libs/db-4.6.21_p4 pulled in by:
   * dev-lang/php-5.2.10
   *
[...]
 Then I tried emerge --oneshot dev-lang/php (once in the past
 I had such a problem and this helped) and after that I repeated
 emerge --depclean, again with the same output-message.
 I repeated it a few times, still the same. So what can I do more
 to fix it?

I just posted a message (emerge --depclean does not remove due to link 
level dependencies) due to similar issues. My guess is that php links to 
some sys-libs/db library, even if db is not a dependency to php. You can 
try to remove db (use quickpkg before), and rebuild php.

Wonko



[gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread waltdnes
  What's the latest install-from-USB-key procedure?  The stuff I've
found on Google and the Gentoo wiki references obsolete versions of
Gentoo, and I don't know if it would work.  I've got an Acer Aspire One,
with no CD/DVD.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Jesús Guerrero
On Wed, 4 Nov 2009 11:08:26 +0100, Arnau Bria ar...@emergetux.net wrote:
 Hi all,
 
 I have no xorg.conf, so hal does all the conf stuff for me.
 My problem (I think) is that I have both modules in my sytem:
 
 
 [I] x11-drivers/nvidia-drivers
 
 $ grep nv /etc/make.conf 
 VIDEO_CARDS=vesa nvidia
 
 
 and seems that Xorg tries some drivers and finally loads nv driver:
 
 from less /var/log/Xorg.0.log, some relevant info:
 
 [..]
 (--) PCI:*(0:1:0:0) 10de:0221:: nVidia Corporation NV44A
[GeForce
 6200] rev 161, Mem
 [...]
 
 (II) LoadModule: glx
 (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
 (II) Module glx: vendor=NVIDIA Corporation
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Server Extension
 (II) NVIDIA GLX Module  180.60  Tue May 12 12:42:34 PDT 2009
 [...]
 (II) LoadModule: dri
 (WW) Warning, couldn't open module dri
 (II) UnloadModule: dri
 (EE) Failed to load module dri (module does not exist, 0)
 (II) LoadModule: dri2
 (WW) Warning, couldn't open module dri2
 (II) UnloadModule: dri2
 (EE) Failed to load module dri2 (module does not exist, 0)
 (II) LoadModule: nv
 (II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
 (II) Module nv: vendor=X.Org Foundation
 compiled for 1.6.3.901, module version = 2.1.14
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 5.0
 (II) LoadModule: vesa
 (II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
 (II) Module vesa: vendor=X.Org Foundation
 compiled for 1.6.3.901, module version = 2.2.1
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 5.0
 (II) LoadModule: fbdev
 (WW) Warning, couldn't open module fbdev
 (II) UnloadModule: fbdev
 (EE) Failed to load module fbdev (module does not exist, 0)
 (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
 [...]
 (II) NV(0): Initializing int10
 (II) NV(0): Primary V_BIOS segment is: 0xc000
 (--) NV(0): Chipset: GeForce 6200
 (II) NV(0): Creating default Display subsection in Screen section
 Builtin Default nv Screen 0 for depth/fbbpp 24/32
 (==) NV(0): Depth 24, (--) framebuffer bpp 32
 (==) NV(0): RGB weight 888
 (==) NV(0): Default visual is TrueColor
 [...]
 (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
 found)
 [...]
 
 
 from here all refers to NV.
 
 Am Iworng or my xorg uses nv driver? if so, how may I force hal to use
 nvidia driver? what about dri module? why is it failling to load it?

This is only one of the reasons (only one of them) why hal in X is as
useless as it can get: if you use any driver that's not provided by the
Xorg guys then you still need an xorg.conf.

About dri, I don't think nv supports dri at all. It certainly doesn't do
any 3d.

-- 
Jesús Guerrero



Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread KH

waltd...@waltdnes.org schrieb:

  What's the latest install-from-USB-key procedure?  The stuff I've
found on Google and the Gentoo wiki references obsolete versions of
Gentoo, and I don't know if it would work.  I've got an Acer Aspire One,
with no CD/DVD.



Hi,

This might be what you have been looking for.

http://www.gentoo.org/doc/en/liveusb.xml

kh



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Peter Haworth
On Wed, 04 Nov 2009 11:52:45 +0100, =?UTF-8?Q?Jes=C3=BAs_Guerrero?= wrote:
 On Wed, 4 Nov 2009 11:08:26 +0100, Arnau Bria ar...@emergetux.net wrote:
  Am Iworng or my xorg uses nv driver? if so, how may I force hal to use
  nvidia driver? what about dri module? why is it failling to load it?
 
 This is only one of the reasons (only one of them) why hal in X is as
 useless as it can get: if you use any driver that's not provided by the
 Xorg guys then you still need an xorg.conf.

True, but it doesn't need much in it. I'm not generally a hal apologist,
but I'm quite happy with this as my entire xorg.conf:

  Section Device
Identifier Device0
Driver nvidia
VendorName NVIDIA Corporation
  EndSection

-- 
Peter Haworth   p...@edison.ioppublishing.com
It's about time we got some GUI sugar to add to the bitter black hotness
 of our terminal windows. I like my terminals like my women:
 VT100 compatible with Tektronix extensions
-- NTK 2004-09-17

This email (and attachments) are confidential and intended for the addressee(s) 
only. If you are not the intended recipient please notify the sender, 
delete any copies and do not take action in reliance on it. Any views expressed 
are the author's and do not represent those of IOP, except where specifically 
stated. IOP takes reasonable precautions to protect against viruses but accepts 
no responsibility for loss or damage arising from virus infection. 
For the protection of IOP's systems and staff emails are scanned 
automatically.” 

Institute of Physics Registered in England under Registration No 293851 
Registered Office:  76/78 Portland Place, London W1B 1NT  

[gentoo-user] Re: mounting /var prior to invocation of /sbin/rc [CANCELLED]

2009-11-04 Thread Amit Dor-Shifer

I take it back. those files were leftover on the root partition.
Amit

Amit Dor-Shifer wrote:

Hi.
I've a setup where /var resides on a separate partition than root. 
After boot, I see that /var is created on root and some files are 
written to it. E.G, the following folders are created:


/var/lib/init.d/snapshot
/var/lib/init.d/options
/var/lib/init.d/daemons
/var/lib/init.d/started
/var/lib/init.d/starting
/var/lib/init.d/inactive
/var/lib/init.d/wasinactive
/var/lib/init.d/stopping
/var/lib/init.d/exclusive
/var/lib/init.d/exitcodes
/var/lib/init.d/scheduled
/var/lib/init.d/coldplugged
/var/lib/init.d/softscripts

I'm suspecting that /sbin/rc is writing to /var prior to the mounting 
of the respective partition. Am I correct?


Is there some commonly-used place in gentoo for specifying partitions 
that have to be mounted prior to writing a/m files?


10x,
Amit







Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread Neil Bothwick
On Wed, 4 Nov 2009 05:49:12 -0500, waltd...@waltdnes.org wrote:

   What's the latest install-from-USB-key procedure? 

Put System Rescue CD on a USB stick, boot from it, follow the handbook.


-- 
Neil Bothwick

RISC: Reduced Into Silly Code


signature.asc
Description: PGP signature


Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread Philip Webb
091104 waltd...@waltdnes.org wrote:
 What's the latest install-from-USB-key procedure ?
 The stuff I've found on Google and the Gentoo wiki
 references obsolete versions of Gentoo and I don't know if it would work.
 I've got an Acer Aspire One with no CD/DVD.

I'm in the midst of doing it on an ASUS 1005HA without an I/net connection;
I've got as far as booting with a defective kernel from Lilo
 should have it working tomorrow (the SCSI configuration is wrong).
'unetbootin' is the best way to write what you need on the USB stick;
System Rescue is good, but lacks ADSL support;
the Gentoo Minimal Install ISO has worked well for me.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread Walter Dnes
On Wed, Nov 04, 2009 at 11:57:15AM +0100, KH wrote

 This might be what you have been looking for.
 
 http://www.gentoo.org/doc/en/liveusb.xml

  That was one of the items I saw.  A couple of questions...

1) Will the old 2007.0 ISO still work?

2) Is it *REALLY* necessary to download a 700 meg (*COMPRESSED*) full-
   blown system with pointy-clicky-touchie-feelie-oowee-GUI to do a
   commandline install that could normally be done by a minimal install
   image a fraction of that size?

  What I'd like to do is put the minimal install image on a USB key and
boot from that.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-04 Thread Stefan G. Weichinger
walt schrieb:
 On 11/03/2009 12:31 PM, Stefan G. Weichinger wrote:
 walt schrieb:
 
 Perhaps you have something left over from your gnome session
 that doesn't stop when it should.  I see that quite often.
 hmm, any idea how to find that?
 
 I use ps ax to see the running processes.  Sometimes I see apps
 obviously related to gnome still running after I exit X.  I have
 no idea why, but if I plan to restart X I kill those processes
 first.
 
 In your case I would do ps ax  pre after a reboot, and then
 after logging out of X do ps ax  post, and then compare 'pre'
 to 'post' to see what has changed.

Will try something like that asap ... drown in work right now :-)

S



Re: [gentoo-user] emerge --depclean does not remove due to link level dependencies

2009-11-04 Thread Daniel Pielmeier
2009/11/4 Alex Schuster wo...@wonkology.org:
 Hi there!

 Again, this is just something I am curious about, not a real problem.
 emerge -p --depclean gives me this output:

 [...]
 Calculating dependencies... done!
 Checking for lib consumers...
 Assigning files to packages...
  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-libs/elfutils-0.131-r2 pulled in by:
  *     dev-util/ddd-3.3.12-r1 needs libelf.so.1

Newer versions of portage print this message if a package is about to
be removed because there is no ebuild dependency from all other
installed packages, but it is still needed because other packages link
to it automagically. This seems to be the case here, ddd automagically
links to elfutils depending on whether it is available or not, instead
of being controlled by the ebuild via use flag. So ddd links against
elfutils and portage does not know about it. In this case the
suggestion of rebuilding the packages does not work.

With older portage versions elfutils is removed and the dependency is
ignored. Revdep-rebuild will complain about ddd linking against
elfutils which is not available anymore and then rebuild ddd which
will result in ddd not linking against elfutils anymore.

 [...]
 And some more of that involving media-libs/libcddb-1.3.2, media-
 sound/esound-0.2.41, sys-libs/db-4.5.20_p2-r1 and sys-libs/db-4.6.21_p4.

 Okay, ddd needs libelf.so.1, provided by elfutils. Still the same when I
 rebuild ddd. So, why does this output appear at all? ddd needs
 libelf.so.1, this is in elfutils, so of course elfutils is needed just
 like any other package.

 Oh, wait I think I got it. emerge -pe ddd dos NOT list elfutils. So is
 this a bug in the ddd ebuild, not having elfutils as a dependency? And the
 same would be true for the other packages? Should I file some bugs?

 H. Now I got it. ddd does indeed not need elfutils. But it uses it
 when it is available. After removing elfutils, ddd still builds. Starting
 the ddd configure script in by hand with the --help option does not show
 options like --without-elf, so it's not the ebuild's fault that ddd makes
 use of the libelf library when it is available.


[snip]

 Should some bugs be filed? And if so, should they go:
 - To the ebuild maintainers? But they probably cannot do much about it,
 apart from patching the package's autoconf stuff.
 - To upstream? Well, would they consider this this a bug at all, or a mere
 problem with Gentoo's special build system, that wants to know all the
 dependencies?

If ddd really links automagically against elfutils, you should file a
Gentoo bug about ddd which needs it's autotools fixed. To save the
Gentoo developers some time you can also file an upstream bug and add
a reference to it in the Gentoo bug report. If upstream cares about
automagic dependencies is another story, in Gentoo it is considered a
bug.

-- 
Daniel Pielmeier



Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-04 Thread Dale
Stefan G. Weichinger wrote:
 walt schrieb:
   
 On 11/03/2009 12:31 PM, Stefan G. Weichinger wrote:
 
 walt schrieb:
   
 Perhaps you have something left over from your gnome session
 that doesn't stop when it should.  I see that quite often.
 
 hmm, any idea how to find that?
   
 I use ps ax to see the running processes.  Sometimes I see apps
 obviously related to gnome still running after I exit X.  I have
 no idea why, but if I plan to restart X I kill those processes
 first.

 In your case I would do ps ax  pre after a reboot, and then
 after logging out of X do ps ax  post, and then compare 'pre'
 to 'post' to see what has changed.
 

 Will try something like that asap ... drown in work right now :-)

 S


   

Unrelated in a way but still, I notice that when I go to single user
mode that a lot of KDE processes are still running.  Sometimes there is
a half dozen or so, sometimes a little more or less.  I always run ps
aux | less and page my way through them and use kill to get rid of
them.  I have always been curious as to why programs don't kell their
own processes and clean up after themselves better?  This may not just
gnome since I use KDE.

Dale

:-)  :-)



[gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Erik
With KDE4 I suddenly have bloody sexist stuff on my desktop!!! When I
configure country/region and language, there is an option for Night of
the week for strip club attendance: It even seems to have a weekday
selected by default! Has KDE been taken over by the sex industry? (Or
was it Gentoo that sneaked it in?). It was certainly not there in KDE3
and I would never install weirdo stuff like Gnaughty, so what the hell
is that option for? Will it set a special wallpaper that day? And it is
not even explained in the manual! That makes it even more suspicious.
The last part of the manual section says Till sist finns en
kombinationsruta som heter Första dag i veckan, som låter dig välja
vilken dag som är den första i veckan i ditt land. (Which means:
Finally there is a combobox called First day of week, that lets you
chose which day is first in the week in your country.) So there should
not exist any further options after First day of week.



Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread Crístian Viana

 1) Will the old 2007.0 ISO still work?


I'm not sure, but probably yes. but it's better if you download the latest
ISO ;)

2) Is it *REALLY* necessary to download a 700 meg (*COMPRESSED*) full-

  blown system with pointy-clicky-touchie-feelie-oowee-GUI to do a

  commandline install that could normally be done by a minimal install

  image a fraction of that size?


no. you can download the file install-arch-minimal-date.iso from one
of Gentoo mirrors. it's a little more than 100 MiB.

use unetbootin to copy the ISO to your USB key and boot your computer with
it. and follow the handbook as if you were installing Gentoo from the CD.

On Wed, Nov 4, 2009 at 10:15 AM, Walter Dnes waltd...@waltdnes.org wrote:

 On Wed, Nov 04, 2009 at 11:57:15AM +0100, KH wrote

  This might be what you have been looking for.
 
  http://www.gentoo.org/doc/en/liveusb.xml

   That was one of the items I saw.  A couple of questions...

 1) Will the old 2007.0 ISO still work?

 2) Is it *REALLY* necessary to download a 700 meg (*COMPRESSED*) full-
   blown system with pointy-clicky-touchie-feelie-oowee-GUI to do a
   commandline install that could normally be done by a minimal install
   image a fraction of that size?

  What I'd like to do is put the minimal install image on a USB key and
 boot from that.

 --
 Walter Dnes waltd...@waltdnes.org




-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Neil Bothwick
On Wed, 04 Nov 2009 13:45:00 +0100, Erik wrote:

 The last part of the manual section says Till sist finns en
 kombinationsruta som heter Första dag i veckan, som låter dig välja
 vilken dag som är den första i veckan i ditt land. (Which means:
 Finally there is a combobox called First day of week, that lets you
 chose which day is first in the week in your country.) So there should
 not exist any further options after First day of week.

There are four options here, first day of week, first working day of
week, last working day of week and day of the week for religious
observance. It would appear your locale uses a different translation!


-- 
Neil Bothwick

Guillotine operator wanted. Chance to get ahead.


signature.asc
Description: PGP signature


Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Alan McKinnon
On Wednesday 04 November 2009 14:45:00 Erik wrote:
 With KDE4 I suddenly have bloody sexist stuff on my desktop!!! When I
 configure country/region and language, there is an option for Night of
 the week for strip club attendance: 

Hey, I don't have that! Not fair!

What package is it in? I'd find that feature insanely useful, I'm always 
forgetting which night of the week the strip joints are open (then I miss the 
fun)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Different desktop wallpapers in KDE4?

2009-11-04 Thread daid kahl
 I think I saw a statement on this list that it's possible to set a
 different wallpaper on each desktop in kde-4.3.1, but now I can't find
 it,
 and I can't see how to do it either.

 Is it really possible to do this?

 You need to create an activity for each desktop and set the wallpaper
 within
 the activities.

 Here's what I did which seems to work nicely:

 Created an auto hide panel centered on top edge.

 Added the activity bar widget to this panel.

 Create Activity (cashew, Zoom Out, alt-D alt-A, then select setup (wrench
 icon) (you may have to grab and scroll the desktop to see the commands) and
 name the activity.  You can also set the background here.

 Use the Activity Bar to select another activity.  Note, the first time after
 adding an activity, the activity bar has a bug where it will show the names
 for all of the activities, but will draw n-1 buttons.  Just click on one
 button then the activity bar will be correct.

 Now on any activity, you can right click the desktop and choose Desktop
 Settings, then change the background.


These instructions were pretty confusing for me, added features I
didn't need, and didn't specify how to link desktops and activities.

I just switched to kde4, and it took me quite awhile to achieve the
goal of different backgrounds on different virtual desktops.  Here's
all I had to do.

Make however many desktops you want using the System Settings under
the Kicker menu (Desktops, Mutliple Desktops tab).

Then hit the Cashew which is the little thing in the upper right
corner of the main desktop (minimize or move windows and you will see
it), and then use the Zoom Out option.  Now Configure Plasma and
link desktops and activities.  Then you should have a number of
activities equal to the number of desktops, and if not, add the
correct number of activities.  Now you can use the tool-icon for each
activity to set the background.

I think linking the activities and desktops is a feature of 4.3, so
this may not work in older versions of kde4.

~daid



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Arnau Bria
On Wed,  4 Nov 2009 11:17:15 +
Peter Haworth wrote:

[...]
  This is only one of the reasons (only one of them) why hal in X is
  as useless as it can get: if you use any driver that's not provided
  by the Xorg guys then you still need an xorg.conf.

 True, but it doesn't need much in it. I'm not generally a hal
 apologist, but I'm quite happy with this as my entire xorg.conf:
 
   Section Device
 Identifier Device0
 Driver nvidia
 VendorName NVIDIA Corporation
   EndSection
Will try eth this.

Thanks!

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread james
Graham Murray graham at gmurray.org.uk writes:

 You have to copy the .config from the running (old)
 kernel to the new kernel directory before running make oldconfig. If you
 start with the default config, then you have to run make menuconfig (or
 config or xconfig) to customise it every time.


Hm,


I thought when you install a new kernel, you just change the symbolic link.

example (old kernel linux-2.6.30-gentoo-r4)
New kernel (linux-2.6.30-gentoo-r5)


cd /usr/src
rm linux
ls -sf /usr/src/linux-2.6.30-gentoo-r5 linux
cd linux
make menuconfig


At this point the new kernel sources (linux-2.6.30-gentoo-r5)
automatically copies over the .config from the version
of the kernel you are actually running. If no changes
are required, save and build and setup new kennel. If something
changes then the .config is modified by 'make menuconfig'.

So minor kernel version revisions are trivial, but major
kernel revision updated (like 2.6.30.x to 2.6.31.x) require
your perusal of the menuconfig choices.(caveat emptor).

Did I miss something? Dirt simple. 

Here are my steps:

from /usr/src/linux:
make  make modules_install

then
cp System.map /boot/System.map-2.6.30-gentoo-r5
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.30-gentoo-r5
cp .config /boot/config-2.6.30-gentoo-r5


Edit grub. Keep at least 2 copies of know working kernels
around, in case you have to revert or look at something old

Or did I miss something. That 'oldconfig' stuffage is 
not required any more.

Or did I miss something?

Last, if you are talking about hardware that is fixed
(mobo, Hard drive (file systems), video cards(video drivers)
etc etc, I always hard compile that into the kernel. I'd add to 
that mouse and keyboard, cause headaches can occur if
those are loadable (others will disagree). But if you swap out
usb keyboards quite often, either compile all choices into the 
kernel or use loadable modules.


Stuff like external HD, usb or things that routinely get
plugged and unplugged to/from the system, should definitely
be loadable modules. imho.


hth,
James






Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Arnau Bria
On Wed,  4 Nov 2009 11:17:15 +
Peter Haworth wrote:

 On Wed, 04 Nov 2009 11:52:45 +0100, =?UTF-8?Q?Jes=C3=BAs_Guerrero?=
 wrote:
  On Wed, 4 Nov 2009 11:08:26 +0100, Arnau Bria ar...@emergetux.net
  wrote:
   Am Iworng or my xorg uses nv driver? if so, how may I force hal
   to use nvidia driver? what about dri module? why is it failling
   to load it?
  
  This is only one of the reasons (only one of them) why hal in X is
  as useless as it can get: if you use any driver that's not provided
  by the Xorg guys then you still need an xorg.conf.
 
 True, but it doesn't need much in it. I'm not generally a hal
 apologist, but I'm quite happy with this as my entire xorg.conf:
 
   Section Device
 Identifier Device0
 Driver nvidia
 VendorName NVIDIA Corporation
   EndSection
tried with only that section, it hangs and had to reboot X was
really slow and log showed errors like:

(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) NVIDIA(0): Setting mode nvidia-auto-select
(II) Logitech USB-PS/2 Optical Mouse: Device reopened after 1 attempts.
(II) Logitech Logitech USB Keyboard: Device reopened after 1 attempts.
(II) Logitech Logitech USB Keyboard: Device reopened after 1 attempts.
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0xd384, 0xd384)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0xd3a8, 0xd3a8)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0xd3cc, 0xd3cc)
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0xd3f0, 0xd3f0)
(II) NVIDIA(0): Initialized AGP GART.

So, I'll stay with nv or try xorg with no hal support.

Thanks for your replies!

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



[gentoo-user] Re: To James and James (was Re: executing commands on lots of servers at once)

2009-11-04 Thread James
Dirk Heinrichs dirk.heinrichs at online.de writes:


 Yes, there are indeed two James on the list. Could you please both be so 
 kind and use your full names when posting to the list, to avoid such 
 confusion 
 in the future?

No, 
I've been using James on the list since, 2004. I've got grandfather
rights. Besides too many hacker/impersonators share my resources; 
to sort out any instantiation of reality...(boring).

So 'James is the new  Sybil ..'
http://en.wikipedia.org/wiki/Sybil_(book)


pssst, I'm the old, stupid, forgetful one
pssst, I like diversity too!


James






Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Dale
Arnau Bria wrote:

 or try xorg with no hal support.

 Thanks for your replies!

   

I can tell you that using xorg without hal works.  I gave up on hal a
while back.  If you want to know how to get rid of hal support, just let
us know or search the archives.

Dale

:-)  :-) 



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Alex Schuster
Arnau Bria writes:

 On Wed,  4 Nov 2009 11:17:15 + Peter Haworth wrote:

Section Device
  Identifier Device0
  Driver nvidia
  VendorName NVIDIA Corporation
EndSection
 
 tried with only that section, it hangs and had to reboot 

Did you try the being-mentioned-here-quite-often-these-days-of-X-trouble 
trick of Alt-SysRq-R, followed by Ctrl-Alt-F1?


 So, I'll stay with nv or try xorg with no hal support.

I have hal support in it, but also still keyboard and mouse sections in 
xorg.conf. I also have 
Option AutoAddDevices  false
Option AllowEmptyInput false
in the ServerLayout section to make them still work. so I can easier 
switch between using and not using HAL for devices than by re-compiling 
with changes USE flags.

Wonko



[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Harry Putnam
John H. Moe john...@optusnet.com.au writes:

 I stopped using that option in my systems, as there is now a AHCI SATA
 option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
 requires) is deprecated. From the help on it:

Do you notice some kind of difference from switching?




[gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-04 Thread walt
On 11/03/2009 06:10 PM, Maxim Wexler wrote:
 I'm guessing that the xorg server couldn't load its 'nvidia' module because
 the nvidia kernel module wasn't loaded, so that's no surprise.

 Does modprobe -nv nvidia say anything interesting?
 
 
 kyzyl ~ # modprobe -nv nvidia
 insmod /lib/modules/2.6.29/video/nvidia.ko NVreg_DeviceFileMode=432
 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1
 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
 NVreg_ModifyDeviceFiles=1
 FATAL: Error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
 No such device

Do you have /lib/modules/2.6.29/modules.pcimap?

#head modules.pcimap
# pci module vendor device subvendor  subdevice  class  
class_mask driver_data
snd-via82xx  0x1106 0x3058 0x 0x 0x 
0x 0x0
snd-via82xx  0x1106 0x3059 0x 0x 0x 
0x 0x0
nvidia   0x10de 0x 0x 0x 0x0003 
0x 0x0
nvidia   0x10de 0x 0x 0x 0x00030200 
0x 0x0
uhci-hcd 0x 0x 0x 0x 0x000c0300 
0x 0x0






Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Arnau Bria
On Wed, 04 Nov 2009 08:34:06 -0600
Dale Dale wrote:

 I can tell you that using xorg without hal works.  I gave up on hal a
 while back.  If you want to know how to get rid of hal support, just
 let us know or search the archives.
Well, I did a quick serach with [xorg without hal] or no hal support
and other and got many results...

do you remember subject on that threat? any link to a guide?


 Dale
Thanks Dale!

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Arnau Bria
  tried with only that section, it hangs and had to reboot 
 
 Did you try the
 being-mentioned-here-quite-often-these-days-of-X-trouble trick of
 Alt-SysRq-R, followed by Ctrl-Alt-F1?
nop, did not remeber key combination, but I don't care if I have to
reboot, not the issue in this topic.

 I have hal support in it, but also still keyboard and mouse sections
 in xorg.conf. I also have 
 Option AutoAddDevices  false
 Option AllowEmptyInput false
 in the ServerLayout section to make them still work. so I can easier 
 switch between using and not using HAL for devices than by
 re-compiling with changes USE flags.
Ok, but if I have to add input section and nvidia section, what profit
do I take from hal? I prefer having my weel know xorg file :-)


   Wonko
thanks for your reply,
Arnau

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Mike Edenfield

On 11/3/2009 11:10 PM, Harry Putnam wrote:

hamiltonhamil...@pobox.com  writes:



Just checking - but you didn't mention: did you copy the .config to the
new kernel src directory?  If not, that would certainly explain the
disparity in configuration settings you're seeing.



I think you can say make `oldconfig' and the `old config' is supposed to
be incorporated so no I didn't

If I had put .confg into the new sources, then plain make menuconfig
is what I would have used.

Do you know where the man pages or docs for that stuff is .. its not in
`man make'


The 'make' man page wouldn't know anything about the kernel's makefile. 
 You want the README file that's included in the top of the kernel 
source folder.  That file says, among other things:


make oldconfig   Default all questions based on the contents of
   your existing ./.config file and asking about
   new config symbols.

You need to already have a .config file in the source tree in order for 
'make oldconfig' to work; otherwise you are going to get the default 
answers to just about every question.  The benefit of this is that you 
don't have to search through the entire menu tree in the UI to find 
what's new.


When you're ready to build a new kernel version, you should copy the 
.config file from your current kernel into the new source tree.  For 
example, if you use 'make install' it will copy .config to 
/boot/config-kernel version; from there you can copy it back to 
/usr/src/linux/.config for the next version.


When you run 'oldconfig' you should rarely get more than a few dozen 
questions, and it should all be on truly new items that didn't exist in 
your previous kernel.  The hardware drivers you selected should all 
carry over as-is.


--Mike



[gentoo-user] fsck date problem during boot

2009-11-04 Thread Harry Putnam
I've been fiddling with a new kernel, and have had several occasions
to reboot lately.

If I mounted /boot to cp the new kernel etc over, I have a problem on
reboot for sure.

Somehow the date of last fsck on /boot is seen as `in the future' so
fsck fails on /dev/had1 (/boot).

Which means nearly all other boot time services also fail.  So I end
up logging into a system with no services running and only `/' mounted.

At that point, I run fsck /dev/hda1 which finds a date error, fixes it
and then reboot... this time everything works, and if I don't mount
/boot a reboot just works... but if I end up having to fiddle further
with kernel, mount /boot to copy over etc.  On reboot the same problem
occurs. 

I tried to get ahead of the game by umounting /boot after cp over
kernel and running fsck on it before reboot.  fsck doesn't find a
problem. But at reboot... the same problem occurs.

What it means is every reboot requires 2 reboots (if I mounted /boot)

I'm guessing its some kind of timing problem with events during boot.
But not sure what to do about it.

The clock can't be getting that far off in a few seconds, and is reset
when ntp-client runs.  So I don't understand the error saying `in the
future'.  





[gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread Harry Putnam
I didn't want to derail the ongoing thread about hal/xorg with this
question there.

Far as I remember I haven't done anything special concerning hal but
at some point hal disappeared.  And is not on my system anymore. 

I've always used and /etc/X11/xorg.conf file for starting X.
What I'm wondering from seeing this kind of topic frequently here is
if I'm running in some deprecated mode?

If my setup using no hal, and xorg.conf is going to become outdated
and stop working anytime soon?




[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread walt
On 11/04/2009 06:16 AM, james wrote:
 Graham Murray graham at gmurray.org.uk writes:
 
  You have to copy the .config from the running (old)
 kernel to the new kernel directory before running make oldconfig. If you
 start with the default config, then you have to run make menuconfig (or
 config or xconfig) to customise it every time.
 
 
 Hm,
 
 
 I thought when you install a new kernel, you just change the symbolic link.
 
 example (old kernel linux-2.6.30-gentoo-r4)
 New kernel (linux-2.6.30-gentoo-r5)
 
 
 cd /usr/src
 rm linux
 ls -sf /usr/src/linux-2.6.30-gentoo-r5 linux
 cd linux
 make menuconfig

Well, if you really want to use menuconfig first, you need to repeat the
entire configuration process from the beginning.  Make oldconfig is there
exactly so you *don't* need to repeat everything manually.

 At this point the new kernel sources (linux-2.6.30-gentoo-r5)
 automatically copies over the .config from the version
 of the kernel you are actually running...

That sentence doesn't make sense.  You said the sources automatically copy
the .config -- but the sources don't do anything.  Only a program could do
something automatically, not source code files. It may be that genkernel
does something like that, but I've never used it so I don't know.

If you are building your kernel manually (as you seem to be doing) then *you*
need to copy the .config from the old sources over to your new kernel source
directory and *then* do make oldconfig. That's when the magic happens, not
before.

You'll see lots of interesting stuff if you run 'make help' in the kernel
source directory.




[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Harry Putnam
Mike Edenfield kut...@kutulu.org writes:

 The 'make' man page wouldn't know anything about the kernel's
 makefile. You want the README file that's included in the top of the
 kernel source folder.  That file says, among other things:

 make oldconfig   Default all questions based on the contents of
your existing ./.config file and asking about
new config symbols.

 You need to already have a .config file in the source tree in order
 for 'make oldconfig' to work; otherwise you are going to get the
 default answers to just about every question.  The benefit of this is
 that you don't have to search through the entire menu tree in the UI
 to find what's new.

Thanks for clearing that stuff up, and the pointer to documentation.







[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Grant Edwards
On 2009-11-04, Harry Putnam rea...@newsguy.com wrote:

 Just checking - but you didn't mention: did you copy the
 .config to the new kernel src directory?  If not, that would
 certainly explain the disparity in configuration settings
 you're seeing.  

 I think you can say make `oldconfig' and the `old config' is
 supposed to be incorporated

No, it isn't.

 so no I didn't

That's the problem.

 If I had put .config into the new sources, then plain make
 menuconfig is what I would have used.

No, that's when you use make oldconfig: when you've placed a
.config file from an old kernel into the build directory.
Doing a make oldconfig will used the existing .config file as
much as possible and ask you questions about new choices.

 Do you know where the man pages or docs for that stuff is ..
 its not in `man make'

Have you tried looking in the 'Documentation' directory in the
linux source tree?

 I'd like to check some of that.

Good idea.

-- 
Grant Edwards   grante Yow! ... I'm IMAGINING a
  at   sensuous GIRAFFE, CAVORTING
   visi.comin the BACK ROOM of a
   KOSHER DELI --




[gentoo-user] Re: Gtk+ update results in slow Firefox

2009-11-04 Thread Nikos Chantziaras

On 11/04/2009 04:55 AM, 7v5w7go9ub0o wrote:

Nikos Chantziaras wrote:

[...]

Gah, the Flash plugin is very buggy with 3.6 (rendering corruption).
  I reverted to 3.5.4 and downgraded to Gtk+ 2.16.6 and gtkmm 2.16.0
instead.

Any pointers at to what might be wrong are still welcome.



Shot in the dark here.

NVidia updated their drivers at about the time you started having
problems. Their latest driver update changed the permissions on
/dev/nvidia0  nvidiactl ; resulting in VERY slow scrolling response on
my box (amd64) using googleearth. Changing the permissions to crwxrw-rw-
resulted in instant speed up; you may get by with r--r-- (?).


Thanks, but that's not it.  I'm on ATI and /dev/ati/card0 has the right 
permissions.  And it works just fine with older Gtk+, just not with newer.





Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Alex Schuster
Arnau Bria writes:

  I have hal support in it, but also still keyboard and mouse sections
  in xorg.conf. I also have
  Option AutoAddDevices  false
  Option AllowEmptyInput false
  in the ServerLayout section to make them still work. so I can easier
  switch between using and not using HAL for devices than by
  re-compiling with changes USE flags.
 
 Ok, but if I have to add input section and nvidia section, what profit
 do I take from hal? I prefer having my weel know xorg file :-)

Probably no much, apart from having not to put -hal in package.use. Maybe 
the detection of your monitor is improved. I heard that switching 
resolutions with Ctrl-Alt-+/- is also faster now (seems to be true here), 
but that might also be related to the new X.org, not HAL.
And it's easier to try HAL again on the fly, without having to re-build 
xorg with changed USE flag. If you decide to drop it completely from 
X.org, and never try again, just remove it with -hal use flag. Some day 
HAL will be replaced by devicekit anyway, but that may take a while to 
happen.

Wonko



Re: [gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread Volker Armin Hemmann
On Mittwoch 04 November 2009, Harry Putnam wrote:
 I didn't want to derail the ongoing thread about hal/xorg with this
 question there.
 
 Far as I remember I haven't done anything special concerning hal but
 at some point hal disappeared.  And is not on my system anymore.
 
 I've always used and /etc/X11/xorg.conf file for starting X.
 What I'm wondering from seeing this kind of topic frequently here is
 if I'm running in some deprecated mode?
 
 If my setup using no hal, and xorg.conf is going to become outdated
 and stop working anytime soon?
 

no

but hal is going away soon.



[gentoo-user] Re: New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Nikos Chantziaras

On 11/04/2009 02:45 PM, Erik wrote:

With KDE4 I suddenly have bloody sexist stuff on my desktop!!! When I
configure country/region and language, there is an option for Night of
the week for strip club attendance:


I would report that to the KDE development list.  It look like a 
translator was trying to be funny.





Re: [gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread Alex Schuster
Harry Putnam writes:

 Far as I remember I haven't done anything special concerning hal but
 at some point hal disappeared.  And is not on my system anymore.

Strange. Is hal still in your USE flags?
It is not really neded, but I think it's nice to have - maybe not for 
x.org, but for other things like automounting devices. Here's the list of 
my packages that need HAL:

wo...@weird ~ $ equery d hal
[ Searching for packages depending on hal... ]
app-cdr/k3b-1.0.5-r6 (hal? sys-apps/hal)
app-emulation/wine-1.1.12 (hal? sys-apps/hal)
app-misc/hal-cups-utils-0.6.19 (=sys-apps/hal-0.5.10)
app-misc/hal-info-20090414 (=sys-apps/hal-0.5.10)
gnome-base/gnome-keyring-2.26.3 (hal? =sys-apps/hal-0.5.7)
gnome-base/gnome-mount-0.8-r1 (=sys-apps/hal-0.5.8.1)
gnome-base/gnome-vfs-2.24.1 (hal? =sys-apps/hal-0.5.7)
gnome-base/gvfs-1.2.3 (cdda? =sys-apps/hal-0.5.10)
  (hal? =sys-apps/hal-0.5.10)
gnome-extra/nautilus-cd-burner-2.24.0 (=sys-apps/hal-0.5.7)
kde-base/kdebase-kioslaves-3.5.10-r1 (hal? =sys-apps/hal-0.5*)
kde-base/solid-4.3.2 (=sys-apps/hal-0.5.9)
media-gfx/gimp-2.6.4 (hal? sys-apps/hal)
media-libs/libgphoto2-2.4.6 (hal? =sys-apps/hal-0.5)
media-sound/rhythmbox-0.11.6-r1 (hal? =sys-apps/hal-0.5)
sys-fs/ntfs3g-2009.3.8 (hal? sys-apps/hal)
sys-power/pm-utils-1.2.5 (=sys-apps/hal-0.5.10)
x11-base/xorg-server-1.6.3.901-r2 (hal? sys-apps/hal)
xfce-base/exo-0.3.105-r1 (hal? sys-apps/hal)
xfce-base/thunar-1.0.1 (hal? sys-apps/hal)


 I've always used and /etc/X11/xorg.conf file for starting X.
 What I'm wondering from seeing this kind of topic frequently here is
 if I'm running in some deprecated mode?
 
 If my setup using no hal, and xorg.conf is going to become outdated
 and stop working anytime soon?

I don't think so. HAL will be replaced anyway by devicekit. You should be 
safe to keep your xorg.conf, as many people here seem to do.

Wonko



Re: [gentoo-user] Re: New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Zeerak Waseem
On Wed, 04 Nov 2009 17:19:16 +0100, Nikos Chantziaras rea...@arcor.de  
wrote:



On 11/04/2009 02:45 PM, Erik wrote:

With KDE4 I suddenly have bloody sexist stuff on my desktop!!! When I
configure country/region and language, there is an option for Night of
the week for strip club attendance:


I would report that to the KDE development list.  It look like a  
translator was trying to be funny.





Those pesky translators!
I'd say they managed to be just a little funny :-)

Zeerak



Re: [gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread Mike Edenfield

On 11/4/2009 10:51 AM, Harry Putnam wrote:

I didn't want to derail the ongoing thread about hal/xorg with this
question there.

Far as I remember I haven't done anything special concerning hal but
at some point hal disappeared.  And is not on my system anymore.


I believe that some packages in portage recently masked off the hal 
USE flag (GNOME stuff, maybe?), so if those were the only packages 
relying on hal it might have gone away.



I've always used and /etc/X11/xorg.conf file for starting X.
What I'm wondering from seeing this kind of topic frequently here is
if I'm running in some deprecated mode?

If my setup using no hal, and xorg.conf is going to become outdated
and stop working anytime soon?


The answer is a solid who the heck knows.

If it works for you now, don't mess with it.  Wait for the 
Xorg/hal/devkit/whatever situation to settle down before you go making 
any drastic changes.


Some people, like myself, are running X with hal and no .conf file and 
it works like a champ.  I get better hardware detection with hal, 
especially on my laptop, than I ever got manually.


Other people have had problems with hal and Xorg not detecting their 
hardware at all.  What you are frequently seeing is those people 
reminding everyone, every time the topic come up, that you don't *need* 
to use the new hal-ified way if it doesn't work for you.


All of this is probably moot because hal itself is going away and being 
replaced by devicekit, but not yet because devicekit isn't quite ready. 
 What the configuration situation will be under devicekit I have no 
idea, though I would hope having no configuration file would still be a 
goal for the devkit team.



--Mike



Re: [gentoo-user] Netqmail and local mail

2009-11-04 Thread Stroller


On 3 Nov 2009, at 23:21, Momesso Andrea wrote:

...
The server works fine and can send and recive mails.

The problem is that I don't know anymore where to find my local  
mail, for

example mail sent by cron jobs.

I'd like to have it forwarded to one of my accounts (for example my  
gmail
address) or, if this is not possible, to an account on the server,  
so that I

can access it trough horde webmail.


I have no idea where your mail was before - I'm afraid you didn't  
bother to tell us.


I don't use qmail, but if I look at the HOWTO you followed, I see that  
you've set this up already:


   Code Listing 2.3: Setting up non-root account for mail
   # cd /var/qmail/alias
   # echo vapier  .qmail-root
   # echo vapier  .qmail-postmaster
   # echo vapier  .qmail-mailer-daemon

Thus all mail will be delivered to your vap...@yourdomain.com mailbox.  
You can probably change this by putting bobsm...@gmail.com in  
the .qmail-postmaster file.


If the mail isn't being delivered to you, then best guess is that the  
cron system isn't actually set up to deliver it to you. If you use  
qmail's replacement for the sendmail command to `sendmail postmaster   
Alice\ in\ Wonderland.txt`, is the message delivered?


Stroller.




[gentoo-user] Sound card drivers must be modules?

2009-11-04 Thread Grant
I'm trying to configure my laptop's internal sound card and external
USB sound card.  I have /etc/modprobe.d/alsa.conf:

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

and restarting alsasound I get:

WARNING: Module snd_hda_intel not found.
WARNING: Module snd_usb_audio not found.

Do I have to compile both drivers as modules in order to use them both?

- Grant



Re: [gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread Jesús Guerrero
On Wed, 04 Nov 2009 11:25:49 -0500, Mike Edenfield kut...@kutulu.org
wrote:
 On 11/4/2009 10:51 AM, Harry Putnam wrote:
 I didn't want to derail the ongoing thread about hal/xorg with this
 question there.

 Far as I remember I haven't done anything special concerning hal but
 at some point hal disappeared.  And is not on my system anymore.
 
 I believe that some packages in portage recently masked off the hal 
 USE flag (GNOME stuff, maybe?), so if those were the only packages 
 relying on hal it might have gone away.
 
 I've always used and /etc/X11/xorg.conf file for starting X.
 What I'm wondering from seeing this kind of topic frequently here is
 if I'm running in some deprecated mode?

 If my setup using no hal, and xorg.conf is going to become outdated
 and stop working anytime soon?
 
 The answer is a solid who the heck knows.
 
 If it works for you now, don't mess with it.  Wait for the 
 Xorg/hal/devkit/whatever situation to settle down before you go making 
 any drastic changes.

I'd just save all the config files for future reference, specially if you
are going to keep your hardware for a long time. For the rest, use whatever
works for you right now. I remind you also of quickpkg, in case you need to
test and revert packages quickly.

 Some people, like myself, are running X with hal and no .conf file and 
 it works like a champ.  I get better hardware detection with hal, 
 especially on my laptop, than I ever got manually.
 
 Other people have had problems with hal and Xorg not detecting their 
 hardware at all.  What you are frequently seeing is those people 
 reminding everyone, every time the topic come up, that you don't *need* 
 to use the new hal-ified way if it doesn't work for you.

This whole hal stuff has always been a mess. Yes, it works for a few
persons out of the box. But for those that don't, it has brought a lot of
trouble. I've never suggested anyone ditching hal when it worked for him or
her. If it ain't broke, don't fix it. But I can't help but to think that
I've never liked hal because it's a monsters that doesn't solve the
problems that it was created to solve, except in a few cases out of pure
chance. I still don't know what's so amazing about the hal automounting
stuff, when a simple udev rule can do exactly the same without tainting all
my software. Now hal has proven to be what a lot of people knew it was from
the beginning, just think of the lot of wasted hours, and the other lot
that will be wasted to remove all the metastases on every single program it
has touched with its tentacles. Hopefully a big part of it would be a
conversion rather than a complete rewrite.

However, I am sure that they've learn from the experience, and that's a
good thing, it's useless to talk now about *what* could have been done and
*how*, we have to look forward, everyone including those that just like me
do not like hal. It's the kind of thing that happens when we integrate
non-mature technologies into every single product under the sun: if they
succeed they are visionaries. If they don't, then everyone complains, human
nature I guess. :) 
-- 
Jesús Guerrero




[gentoo-user] Re: New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Nikos Chantziaras

On 11/04/2009 06:24 PM, Zeerak Waseem wrote:

On Wed, 04 Nov 2009 17:19:16 +0100, Nikos Chantziaras rea...@arcor.de
wrote:


On 11/04/2009 02:45 PM, Erik wrote:

With KDE4 I suddenly have bloody sexist stuff on my desktop!!! When I
configure country/region and language, there is an option for Night of
the week for strip club attendance:


I would report that to the KDE development list. It look like a
translator was trying to be funny.



Those pesky translators!
I'd say they managed to be just a little funny :-)


I find it funny too, but the problem is that the user has no idea what 
the option actually does then.





[gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Nikos Chantziaras

On 11/04/2009 06:48 PM, Grant wrote:

I'm trying to configure my laptop's internal sound card and external
USB sound card.  I have /etc/modprobe.d/alsa.conf:

alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

and restarting alsasound I get:

WARNING: Module snd_hda_intel not found.
WARNING: Module snd_usb_audio not found.

Do I have to compile both drivers as modules in order to use them both?


For the built-in chip, no.

For the USB card, not if you have it plugged in at boot time.  But 
better build this one as a module since USB devices can be plugged in 
and out at random.





Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Stroller


On 4 Nov 2009, at 13:22, Neil Bothwick wrote:

...
There are four options here, first day of week, first working day of
week, last working day of week and day of the week for religious
observance. It would appear your locale uses a different translation!


I am torn as whether to find this funny or improper.

Only when I know what it's supposed to say I really like the joke that  
both are equally important. Why indeed give religious observance a  
higher priority?!?! But installing Linux for a little old lady or  
person of uptight morals, and it is likely to offend and possibly  
drive the user away from the platform.


Stroller.




Re: [gentoo-user] fsck date problem during boot

2009-11-04 Thread Stroller


On 4 Nov 2009, at 15:45, Harry Putnam wrote:

...
Somehow the date of last fsck on /boot is seen as `in the future' so
fsck fails on /dev/had1 (/boot).


The first thing I would want to check is the motherboard battery. Is  
the time correct if you reboot and immediately enter BIOS?


Stroller.




Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Neil Bothwick
On Wed, 4 Nov 2009 17:06:28 +, Stroller wrote:

 I am torn as whether to find this funny or improper.

Like a lot of humour, I see it as both.

 Only when I know what it's supposed to say I really like the joke that  
 both are equally important. Why indeed give religious observance a  
 higher priority?!?! But installing Linux for a little old lady or  
 person of uptight morals, and it is likely to offend and possibly  
 drive the user away from the platform.

The other problem, as Nikos mentioned, is that it hides the real meaning
of the option.


-- 
Neil Bothwick

Support bacteria - they're the only culture some people have.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Grant
 I'm trying to configure my laptop's internal sound card and external
 USB sound card.  I have /etc/modprobe.d/alsa.conf:

 alias snd-card-0 snd-hda-intel
 options snd-hda-intel index=0

 alias snd-card-1 snd-usb-audio
 options snd-usb-audio index=1

 and restarting alsasound I get:

 WARNING: Module snd_hda_intel not found.
 WARNING: Module snd_usb_audio not found.

 Do I have to compile both drivers as modules in order to use them both?

 For the built-in chip, no.

But I get the warning about Module snd_hda_intel not found which is
the built-in chip.

- Grant


 For the USB card, not if you have it plugged in at boot time.  But better
 build this one as a module since USB devices can be plugged in and out at
 random.



Re: [gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Neil Bothwick
On Wed, 4 Nov 2009 09:25:21 -0800, Grant wrote:

 But I get the warning about Module snd_hda_intel not found which is
 the built-in chip.

That's because you don't have that module, it's built into the kernel.
This also means the the options lines in alsa.conf will not do anything.


-- 
Neil Bothwick

Light travels faster than sound. This is why some people appear bright
until you hear them speak.


signature.asc
Description: PGP signature


[gentoo-user] VGA output?

2009-11-04 Thread Grant
How are you guys getting your laptops to do VGA output?  My system
functions fine without an xorg.conf right now.  Do I need to create
one if I want VGA output?

- Grant



Re: [gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Grant
 But I get the warning about Module snd_hda_intel not found which is
 the built-in chip.

 That's because you don't have that module, it's built into the kernel.
 This also means the the options lines in alsa.conf will not do anything.

OK, so I need to build them as modules, or I need to change those
lines in alsa.conf?  If I can avoid building them as modules I'd like
to.  How can those lines be written when the drivers are built into
the kernel?

- Grant



Re: [gentoo-user] Re: syslog-ng: v2-v3 config issue...

2009-11-04 Thread Jarry

Fekete Robert wrote:

You are right, the program-override option is missing from the
documentation of the file source, but it should work anyway.
We did a quick test and it was working on our Ubuntu machines (tested
with syslog-ng 3.02a), both on kernel messages and also on custom
files containing log messages.


Well, I'm not sure where is the problem. I'm using syslog-ng-3.0.4
(the last stable version in portage). This is relevant part of my
new /etc/syslog-ng.conf:

options { chain_hostnames(no);
  stats_freq(3600);
  ts_format(iso);
  flush_lines(1);
  log_fifo_size(250); };

source s_teamspeak { file(/var/log/teamspeak2-server/server.log
flags(store-legacy-msghdr)
program_override(teamspeak: )
log_fetch_limit(100)
flags(no-parse)); };

destination d_teamspeak { file(/var/log/ts2.log); };
log { source(s_teamspeak); destination(d_teamspeak); };
==

One line in source (/var/log/teamspeak-server/server.log):
04-11-09 16:52:54,ALL,Info... (etc)

Corresponding line in /var/log/ts2.log (that program_override()
is simply missing):
2009-11-04T16:52:54+00:00 talk 04-11-09 16:52:54,ALL,Info...

For comparison, the same part of my syslog-ng v2.x config:
==
options { chain_hostnames(off);
  sync(0);
  stats(43200);
  ts_format(iso); };

source s_teamspeak2 { file(/var/log/teamspeak2-server/server.log
log_prefix(teamspeak2: )
follow_freq(1)
flags(no-parse)); };

destination d_teamspeak { file(/var/log/ts2.log); };
log { source(s_teamspeak); destination(d_teamspeak); };
===

And this is what I got in ts2.log with syslog-ng v2.x:

2009-09-25T18:17:41+00:00 talk teamspeak2: 28-07-09 18:49:39,ALL,Info...

You see the difference?
syslog-ng 2.x: iso-time hostname *log_prefix* message
syslog-ng 3.x: iso-time hostname message
Where is program_override?

v2/v3 config-files are now not absolutely the same but even when
I made them identical (removed fifo_size, fetch_limit, flags, etc)
I still had this problem. And I observed this strange behavior
not only with this particular file() source, but with all file()
sources. So what could be the reason?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



[gentoo-user] Re: VGA output?

2009-11-04 Thread Grant
 How are you guys getting your laptops to do VGA output?  My system
 functions fine without an xorg.conf right now.  Do I need to create
 one if I want VGA output?

 - Grant

Actually it works great after a reboot.  Is there a better method for
switching VGA output on and off than plug/unplug + reboot?

- Grant



Re: [gentoo-user] kernel build - back in the soup.

2009-11-04 Thread Dirk Heinrichs
Am Dienstag 03 November 2009 23:29:59 schrieb Harry Putnam:

 The thing is, I cannot find the culprit.  For example, examining the
 PIIX items in the working kernel and inserting here:

Still the (IMHO) best way is to boot a LiveCD, run lspci -vv (two times v) 
and write down which hardware is detected and which driver is used for it. 
From that you can directly determine what you need to compile into your 
kernel. Everything else is guesswork.

Hint: menuconfig has a search function (/). You can directly search for the 
driver name you got from lspci and enable the corresponding option.

If you're unsure as to what should be compiled into the kernel and what can be 
a module, always say Y. You can try M in later iterations. As a rule of 
thumb: everything you need to access your root fs should get a Y. That is 
Chipset-(S)ATA harddisk-Filesystem.

If it still won't work, you can also post your kernel config and the output of 
lspci -vv here and somebody will find out what's wrong/missing.

HTH...

Dirk


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


Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Dirk Heinrichs
Am Mittwoch 04 November 2009 02:46:54 schrieb Harry Putnam:

 But am I missing some critical driver?

Harddisk (CONFIG_BLK_DEV_SD=y), maybe? That's one reason for unknown block 
device.

Bye...

Dirk


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


[gentoo-user] Re: VGA output?

2009-11-04 Thread Nikos Chantziaras

On 11/04/2009 07:47 PM, Grant wrote:

How are you guys getting your laptops to do VGA output?  My system
functions fine without an xorg.conf right now.  Do I need to create
one if I want VGA output?

- Grant


Actually it works great after a reboot.  Is there a better method for
switching VGA output on and off than plug/unplug + reboot?


Might be a shot in the dark, but try krandrtray (it's a KDE app though.) 
 You should get something like this:


  http://i36.tinypic.com/a1rgqu.png

I don't have a second monitor to connect so I can't try, but perhaps it 
will allow you to enable output to it once you connect it.





Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Dirk Heinrichs
Am Mittwoch 04 November 2009 05:10:52 schrieb Harry Putnam:

 I think you can say make `oldconfig' and the `old config' is supposed to
 be incorporated so no I didn't

No, that's only half of the truth. You need to copy .config from your old 
kernel first. I'd compile the config into the kernel, so that you can access it 
from the running kernel any time, via /proc/config(.gz).

 If I had put .confg into the new sources, then plain make menuconfig
 is what I would have used.

This is how I do it since years. Works fine. Never used oldconfig.

 Do you know where the man pages or docs for that stuff is .. its not in
 `man make'

But in make help when you are in the kernel source directory.

HTH...

Dirk


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


[gentoo-user] Re: Another angle on hal/xorg thread

2009-11-04 Thread Harry Putnam
Alex Schuster wo...@wonkology.org writes:

 Strange. Is hal still in your USE flags?
 It is not really neded, but I think it's nice to have - maybe not for 
 x.org, but for other things like automounting devices. Here's the list of 
 my packages that need HAL:

I didn't tell quite all of it.  Hal was not in my useflags (by my
hand) until this last upgrade (two days ago).

In the course of events I saw hal pop up in the output of 
emerge -vuDp world.  I'd already noticed hal was not on my system for
a while now... so quickly added `-hal' to /etc/make.conf.

So from here on, its no mystery why I don't have hal.  But before the
last upgrade, I don't recall having done anything explicit about hal
to remove it.  And had gone through several upgrades without hal
popping up.





Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Erik
Stroller skrev:
 On 4 Nov 2009, at 13:22, Neil Bothwick wrote:
 ...
 There are four options here, first day of week, first working day of
 week, last working day of week and day of the week for religious
 observance. It would appear your locale uses a different translation!

 I am torn as whether to find this funny or improper.

 Only when I know what it's supposed to say I really like the joke that
 both are equally important. Why indeed give religious observance a
 higher priority?!?!

I have encountered arguments like this:
Yes, there's a setting for that in the country/region settings module
but if you're not interested in it, it won't bother you. If you are, you
can have kontact or the calendar plasmoid show those days as special.
That's it. Sounds unproblematic to me.


My point is of course that in my desktop environment, I do not want an
option for either strip club attendance, religious observance, or
anything else that someone else might want to do once a week.

I would prefer to keep the desktop environment neutral (secular) by
default. If there is indeed a need for such an option to make sundays
red in the calendar, it would be more proper to call it sometning more
neutral, like Weekly holiday, Ceremonial weekday or Special
weekday. The user can then let that mean lap dance, prayer, family
dinner, hiking, hacking or whatever he may be interested in.

Yes, I know that holiday sounds like holy day, but it still feels
broader than relious observance. According to wikipedia, a holiday can
mean among other things official or unofficial observances of
religious, national, or cultural significance. So the phrase Weekly
holiday covers the current meaning of the KDE option, but is meaningful
even to secular people. Therefore changing the phrase would make KDE
usage more acceptable in secular countries and by secular people.



Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Volker Armin Hemmann
On Mittwoch 04 November 2009, Erik wrote:
 Stroller skrev:
  On 4 Nov 2009, at 13:22, Neil Bothwick wrote:
  ...
  There are four options here, first day of week, first working day of
  week, last working day of week and day of the week for religious
  observance. It would appear your locale uses a different translation!
 
  I am torn as whether to find this funny or improper.
 
  Only when I know what it's supposed to say I really like the joke that
  both are equally important. Why indeed give religious observance a
  higher priority?!?!
 
 I have encountered arguments like this:
 Yes, there's a setting for that in the country/region settings module
 but if you're not interested in it, it won't bother you. If you are, you
 can have kontact or the calendar plasmoid show those days as special.
 That's it. Sounds unproblematic to me.
 
 
 My point is of course that in my desktop environment, I do not want an
 option for either strip club attendance, religious observance, or
 anything else that someone else might want to do once a week.
 
 I would prefer to keep the desktop environment neutral (secular) by
 default. If there is indeed a need for such an option to make sundays
 red in the calendar, it would be more proper to call it sometning more
 neutral, like Weekly holiday, Ceremonial weekday or Special
 weekday. The user can then let that mean lap dance, prayer, family
 dinner, hiking, hacking or whatever he may be interested in.
 
 Yes, I know that holiday sounds like holy day, but it still feels
 broader than relious observance. According to wikipedia, a holiday can
 mean among other things official or unofficial observances of
 religious, national, or cultural significance. So the phrase Weekly
 holiday covers the current meaning of the KDE option, but is meaningful
 even to secular people. Therefore changing the phrase would make KDE
 usage more acceptable in secular countries and by secular people.
 

sounds like PC crap.

Sundays are marked special, because most people don't have to work. Shops are 
closed and stuff like that.

There is no need to bring in religion.



Re: [gentoo-user] (g)PXE booting

2009-11-04 Thread James
I guess what I was looking for was something like the Altiris PXE boot
server, where you can set up a repository of different PXE boot
options, etc.

-j

On Mon, Nov 2, 2009 at 6:21 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 2 Nov 2009 13:52:05 -0800, Keith Dart wrote:

 I use dnsmasq, which can also handle PXE booting (it's just a
 particular setup of DHCP and TFTP).

 +1


 --
 Neil Bothwick

 Work is the curse of the partying class!




[gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread walt
On 11/04/2009 09:30 AM, Grant wrote:
 But I get the warning about Module snd_hda_intel not found which is
 the built-in chip.

 That's because you don't have that module, it's built into the kernel.
 This also means the the options lines in alsa.conf will not do anything.
 
 OK, so I need to build them as modules, or I need to change those
 lines in alsa.conf?  If I can avoid building them as modules I'd like
 to.  How can those lines be written when the drivers are built into
 the kernel?

This is from /etc/conf.d/alsasound:

# LOAD_ON_START:
# Do you want to load sound modules when alsasound starts?
# Note: The Gentoo ALSA developers encourage you to build your sound
#   drivers into the kernel unless the device is hotpluggable or
#   you need to supply specific options (such as model= to HD-Audio).
# no - Do not load modules
# yes - Load modules
LOAD_ON_START=yes

I've never had a hot-pluggable sound card, so I can only guess whether
hald would somehow load that sound module for you.

So say LOAD_ON_START=no, compile the on-board sound driver into the
kernel and do the other one as a module -- and let us know if it works
when you plug it in :o)





[gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread Harry Putnam
Dirk Heinrichs dirk.heinri...@online.de writes:

 If it still won't work, you can also post your kernel config and the output 
 of 
 lspci -vv here and somebody will find out what's wrong/missing.

Good input thanks.  I did get it working.  It was an IDE selection I
missed. 

From the lspci -vv you mentioned (aggravating because I knew that
since long ago) shows:

  00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) 
  IDE Controller (rev 02) (prog-if 8a 

  [...]

   Kernel driver in use: PIIX_IDE

Here is the part that throws the monkey wrench in:

make menuconfig
  /PIIX_IDE
  No matches found.

Without fiddling around more I'm still not sure which setting it is.

One of the settings checked here I think:
| ++ |  
  | |--- Serial ATA (prod) and Parallel ATA (experimental) drivers   | 
|  
  | |[*]   ATA ACPI Support  | 
|  
  | |[ ]   SATA Port Multiplier support  | 
|  
  | |AHCI SATA support | 
|  
  | |Silicon Image 3124/3132 SATA support  | 
|  
  | |[*]   ATA SFF support   | 
|  
  | |  ServerWorks Frodo / Apple K2 SATA support   | 
|  
  | |* Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support  | 
|  
  | |  Marvell SATA support   

Now that I got things to boot... I'm sick of looking at this stuff... hehe 




[gentoo-user] Re: fsck date problem during boot

2009-11-04 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 On 4 Nov 2009, at 15:45, Harry Putnam wrote:
 ...
 Somehow the date of last fsck on /boot is seen as `in the future' so
 fsck fails on /dev/had1 (/boot).

 The first thing I would want to check is the motherboard battery. Is
 the time correct if you reboot and immediately enter BIOS?

That was a pretty good help but apparently not all the story.

When I checked bios, the clock was exactly 1 hr fast (didn't pick up
the end of daylight saving time I guess).

Reset the clock and tested with 2 more reboots, each time mounting
/boot and fiddling around with files.

Each time the same failure occurs.  I check bios time again.  Its
right.

Here is the (edited) output form fsck

  Superblock last mount time (Wed Nov  4 18:05:13 2009,
  now = Wed Nov  4 12:11:49 2009) is in the future.
  Fixy? yes
  
  [...]
  ----   ---=---   -   
  Superblock last mount time (Wed Nov  4 18:14:54 2009,
  now = Wed Nov  4 12:18:01 2009) is in the future.
  Fixy? yes
  
  [...]

so still somehow, those last mount dates are way wrong.

I hope I'm checking the right thing in bios.  Its under cmos and shows
the time ticking away.  You can adjust all columns. with +/-.




Re: [gentoo-user] Re: syslog-ng: v2-v3 config issue...

2009-11-04 Thread frobert

Hi Jarry,
thanks for the detailed info. I have discussed the issue with my  
colleagues, and it seems that the error is on our side: there was a  
performance-related change in the program-override option in 3.0.4,  
which broke the function.


So you can either downgrade to an older version (3.0.3 should work),  
or if you want to stick to 3.0.4, you can try to add a rewrite rule to  
set the PROGRAM field to teamspeak (which may or may not work in this  
case, since the program field seems to be empty in the message -  
sorry, I haven't had the time to test it).


Alternatively, you can create a template for this destination and  
rebuild the message from macros and add a default value for program  
($ISODATE $HOST ${PROGRAM:-teamspeak2} $MESSAGE)


I hope one of these will work for you.

Regards,

Robert


Quoting Jarry mr.ja...@gmail.com:


Fekete Robert wrote:

You are right, the program-override option is missing from the
documentation of the file source, but it should work anyway.
We did a quick test and it was working on our Ubuntu machines (tested
with syslog-ng 3.02a), both on kernel messages and also on custom
files containing log messages.


Well, I'm not sure where is the problem. I'm using syslog-ng-3.0.4
(the last stable version in portage). This is relevant part of my
new /etc/syslog-ng.conf:

options { chain_hostnames(no);
  stats_freq(3600);
  ts_format(iso);
  flush_lines(1);
  log_fifo_size(250); };

source s_teamspeak { file(/var/log/teamspeak2-server/server.log
flags(store-legacy-msghdr)
program_override(teamspeak: )
log_fetch_limit(100)
flags(no-parse)); };

destination d_teamspeak { file(/var/log/ts2.log); };
log { source(s_teamspeak); destination(d_teamspeak); };
==

One line in source (/var/log/teamspeak-server/server.log):
04-11-09 16:52:54,ALL,Info... (etc)

Corresponding line in /var/log/ts2.log (that program_override()
is simply missing):
2009-11-04T16:52:54+00:00 talk 04-11-09 16:52:54,ALL,Info...

For comparison, the same part of my syslog-ng v2.x config:
==
options { chain_hostnames(off);
  sync(0);
  stats(43200);
  ts_format(iso); };

source s_teamspeak2 { file(/var/log/teamspeak2-server/server.log
log_prefix(teamspeak2: )
follow_freq(1)
flags(no-parse)); };

destination d_teamspeak { file(/var/log/ts2.log); };
log { source(s_teamspeak); destination(d_teamspeak); };
===

And this is what I got in ts2.log with syslog-ng v2.x:

2009-09-25T18:17:41+00:00 talk teamspeak2: 28-07-09 18:49:39,ALL,Info...

You see the difference?
syslog-ng 2.x: iso-time hostname *log_prefix* message
syslog-ng 3.x: iso-time hostname message
Where is program_override?

v2/v3 config-files are now not absolutely the same but even when
I made them identical (removed fifo_size, fetch_limit, flags, etc)
I still had this problem. And I observed this strange behavior
not only with this particular file() source, but with all file()
sources. So what could be the reason?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.





This message was sent using IMP, the Internet Messaging Program.




Re: [gentoo-user] Re: VGA output?

2009-11-04 Thread James Ausmus
On Wed, Nov 4, 2009 at 9:47 AM, Grant emailgr...@gmail.com wrote:

  How are you guys getting your laptops to do VGA output?  My system
  functions fine without an xorg.conf right now.  Do I need to create
  one if I want VGA output?
 
  - Grant

 Actually it works great after a reboot.  Is there a better method for
 switching VGA output on and off than plug/unplug + reboot?


Depending on the driver you are dealing with, regular old xrandr from the
command-line should do the trick (or a wrapper app like krandrtray that
Nikos suggested)

HTH-

James (A)  ;)


Re: [gentoo-user] Re: VGA output?

2009-11-04 Thread Joshua Murphy
On Wed, Nov 4, 2009 at 12:52 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 11/04/2009 07:47 PM, Grant wrote:

 How are you guys getting your laptops to do VGA output?  My system
 functions fine without an xorg.conf right now.  Do I need to create
 one if I want VGA output?

 - Grant

 Actually it works great after a reboot.  Is there a better method for
 switching VGA output on and off than plug/unplug + reboot?

 Might be a shot in the dark, but try krandrtray (it's a KDE app though.)
  You should get something like this:

  http://i36.tinypic.com/a1rgqu.png

 I don't have a second monitor to connect so I can't try, but perhaps it will
 allow you to enable output to it once you connect it.

lxrandr is a bit lighter, standalone capable, but part of the lxde
desktop suite. Their wiki page for it:

http://wiki.lxde.org/en/LXRandr

Odd timing to run across the question, too, since I just realized I'd
missed that one on my laptop build here.

[ebuild  N] lxde-base/lxrandr-0.1.1  193 kB

And if you get an error:
Unable to get monitor information!

Rebuild xrandr. Found that answer in the forum thread below:
http://forum.lxde.org/viewtopic.php?f=8t=639

Of course, if you're one for more power over simplicity of use, xrandr
itself is more than capable, the rest are just frontends, really.

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] Re: sys-libs/db dev-lang/php dependency problem...

2009-11-04 Thread Nicolas Sebrecht
On Wed, Nov 04, 2009 at 11:47:41AM +0100, Alex Schuster wrote:

 I just posted a message (emerge --depclean does not remove due to link 
 level dependencies) due to similar issues. My guess is that php links to 
 some sys-libs/db library, even if db is not a dependency to php. 

To be correct, if php links to db, db _IS_ a dependency of php. If
portage is not aware of this dependency, the _ebuild_ is wrong and miss
a declaration for this dependency.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Canek Peláez Valdés
On Wed, Nov 4, 2009 at 11:30 AM, Grant emailgr...@gmail.com wrote:
 But I get the warning about Module snd_hda_intel not found which is
 the built-in chip.

 That's because you don't have that module, it's built into the kernel.
 This also means the the options lines in alsa.conf will not do anything.

 OK, so I need to build them as modules, or I need to change those
 lines in alsa.conf?  If I can avoid building them as modules I'd like
 to.  How can those lines be written when the drivers are built into
 the kernel?

You pass the parameters in the kernel boot line. For examen, in my
grub.conf I have:

title Gentoo Linux (linux-2.6.31.5)
root (hd0,3)
kernel /boot/kernel-2.6.31.5 root=/dev/sda4 quiet udev
splash=silent,fadein,theme:natural_gentoo CONSOLE=/dev/tty1
iwlagn.swcrypto=1 snd-hda-intel.model=basic
initrd /boot/initrd-2.6.31.5

I have two parameters for my built-in modules: for the iwlagn module,
the parameter swcrypto=1, and for the snd-hda-intel the parameter
model= basic. In general, for a built-in module called module, you
pass the parameter parm with value val this way:

module.parm=val

As of now, in my laptop I have *all* my modules built-in. In other
machines, I have modules where there is no other option (like nvidia
drivers, LIRC, ndiswrapper, stuff like that).

Good luck.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] NetworkManager and/or WICD

2009-11-04 Thread Mike Edenfield

On 11/3/2009 11:16 PM, Iain Buchanan wrote:

On Tue, 2009-11-03 at 21:52 -0500, Mike Edenfield wrote:



   When I attempt to use either of those
utilities to get onto my wireless network, the NIC refuses to stay
connected to the base station for more than a few seconds at a time.
Instead, it continually disassociates and deauthenticates, only for
nm/wicd to hop right back on.  However, if I manually configure
wpa_supplicant for a given SSID and start it via the init script
directly, I don't have any such problems.


Have you stopped your net.wlan0 script?  Also remove it from the default
runlevel, and set rc_hotplug=!net.wlan0 !net.eth0 in /etc/rc.conf (if
you're using openrc).


I hadn't done that initially, but I did this time, and still get the 
same issue.  I'm having trouble determining if the problem is 
NetworkManager telling the NIC to disassociate, or the NIC telling 
NetworkManager to disassociate.


As long as NetworkManager is running, my dmesg output shows this 
happening about once every 15 seconds or so (I don't know what any of 
those status codes mean, or they may help troubleshoot the problem :) )


wlan0: authenticate with AP 00:1e:58:04:1e:ec
wlan0: authenticated
wlan0: associate with AP 00:1e:58:04:1e:ec
wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:1e:58:04:1e:ec
wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:1e:58:04:1e:ec
wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:1e:58:04:1e:ec timed out
wlan0: authenticate with AP 00:1e:58:04:1e:ec
wlan0: authenticated
wlan0: associate with AP 00:1e:58:04:1e:ec
wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=0 aid=1)
wlan0: associated
wlan0: disassociated (Reason: 14)
wlan0: deauthenticated (Reason: 6)

The syslog output from NetworkManager shows basically the same cycle:

Nov 04 14:12:11 [NetworkManager] info  Activation (wlan0) successful, 
device activated._
Nov 04 14:12:11 [NetworkManager] info  Activation (wlan0) Stage 5 of 5 
(IP Configure Commit) complete._
Nov 04 14:12:38 [NetworkManager] info  (wlan0): supplicant connection 
state:  completed - disconnected_
Nov 04 14:12:38 [NetworkManager] info  (wlan0): supplicant connection 
state:  disconnected - scanning_
Nov 04 14:12:38 [NetworkManager] info  (wlan0): supplicant connection 
state:  scanning - disconnected_
Nov 04 14:12:40 [NetworkManager] info  (wlan0): supplicant connection 
state:  disconnected - associating_
Nov 04 14:12:41 [NetworkManager] info  (wlan0): supplicant connection 
state:  associating - disconnected_
Nov 04 14:12:50 [NetworkManager] info  (wlan0): supplicant connection 
state:  disconnected - scanning_
Nov 04 14:12:52 [NetworkManager] info  (wlan0): supplicant connection 
state:  scanning - associating_
Nov 04 14:12:52 [NetworkManager] info  (wlan0): supplicant connection 
state:  associating - disconnected_
Nov 04 14:12:53 [NetworkManager] info  (wlan0): device state change: 8 
- 3 (reason 11)_
Nov 04 14:12:53 [NetworkManager] info  (wlan0): deactivating device 
(reason: 11)._


As soon as I stop NetworkManager and start net.wlan0, it jumps onto the 
AP and stays there for good:


wlan0: authenticate with AP 00:1e:58:04:1e:ec
wlan0: authenticated
wlan0: associate with AP 00:1e:58:04:1e:ec
wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=0 aid=2)
wlan0: associated


Additionally, I can't get either applet to actually save settings (like
known networks, passwords, etc.) which means that I'm continually
interrupted by a prompt for the wireless password.


Do you have seahorse (gnome)?  Depending on how it's setup, you should
only have to provide the master password once for nm to access all your
keys.


I do have seahorse, and when I first boot up it asks me for the default 
keyring password and connects to the AP automatically.  Every time after 
that, when the connection bounces, syslog shows:


Nov 04 14:13:21 [NetworkManager] info  Activation (wlan0/wireless): 
connection 'Auto Informagration' has security, and secrets exist.  No 
new secrets needed._


but NetworkManager presents the WPA pass phrase dialog anyway.

--Mike



[gentoo-user] Re: fsck date problem during boot

2009-11-04 Thread walt
On 11/04/2009 10:43 AM, Harry Putnam wrote:
 Stroller strol...@stellar.eclipse.co.uk writes:
 
 On 4 Nov 2009, at 15:45, Harry Putnam wrote:
 ...
 Somehow the date of last fsck on /boot is seen as `in the future' so
 fsck fails on /dev/had1 (/boot).

 The first thing I would want to check is the motherboard battery. Is
 the time correct if you reboot and immediately enter BIOS?
 
 That was a pretty good help but apparently not all the story.
 
 When I checked bios, the clock was exactly 1 hr fast (didn't pick up
 the end of daylight saving time I guess).
 
 Reset the clock and tested with 2 more reboots, each time mounting
 /boot and fiddling around with files.
 
 Each time the same failure occurs.  I check bios time again.  Its
 right.
 
 Here is the (edited) output form fsck
 
   Superblock last mount time (Wed Nov  4 18:05:13 2009,
   now = Wed Nov  4 12:11:49 2009) is in the future.
   Fixy? yes
   
   [...]
   ----   ---=---   -   
   Superblock last mount time (Wed Nov  4 18:14:54 2009,
   now = Wed Nov  4 12:18:01 2009) is in the future.
   Fixy? yes
   
   [...]
 
 so still somehow, those last mount dates are way wrong.
 
 I hope I'm checking the right thing in bios.  Its under cmos and shows
 the time ticking away.  You can adjust all columns. with +/-.

Is your bios clock set to UTC, and do you have /etc/localtime pointing to
your correct timezone?  e.g. /etc/localtime - /usr/share/zoneinfo/PST8PDT.

If all that is correct, then I'm guessing the problem will fix itself
if you just wait an hour :o)






Re: [gentoo-user] kernel build - back in the soup.

2009-11-04 Thread Joshua Murphy
On Wed, Nov 4, 2009 at 12:49 PM, Dirk Heinrichs
dirk.heinri...@online.de wrote:
 Am Dienstag 03 November 2009 23:29:59 schrieb Harry Putnam:

 The thing is, I cannot find the culprit.  For example, examining the
 PIIX items in the working kernel and inserting here:

 Still the (IMHO) best way is to boot a LiveCD, run lspci -vv (two times v)
 and write down which hardware is detected and which driver is used for it.
 From that you can directly determine what you need to compile into your
 kernel. Everything else is guesswork.

 Hint: menuconfig has a search function (/). You can directly search for the
 driver name you got from lspci and enable the corresponding option.

 If you're unsure as to what should be compiled into the kernel and what can be
 a module, always say Y. You can try M in later iterations. As a rule of
 thumb: everything you need to access your root fs should get a Y. That is
 Chipset-(S)ATA harddisk-Filesystem.

 If it still won't work, you can also post your kernel config and the output of
 lspci -vv here and somebody will find out what's wrong/missing.

 HTH...

        Dirk


And on a reasonably new version of pciutils...
lcpci -k
lists devices and drivers, less extras to dig through.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Re: VGA output?

2009-11-04 Thread Valmor de Almeida
James Ausmus wrote:
 
 
 On Wed, Nov 4, 2009 at 9:47 AM, Grant emailgr...@gmail.com
 mailto:emailgr...@gmail.com wrote:
 
  How are you guys getting your laptops to do VGA output?  My system
  functions fine without an xorg.conf right now.  Do I need to create
  one if I want VGA output?
 
  - Grant
 
 Actually it works great after a reboot.  Is there a better method for
 switching VGA output on and off than plug/unplug + reboot?
 
 
 Depending on the driver you are dealing with, regular old xrandr from
 the command-line should do the trick (or a wrapper app like krandrtray
 that Nikos suggested)
  
 HTH-
 
 James (A)  ;)

I use xrandr and do have an xorg.conf; some info I used in the past


http://www.thinkwiki.org/wiki/Xorg_RandR_1.2

Typically I use my laptop on a port replicator attached to a VGA.

I use windowmaker; after a switch from laptop monitor to vga or
vice-versa, I need to restart wm; all through the command-line.

--
Valmor



Re: [gentoo-user] kernel build - back in the soup.

2009-11-04 Thread Joshua Murphy
trims a bit
 And on a reasonably new version of pciutils...
 lcpci -k
 lists devices and drivers, less extras to dig through.

 --
 Poison [BLX]
 Joshua M. Murphy


That should, of course, be lspci, not lcpci...

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Another angle on hal/xorg thread

2009-11-04 Thread pk
Harry Putnam wrote:

 If my setup using no hal, and xorg.conf is going to become outdated
 and stop working anytime soon?

I seriously doubt the xorg.conf is going away in the foreseeable future
so I wouldn't worry. I haven't heard any of the developers on xorg mail
list talking about this either (I may have missed an email or two but...).

Best regards

Peter K



Re: [gentoo-user] hal, how to chose between nvidia and nv

2009-11-04 Thread Stefan G. Weichinger
Dale schrieb:
 Arnau Bria wrote:
 or try xorg with no hal support.

 Thanks for your replies!

   
 
 I can tell you that using xorg without hal works.  I gave up on hal a
 while back.  If you want to know how to get rid of hal support, just let
 us know or search the archives.

I would also like to know ... oh yes.



[gentoo-user] Re: Konqueror 4.3.1 crashed X

2009-11-04 Thread Nicolas Sebrecht
On Sun, Oct 11, 2009 at 10:02:41PM -0400, Philip Webb wrote:
 
 Has anyone else seen anything like this ?  Using Konqueror 4.3.1 ,
 I entered Ctl-Shift-Rightarrow to move a tab  X vanished !
 I don't remember that happening with any app in recent years.

First of all, is it reproducible ?

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread pk
Harry Putnam wrote:

 I think you can say make `oldconfig' and the `old config' is supposed to
 be incorporated so no I didn't

The 'oldconfig' option needs your old .config for input (that where
old comes from :-)

I usually manually go through the 'make menuconfig' as well after doing
this to see if there's anything I want to change, new options that may
be useful or read up on (help text for the various options usually give
you a nice hint)...

 Do you know where the man pages or docs for that stuff is .. its not in
 `man make'

Make is a general build tool and not specific to the kernel. The option
'oldconfig' and friends are defined in the Makefile in the /linux
directory...

Best regards

Peter K



Re: [gentoo-user] Re: syslog-ng: v2-v3 config issue...

2009-11-04 Thread Jarry

frob...@balabit.hu wrote:

thanks for the detailed info. I have discussed the issue with my 
colleagues, and it seems that the error is on our side: there was a 
performance-related change in the program-override option in 3.0.4, 
which broke the function.


Hi Robert, thanks for reply. I will notify gentoo syslog-ng package
maintaner and ask him to include 3.0.3 so that I could downgrade,
because right now 3.0.4 is the only 3.x in portage...

BR,
Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



[gentoo-user] Re: Strange sunbird segfault

2009-11-04 Thread Nicolas Sebrecht
On Sun, Oct 18, 2009 at 10:35:04PM -0700, Jim Cunning wrote:

 jcunn...@jlc64 ~ $ sunbird
 Xlib:  extension Generic Event Extension missing on display :0.0.
 /usr/libexec/mozilla-launcher: line 119: 25986 Segmentation fault  $(type 
 -P aoss) $mozbin $xulparams $@
 sunbird-bin exited with non-zero status (139)

...

 Anyone have any suggestions where to look when sunbird segfaults again?

segmentation faults should never happen. They are mainly due to
mistakes in the source code. The best thing to do is to check if this is
an already known bug at Gentoo and the sundbird project. If no, you
could send a bug report.

-- 
Nicolas Sebrecht



[gentoo-user] Re: Java and glsa-check

2009-11-04 Thread Nicolas Sebrecht
On Tue, Oct 20, 2009 at 02:33:44PM +0800, William Kenworthy wrote:

 Yet 1.5.0.20 is supposed to be unaffected. Is this the slotting issue
 bug 106677 is talking about?

Looks like, yes.

-- 
Nicolas Sebrecht



[gentoo-user] Re: Eclipse 3.4-r2

2009-11-04 Thread Nicolas Sebrecht
On Mon, Nov 02, 2009 at 12:33:09AM +, Hung Dang wrote:

 I installed Eclipse 3.4 on my system and I could be able to enable  
 Classic Update under Window  Preferences  General  Capabilities.
 Then I try to update Eclipse using Help  Software Updates  Find and  
 Update dialog, however, nothing happened when I clicked Next button.
 Any idea?

Update a software using any embedded option in it is definetly not a
good way to do things in Unix systems. Programs with such menu entry are
usually multi-platform softwares.

This is the less worse way to update softwares in OS lacking a true
package manager.

-- 
Nicolas Sebrecht



[gentoo-user] need sound to listen to a adobe flash video

2009-11-04 Thread Valmor de Almeida

Hello,

I would appreciate some guidance in getting sound working such that I
can listen to an adobe flash video. I am using firefox (have the adobe
flash plugin installed which plays video but no sound) and a pretty
updated gentoo laptop.

Thanks in advance.

--
Valmor

PS: never tried to get sound working.



Re: [gentoo-user] Re: Another angle on hal/xorg thread

2009-11-04 Thread Dale
Harry Putnam wrote:
 Alex Schuster wo...@wonkology.org writes:

   
 Strange. Is hal still in your USE flags?
 It is not really neded, but I think it's nice to have - maybe not for 
 x.org, but for other things like automounting devices. Here's the list of 
 my packages that need HAL:
 

 I didn't tell quite all of it.  Hal was not in my useflags (by my
 hand) until this last upgrade (two days ago).

 In the course of events I saw hal pop up in the output of 
 emerge -vuDp world.  I'd already noticed hal was not on my system for
 a while now... so quickly added `-hal' to /etc/make.conf.

 So from here on, its no mystery why I don't have hal.  But before the
 last upgrade, I don't recall having done anything explicit about hal
 to remove it.  And had gone through several upgrades without hal
 popping up.

   

It may be the profile you are using.  It may not have hal enabled for
some reason therefore nothing was pulling it in. 

Me, if everything is working fine, I would leave hal out.  I have
seriously considered adding -hal to make.conf and seeing what happens. 
It just sort of tastes bad after all the hal problems I have had.

Dale

:-)  :-)



Re: [gentoo-user] Lenovo USB Keyboard

2009-11-04 Thread Willie Wong
On Tue, Nov 03, 2009 at 11:23:56AM +0100, Penguin Lover Stefan G. Weichinger 
squawked:
 Stefan G. Weichinger schrieb:
 
  I still get no output/event for those upper seven keys ... oh my.
  At least I got a cleaned up xorg.conf for now ;-)
  
  It ain't that important although I would like to see them working, it's
  a bit hard to understand that issues like this don't just work as well.
 
 Just to point that out: I am still interested in a solution if anyone 

I have an Acer multimedia keyboard. I use xbindkeys to set the actions
related to multimedia keys. 

Below is a snip of my .xbindkeysrc

-rc--
amixer sset Headphone 1-
   m:0x0 + c:174

amixer sset Headphone 1+
   m:0x0 + c:176

amixer sset Headphone toggle
   m:0x0 + c:160

mpc stop
   m:0x0 + c:164

mpc toggle
   m:0x0 + c:162

mpc prev
   m:0x0 + c:144

mpc next
   m:0x0 + c:153

mpc repeat
   m:0x4 + c:144

mpc random
   m:0x4 + c:153

xscreensaver-command -lock
   m:0x0 + c:223

rxvt -T 'Mutt' -e /usr/bin/mutt
   m:0x0 + c:236

/usr/local/bin/crxvt -T 'cMutt' -e /usr/bin/mutt
   m:0x4 + c:236

/usr/local/bin/jrxvt -T 'jMutt' -e /usr/bin/mutt
   m:0x8 + c:236
--end rc---

As you can see, keycodes 174 annd 176 are volumes up and down, 
160 is the mute button, 164, 162 are stop and play/pause, 144 
and 153 are REW and FF, which I doubled up with meta keys to 
get other features. 223 is the screen saver key. And 236 is 
the e-mail key. 

I've quite forgotten how I found these keycodes. But some of them 
are quasi standard (I've seen the codes for volume and music player
work on other keyboards, including Dell laptops). 

On my old laptop I used to use a different solution: I think I mapped 
the appropriate keycodes to the XF86VolumeUp and similar keys and then 
mapped those key events using the WM. 

I can try to dig out the old config if you'd like. 

HTH, 

W
-- 
Marten: That's like rule number one of dating-if the lady tells you
she wants to wait, you wait. Even if it means you get blueballed
so hard your nuts travel into the future due to relativistic effects. 
Dora: Ah, the Hawking Libido Dilation Effect. Bane of frustrated young
men and physicists alike.
Sortir en Pantoufles: up 1062 days, 21:17



Re: [gentoo-user] need sound to listen to a adobe flash video

2009-11-04 Thread Dale
Valmor de Almeida wrote:
 Hello,

 I would appreciate some guidance in getting sound working such that I
 can listen to an adobe flash video. I am using firefox (have the adobe
 flash plugin installed which plays video but no sound) and a pretty
 updated gentoo laptop.

 Thanks in advance.

 --
 Valmor

 PS: never tried to get sound working.

   

Try lspci -v and see if the sounds card is using a driver.  If it is,
then the kernel is working and it is recognizing the sound card.  This
is what mine looks like:



01:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
Subsystem: Creative Labs SBLive! 5.1 eMicro 28028
Flags: bus master, medium devsel, latency 32, IRQ 18
I/O ports at b000 [size=32]
Capabilities: [dc] Power Management version 1
Kernel driver in use: EMU10K1_Audigy



The last line is what you look for.  If you see something like that then
it could be as simple as the sound is muted.  I have no idea why but as
a general rule, the sound is muted when you install.  I use KDE so I had
to unmute with Kmix and alsamixer to get mine working. 

If it doesn't show a driver in use, then you have to either build a
module or a new kernel if you want it built in.  In that case, let us
know what kind of sound card you have.  The output from lspci would be
great.

Dale

:-)  :-)



Re: [gentoo-user] Re: Sound card drivers must be modules?

2009-11-04 Thread Mick
On Wednesday 04 November 2009 20:02:03 Canek Peláez Valdés wrote:
 On Wed, Nov 4, 2009 at 11:30 AM, Grant emailgr...@gmail.com wrote:
  But I get the warning about Module snd_hda_intel not found which is
  the built-in chip.
 
  That's because you don't have that module, it's built into the kernel.
  This also means the the options lines in alsa.conf will not do anything.
 
  OK, so I need to build them as modules, or I need to change those
  lines in alsa.conf?  If I can avoid building them as modules I'd like
  to.  How can those lines be written when the drivers are built into
  the kernel?
 
 You pass the parameters in the kernel boot line. For examen, in my
 grub.conf I have:
 
 title Gentoo Linux (linux-2.6.31.5)
 root (hd0,3)
 kernel /boot/kernel-2.6.31.5 root=/dev/sda4 quiet udev
 splash=silent,fadein,theme:natural_gentoo CONSOLE=/dev/tty1
 iwlagn.swcrypto=1 snd-hda-intel.model=basic
 initrd /boot/initrd-2.6.31.5
 
 I have two parameters for my built-in modules: for the iwlagn module,
 the parameter swcrypto=1, and for the snd-hda-intel the parameter
 model= basic. In general, for a built-in module called module, you
 pass the parameter parm with value val this way:
 
 module.parm=val
 
 As of now, in my laptop I have *all* my modules built-in. In other
 machines, I have modules where there is no other option (like nvidia
 drivers, LIRC, ndiswrapper, stuff like that).

I used to have my alsa drivers which are different to the OP, built in the 
kernel.  For years on end.  Then alsasound stop working - something like 5 
kernels back, can't recall exactly.  I had to build alsa separately as 
modules.  Haven't tried to go back to building them in the kernel again.

YMMV.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread John H. Moe
Harry Putnam wrote:
 John H. Moe john...@optusnet.com.au writes:

   
 I stopped using that option in my systems, as there is now a AHCI SATA
 option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
 requires) is deprecated. From the help on it:
 

 Do you notice some kind of difference from switching?


   
Well, my understanding is that SATA controllers can operate in one of
two modes: AHCI (or native) mode, which allows for the full capabilities
(read: SPEED) of the SATA interface, and an IDE-compatible mode, for
things like Windows XP (which I use at work) that doesn't, by default,
understand SATA. If you try to load WinXP on to a PC with SATA, you
either have to switch the SATA controller to IDE-mode, which allows
WinXP to see it as a normal IDE hard drive, or load a SATA driver at
install time (from a floppy! One of the few things I still need 3.5
floppies for).

Translating this to Linux (at home), I chose the AHCI option when it
showed up in one kernel upgrade, and when I saw in the help for ATA_SFF
that it's the legacy IDE interface, I figured I didn't need it, so I
left it out.

So if I understand this correctly, you should use the AHCI option if
your SATA controller is in AHCI or Native mode, and the ATA_SFF
option if you're in IDE or Compatible mode.

Hope this helps (and makes sense)

John Moe



Re: [gentoo-user] Re: New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Zeerak Waseem
A guess would be it puts a reminder for a weekly occurrence, like going to  
the strip club! ;-) But of course, you are right, in the end :-)


Zeerak

On Wed, 04 Nov 2009 17:55:46 +0100, Nikos Chantziaras rea...@arcor.de  
wrote:



On 11/04/2009 06:24 PM, Zeerak Waseem wrote:

On Wed, 04 Nov 2009 17:19:16 +0100, Nikos Chantziaras rea...@arcor.de
wrote:


snip



Those pesky translators!
I'd say they managed to be just a little funny :-)


I find it funny too, but the problem is that the user has no idea what  
the option actually does then.









Re: [gentoo-user] New KDE4 option: night of the week for strip club attendance WTF?

2009-11-04 Thread Zeerak Waseem
On Wed, 04 Nov 2009 19:15:52 +0100, Volker Armin Hemmann  
volkerar...@googlemail.com wrote:



On Mittwoch 04 November 2009, Erik wrote:

Stroller skrev:
 On 4 Nov 2009, at 13:22, Neil Bothwick wrote:
 ...
 There are four options here, first day of week, first working day of
 week, last working day of week and day of the week for religious
 observance. It would appear your locale uses a different translation!

 I am torn as whether to find this funny or improper.

 Only when I know what it's supposed to say I really like the joke that
 both are equally important. Why indeed give religious observance a
 higher priority?!?!

I have encountered arguments like this:
Yes, there's a setting for that in the country/region settings module
but if you're not interested in it, it won't bother you. If you are, you
can have kontact or the calendar plasmoid show those days as special.
That's it. Sounds unproblematic to me.


My point is of course that in my desktop environment, I do not want an
option for either strip club attendance, religious observance, or
anything else that someone else might want to do once a week.

I would prefer to keep the desktop environment neutral (secular) by
default. If there is indeed a need for such an option to make sundays
red in the calendar, it would be more proper to call it sometning more
neutral, like Weekly holiday, Ceremonial weekday or Special
weekday. The user can then let that mean lap dance, prayer, family
dinner, hiking, hacking or whatever he may be interested in.

Yes, I know that holiday sounds like holy day, but it still feels
broader than relious observance. According to wikipedia, a holiday can
mean among other things official or unofficial observances of
religious, national, or cultural significance. So the phrase Weekly
holiday covers the current meaning of the KDE option, but is meaningful
even to secular people. Therefore changing the phrase would make KDE
usage more acceptable in secular countries and by secular people.



sounds like PC crap.

Sundays are marked special, because most people don't have to work.  
Shops are

closed and stuff like that.

There is no need to bring in religion.



Well there really is. God rested on the seventh day, and therefore no  
labor was tolerated on the seventh day of the week, Sunday. People not  
working on Sundays, is traditionally to make time for going to church, but  
in a society without God, it has been kept because it's nice to have a set  
day off, every week. And in societies that aren't Christian the Sunday  
free day has been kept for either the resting day of God, or because of  
that being the standard around the world.
So really, there's every need to bring in religion into the consideration,  
if one was to make a serious consideration of how this might be acceptable  
to everyone.


Zeerak



  1   2   >