Re: [gentoo-user] Re: Strange dependency of kopete-3.5.9 on qt-4*

2009-01-22 Thread Peter Humphrey
On Wednesday 21 January 2009 11:10:05 Nikos Chantziaras wrote:
 equery depends qt-gui:4

$ equery depends qt-gui:4
[ Searching for packages depending on qt-gui:4... ]
app-text/poppler-bindings-0.8.7 (qt4? x11-libs/qt-gui:4)
x11-libs/qscintilla-2.1-r1 (qt4? x11-libs/qt-gui:4)
$ emerge --info | grep qt4
$ grep qt /etc/portage/*
$

As I said (or tried to say) on Monday, whatever was causing kopete to call 
in qt:4 has disappeared. Perhaps I was doing something stupid (I'm having 
to face that possibility more often these days).

-- 
Rgds
Peter



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread KH
Shawn Haggett schrieb:
 On Thu, 22 Jan 2009 01:37:23 pm Grant wrote:
   
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 ?

 - Grant
 

 I couldn't see any videos on that page... although the one at:

 http://www.cnn.com/2009/POLITICS/01/20/videos.obama/index.html

 played just fine.

 On:
 Intel Core2 Duo (Running in 64-bit)
 www-client/mozilla-firefox-3.0.4-r1
 net-www/netscape-flash-10.0.21.1_alpha

 You can try starting firefox from the command line, then when it crashes you 
 can see if it prints any helpful messages before dying.

 Shawn

   
Same for me. No video found following the first link. Second link works
fine.
www-client/mozilla-firefox-3.0.5
net-www/netscape-flash-10.0.21.1_alpha
Athlon 64 X2 3800+
Micro-ATX-Mainboard in einer OEM-Version von Asus mit Nvidias nForce4
(A8NE-FM/S).
PEG-Grafikkarte von Leadtek mit Nvidia GeForce 6600

kh



Re: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Robin Atwood
On Thursday 22 Jan 2009, Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de wrote:

 Jan 21 14:35:43 [sshd] Invalid user murray from 203.110.208.68


 So, 11 attempts in the first minute of activity (and it picked up
 pace, later on attempting every 2 seconds). Surely denyhosts should
 have blocked it already at that point based on my settings, correct?

Your regex's might not be up to snuff. Try adding the one below to 
denyhosts.conf:

USERDEF_FAILED_ENTRY_REGEX=Invalid user (?Puser.*) .*from (:::)?
(?Phost\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})

HTH
-Robin
-- 















Re: [gentoo-user] Aborting due to QA concerns: textrels

2009-01-22 Thread Helmut Jarausch
On 21 Jan, Neil Bothwick wrote:
 On Wed, 21 Jan 2009 16:47:44 +0100 (CET), Helmut Jarausch wrote:
 
  * The specific snippet of code:
  *  die Aborting due to QA concerns: ${die_msg}
  *  The die message:
  *   Aborting due to QA concerns:  textrels,
  * 
 
 Is the just coincidence or has portage become stricter?
 
 You can probably avoid these checks by putting -strict in FEATURES.
 

Thanks,

I found out the option is  '-stricter'
This seems to be necessary for quite a lot of packages now.

Helmut.

-- 
Helmut Jarausch

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



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Mick
2009/1/21 Volker Armin Hemmann volkerar...@googlemail.com:
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann
 squawked:
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
   Hi list:
  
 I need some help with my memory.
  
 Recently when I quit the X server, the following can be seen in the
 sys log:
  
   Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
  
 and on the TTY where I issued X init, a similar message is shown,
 but the message is not echoed in /var/log/Xorg.0.log
  
 Now, I remember having entered something like that somewhere way
 back, when I was using the ATI drivers for my laptop (instead of the
 radeon drivers from Xorg). The problem is, I cannot remember where
 such a line would possibly go! Does anyone have any ideas where I
 can start searching?
 
  don't do it. Just don't do that. It should not be necessary. Instead look
  at the mtrr cleanup options in make menuconfig.

 Yes, my point exactly! That *should not* be necessary any longer, so I
 am trying to figure out where I might have put this thing which I
 remembered having manual inserted so I can undo the damage.

 Also, what is this MTRR cleanup option? I can't seem to find it?

 W

 are you using a recent kernel? 2.6.27 or 28?

I am using both.  I have a mtrr entry in my kernel boot line like this: mtrr:4

but when configuring the new kernel I came across this option:

MTRR cleanup enable value (0-1)

which confused me.  What am I supposed to choose here, other than the
default 0 value?
-- 
Regards,
Mick



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Justin
Mick schrieb:
 2009/1/21 Volker Armin Hemmann volkerar...@googlemail.com:
   
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann
   
 squawked:
 
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
 Hi list:

   I need some help with my memory.

   Recently when I quit the X server, the following can be seen in the
   sys log:

 Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found

   and on the TTY where I issued X init, a similar message is shown,
   but the message is not echoed in /var/log/Xorg.0.log

   Now, I remember having entered something like that somewhere way
   back, when I was using the ATI drivers for my laptop (instead of the
   radeon drivers from Xorg). The problem is, I cannot remember where
   such a line would possibly go! Does anyone have any ideas where I
   can start searching?
   
 don't do it. Just don't do that. It should not be necessary. Instead look
 at the mtrr cleanup options in make menuconfig.
 
 Yes, my point exactly! That *should not* be necessary any longer, so I
 am trying to figure out where I might have put this thing which I
 remembered having manual inserted so I can undo the damage.

 Also, what is this MTRR cleanup option? I can't seem to find it?

 W
   
 are you using a recent kernel? 2.6.27 or 28?
 

 I am using both.  I have a mtrr entry in my kernel boot line like this: mtrr:4

 but when configuring the new kernel I came across this option:

 MTRR cleanup enable value (0-1)

 which confused me.  What am I supposed to choose here, other than the
 default 0 value?
   
choose 1 with the 28 kernel and everything is fine. That was my success:

reg00: base=0xfffe (4095MB), size= 128KB: write-protect, count=1
reg01: base=0xfffc (4095MB), size= 128KB: uncachable, count=1
reg02: base=0x (   0MB), size= 512MB: write-back, count=1
reg03: base=0x2000 ( 512MB), size= 512MB: write-back, count=1
reg04: base=0x3f80 (1016MB), size=   8MB: uncachable, count=1
reg05: base=0x3f60 (1014MB), size=   2MB: uncachable, count=1
reg06: base=0x3f50 (1013MB), size=   1MB: uncachable, count=1
reg07: base=0x (   0MB), size= 128KB: uncachable, count=1


changed to

reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f50 ( 1013MB), size=1MB, count=1: uncachable
reg02: base=0x03f60 ( 1014MB), size=2MB, count=1: uncachable
reg03: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg04: base=0x04000 ( 1024MB), size=2MB, count=1: write-combining




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Guillermo Garron
On Tue, Jan 20, 2009 at 5:47 PM, Etaoin Shrdlu shr...@unlimitedmail.org wrote:
 On Tuesday 20 January 2009, 22:33, Paul Hartman wrote:
 Hi,

 After setting up public key authentication i changed my sshd back to
 port 22 and got the expected bombardment of connection attempts.
 However, it doesn't seem to ever stop them. I'm using sshd with this
 setting:

 MaxAuthTries 3

 in my /etc/ssh/sshd_config

 So, why does it allow unlimited failed login attempts? For example, as
 I write this I'm seeing this in my logs:

 Jan 20 14:54:38 [sshd] Invalid user ejin from 72.70.42.36
 Jan 20 14:54:39 [sshd] Invalid user core from 72.70.42.36
 [cut]

 What MaxAuthTries does is just start logging the failed attempts when
 they reach ( value / 2 ).

 MaxAuthTries
 Specifies the maximum number of authentication attempts
 permitted per connection. Once the number of failures
 reaches half this value, additional failures are logged.
 The default is 6.

Hi,

I use this

http://www.go2linux.org/fail2ban-secure-linux-services-from-brute-forces-attacks

or this

http://www.go2linux.org/denyhosts-secure-your-linux-against-dictionary-attacks

you may also want to read this:

http://www.go2linux.org/disable-ssh-root-direct-login







-- 
Guillermo Garron
Linux IS user friendly... It's just selective about who its friends are.
(Using Ubuntu, Debian, Gentoo)
http://feeds.feedburner.com/go2linux
http://www.go2linux.org



Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Eric Martin
Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U

 I've got USB Suspend/resume support in my kernel, and according to the
 kernel docs the usbcore.usbsuspend default delay is 2 (powertop
 suggests changing it to 1).

 Powertop's refresh delay is 5 seconds.

 Thanks,
 Paul


 Check for USB_SUSPEND in /proc/config.gz
 
 I do not have a /proc/config.gz but i have this in /boot/config:
 
 CONFIG_USB_SUSPEND=y
 
Are you sure you're running a kernel with that configured?  Why not
enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
.config support.  Obviously it adds more to your kernel images but it
makes tracking down problems like this very easy.  I too have a usb
keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
those interfaces...  Heck, unless you're 100% opposed to turning on
kernel .config support (or can't reboot the server), turn it on,
recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
see what powertop says.

I was trying to chase down a similar problem (disabling kernel options)
when I was getting vmalloc() errors with xfs and I discovered that they
always weren't taking affect.  My guess was I rebooted before cache
could be written to disk.

HTH

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Strange dependency of kopete-3.5.9 on qt-4*

2009-01-22 Thread Dominic Kexel
I had the same problem this morning. 

Adding =app-crypt/qca-2.0.0-r2 to /etc/portage/package.mask
solved it for me, since kopete wanted qca and qca-2 wanted qt4.

Dominic


On Mon, 19 Jan 2009 15:09:04 +
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 After reading a post here today I decided to investigate why I have several 
 qt-4.4.2 packages on this workstation, when I don't have kde-4. It turns 
 out that the SSL USE flag causes kopete-3.5.9 to pull in 14 qt-4.4.2 
 packages. This strikes me as somewhat odd.
 
 For the moment I've specified kopete -ssl in portage.use and removed all the 
 qt-4 packages.
 
 Does anyone here know why we have this dependency of a kde-3 package on 
 qt-4?
 
 -- 
 Rgds
 Peter



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Stroller


On 22 Jan 2009, at 03:07, Grant wrote:


Do cnn.com videos *not* crash for anyone with the latest Firefox?
This one for example:

http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html


Oh, noes!

I am sorry to tell you that your computer is a redneck republican, and  
this is why it's crashing.


The only cure is to format the hard-drive.  :(

Stroller.




Re: [gentoo-user] 2.6.28-gentoo sources quite sluggish on Dell Inspiron 8100 / 1GHz PIII

2009-01-22 Thread Paul Hartman
On Wed, Jan 21, 2009 at 9:05 PM, Dale rdalek1...@gmail.com wrote:
 Volker Armin Hemmann wrote:
 On Donnerstag 22 Januar 2009, Dan Farrell wrote:

 Hi all,

 I recently updated my dell Inspirion 8100's software after I found to
 my suprise I could no longer play video fast enough to watch.  I did a
 kernel upgrade from 2.6.24 to 2.6.28, with a number of
 reconfigurations, including moving from madwifi to in-kernel ath5k.
 Also updated nvidia-drivers to go along with the new system.

 Now my system is extremely sluggish.  It updates the screen very slowly
 in X and CPU performance is noticably slower without X running too.
 WiFi speed is dismal.

 I tried to remove all cruft and extras from the kernel, but I haven't
 managed to improve matters yet.  Since it now takes hours to update the
 system, I was hoping someone might have and idea as to what the cause
 of the slowdown might be.

 Sound Familiar?  Any guesses?


 group scheduling? get rid of it.





 I have been using 2.6.23 kernel for a while for the same reason.  I'm
 going to check my config now.

 Dale

On my laptop it is noticeably sluggish when using SLUB instead of SLAB
(despite SLUB being the default, I find it to be worse every time I've
tried it so far)



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 Oh, noes!

 I am sorry to tell you that your computer is a redneck republican, and
 this is why it's crashing.

 The only cure is to format the hard-drive.  :(

While that is humorous, it doesn't make sense.  That's an Obama link.

Anyway, I'm getting this in the terminal:

$ firefox
LoadPlugin: failed to initialize shared library
/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
[/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
symbol: _ZN13nsTArray_base9sEmptyHdrE]
Killed

and I'm re-emerging totem, xulrunner, and firefox to see if that fixes it.

- Grant



[gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Grant
I recently switched from firefox-bin and nspluginwrapper to 64-bit
firefox and the latest flash, and I just realized java no longer
works.  Do I need to go back to firefox-bin and nspluginwrapper for
java to work?

- Grant



Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Mark Knecht
On Thu, Jan 22, 2009 at 7:34 AM, Grant emailgr...@gmail.com wrote:
 I recently switched from firefox-bin and nspluginwrapper to 64-bit
 firefox and the latest flash, and I just realized java no longer
 works.  Do I need to go back to firefox-bin and nspluginwrapper for
 java to work?

 - Grant

Welcome to the real world of 64-bit Linux.

1) You should really start using the Gentoo-AMD64 list as you'll
probably find more of us folks using 64-bit there.

2) TTBOMK there is no complete set of solutions that cover Java and
Flash in 64-bit broswers, but I've stopped paying much attention any
more. That's something that just doesn't work well for me on this
machine.

HTH,
Mark



Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 7:58 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U

 I've got USB Suspend/resume support in my kernel, and according to the
 kernel docs the usbcore.usbsuspend default delay is 2 (powertop
 suggests changing it to 1).

 Powertop's refresh delay is 5 seconds.

 Thanks,
 Paul


 Check for USB_SUSPEND in /proc/config.gz

 I do not have a /proc/config.gz but i have this in /boot/config:

 CONFIG_USB_SUSPEND=y

 Are you sure you're running a kernel with that configured?  Why not
 enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
 .config support.  Obviously it adds more to your kernel images but it
 makes tracking down problems like this very easy.  I too have a usb
 keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
 those interfaces...  Heck, unless you're 100% opposed to turning on
 kernel .config support (or can't reboot the server), turn it on,
 recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
 see what powertop says.

 I was trying to chase down a similar problem (disabling kernel options)
 when I was getting vmalloc() errors with xfs and I discovered that they
 always weren't taking affect.  My guess was I rebooted before cache
 could be written to disk.

Hi,

I actually had it enabled in my kernel, but as a module, and I have
never used it before so I didn't even realize it was there. I had to
dig a little to find out that modprobe configs is what I needed to
turn it on. I have this section:

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set

So it appears I do have it properly configured, at least.

Is there any way to tell whether or not a device is suspended, or if
autosuspend is kicking in? I don't know what's it's supposed to do,
really. Does the fact that I'm using a desktop computer mean that
there's a chance USB suspend isn't even available?

Thanks,
Paul



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Mark Knecht
On Thu, Jan 22, 2009 at 7:19 AM, Grant emailgr...@gmail.com wrote:
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 Oh, noes!

 I am sorry to tell you that your computer is a redneck republican, and
 this is why it's crashing.

 The only cure is to format the hard-drive.  :(

 While that is humorous, it doesn't make sense.  That's an Obama link.

 Anyway, I'm getting this in the terminal:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and I'm re-emerging totem, xulrunner, and firefox to see if that fixes it.

 - Grant



Humm, Firefox isn't crashing for me, but I'm also not seeing a video
at this link. What am I supposed to play?

- Mark



Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 9:34 AM, Grant emailgr...@gmail.com wrote:
 I recently switched from firefox-bin and nspluginwrapper to 64-bit
 firefox and the latest flash, and I just realized java no longer
 works.  Do I need to go back to firefox-bin and nspluginwrapper for
 java to work?

Which java are you using? Sun's java didn't have a 64-bit browser
plug-in until very recently.

http://blogs.sun.com/joshis/entry/finally_it_s_here_java



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Norberto Bensa
On Thu, Jan 22, 2009 at 12:59 PM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 I am sorry to tell you that your computer is a redneck republican, and this
 is why it's crashing.

AH HA HAAA!... I was drinking coffee when I read your comment. I
just ruinned my LCD :(

BTW: The video plays fine here. OMG! Look at how many digital cams are
there! What are they going to do with all the mercury in those little
screens?



[gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Nikos Chantziaras

Paul Hartman wrote:

On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de wrote:

Can you check the logs to see the timespan in which those hundreds of
attempts took place?  Also, what's the time interval Denyhosts checks for
login attempts?


The most recently denied host from this afternoon made over 200 login
attempts in a span of 17 minutes before denyhosts caught it. In my
denyhosts.conf I have these:

DENY_THRESHOLD_INVALID = 3
DENY_THRESHOLD_VALID = 3
DENY_THRESHOLD_ROOT = 1
DENY_THRESHOLD_RESTRICTED = 1


What is the value of DAEMON_SLEEP?




Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Jan 22, 2009 at 7:58 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U


snip



 Check for USB_SUSPEND in /proc/config.gz
 I do not have a /proc/config.gz but i have this in /boot/config:

 CONFIG_USB_SUSPEND=y

 Are you sure you're running a kernel with that configured?  Why not
 enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
 .config support.  Obviously it adds more to your kernel images but it
 makes tracking down problems like this very easy.  I too have a usb
 keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
 those interfaces...  Heck, unless you're 100% opposed to turning on
 kernel .config support (or can't reboot the server), turn it on,
 recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
 see what powertop says.

 I was trying to chase down a similar problem (disabling kernel options)
 when I was getting vmalloc() errors with xfs and I discovered that they
 always weren't taking affect.  My guess was I rebooted before cache
 could be written to disk.
 
 Hi,
 
 I actually had it enabled in my kernel, but as a module, and I have
 never used it before so I didn't even realize it was there. I had to
 dig a little to find out that modprobe configs is what I needed to
 turn it on. I have this section:
 
 #
 # Miscellaneous USB options
 #
 CONFIG_USB_DEVICEFS=y
 # CONFIG_USB_DEVICE_CLASS is not set
 # CONFIG_USB_DYNAMIC_MINORS is not set
 CONFIG_USB_SUSPEND=y
 # CONFIG_USB_OTG is not set
 # CONFIG_USB_MON is not set
 # CONFIG_USB_WUSB is not set
 # CONFIG_USB_WUSB_CBAF is not set
 
 So it appears I do have it properly configured, at least.
 
 Is there any way to tell whether or not a device is suspended, or if
 autosuspend is kicking in? I don't know what's it's supposed to do,
 really. Does the fact that I'm using a desktop computer mean that
 there's a chance USB suspend isn't even available?

Ok, now I'm confused.  USB_SUSPEND can't be configured as a module, so I
have no idea what you're talking about.  I apparently don't have it
configured on this machine (shame on me) so I'm recompiling right now,
I'll reboot and let you know so I can help more.

  Again though, the only way I'm 100% sure *anything* is in my running
kernel is by checking /proc/config.gz.  Granted that's not even 100%
because there are plenty of times I just add modules and don't install
the new kernel.


-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: cnn.com flash videos crash firefox

2009-01-22 Thread Nikos Chantziaras

Grant wrote:

Do cnn.com videos *not* crash for anyone with the latest Firefox?
This one for example:

http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html


The videos play fine here.  I'm on AMD64, 
www-client/mozilla-firefox-3.0.5 and net-www/netscape-flash-10.0.21.1_alpha.





Re: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 10:06 AM, Nikos Chantziaras rea...@arcor.de wrote:
 Paul Hartman wrote:

 On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de
 wrote:

 Can you check the logs to see the timespan in which those hundreds of
 attempts took place?  Also, what's the time interval Denyhosts checks for
 login attempts?

 The most recently denied host from this afternoon made over 200 login
 attempts in a span of 17 minutes before denyhosts caught it. In my
 denyhosts.conf I have these:

 DENY_THRESHOLD_INVALID = 3
 DENY_THRESHOLD_VALID = 3
 DENY_THRESHOLD_ROOT = 1
 DENY_THRESHOLD_RESTRICTED = 1

 What is the value of DAEMON_SLEEP?

###
#
# DAEMON_SLEEP: when DenyHosts is run in daemon mode (--daemon flag)
# this is the amount of time DenyHosts will sleep between polling
# the SECURE_LOG.  See the comments in the PURGE_DENY section (above)
# for details on specifying this value or for complete details
# refer to:http://denyhosts.sourceforge.net/faq.html#timespec
#
#
DAEMON_SLEEP = 30s



Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 10:10 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Thu, Jan 22, 2009 at 7:58 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U


 snip



 Check for USB_SUSPEND in /proc/config.gz
 I do not have a /proc/config.gz but i have this in /boot/config:

 CONFIG_USB_SUSPEND=y

 Are you sure you're running a kernel with that configured?  Why not
 enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
 .config support.  Obviously it adds more to your kernel images but it
 makes tracking down problems like this very easy.  I too have a usb
 keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
 those interfaces...  Heck, unless you're 100% opposed to turning on
 kernel .config support (or can't reboot the server), turn it on,
 recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
 see what powertop says.

 I was trying to chase down a similar problem (disabling kernel options)
 when I was getting vmalloc() errors with xfs and I discovered that they
 always weren't taking affect.  My guess was I rebooted before cache
 could be written to disk.

 Hi,

 I actually had it enabled in my kernel, but as a module, and I have
 never used it before so I didn't even realize it was there. I had to
 dig a little to find out that modprobe configs is what I needed to
 turn it on. I have this section:

 #
 # Miscellaneous USB options
 #
 CONFIG_USB_DEVICEFS=y
 # CONFIG_USB_DEVICE_CLASS is not set
 # CONFIG_USB_DYNAMIC_MINORS is not set
 CONFIG_USB_SUSPEND=y
 # CONFIG_USB_OTG is not set
 # CONFIG_USB_MON is not set
 # CONFIG_USB_WUSB is not set
 # CONFIG_USB_WUSB_CBAF is not set

 So it appears I do have it properly configured, at least.

 Is there any way to tell whether or not a device is suspended, or if
 autosuspend is kicking in? I don't know what's it's supposed to do,
 really. Does the fact that I'm using a desktop computer mean that
 there's a chance USB suspend isn't even available?

 Ok, now I'm confused.  USB_SUSPEND can't be configured as a module, so I
 have no idea what you're talking about.  I apparently don't have it
 configured on this machine (shame on me) so I'm recompiling right now,
 I'll reboot and let you know so I can help more.

  Again though, the only way I'm 100% sure *anything* is in my running
 kernel is by checking /proc/config.gz.  Granted that's not even 100%
 because there are plenty of times I just add modules and don't install
 the new kernel.

No no no, sorry for not being clearer. I had /proc/config.gz support
compiled as a module. Once I did modprobe configs it was available
for me to look at.



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 Oh, noes!

 I am sorry to tell you that your computer is a redneck republican, and this
 is why it's crashing.

Oh I get it, the computer doesn't want me to see the Obama video.  Yes
that's funny.

- Grant

 The only cure is to format the hard-drive.  :(



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 Oh, noes!

 I am sorry to tell you that your computer is a redneck republican, and
 this is why it's crashing.

 The only cure is to format the hard-drive.  :(

 While that is humorous, it doesn't make sense.  That's an Obama link.

 Anyway, I'm getting this in the terminal:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and I'm re-emerging totem, xulrunner, and firefox to see if that fixes it.

 - Grant



 Humm, Firefox isn't crashing for me, but I'm also not seeing a video
 at this link. What am I supposed to play?

 - Mark

Sorry, I blew it with that link.  Any cnn.com video will work.

- Grant



RE: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread James Homuth
 

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Nikos Chantziaras
Sent: January 22, 2009 11:07 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Why isn't sshd blocking repeated failed login
attempts?

Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de
wrote:
 Can you check the logs to see the timespan in which those hundreds of 
 attempts took place?  Also, what's the time interval Denyhosts checks 
 for login attempts?
 
 The most recently denied host from this afternoon made over 200 login 
 attempts in a span of 17 minutes before denyhosts caught it. In my 
 denyhosts.conf I have these:
 
 DENY_THRESHOLD_INVALID = 3
 DENY_THRESHOLD_VALID = 3
 DENY_THRESHOLD_ROOT = 1
 DENY_THRESHOLD_RESTRICTED = 1

What is the value of DAEMON_SLEEP?


Denyhosts doesn't pick up on certain types of PAM auth regular expressions.
If any of those appear in your logs during those 200+ attempts, Denyhosts is
probably not reading them. I've already reported it
(http://bugs.gentoo.org/show_bug.cgi?id=248047) if you want to add anything
to it.




Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Grant
 I recently switched from firefox-bin and nspluginwrapper to 64-bit
 firefox and the latest flash, and I just realized java no longer
 works.  Do I need to go back to firefox-bin and nspluginwrapper for
 java to work?

 Which java are you using? Sun's java didn't have a 64-bit browser
 plug-in until very recently.

 http://blogs.sun.com/joshis/entry/finally_it_s_here_java

That sounds great.  Is it set up in portage yet?  If so, can you tell
me a package name?

- Grant



Re: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 10:37 AM, James Homuth ja...@the-jdh.com wrote:


 -Original Message-
 From: news [mailto:n...@ger.gmane.org] On Behalf Of Nikos Chantziaras
 Sent: January 22, 2009 11:07 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Re: Why isn't sshd blocking repeated failed login
 attempts?

 Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de
 wrote:
 Can you check the logs to see the timespan in which those hundreds of
 attempts took place?  Also, what's the time interval Denyhosts checks
 for login attempts?

 The most recently denied host from this afternoon made over 200 login
 attempts in a span of 17 minutes before denyhosts caught it. In my
 denyhosts.conf I have these:

 DENY_THRESHOLD_INVALID = 3
 DENY_THRESHOLD_VALID = 3
 DENY_THRESHOLD_ROOT = 1
 DENY_THRESHOLD_RESTRICTED = 1

 What is the value of DAEMON_SLEEP?


 Denyhosts doesn't pick up on certain types of PAM auth regular expressions.
 If any of those appear in your logs during those 200+ attempts, Denyhosts is
 probably not reading them. I've already reported it
 (http://bugs.gentoo.org/show_bug.cgi?id=248047) if you want to add anything
 to it.

I don't use PAM in sshd so I don't think that's my problem, but the
whole regexp thing is a possiblity in general as someone else
suggested. I will check into it tonight after work.

Thanks,

Paul



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Mark Knecht
On Thu, Jan 22, 2009 at 8:34 AM, Grant emailgr...@gmail.com wrote:
 Do cnn.com videos *not* crash for anyone with the latest Firefox?
 This one for example:

 http://www.cnn.com/2009/POLITICS/01/20/white.house.website/index.html

 Oh, noes!

 I am sorry to tell you that your computer is a redneck republican, and
 this is why it's crashing.

 The only cure is to format the hard-drive.  :(

 While that is humorous, it doesn't make sense.  That's an Obama link.

 Anyway, I'm getting this in the terminal:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and I'm re-emerging totem, xulrunner, and firefox to see if that fixes it.

 - Grant



 Humm, Firefox isn't crashing for me, but I'm also not seeing a video
 at this link. What am I supposed to play?

 - Mark

 Sorry, I blew it with that link.  Any cnn.com video will work.

 - Grant


OK, the videos play fine for me but I'm not getting any sound. I see
suspicious stuff in my terminal about sound though:

m...@lightning ~ $ firefox
which: no soundwrapper in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin)
which: no soundwrapper in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin)
Gtk-Message: Failed to load module gnomebreakpad:
libgnomebreakpad.so: cannot open shared object file: No such file or
directory
*** NSPlugin Viewer  *** WARNING: unhandled variable 17 in NPN_GetValue()
*** NSPlugin Viewer  *** WARNING: unhandled variable 17 in NPN_GetValue()

(npviewer.bin:7938): Gtk-CRITICAL **: gtk_style_detach: assertion
`style-attach_count  0' failed

That's probably fixable if I took the time to check USE flags, etc.

- Mark



Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 10:40 AM, Grant emailgr...@gmail.com wrote:
 I recently switched from firefox-bin and nspluginwrapper to 64-bit
 firefox and the latest flash, and I just realized java no longer
 works.  Do I need to go back to firefox-bin and nspluginwrapper for
 java to work?

 Which java are you using? Sun's java didn't have a 64-bit browser
 plug-in until very recently.

 http://blogs.sun.com/joshis/entry/finally_it_s_here_java

 That sounds great.  Is it set up in portage yet?  If so, can you tell
 me a package name?

Not that I know of, it hasn't been released yet (still beta). I've
read on the www that you can extract just the libnpjp2.so file from
the archive and drop it in on top of your current sun-jre
installation, then make a symlink to it your firefox plugins
directory. I haven't actually tried it as I can't remember the last
time I ran into java on the web.



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Paul Hartman
On Wed, Jan 21, 2009 at 9:07 PM, Grant emailgr...@gmail.com wrote:
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that helps.



Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Grant
 I recently switched from firefox-bin and nspluginwrapper to 64-bit
 firefox and the latest flash, and I just realized java no longer
 works.  Do I need to go back to firefox-bin and nspluginwrapper for
 java to work?

 Which java are you using? Sun's java didn't have a 64-bit browser
 plug-in until very recently.

 http://blogs.sun.com/joshis/entry/finally_it_s_here_java

 That sounds great.  Is it set up in portage yet?  If so, can you tell
 me a package name?

 Not that I know of, it hasn't been released yet (still beta). I've
 read on the www that you can extract just the libnpjp2.so file from
 the archive and drop it in on top of your current sun-jre
 installation, then make a symlink to it your firefox plugins
 directory. I haven't actually tried it as I can't remember the last
 time I ran into java on the web.

Thank you, I'll keep an eye on that.

- Grant



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Norberto Bensa
On Thu, Jan 22, 2009 at 2:56 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Jan 21, 2009 at 9:07 PM, Grant emailgr...@gmail.com wrote:
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

 Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that helps.

+1

I was having the same problem now that I remember. The setting above fixed it.



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 11:11 AM, James Homuth ja...@the-jdh.com wrote:
 For almost a year now I've had PAM, not by choice really, on my server.
 Mostly because I've been pretty much told if it came with, it's better not
 to remove it. But to be blunt, I'm getting more than a little irritated with
 its attempts to interfere with my attempts to configuring any program with
 an optional PAM plugin. Will my system blow up at me if I remove PAM? And,
 if no, I assume I can just do so by specifying -pam in make.conf, and then
 rebuilding things as necessary?

I haven't tried it, but here is a wiki article about removing PAM:

http://www.gentoo-wiki.info/HOWTO_Remove_PAM

good luck :)
Paul



Re: [gentoo-user] 64-bit Firefox + java?

2009-01-22 Thread Volker Armin Hemmann
On Donnerstag 22 Januar 2009, Grant wrote:
  I recently switched from firefox-bin and nspluginwrapper to 64-bit
  firefox and the latest flash, and I just realized java no longer
  works.  Do I need to go back to firefox-bin and nspluginwrapper for
  java to work?
 
  Which java are you using? Sun's java didn't have a 64-bit browser
  plug-in until very recently.
 
  http://blogs.sun.com/joshis/entry/finally_it_s_here_java
 
  That sounds great.  Is it set up in portage yet?  If so, can you tell
  me a package name?
 
  Not that I know of, it hasn't been released yet (still beta). I've
  read on the www that you can extract just the libnpjp2.so file from
  the archive and drop it in on top of your current sun-jre
  installation, then make a symlink to it your firefox plugins
  directory. I haven't actually tried it as I can't remember the last
  time I ran into java on the web.

 Thank you, I'll keep an eye on that.

 - Grant

or just use konqueror which does not need java-plugin to displayuse java 
since it can use java directly.




Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

 Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that helps.

Unfortunately that didn't fix it.  I researched my error:

$ firefox
LoadPlugin: failed to initialize shared library
/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
[/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
symbol: _ZN13nsTArray_base9sEmptyHdrE]
Killed

and it sounds like it might have to do with having epiphany and
firefox installed so I removed epiphany and re-emerged firefox,
xulrunner, and totem with the same result.  Do you guys have xulrunner
enabled for firefox?  I removed it and tried to re-emerge firefox but
I got:

 * Detected file collision(s):
 *
 *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
 *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-libs/xulrunner-1.9.0.5
 *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
 *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
 *
 * Package 'www-client/mozilla-firefox-3.0.5' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

- Grant



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Willie Wong
On Wed, Jan 21, 2009 at 02:39:32AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
  Also, what is this MTRR cleanup option? I can't seem to find it?
 
 are you using a recent kernel? 2.6.27 or 28?

Sorry for the late reply, I was having some problems with my mail.

I am using 2.6.26 right now. I guess that is the problem. Let me try a
more recent one and report back.

W
-- 
Pintsize: Data packets instead of pheromones!
Sortir en Pantoufles: up 776 days, 17:04



Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

 Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that 
 helps.

 Unfortunately that didn't fix it.  I researched my error:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and it sounds like it might have to do with having epiphany and
 firefox installed so I removed epiphany and re-emerged firefox,
 xulrunner, and totem with the same result.  Do you guys have xulrunner
 enabled for firefox?  I removed it and tried to re-emerge firefox but
 I got:

  * Detected file collision(s):
  *
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Searching all installed packages for file collisions...
  *
  * Press Ctrl-C to Stop
  *
  * net-libs/xulrunner-1.9.0.5
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Package 'www-client/mozilla-firefox-3.0.5' NOT merged due to file
  * collisions. If necessary, refer to your elog messages for the whole
  * content of the above message.

 - Grant

I'm getting a very similar error with mozilla-firefox -xulrunner:

$ firefox
LoadPlugin: failed to initialize shared library
/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
[/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
symbol: _ZN13nsTArray_base9sEmptyHdrE]
/usr/lib64/mozilla-firefox/run-mozilla.sh: line 131: 21696 Killed
$prog ${1+$@}

- Grant



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Willie Wong
On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
 don't do it. Just don't do that. It should not be necessary. Instead look at 
 the mtrr cleanup options in make menuconfig.

Sorry, but this does not help. I have that after I terminate X, the
following line on the console:

error setting MTRR (base = 0xe800, size = 0x0200, type = 1) Invalid 
argument (22)

and the following

e-nibbles wwong # dmesg | tail -n 5
pci :01:00.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 1 usecs
mtrr: no MTRR for e800,200 found
e-nibbles wwong # zgrep -i mtrr /proc/config.gz
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
e-nibbles wwong # uname -a
Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) 
Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux


Is there anything I misconfigured? 

Any other ideas?

Thanks, 

W
-- 
And wow! Hey! What's this thing coming towards me very 
fast? Very very fast. So big and flat and round, it needs a 
big wide sounding word like... ow... ound... round... 
ground! That's it! That's a good name - ground!
I wonder if it will be friends with me? 

- For the sperm whale, it wasn't. 
Sortir en Pantoufles: up 776 days, 18:35



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Justin
Willie Wong schrieb:
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
 squawked:
   
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
   Recently when I quit the X server, the following can be seen in the
   sys log:

 Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found

   and on the TTY where I issued X init, a similar message is shown,
   but the message is not echoed in /var/log/Xorg.0.log

   
 don't do it. Just don't do that. It should not be necessary. Instead look at 
 the mtrr cleanup options in make menuconfig.
 

 Sorry, but this does not help. I have that after I terminate X, the
 following line on the console:

 error setting MTRR (base = 0xe800, size = 0x0200, type = 1) Invalid 
 argument (22)

 and the following

 e-nibbles wwong # dmesg | tail -n 5
 pci :01:00.0: putting AGP V2 device into 4x mode
 [drm] Setting GART location based on new memory map
 [drm] Loading R200 Microcode
 [drm] writeback test succeeded in 1 usecs
 mtrr: no MTRR for e800,200 found
 e-nibbles wwong # zgrep -i mtrr /proc/config.gz
 CONFIG_MTRR=y
 CONFIG_MTRR_SANITIZER=y
 CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
 e-nibbles wwong # uname -a
 Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) 
 Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux


 Is there anything I misconfigured? 

 Any other ideas?

 Thanks, 

 W
   
I read something about booting with mtrr_cleanup_debug debug in the
command line. This will print you out what to set in mtrr_chunk_size in
the commandline. Didn't test it but check that.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 12:20 PM, Grant emailgr...@gmail.com wrote:
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

 Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that 
 helps.

 Unfortunately that didn't fix it.  I researched my error:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and it sounds like it might have to do with having epiphany and
 firefox installed so I removed epiphany and re-emerged firefox,
 xulrunner, and totem with the same result.  Do you guys have xulrunner
 enabled for firefox?  I removed it and tried to re-emerge firefox but
 I got:

  * Detected file collision(s):
  *
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Searching all installed packages for file collisions...
  *
  * Press Ctrl-C to Stop
  *
  * net-libs/xulrunner-1.9.0.5
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Package 'www-client/mozilla-firefox-3.0.5' NOT merged due to file
  * collisions. If necessary, refer to your elog messages for the whole
  * content of the above message.

I use xulrunner, don't have epiphany. Here are my firefox USE flags:

www-client/mozilla-firefox-3.0.5  USE=dbus ipv6 java mozdevelop
startup-notification xulrunner -bindist -custom-optimization -gnome
-iceweasel -restrict-javascript

And in fact I don't have any totem stuff at all.
libtotem-complex-plugin.so may be completely unrelated to your flash
problems.



Re: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-22 Thread Mick
On Wednesday 21 January 2009, Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 11:53 AM, Nikos Chantziaras rea...@arcor.de wrote:
  Paul Hartman wrote:

 The most recently denied host from this afternoon made over 200 login
 attempts in a span of 17 minutes before denyhosts caught it.

You may want to have a look at fail2ban.  I recall it kicks in much faster.

However, the best approach to this would probably be to use iptables and set a 
limit as to how many connections an unknown host could start.
-- 
Regards,
Mick


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


Re: [gentoo-user] 2.6.28-gentoo sources quite sluggish on Dell Inspiron 8100 / 1GHz PIII

2009-01-22 Thread Dale
Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 9:05 PM, Dale rdalek1...@gmail.com wrote:
   
 Volker Armin Hemmann wrote:
 
 On Donnerstag 22 Januar 2009, Dan Farrell wrote:

   
 Hi all,

 I recently updated my dell Inspirion 8100's software after I found to
 my suprise I could no longer play video fast enough to watch.  I did a
 kernel upgrade from 2.6.24 to 2.6.28, with a number of
 reconfigurations, including moving from madwifi to in-kernel ath5k.
 Also updated nvidia-drivers to go along with the new system.

 Now my system is extremely sluggish.  It updates the screen very slowly
 in X and CPU performance is noticably slower without X running too.
 WiFi speed is dismal.

 I tried to remove all cruft and extras from the kernel, but I haven't
 managed to improve matters yet.  Since it now takes hours to update the
 system, I was hoping someone might have and idea as to what the cause
 of the slowdown might be.

 Sound Familiar?  Any guesses?

 
 group scheduling? get rid of it.




   
 I have been using 2.6.23 kernel for a while for the same reason.  I'm
 going to check my config now.

 Dale
 

 On my laptop it is noticeably sluggish when using SLUB instead of SLAB
 (despite SLUB being the default, I find it to be worse every time I've
 tried it so far)


   


Is there a howto for this sort of thing?  From what I read here and
other places, some laptops are really confusing but there are even
desktops that have issues with some new features.  How does one get a
idea of what they should try?  I remember a list ages ago when I first
installed Gentoo that has a list of CPUs andsome of the options a person
could put in make.conf.  I think we need one of those, maybe on a wiki
or something, that lists models and what setting really work.  I think
laptops would really benefit from this.  I have never had a laptop but
they seem to be tricky to be nice about it.

Dale

:-)  :-) 



Re: [gentoo-user] 2.6.28-gentoo sources quite sluggish on Dell Inspiron 8100 / 1GHz PIII

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 3:35 PM, Dale rdalek1...@gmail.com wrote:
 Paul Hartman wrote:
 On Wed, Jan 21, 2009 at 9:05 PM, Dale rdalek1...@gmail.com wrote:

 Volker Armin Hemmann wrote:

 On Donnerstag 22 Januar 2009, Dan Farrell wrote:


 Hi all,

 I recently updated my dell Inspirion 8100's software after I found to
 my suprise I could no longer play video fast enough to watch.  I did a
 kernel upgrade from 2.6.24 to 2.6.28, with a number of
 reconfigurations, including moving from madwifi to in-kernel ath5k.
 Also updated nvidia-drivers to go along with the new system.

 Now my system is extremely sluggish.  It updates the screen very slowly
 in X and CPU performance is noticably slower without X running too.
 WiFi speed is dismal.

 I tried to remove all cruft and extras from the kernel, but I haven't
 managed to improve matters yet.  Since it now takes hours to update the
 system, I was hoping someone might have and idea as to what the cause
 of the slowdown might be.

 Sound Familiar?  Any guesses?


 group scheduling? get rid of it.





 I have been using 2.6.23 kernel for a while for the same reason.  I'm
 going to check my config now.

 Dale


 On my laptop it is noticeably sluggish when using SLUB instead of SLAB
 (despite SLUB being the default, I find it to be worse every time I've
 tried it so far)





 Is there a howto for this sort of thing?  From what I read here and
 other places, some laptops are really confusing but there are even
 desktops that have issues with some new features.  How does one get a
 idea of what they should try?  I remember a list ages ago when I first
 installed Gentoo that has a list of CPUs andsome of the options a person
 could put in make.conf.  I think we need one of those, maybe on a wiki
 or something, that lists models and what setting really work.  I think
 laptops would really benefit from this.  I have never had a laptop but
 they seem to be tricky to be nice about it.

I think, other than power-saving stuff, there shouldn't really be any
big difference between desktop and laptop settings...

http://linuxonlaptops.com has lots of info about specific
configurations for various laptops.



[gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior

2009-01-22 Thread Grant
Since upgrading to firefox-3.0, double-click-to-highlight behavior has
changed.  Double-clicking a word doesn't highlight the entire word any
more, it stops at dashes and underscores.  Does anyone know how to
change this behavior?

- Grant



Re: [gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 5:02 PM, Grant emailgr...@gmail.com wrote:
 Since upgrading to firefox-3.0, double-click-to-highlight behavior has
 changed.  Double-clicking a word doesn't highlight the entire word any
 more, it stops at dashes and underscores.  Does anyone know how to
 change this behavior?

I don't remember it ever working any other way. Seamonkey and Firefox
both behave the same on linux  windows in my test just now.



Re: [gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior

2009-01-22 Thread Andrew Gaydenko
On Friday 23 January 2009 02:08:25 Paul Hartman wrote:
 On Thu, Jan 22, 2009 at 5:02 PM, Grant emailgr...@gmail.com wrote:
  Since upgrading to firefox-3.0, double-click-to-highlight behavior has
  changed.  Double-clicking a word doesn't highlight the entire word any
  more, it stops at dashes and underscores.  Does anyone know how to
  change this behavior?

 I don't remember it ever working any other way. Seamonkey and Firefox
 both behave the same on linux  windows in my test just now.

I remember - dots are interpreting as words delimiter now also.



Re: [gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior

2009-01-22 Thread Paul Hartman
On Thu, Jan 22, 2009 at 5:02 PM, Grant emailgr...@gmail.com wrote:
 Since upgrading to firefox-3.0, double-click-to-highlight behavior has
 changed.  Double-clicking a word doesn't highlight the entire word any
 more, it stops at dashes and underscores.  Does anyone know how to
 change this behavior?

Found it for you. Go to about:config

layout.word_select.stop_at_punctuation



Re: [gentoo-user] {OT} firefox-3.0 double-click-to-highlight behavior

2009-01-22 Thread Grant
 Since upgrading to firefox-3.0, double-click-to-highlight behavior has
 changed.  Double-clicking a word doesn't highlight the entire word any
 more, it stops at dashes and underscores.  Does anyone know how to
 change this behavior?

 Found it for you. Go to about:config

 layout.word_select.stop_at_punctuation

Thank you very much.

- Grant



[gentoo-user] shoutcast problem 64bit gentoo

2009-01-22 Thread Wojtek Dalętka
Hi,
I've just installed 64bit gentoo on one of these machines:
http://www.ovh.pl/produkty/eg_best_of.xml

Everything is fine. I use hardened profile, Pax, firewall ect, but I've
got problem with ...running a shoutcast server.
I didn't find answer on winamp.com forum and google.

It's exactly the same problem like here:
http://forums.winamp.com/printthread.php?s=48cd69919741579a3c1e4a8b0ac3e38bthreadid=229419

At my server it goes this way:

gentoo shoutcast # pwd
/home/something/shoutcast
gentoo shoutcast # file *
logs: directory
sc_serv:  ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
sc_serv8002.conf: ASCII English text, with CRLF, LF line terminators
gentoo shoutcast # strace ./sc_serv
execve(./sc_serv, [./sc_serv], [/* 26 vars */]) = -1 ENOENT (No such
file or directory)
dup(2)  = 3
fcntl(3, F_GETFL)   = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x708341026000
lseek(3, 0, SEEK_CUR)   = -1 ESPIPE (Illegal seek)
write(3, strace: exec: No such file or dir..., 40strace: exec: No such
file or directory
) = 40
close(3)= 0
munmap(0x708341026000, 4096)= 0
exit_group(1)   = ?

gentoo shoutcast # /etc/init.d/shoutcast start
 * Starting Shoutcast Server ...

[ ok ]
gentoo shoutcast # /sbin/start-stop-daemon: Unable to start
/opt/shoutcast/sc_serv: No such file or directory (No such file or
directory)

The problem is that shoutcast is 32 bit and system is 64 bit (and I
think it should be 64 @ this machine).
I've tried to follow these tips from the forum but it didn't help me.

Can you help me?


Wojtek



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Neil Bothwick
On Thu, 22 Jan 2009 12:11:12 -0500, James Homuth wrote:

  Will my system blow up at me if I remove PAM? And,
 if no, I assume I can just do so by specifying -pam in make.conf, and
 then rebuilding things as necessary?

That's pretty much what I did. Nothing's blown up... yet.


-- 
Neil Bothwick

The sum of all human intelligence is constant, only the number of humans
increases.


signature.asc
Description: PGP signature


Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Dake Wang
It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
I got both as on my box as the gspca driver for my web camera seems only
worked on the 2.6.26 kernel.


On Thu, Jan 22, 2009 at 11:58 AM, Justin jus...@j-schmitz.net wrote:

 Willie Wong schrieb:
  On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin
 Hemmann squawked:
 
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
 
  don't do it. Just don't do that. It should not be necessary. Instead
 look at
  the mtrr cleanup options in make menuconfig.
 
 
  Sorry, but this does not help. I have that after I terminate X, the
  following line on the console:
 
  error setting MTRR (base = 0xe800, size = 0x0200, type = 1)
 Invalid argument (22)
 
  and the following
 
  e-nibbles wwong # dmesg | tail -n 5
  pci :01:00.0: putting AGP V2 device into 4x mode
  [drm] Setting GART location based on new memory map
  [drm] Loading R200 Microcode
  [drm] writeback test succeeded in 1 usecs
  mtrr: no MTRR for e800,200 found
  e-nibbles wwong # zgrep -i mtrr /proc/config.gz
  CONFIG_MTRR=y
  CONFIG_MTRR_SANITIZER=y
  CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
  CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
  e-nibbles wwong # uname -a
  Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R)
 Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
 
 
  Is there anything I misconfigured?
 
  Any other ideas?
 
  Thanks,
 
  W
 
 I read something about booting with mtrr_cleanup_debug debug in the
 command line. This will print you out what to set in mtrr_chunk_size in
 the commandline. Didn't test it but check that.




Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Norberto Bensa
On Thu, Jan 22, 2009 at 3:11 PM, James Homuth ja...@the-jdh.com wrote:
 I'm getting more than a little irritated with
 its attempts to interfere with my attempts to configuring any program with
 an optional PAM plugin.

What's so bad/hard about pam that everyone wants to remove it?

Maybe if you ask for directions you'll end up learning pam. Hiding the
problem under the carpet pretending you're doing the right thing is
not the best you can do.



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Norberto Bensa wrote:
 On Thu, Jan 22, 2009 at 3:11 PM, James Homuth ja...@the-jdh.com wrote:
  I'm getting more than a little irritated with
  its attempts to interfere with my attempts to configuring any program
  with an optional PAM plugin.

 What's so bad/hard about pam that everyone wants to remove it?

 Maybe if you ask for directions you'll end up learning pam. Hiding the
 problem under the carpet pretending you're doing the right thing is
 not the best you can do.

what is so good/usefull about pam that one shall keep it?




Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Norberto Bensa

Quoting Volker Armin Hemmann volkerar...@googlemail.com:


On Freitag 23 Januar 2009, Norberto Bensa wrote:



What's so bad/hard about pam that everyone wants to remove it?



what is so good/usefull about pam that one shall keep it?



Doesn't asnwer the question.


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





[gentoo-user] Laptop Lid Close...

2009-01-22 Thread BRM
I'm running a Dell D600, and I've located a number of tools for it but I am not 
seeing anything related to when I close the lid. Since I got Gentoo running on 
it, the Monitor continues running when I close the lid.

I've found several sources for doing something as an ACPI event, which seems to 
be the right method. I can toggle the button with the lid open and cat 
/etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; 
and I know I could write myself a little script do something like calling 
radeontool to turn off the backlight, but I'd like to find a more official 
method.

I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out 
and all), but I didn't see anything for a 'turn off monitor on lid close' 
setting (preferrably root controlled so that it affects all users). The only 
thing I can find is a the standby/suspend/shutdown/logoff, system performance, 
and CPU throttling. I don't really want to do any of that - just put the 
monitor into stand-by, not necessarily the whole system.

Any how...I'd really like to get this working.

TIA,

Ben




[gentoo-user] Deleted my kernel .config

2009-01-22 Thread Grant
Well, I deleted my kernel .config.  Is there any way to magically
re-create it from the compiled kernel image or any other way?

- Grant



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Crob
Grant:
 Well, I deleted my kernel .config.  Is there any way to magically
 re-create it from the compiled kernel image or any other way?

 - Grant


   

yes if you had selected 'kernel .config support' when you made the
kernel. that's in the 'General setup'.
if you did that you'll find /proc/config.gz over there.



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Saphirus Sage
You could look for the .config files from earlier kernels, unless  
you've cleared out all your directories except the one with the most- 
recent release.


On Jan 22, 2009, at 9:12 PM, Grant emailgr...@gmail.com wrote:


Well, I deleted my kernel .config.  Is there any way to magically
re-create it from the compiled kernel image or any other way?

- Grant





Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Grant
 Well, I deleted my kernel .config.  Is there any way to magically
 re-create it from the compiled kernel image or any other way?

 - Grant




 yes if you had selected 'kernel .config support' when you made the
 kernel. that's in the 'General setup'.
 if you did that you'll find /proc/config.gz over there.

I do have /proc/config.gz, but when I move it to
/usr/src/2.6.25-hardened-r13 and run 'make oldconfig' it comes up with
many differences.  I'm booted into 2.6.25-hardened-r11 and there
shouldn't be any config differences between that and r13.  Does anyone
know what's going on here?

- Grant



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Norberto Bensa wrote:
 Quoting Volker Armin Hemmann volkerar...@googlemail.com:
  On Freitag 23 Januar 2009, Norberto Bensa wrote:
  What's so bad/hard about pam that everyone wants to remove it?
 
  what is so good/usefull about pam that one shall keep it?

 Doesn't asnwer the question.

ok, the answer to your question is:
in the past pam breakage caused login trouble, apps not working because of 
suddenly changed device permissions and other difficulties. Also rule one of 
computer security:
reduce the codebase

so, could you please answer mine now:
why should pam be used in the first place on a usual server/desktop which has 
restricted access anyway?



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Grant wrote:
 Well, I deleted my kernel .config.  Is there any way to magically
 re-create it from the compiled kernel image or any other way?

 - Grant

ls /boot

ls /boot
boot config-2.6.28r4.old  grubmemtest86plus  
System.map-2.6.28r4  System.map.old  vmlinuz-2.6.28r4  vmlinuz.old
config-2.6.28r4  dmesg_fsck_segfault  lost+found  System.map 
System.map-2.6.28r4.old  vmlinuz vmlinuz-2.6.28r4.old

config - there it is!

there are good reasons to use debianutils+make install to install new kernels 




Re: [gentoo-user] cnn.com flash videos crash firefox

2009-01-22 Thread Grant
 Do cnn.com videos *not* crash for anyone with the latest Firefox?

 Edit /etc/adobe/mms.cfg and set WindowlessDisable = 1 and see if that 
 helps.

 Unfortunately that didn't fix it.  I researched my error:

 $ firefox
 LoadPlugin: failed to initialize shared library
 /usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so
 [/usr/lib64/nsbrowser/plugins/libtotem-complex-plugin.so: undefined
 symbol: _ZN13nsTArray_base9sEmptyHdrE]
 Killed

 and it sounds like it might have to do with having epiphany and
 firefox installed so I removed epiphany and re-emerged firefox,
 xulrunner, and totem with the same result.  Do you guys have xulrunner
 enabled for firefox?  I removed it and tried to re-emerge firefox but
 I got:

  * Detected file collision(s):
  *
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Searching all installed packages for file collisions...
  *
  * Press Ctrl-C to Stop
  *
  * net-libs/xulrunner-1.9.0.5
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/platform.js
  *  /usr/lib64/mozilla-firefox/defaults/autoconfig/prefcalls.js
  *
  * Package 'www-client/mozilla-firefox-3.0.5' NOT merged due to file
  * collisions. If necessary, refer to your elog messages for the whole
  * content of the above message.

 I use xulrunner, don't have epiphany. Here are my firefox USE flags:

 www-client/mozilla-firefox-3.0.5  USE=dbus ipv6 java mozdevelop
 startup-notification xulrunner -bindist -custom-optimization -gnome
 -iceweasel -restrict-javascript

 And in fact I don't have any totem stuff at all.
 libtotem-complex-plugin.so may be completely unrelated to your flash
 problems.

This was a hardened issue.  I just needed to issue 'paxctl -m
/usr/lib64/mozilla-firefox/firefox'.  Thanks again.

- Grant



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Norberto Bensa
On Fri, Jan 23, 2009 at 1:03 AM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:

 in the past pam breakage caused login trouble,

In the past... Like when there's were not enough documentation or it
was too cryptic?


 so, could you please answer mine now:
 why should pam be used in the first place on a usual server/desktop which has
 restricted access anyway?

That was not your question. You redefined it, but I'll answer anyway:

PAM helps you to have a stackable authentication system like:

Kerberos
LDAP
Files

If kerberos is available use it. If not, try ldap, and if that fails
too, use files (passwd/shadow) Or you could combine the three
methods!! (but you'll have to type up to three passwords) Or maybe you
have a pendrive with a digital certificate you want to use to
authenticate privileged users. What about biometrics (fingerprints,
etc) combined with passwords and/or digital certificates?

About security. I fail to see how removing PAM will magically make
your system more secure.



Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Norberto Bensa wrote:
 On Fri, Jan 23, 2009 at 1:03 AM, Volker Armin Hemmann

 volkerar...@googlemail.com wrote:
  in the past pam breakage caused login trouble,

 In the past... Like when there's were not enough documentation or it
 was too cryptic?

  so, could you please answer mine now:
  why should pam be used in the first place on a usual server/desktop which
  has restricted access anyway?

 That was not your question. You redefined it, but I'll answer anyway:

 PAM helps you to have a stackable authentication system like:

 Kerberos
 LDAP
 Files

 If kerberos is available use it. If not, try ldap, and if that fails
 too, use files (passwd/shadow) Or you could combine the three
 methods!! (but you'll have to type up to three passwords) Or maybe you
 have a pendrive with a digital certificate you want to use to
 authenticate privileged users. What about biometrics (fingerprints,
 etc) combined with passwords and/or digital certificates?

so nothing 90% of all users ever use or need.


 About security. I fail to see how removing PAM will magically make
 your system more secure.

if you don't use any of that 'stackable' stuff or other features and you 
remove pam, you don't have to worry about pam securtiy problems.




Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Norberto Bensa
On Fri, Jan 23, 2009 at 1:43 AM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:

 so nothing 90% of all users ever use or need.

In a Linux only enrironmet? Yeah, perhaps. But what if you Linux box
runs in a Windows domain? What if your users are stored in AD?


 if you don't use any of that 'stackable' stuff or other features and you
 remove pam, you don't have to worry about pam securtiy problems.

When was the last time you've seen a SA about PAM? One of its plugins?

I'm not saying PAM is absolutely secure, but removing it will not make
your box more secure nor easier to configure.
On the other hand, learning PAM has its benefits.

Bye



[gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-22 Thread Grant Edwards
On 2009-01-21, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 21 Jan 2009 15:50:17 +, Nick Cunningham wrote:

 But, that doesn't really solve the problem, since after a
 reboot the /dev directory will be empty again and you end up
 with problems such as no console during startup.

 IIRC thats because /dev should be populated on startup by udev
 so i would check that udev is installed and working properly,
 if you use openrc then this could be the cause as openrc now
 starts udev through normal scripts i think, sometimes on
 upgrade from baselayout 1 they may not be automatically added
 to the right runlevels.

 You still need /dev/console in the dev directory of the root partition,
 along with /dev/null.

Try telling that to somebody in the Gentoo forum hiding behind
the screen name desultory.  Sheesh.  I reported the issue to
the forum thread as requested by the article on www.gentoo.org,
and I got a very hostile reaction.  Bascially I got a snide,
insulting response, a complete denial that there was a problem
with the tarball in question, and a denial that either
/dev/console or /dev/null is needed at boot time.

That's the last time I waste my time with that forum.  I should
have known. Web forums all suck.  Web forum UIs are all
completely abominable, and they seem to be inhabited almost
exclusively by surly, unjustifiably arrogant junior-high kids
hiding behind stupid screen names and even worse avatars.

 Anything else is a waste of disk space and inodes as the
 static /dev/devices are hidden as soon as udev starts.

Yup.

 If the tarball doesn't contain /dev/console it is broken, but
 it is also broken if it contains thousands of device entries. 

-- 
Grant





Re: [gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Grant Edwards wrote:
 On 2009-01-21, Neil Bothwick n...@digimed.co.uk wrote:
  On Wed, 21 Jan 2009 15:50:17 +, Nick Cunningham wrote:
  But, that doesn't really solve the problem, since after a
  reboot the /dev directory will be empty again and you end up
  with problems such as no console during startup.
 
  IIRC thats because /dev should be populated on startup by udev
  so i would check that udev is installed and working properly,
  if you use openrc then this could be the cause as openrc now
  starts udev through normal scripts i think, sometimes on
  upgrade from baselayout 1 they may not be automatically added
  to the right runlevels.
 
  You still need /dev/console in the dev directory of the root partition,
  along with /dev/null.

 Try telling that to somebody in the Gentoo forum hiding behind
 the screen name desultory.  Sheesh.  I reported the issue to
 the forum thread as requested by the article on www.gentoo.org,
 and I got a very hostile reaction.  Bascially I got a snide,
 insulting response, a complete denial that there was a problem
 with the tarball in question, and a denial that either
 /dev/console or /dev/null is needed at boot time.

 That's the last time I waste my time with that forum.  I should
 have known. Web forums all suck.  Web forum UIs are all
 completely abominable, and they seem to be inhabited almost
 exclusively by surly, unjustifiably arrogant junior-high kids
 hiding behind stupid screen names and even worse avatars.

  Anything else is a waste of disk space and inodes as the
  static /dev/devices are hidden as soon as udev starts.

 Yup.

  If the tarball doesn't contain /dev/console it is broken, but
  it is also broken if it contains thousands of device entries.

I have a server running that hets that null/console missing message every boot 
- and it does not hurt it at any way.




[gentoo-user] Howto share Linux swap partition with Windows XP

2009-01-22 Thread Grant Edwards
For reasons that probably aren't interesting, I needed to
eliminate the Windows XP swap file from the C: NTFS parition
of one of my multi-boot machines [no matter how cheap and fast
disks get, partitions still seem to fill up, and backups still
take too long]. 

That machine had a 2GB Linux swap partition. After googling for
a while, I found a very slick solution that lets Windows XP use
a Linux swap partition for swap/paging/vm/whatever-MS-calls-it:

  http://db.bme.hu/~surprof/SwapFs-i/

Maybe others who do a lot of multi-booting all know about
swapfs, but my finding it took quite a bit of searching and
chasing down useless google hits.  Next time I need to find it,
hopefully I'll be able to find this posting...

-- 
Grant




[gentoo-user] Re: Aborting due to QA concerns: textrels

2009-01-22 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Helmut Jarausch wrote:
 I found out the option is  '-stricter'
 This seems to be necessary for quite a lot of packages now.

FEATURES=stricter should not be enabled by default, and is not, unless
you are using one of the developer profiles - unless you *really* know
what you are doing, and are an ebuild developer, you almost definitely
do *not* want to be using a developer profile (unfortunately, there has
been much miscommunication on this issue).

To change your profile, use `eselect profile list` to see the available
profiles, and `eselect profile set name-or-number` to change your profile.

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl5Up8ACgkQOypDUo0oQOqjUwCgjj4HiYfRw8o22/jxvzUb9Xfs
T0kAmgK+s1H1dWt+kXrft6x3OtDWLKlU
=3Kgu
-END PGP SIGNATURE-




[gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-22 Thread Grant Edwards
On 2009-01-23, Volker Armin Hemmann volkerar...@googlemail.com wrote:

 If the tarball doesn't contain /dev/console it is broken, but
 it is also broken if it contains thousands of device entries.

 I have a server running that hets that null/console missing message every 
 boot 
 - and it does not hurt it at any way.

You are still able to see the output from all the init scripts?

-- 
Grant





Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dale
Volker Armin Hemmann wrote:
 On Freitag 23 Januar 2009, Grant wrote:
   
 Well, I deleted my kernel .config.  Is there any way to magically
 re-create it from the compiled kernel image or any other way?

 - Grant
 

 ls /boot

 ls /boot
 boot config-2.6.28r4.old  grubmemtest86plus  
 System.map-2.6.28r4  System.map.old  vmlinuz-2.6.28r4  vmlinuz.old
 config-2.6.28r4  dmesg_fsck_segfault  lost+found  System.map 
 System.map-2.6.28r4.old  vmlinuz vmlinuz-2.6.28r4.old

 config - there it is!

 there are good reasons to use debianutils+make install to install new kernels 
 


   

Or just copy .config over to /boot yourself.  I do that when I have a
stable kernel.

Dale

:-)  :-)



Re: [gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-22 Thread Volker Armin Hemmann
On Freitag 23 Januar 2009, Grant Edwards wrote:
 On 2009-01-23, Volker Armin Hemmann volkerar...@googlemail.com wrote:
  If the tarball doesn't contain /dev/console it is broken, but
  it is also broken if it contains thousands of device entries.
 
  I have a server running that hets that null/console missing message every
  boot - and it does not hurt it at any way.

 You are still able to see the output from all the init scripts?

yes




RE: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread James Homuth
 

-Original Message-
From: Neil Bothwick [mailto:n...@digimed.co.uk] 
Sent: January 22, 2009 7:16 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Removing PAM from my system, is it adviseable?

On Thu, 22 Jan 2009 12:11:12 -0500, James Homuth wrote:

  Will my system blow up at me if I remove PAM? And, if no, I assume I 
 can just do so by specifying -pam in make.conf, and then rebuilding 
 things as necessary?

That's pretty much what I did. Nothing's blown up... yet.

I heard there were some programs that won't be emerged or won't work
properly if PAM is removed. An example given in the posted wiki article is
Open Office. Is that still accurate?




Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-22 Thread Joshua Murphy
On Fri, Jan 23, 2009 at 12:58 AM, James Homuth ja...@the-jdh.com wrote:


 -Original Message-
 From: Neil Bothwick [mailto:n...@digimed.co.uk]
 Sent: January 22, 2009 7:16 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Removing PAM from my system, is it adviseable?

 On Thu, 22 Jan 2009 12:11:12 -0500, James Homuth wrote:

  Will my system blow up at me if I remove PAM? And, if no, I assume I
 can just do so by specifying -pam in make.conf, and then rebuilding
 things as necessary?

 That's pretty much what I did. Nothing's blown up... yet.

 I heard there were some programs that won't be emerged or won't work
 properly if PAM is removed. An example given in the posted wiki article is
 Open Office. Is that still accurate?

OOo has worked perfectly on all of my 2007 and 2008 PAM-less builds.
I've always started with a stage3, added -pam to USE, adjusted cflags
and such to my liking, and then followed with a full emerge -e system.
I added it back on one system more recently because of something or
other I was screwing with... x11-misc/slim I think it was. Looking at
a quick eix openoffice ... it does have a pam use flag to get past
any troubles.

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] Audio on Asus M2N-MX SE Plus mobo

2009-01-22 Thread James
Hello

The audio on this new system is not working. dmesg shows:

Advanced Linux Sound Architecture Driver Version 1.0.17.
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 23
HDA Intel :00:05.0: PCI INT B - Link[LAZA] - GSI 23 (level, low) - IRQ 23
HDA Intel :00:05.0: setting latency timer to 64
ACPI: PCI Interrupt Link [LNEA] enabled at IRQ 19
HDA Intel :02:00.1: PCI INT B - Link[LNEA] - GSI 19 (level, low) - IRQ 19
HDA Intel :02:00.1: setting latency timer to 64
ALSA device list:
  #0: HDA NVidia at 0xdfef8000 irq 23
  #1: HDA ATI HDMI at 0xdffec000 irq 19


Kmix is blank like no device driver for audio is present. Intel HDA
is selected in the kernel.

lspci shows:
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2

02:00.1 Audio device: ATI Technologies Inc Device aa38

Is a Nvidia mobo with an ATI video card (EAH 4350) and I have an 
HDMI cable running to the DVI-D connector on the monitor. Video
works great.

Ideas on fixin this rig?


James




Re: [gentoo-user] Laptop Lid Close...

2009-01-22 Thread Joshua Murphy
On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which seems 
 to be the right method. I can toggle the button with the lid open and cat 
 /etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; 
 and I know I could write myself a little script do something like calling 
 radeontool to turn off the backlight, but I'd like to find a more official 
 method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out 
 and all), but I didn't see anything for a 'turn off monitor on lid close' 
 setting (preferrably root controlled so that it affects all users). The only 
 thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - just 
 put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

In...
/etc/acpi/default.sh

there's a comment (with commented code you can use following it)...
# if your laptop doesnt turn on/off the display via hardware
# switch and instead just generates an acpi event, you can force
# X to turn off the display via dpms.  note you will have to run
# 'xhost +local:0' so root can access the X DISPLAY.

if radeontool or something will allow you to disable the display even
when you aren't in X, or without proper access to the display (like
xset requires) you might be able to even escape needing that xhost
setting. No way of testing it at all myself though.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread KH
Saphirus Sage schrieb:
 You could look for the .config files from earlier kernels, unless
 you've cleared out all your directories except the one with the
 most-recent release.

 On Jan 22, 2009, at 9:12 PM, Grant emailgr...@gmail.com wrote:

 Well, I deleted my kernel .config.  Is there any way to magically
 re-create it from the compiled kernel image or any other way?

 - Grant


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread KH
Dale schrieb:

 Or just copy .config over to /boot yourself.  I do that when I have a
 stable kernel.

 Dale

 :-)  :-)

   
+1
I even asked to add this to the gentoo kernel upgreat guide but devs
didn't like this idea.

kh



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dirk Heinrichs
Am Freitag, den 23.01.2009, 08:44 +0100 schrieb ext KH:
 Dale schrieb:
 
  Or just copy .config over to /boot yourself.  I do that when I have a
  stable kernel.
 
  Dale
 
  :-)  :-)
 

 +1
 I even asked to add this to the gentoo kernel upgreat guide but devs
 didn't like this idea.

Maybe they would be more keen on adding a note about /proc/config
support to that guide.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinri...@capgemini.com
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net



Re: [gentoo-user] Deleted my kernel .config

2009-01-22 Thread Dale
KH wrote:
 Dale schrieb:
   
 Or just copy .config over to /boot yourself.  I do that when I have a
 stable kernel.

 Dale

 :-)  :-)

   
 
 +1
 I even asked to add this to the gentoo kernel upgreat guide but devs
 didn't like this idea.

 kh


   

I'll show this just in case it will give someone ides.

r...@smoker / # ls -al /boot/
total 6970
drwxr-xr-x  4 root root1024 Jan 16 01:46 .
drwxr-xr-x 22 root root 512 Dec 17 06:07 ..
-rw-r--r--  1 root root   0 Jun 11  2008 .keep
-rw-r--r--  1 root root 1204147 Dec  8 19:20 System.map
-rw-r--r--  1 root root  941986 Sep 11  2006 System.map-2.6.17-gentoo-r7
lrwxrwxrwx  1 root root   1 Dec 16 21:09 boot - .
-rw-r--r--  1 root root 2460088 Jan  2 20:13 bzImage-2.6.23-r8-7
-rw-r--r--  1 root root 2288336 Dec 30 07:49 bzImage-2.6.27-r7-1
-rw-r--r--  1 root root   44461 Aug 12 02:07 config-2.6.23-r8-5
-rw-r--r--  1 root root   47940 Dec 13 04:50 config-2.6.25-gentoo-r9-1
-rw-r--r--  1 root root   47438 Aug  5 22:43 config-2.6.25-r7-1
-rw-r--r--  1 root root   47324 Aug 12 17:59 config-2.6.25-r7-2
drwxr-xr-x  2 root root1024 Jan 16 01:43 grub
drwx--  2 root root   12288 Jul 10  2008 lost+found
r...@smoker / #


I generally name the config with the same info as the kernel.  Also note
the naming of my kernels.  I may need to clean out some more but I try
to keep at least two or three kernels laying around too.  Never know,
one may get corrupted or deleted accidentally.  Edit the grub boot line
and carry on.

Neat huh?

Dale

:-)  :-)