Re: [gentoo-user] 'wifi' USE flag in firefox

2010-04-22 Thread Neil Bothwick
On Thu, 22 Apr 2010 01:10:00 +0100, Stroller wrote:

 The widespread SSIDs of  
 Linksys and Netgear must be ignored, unless it is possible to  
 identify them by MAC address without authenticating.

It is, try sudo iwlist wlan0 scan to see all APs in range, with their
SSIDs and MAC addresses.


-- 
Neil Bothwick

In the begining, there was nothing.


signature.asc
Description: PGP signature


[gentoo-user] Where is polkit-auth

2010-04-22 Thread Damian
After installing network manager I got the following message:

L To save system-wide settings as a user, that user needs to have the
L right policykit privileges. You can add them by running:
L polkit-auth --grant
org.freedesktop.network-manager-settings.system.modify --user USERNAME

However, polkit-auth is not installed in my system even though I have
=sys-auth/polkit-0.96-r1 installed.

What am I missing?



Re: [gentoo-user] Where is polkit-auth

2010-04-22 Thread Xavier Parizet
On 04/22/2010 12:17 PM, Damian wrote:
 After installing network manager I got the following message:
 
 L To save system-wide settings as a user, that user needs to have the
 L right policykit privileges. You can add them by running:
 L polkit-auth --grant
 org.freedesktop.network-manager-settings.system.modify --user USERNAME
 
 However, polkit-auth is not installed in my system even though I have
 =sys-auth/polkit-0.96-r1 installed.
 
 What am I missing?

You have to install sys-auth/policykit.

-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] K3b does not find burning device

2010-04-22 Thread Joerg Schilling
meino.cra...@gmx.de wrote:

 K3b suddenly cannot find any burning device of my system.
 Hald is running. vlc can acces the drive for playing dvds.
 kdebase-runtime-meta is installed. k3b was recompiled without
 problems. The Configuration dialog of k3b states for both
 kind of drives none. And me? I have really no idea, what
 is happening here. Previously it works perfectly and I dont
 know when its stops working, since I dont burn dvds that often.

I remember that I did see a similar report half a year ago. At that time, 
cdrecord had no problems to find the drives

The problem with k3b is that it does not depend on the portable cdrtools but on 
self-written code from the k3b project that as a result from time to time 
suffers from changes in the Linux distributions.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] /dev/.udev - safe to remove ?

2010-04-22 Thread Helmut Jarausch
Hi

rkhunter showed a warning because there is a 
/dev/.udev
directory on my machine. qfile didn't find any 'owner'.
Is it safe to remove that directory?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] /dev/.udev - safe to remove ?

2010-04-22 Thread Bert Swart
Hi,

No, you should allow this dir:
set ALLOWHIDDENDIR=/dev/.udev in /etc/rkhunter.conf

Regards,
Bert

On Thu, Apr 22, 2010 at 12:35:30PM +0200, Helmut Jarausch wrote:
 Hi
 
 rkhunter showed a warning because there is a 
 /dev/.udev
 directory on my machine. qfile didn't find any 'owner'.
 Is it safe to remove that directory?
 
 Many thanks for a hint,
 Helmut.
 
 -- 
 Helmut Jarausch
 
 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany
 




[gentoo-user] Re: Where is polkit-auth

2010-04-22 Thread Damian
Xavier Parizet x...@gentooist.com writes:

 On 04/22/2010 12:17 PM, Damian wrote:
 After installing network manager I got the following message:
 
 L To save system-wide settings as a user, that user needs to have the
 L right policykit privileges. You can add them by running:
 L polkit-auth --grant
 org.freedesktop.network-manager-settings.system.modify --user USERNAME
 
 However, polkit-auth is not installed in my system even though I have
 =sys-auth/polkit-0.96-r1 installed.
 
 What am I missing?

 You have to install sys-auth/policykit.
Thanks, it is working now.

Greetings.



Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-22 Thread laurent

Hi!

I changed the restrictions line like you said:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination

but this way it will try to see if the ip is part of mynetworks first, and
as it wont be it will reject or ... because my squirremail morks and I
think it does not use the authentification but rather the mynetworks.
Well.. :)

here is postconf | grep smtpd_sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtp
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus


I also now have all the authentification methods in the telnet EHLO
response. Which should not be
telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ks359684.kimsufi.com ESMTP Postfix
EHLO localhost
250-ks359684.kimsufi.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
STARTTLS
220 2.0.0 Ready to start TLS

Which I don't understand how because the /etc/sasl2/smtpd.conf is sayin:
mech_list: PLAIN LOGIN
pwcheck_method: saslauthd

I will continue to look now, need to clean somethin somewhere.
Thank you for the help ;)

Laurent





[gentoo-user] mixing python-2 and python-3 howto

2010-04-22 Thread Helmut Jarausch
Here,

several month ago I had problems since I had Python-2.x and Python-3.x
installed. Therefore I have masked Python-3.x since then.
Meanwhile there are packages (like portpeek-2.0.1) which require
Python-3.x .  Is it safe to have both Python-2 and Python-3 installed.
I know they are slotted and I know about eselect python but do I have to
switch Python (by using eselect) before emerge a given packages.
And does this work at all (a Gentoo system where different parts use
different versions of Python)?

Many thanks for sharing your experience,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials

2010-04-22 Thread laurent
I changed back to a saved /etc/postfix/main.cf file I had.
The PLAIN LOGIN auth reappear fine, STARTLS work

still

testsaslauthd -u u...@domain.com -p password
0: NO authentication failed

logs:

Apr 22 14:08:48 xx saslauthd[12159]: do_auth : auth failure:
[user=u...@domain.com] [service=imap] [realm=] [mech=rimap] [reason=remote
server rejected your credentials]
Apr 22 14:48:47 xx saslauthd[12161]: do_auth : auth failure:
[user=u...@domain.com] [service=imap] [realm=] [mech=rimap] [reason=remote
server rejected your credentials]

so I tried with telnet and my username password base64 encoded with this:
% printf 'username\0username\0password' | openssl base64

and I got those:

telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.domain.com ESMTP Postfix
EHLO localhost
250-host.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
STARTTLS
220 2.0.0 Ready to start TLS
AUTH PLAIN myencodedbase64string=
Connection closed by foreign host.

~ # telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.domain.com ESMTP Postfix
EHLO localhost
250-host.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN myencodedbase64string=
535 5.7.8 Error: authentication failed: authentication failure


saslauthd is like a black box now. How could I open it?

thx
Laurent









Re: [gentoo-user] KDE? Get me out of here!

2010-04-22 Thread Alex Schuster
I wrote:

 Alan McKinnon writes:

  On Monday 01 March 2010 18:08:05 Alex Schuster wrote:

[...]
   solve this. And there are these annoying things. Like Amarok being
   very unstable, and taking 5 minutes to start. What the heck is it
   doing in this time?
  
  Fuck knows what amarok-2x does for the first 5 minutes. I *think* On
  my system it scans the music directory, presumably to find updates
  that happened when amarok was not running. Fair enough, can't argue
  that, but why is it so *slow*???
 
 Yes, it scans the collection, I just verified that by removing a folder
 from my collection. Start-up takes 7 minutes, I guess this also slows
 down my KDE4 start-up even further (strigi also scans some stuff for
 about a minute, along this music files I did not touch in any way). So
 when I save my KDE session I have to remember to quit amarok before
 that. Of course, I also have to remember to start amarok some time
 after I logged in, so I can play music when I want without having to
 wait 7 minutes first.
 
 This does not feel right...
 
 BTW, a find /data/mp3 -type d takes about a minute. Checking the date
 of the directories to verify they did not alter since the last scan
 should not take that much longer.
 
 Ah, I see the problem. It mainly scans /data/mp3/incoming, a directory
 I have NOT selected as collection folder (but most other directories
 in /data/mp3 are selected). Still, those files do not show up in my
 collection, which is fine - some time ago amarok did index all in
 /data/mp3, even if a directory was not selected.

More precisely: Amarok scans folders not selected as collection for *.m3u 
playlists, and looks up their files. I had reported this in [*], and got 
some responses, but no solution or even confirmation. But today I emerged 
Amarok 2.3.0.90, and startup time went from 7 minutes to around half a 
minute now, so this bug seems to be fixed.

Wonko

[*] https://bugs.kde.org/show_bug.cgi?id=229239



Re: [gentoo-user] mixing python-2 and python-3 howto

2010-04-22 Thread Justin
On 22/04/10 15:29, Helmut Jarausch wrote:
 Here,
 
 several month ago I had problems since I had Python-2.x and Python-3.x
 installed. Therefore I have masked Python-3.x since then.
 Meanwhile there are packages (like portpeek-2.0.1) which require
 Python-3.x .  Is it safe to have both Python-2 and Python-3 installed.
 I know they are slotted and I know about eselect python but do I have to
 switch Python (by using eselect) before emerge a given packages.
 And does this work at all (a Gentoo system where different parts use
 different versions of Python)?
 
 Many thanks for sharing your experience,
 Helmut.
 

Currently there is only python version 3 supported as system python. So
you *never* eselect python 3. But there is no problem installing slotted
python versions side by side. There are currently to versions of
packages, those which support installation of multiple python ABIs. They
will install supporting modules for all available ABIs. And those which
support just a single version, they will install as normal and fix the
shebang to the highest supported version.
So in you case, just emerge python-3, but leave the system python to py-2.*.
There will be an announcement, when py-3.* goes stable and is supported
to be used as system python.

justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread ubiquitous1980
On 21/04/10 01:26, Daniel Pielmeier wrote:
 Paul Hartman schrieb am 20.04.2010 17:03:
   
 On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com 
 wrote:
 
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1
   
 Try to blacklist  rmmod the usblp module. I had to do that for my HP
 USB printer to work. Whenever usblp module was loaded, printing
 failed... I don't know if it applies to your printer as well, but it's
 something easy to try. :)


 
 I do not own an all-in-one printer so I can not test, but if Paul's 
 suggestions
 do not work can you tell me the permissions of your device.

 lsusb
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 lsusb tells you to which bus the printer is attached. In my case it is Bus 001
 and Device 002 so I have the following device /dev/bus/usb/001/002

 ls -al /dev/bus/usb/001/002
 crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

 There should also be a /dev/usb/lp0

 ls -al /dev/usb/lp0
 crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

 Do you have the same permissions or do they differ?

   

Paul,

I checked for lsusb and could not find it...therefore I checked my
kernel source, and found usb printer support, which I removed.  This has
not fixed the problem.

Daniel,

The results for lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd.
Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7
Cordless Mouse
Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series
Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp.
Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp.
Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
(part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Thanks for your response, and sorry for my delay.

Damien




Re: [gentoo-user] gentoo-box stopping services

2010-04-22 Thread Stefan G. Weichinger
Am 21.04.2010 11:09, schrieb Stroller:

 OK, a bit more RAM wouldn't hurt here.
 But I am compiling stuff right now.
 
 I would add more.
 
 Services mysteriously dying, surely that could be because the kernel is
 killing them off due to an out-of-memory condition?

Shouldn't the kernel *swap* then ?

I suggested adding RAM there, sure ...

 Maybe you have changed to a different compiler version in the past, and
 this creates larger binaries?

current version of gcc: 4.3.2-r3 (04:13:52 18.04.2009)

So it is about one year old, no changes since then. The symptoms only
started some week ago or two ...

I rather wonder about that f-secure scanner fsav ... I had to manually
fiddle it onto the system and it takes quite much ram and cpu.

But it is installed since june 2009 as well.

 I seem to get into more trouble when I'm cautious with updates than I do
 when I just let 'em rip as often as possible. More frequent updates
 means fewer updates.

I have to find some sweet spot here. I have quite many servers out there
at customers sites ... noone so far pays me for regularly emerging world
there ... this has to change, you are right ;-)

Stefan



Re: [gentoo-user] gentoo-box stopping services

2010-04-22 Thread Alan McKinnon
On Thursday 22 April 2010 17:31:33 Stefan G. Weichinger wrote:
 Am 21.04.2010 11:09, schrieb Stroller:
  OK, a bit more RAM wouldn't hurt here.
  But I am compiling stuff right now.
  
  I would add more.
  
  Services mysteriously dying, surely that could be because the kernel is
  killing them off due to an out-of-memory condition?
 
 Shouldn't the kernel *swap* then ?

No, the OOM killer kicks in when the kernel has no more virtual memory, 
including swap. Either way, more RAM is the answer. Or fidn the app with the 
memory leak if you are unlucky enough to have one of those running around.

[snip]

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] gentoo-box stopping services

2010-04-22 Thread Stefan G. Weichinger
Am 22.04.2010 17:50, schrieb Alan McKinnon:

 Shouldn't the kernel *swap* then ?
 
 No, the OOM killer kicks in when the kernel has no more virtual memory, 
 including swap. Either way, more RAM is the answer. Or fidn the app with the 
 memory leak if you are unlucky enough to have one of those running around.

The added swapfile with one GB won't help here for a start?

S



Re: [gentoo-user] Updates = slow firefox

2010-04-22 Thread Grant
 Could this be the problem?

 # grep ^\(EE /var/log/Xorg.0.log
 (EE) Failed to load module vesa (module does not exist, 0)
 (EE) Failed to load module fbdev (module does not exist, 0)
 (EE) intel(0): [drm] Failed to open DRM device for : No such file or
 directory
 (EE) intel(0): Failed to become DRM master.
 (EE) intel(0): Failed to initialize kernel memory manager

 The first two errors are fine; Xorg defaults to trying vesa and fbdev as
 display drivers and you just don't have them.

 The last three are your problem.  The intel video driver is unable to
 properly access the DRM subsystem, which will definitely cause X to slow
 to a crawl.

 The most likely cause of your errors is that the intel AGP driver (i810
 or i915, depending on your hardware) isn't getting loaded.  If that's
 the case, you should see an error such as:

 [drm] failed to load kernel module i915

 in Xorg.0.log just before the ones from intel.  If the modules are being
 loaded, you'll likely see some other errors around that same area.  The
 aren't tagged with (EE), unfortunately; try:

 # grep -5 'Failed to open DRM' Xorg.0.log

 You can also check your dmesg output to see if the devices are being
 initialized properly:

 platypus log # dmesg | grep agp
 Linux agpgart interface v0.103
 agpgart-intel :00:00.0: Intel 965GM Chipset
 agpgart-intel :00:00.0: detected 7676K stolen memory
 agpgart-intel :00:00.0: AGP aperture is 256M @ 0xe000

 platypus log # dmesg | grep drm
 [drm] Initialized drm 1.1.0 20060810
 [drm] set up 7M of stolen space
 [drm] initialized overlay support
 fb0: inteldrmfb frame buffer device
 [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0

 If everything's working, you should have the following devices that the
 Xorg driver needs:

 platypus log # ls -l /dev/dri
 total 0
 crw-rw 1 root video 226,  0 Apr 20 13:11 card0
 crw-rw 1 root video 226, 64 Apr 20 13:11 controlD64

 Ah, thank you so much.  I needed to enable CONFIG_DRM_I915 in the kernel.

 - Grant

Strangely, now my laptop's brightness adjustment doesn't work via the
keyboard shortcuts.  Any ideas on that?

- Grant



Re: [gentoo-user] mixing python-2 and python-3 howto

2010-04-22 Thread Albert W. Hopkins
On Thu, 2010-04-22 at 16:12 +0200, Justin wrote:
 There will be an announcement, when py-3.* goes stable and is
 supported
 to be used as system python.

Yes, so make certain you leave instructions in your will ;)

(if you didn't get that then just ignore it)




Re: [gentoo-user] gentoo-box stopping services

2010-04-22 Thread Alan McKinnon
On Thursday 22 April 2010 18:24:08 Stefan G. Weichinger wrote:
 Am 22.04.2010 17:50, schrieb Alan McKinnon:
  Shouldn't the kernel *swap* then ?
  
  No, the OOM killer kicks in when the kernel has no more virtual memory,
  including swap. Either way, more RAM is the answer. Or fidn the app with
  the memory leak if you are unlucky enough to have one of those running
  around.
 
 The added swapfile with one GB won't help here for a start?

It will certainly help. If your core problem is simply not enough RAM, then 1G 
more might be all you need. You'd have to run checks and do some monitoring to 
see if performance is affected. 

I haven't followed the full thread so I don't know what you are running; and 
some daemons perform really badly if they have to touch swap. Apache for 
example, a busy MTA for another - disks are thousands of times slower than 
RAM, so if a webserver has to swap memory back in from disk, it almost 
instantly brings the server to a grinding halt.

On my web and mail servers I have no swap at all, they do have lots and lots 
of RAM; my Sybase database servers have enormous amounts of swap. Each server 
has been profiled so it is set up to be as close to ideal as I can determine.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent
Hi,

I can't emerge php4 anymore:

USE=cli apache2 emerge '=dev-lang/php-4*' '=dev-lang/php-5*'
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy =dev-lang/php-4*.

Is there a new way to do so ?

thx
Laurent




Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread Daniel Pielmeier
ubiquitous1980 schrieb am 22.04.2010 16:23:
 On 21/04/10 01:26, Daniel Pielmeier wrote:
 I do not own an all-in-one printer so I can not test, but if Paul's 
 suggestions
 do not work can you tell me the permissions of your device.

 lsusb
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 lsusb tells you to which bus the printer is attached. In my case it is Bus 
 001
 and Device 002 so I have the following device /dev/bus/usb/001/002

 ls -al /dev/bus/usb/001/002
 crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

 There should also be a /dev/usb/lp0

 ls -al /dev/usb/lp0
 crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

 Do you have the same permissions or do they differ?

 The results for lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd.
 Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7
 Cordless Mouse
 Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series
 Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp.
 Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp.
 Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
 Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
 (part of BCM2046 Bluetooth)
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
 Thanks for your response, and sorry for my delay.

Please also provide the following output I already requested above and check if
the permissions are the same.

ls -al /dev/bus/usb/005/004

ls -al /dev/usb/lp0

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved?

2010-04-22 Thread laurent


following this:

http://overlays.gentoo.org/proj/php/wiki/InstallOverlay

'gentoo-php-overlay' seems now to be 'php'

Laurent



Re: [gentoo-user] How can I control ttyS0 respawning speed?

2010-04-22 Thread Jarry

On 21. 4. 2010 9:43, Amit Dor-Shifer wrote:

Jarry wrote:


s0:12345:respawn:/sbin/agetty 38400 ttyS0 vt100
It mostly works, with one exception: right after boot-up
I get this message:

INIT: ID s0 respawning too fast: disabled for 5 minutes

How can I control that respawn speed, or prohibit this
behavior (disabling ttyS0 for 5min)? I do not like waiting
5min to log in, after I restarted server...


Don't know the answer to yr question. But I'm also not sure if you're
asking the right question.
When I last saw respawning too fast: disabled for 5 minutes, it was
actually an issue with the spawned process not being able to start. I'm
therefore suggesting you'd want to consider checking why agetty cannot
run, rather than working around init's behavior.
Amit


You may be right, but I did not find any clue as why is agetty
spawning too fast. I just noticed it happens only during boot-up,
with probability about 1:5. Maybe some starting processes are
conflicting with agetty. I do not think it is very serious problem,
as agetty on ttyS0 is always respawned after those 5min. All I want
is to reduce somehow those 5min time...

Jarry

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



[gentoo-user] can't emerge '=dev-lang/php-4*' .. moved? = removed

2010-04-22 Thread laurent


..just removed php-4 and all is working fine :)



Re: [gentoo-user] Updates = slow firefox

2010-04-22 Thread Mick
On Thursday 22 April 2010 17:47:23 Grant wrote:
  Could this be the problem?
 
  # grep ^\(EE /var/log/Xorg.0.log
  (EE) Failed to load module vesa (module does not exist, 0)
  (EE) Failed to load module fbdev (module does not exist, 0)
  (EE) intel(0): [drm] Failed to open DRM device for : No such file or
  directory
  (EE) intel(0): Failed to become DRM master.
  (EE) intel(0): Failed to initialize kernel memory manager
 
  The first two errors are fine; Xorg defaults to trying vesa and fbdev as
  display drivers and you just don't have them.
 
  The last three are your problem.  The intel video driver is unable to
  properly access the DRM subsystem, which will definitely cause X to slow
  to a crawl.
 
  The most likely cause of your errors is that the intel AGP driver (i810
  or i915, depending on your hardware) isn't getting loaded.  If that's
  the case, you should see an error such as:
 
  [drm] failed to load kernel module i915
 
  in Xorg.0.log just before the ones from intel.  If the modules are being
  loaded, you'll likely see some other errors around that same area.  The
  aren't tagged with (EE), unfortunately; try:
 
  # grep -5 'Failed to open DRM' Xorg.0.log
 
  You can also check your dmesg output to see if the devices are being
  initialized properly:
 
  platypus log # dmesg | grep agp
  Linux agpgart interface v0.103
  agpgart-intel :00:00.0: Intel 965GM Chipset
  agpgart-intel :00:00.0: detected 7676K stolen memory
  agpgart-intel :00:00.0: AGP aperture is 256M @ 0xe000
 
  platypus log # dmesg | grep drm
  [drm] Initialized drm 1.1.0 20060810
  [drm] set up 7M of stolen space
  [drm] initialized overlay support
  fb0: inteldrmfb frame buffer device
  [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0
 
  If everything's working, you should have the following devices that the
  Xorg driver needs:
 
  platypus log # ls -l /dev/dri
  total 0
  crw-rw 1 root video 226,  0 Apr 20 13:11 card0
  crw-rw 1 root video 226, 64 Apr 20 13:11 controlD64
 
  Ah, thank you so much.  I needed to enable CONFIG_DRM_I915 in the kernel.
 
  - Grant
 
 Strangely, now my laptop's brightness adjustment doesn't work via the
 keyboard shortcuts.  Any ideas on that?

No idea other than to suggest that you take a look in 
/usr/share/hal/fdi/policy/10osvendor/* for any files that you could modify 
after you copy them to /etc/hal/fdi/policy/ - but I wouldn't know how.
-- 
Regards,
Mick


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


[gentoo-user] What are you waiting for!

2010-04-22 Thread Damian
Since today, whenever I try to shutdown the laptop I get messages saying
waiting for net.wlan0 (XX) seconds 

Where X varies between 50 and 5.

And I got this message for every service that is stopped. The problem
looks similar to what's described here:

http://forums.gentoo.org/viewtopic-t-788186-view-next.html?sid=c27614d6088b347267495ace897e6b22

But I couldn't get a solution from that forum.

Today was the day I installed network manager, but I don't know if that
has something to do.

I have no clue what may be failing.

Thanks in advance,
Damian.



[gentoo-user] Re: gentoo-box stopping services

2010-04-22 Thread walt

On 04/22/2010 09:52 AM, Alan McKinnon wrote:


On my web and mail servers I have no swap at all, they do have lots and lots
of RAM; my Sybase database servers have enormous amounts of swap...


Hm.  Does that mean your database servers are allowed to be slower than the web
and mail servers?




Re: [gentoo-user] Re: gentoo-box stopping services

2010-04-22 Thread Alan McKinnon
On Thursday 22 April 2010 23:16:56 walt wrote:
 On 04/22/2010 09:52 AM, Alan McKinnon wrote:
  On my web and mail servers I have no swap at all, they do have lots and
  lots of RAM; my Sybase database servers have enormous amounts of swap...
 
 Hm.  Does that mean your database servers are allowed to be slower than the
 web and mail servers?

No, it means that the database software intelligently handles swap.

An enterprise grade db like this one will load many megabytes of data in huge 
chunks on and off disk in one action. If you are dealing with tables 
containing many millions of rows, you really do want this behaviour. Without 
swap, the db will still load and unload many megs of data at a time on and off 
disk, so there is no appreciable downgrade of performance, but I do have the 
benefit of keeping data in virtual memory for longer using swap. The database 
code pages are never swapped by design - doing that is just plan stupid.

The web and mail servers on the other hand deal with millions of small files, 
on the order of 10k each. Allowing that to swap is catastrophic.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-22 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:


[...]

 The penultimate paragraph says that you should copy _some_ file from 
 /usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/ 

penultimate Egad... does that mean its explosive? ...  : ) 

[...]

 
 [...]
 17 /match
 18
 19  merge key=input.xkb.layout type=stringus/merge
 20 merge key=input.xkb.variant type=string /
 21   /match
 [...]

[...] snipped nice example

 Now, if you are only using one language, you only need line 19 in your 
 example 
 and insert a new line between your 19 and 20 that says: merge 
 key=input.xkb.options type=stringterminate:ctrl_alt_bksp/merge
   
 (all on one line)

 HTH and sorry for giving an incomplete answer at the start.

Very helpful... thank you.  And thanks for being so patient.

I actually got it working with this last guide of yours. But now I
guess we are about to lose hal, so probably will be looking at some
newer way to maintain C+A+BKSPC...




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-22 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote:
 I think you all are missing something... sendmail is better documented
 than any of the other pretenders.

 One has to understand what the various MTAs out there were built to do, and 
 what their feature list is:

 sendmail comes from ancient days. It was written to be able to route almost 

As ancient as 2007, at least one survey shows sendmail as still the
most popular.

One fairly recent survey sited on wikipedia shows sendmail as losing ground
but still the most popular MTA.. at 29% of the surveyed market.  Down
from some 42% in 2001/3

That's a lot of `buggy whips'.

http://en.wikipedia.org/wiki/Sendmail

[...]

  In 2001, approximately 42% of the publicly-reachable mail-servers on
  the Internet ran Sendmail.[1] More recent surveys have suggested a
  decline, with 29.4% of mail servers in August 2007 detected as
  running Sendmail in a study performed by E-Soft, Inc.[2] Sendmail is
  trailed by Microsoft Exchange Server, Exim, and Postfix; these four
  being the only mail servers with more than 10% of the total.

[...]




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-22 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 Internet mail is quite complex, yes.

 This statement is the source of the confusion surrounding sendmail.

 Internet mail is not complex, it is stunningly simple:

 mail comes in,
 look up where it should go,
 send it there

[...]

Egad, I had no idea it was so simple; maybe you should tell all those
guys who collaborate in writing  piles of rfcs that pertain to
internet mail and related issues, I bet they don't know it so easy
either.  :)





Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread ubiquitous1980
Hello Daniel,

Sorry for the omission in last email:

localhost ubiquitous1980 # ls -al /dev/bus/usb/005/004
crw-rw-r-- 1 root scanner 189, 515 2010-04-23 07:42 /dev/bus/usb/005/004
localhost ubiquitous1980 # ls -al /dev/usb/lp0
ls: cannot access /dev/usb/lp0: No such file or directory
localhost ubiquitous1980 #


Thanks

ubiquitous1980



Re: [gentoo-user] gentoo-box stopping services

2010-04-22 Thread Stroller


On 22 Apr 2010, at 17:24, Stefan G. Weichinger wrote:


Am 22.04.2010 17:50, schrieb Alan McKinnon:


Shouldn't the kernel *swap* then ?


No, the OOM killer kicks in when the kernel has no more virtual  
memory,
including swap. Either way, more RAM is the answer. Or fidn the app  
with the
memory leak if you are unlucky enough to have one of those running  
around.


The added swapfile with one GB won't help here for a start?


Yes, it will. If it's running out of RAM+swap, then more swap will help.

Stroller.




[gentoo-user] modules.audoload.d is not autoloaded

2010-04-22 Thread Xi Shen
hi,

i have some modules putted in /etc/modules.autoload.d/kernel-2.6, and
my kernel is 2.6.32-gentoo-r7. but after system started up, i found
those modules are not loaded. running 'rc-update show', i can see the
'modules' is in 'boot' runlevel. if i load those modules manually,
they can be loaded normally. what's wrong with autoload?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread ubiquitous1980
Daniel,

Some additional info in the log file:

Thanks

ubiquitous1980
hp-check[29672]: info: :
Initializing. Please wait...
scheduler is running

1.3.11

Linux localhost.localdomain 2.6.31-gentoo-r10 #2 SMP Thu Apr 22 22:02:49 WST 
2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux

hp-check[29672]: info: :
hp-check[29672]: info: :---
hp-check[29672]: info: :| SYSTEM INFO |
hp-check[29672]: info: :---
hp-check[29672]: info: :
hp-check[29672]: info: :[01mBasic system information:[0m
hp-check[29672]: info: :Linux localhost.localdomain 2.6.31-gentoo-r10 #2 SMP 
Thu Apr 22 22:02:49 WST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz 
GenuineIntel GNU/Linux
hp-check[29672]: info: :
hp-check[29672]: info: :[01mDistribution:[0m
hp-check[29672]: info: :gentoo 0.0
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking Python version...[0m
hp-check[29672]: info: :OK, version 2.6.4 installed
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[29672]: info: :OK, version 4.7 installed.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for CUPS...[0m
hp-check[29672]: info: :Status: scheduler is running
hp-check[29672]: info: :Version: 1.3.11
hp-check[29672]: info: :error_log is set to level: info
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[29672]: info: :dbus daemon is running.
hp-check[29672]: info: :python-dbus version: 0.83.0
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :
hp-check[29672]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[29672]: info: :
hp-check[29672]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c 
parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r 
parameter (ie, hp-check -r).
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS - Common Unix 
Printing System...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS devel- Common Unix 
Printing System development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: CUPS image - CUPS image 
development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: DBus - Message bus 
system...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: gcc - GNU Project C and 
C++ Compiler...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: GhostScript - PostScript 
and PDF language interpreter and previewer...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libcrypto - OpenSSL 
cryptographic library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libjpeg - JPEG 
library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libnetsnmp-devel - SNMP 
networking library development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libpthread - POSIX threads 
library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libtool - Library building 
support services...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: libusb - USB library...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: make - GNU make utility to 
maintain groups of programs...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PIL - Python Imaging 
Library (required for commandline scanning with hp-scan)...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PolicyKit - Administrative 
policy framework...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support 
for PyQt4...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python DBus - Python 
bindings for DBus...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for dependency: Python devel - Python 
development files...[0m
hp-check[29672]: info: :OK, found.
hp-check[29672]: info: :
hp-check[29672]: info: :[01mChecking for