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

2009-01-21 Thread Nickolas Fortino
On Tue, Jan 20, 2009 at 11:52 PM, Dirk Heinrichs dirk.heinrichs@nsn.com
 wrote:

 Am Mittwoch, den 21.01.2009, 04:04 + schrieb ext Grant Edwards:

  I'm a little confused. Is there supposed to be an additional
  installation step to populate the /dev directory when using
  recent stage3 snapshots?

 One usually bind-mounts /dev, /proc and /sys into the chroot, like

 mount --bind /dev /newinstall/dev # dito for /proc, /sys
 chroot /newinstall

 If this isn't documented, you should file a bug.

 HTH...

Dirk



The best gentoo chroot guide I know of is:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1chap=2

Obviously, throw out any 32-bit specific stuff if you aren't doing 32-bit on
a 64-bit machine.

Nick


[gentoo-user] mpich2 - how to get this one built?

2009-01-21 Thread Helmut Jarausch
Hi,

has anybody a hint how to get sys-cluster/mpich2 (-1.0.8)
emerged?

I allways get ACCESS VIOLATION

I've tried

FEATURES=-sandbox

and 

FEATURES=-userpriv

but nothing helps.

I'm using  sys-apps/sandbox-1.3.2 which works fine
except for this package.

Is there any brute force method next to bypassing GenToo
and doing  configure/make/make install ?

Many thanks,
Helmut.

-- 
Helmut Jarausch

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





Re: [gentoo-user] mpich2 - how to get this one built?

2009-01-21 Thread Justin
Helmut Jarausch schrieb:
 Hi,

 has anybody a hint how to get sys-cluster/mpich2 (-1.0.8)
 emerged?

 I allways get ACCESS VIOLATION

 I've tried

 FEATURES=-sandbox

 and 

 FEATURES=-userpriv

 but nothing helps.

 I'm using  sys-apps/sandbox-1.3.2 which works fine
 except for this package.

 Is there any brute force method next to bypassing GenToo
 and doing  configure/make/make install ?

 Many thanks,
 Helmut.

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



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Couple of problems with x11-misc/slim

2009-01-21 Thread Man Shankar
Hello,

In my effort to get a lightweight login manager, i have
decided to use slim. However, i m having couple of problems
with it:

1) ctrl-alt-bksp doesn't restart slim, kdm used to do it.
A solution to this says that we should respawn slim
on a VT in /etc/inittab. Does anybody know of another way?

2) another problem is that
/etc/init.d/xdm restart (or stop) doesn't work.

kill -9 works. How to patch the xdm script to achieve this
automatically? This problem is also mentioned in the following
bug:
http://bugs.gentoo.org/show_bug.cgi?id=186886

look at comment #18  #20

-- 

Thanks and Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] mpich2 - how to get this one built?

2009-01-21 Thread Helmut Jarausch
On 21 Jan, Justin wrote:
 Helmut Jarausch schrieb:
 Hi,

 has anybody a hint how to get sys-cluster/mpich2 (-1.0.8)
 emerged?

 I allways get ACCESS VIOLATION

 I've tried

 FEATURES=-sandbox

 and 

 FEATURES=-userpriv

 but nothing helps.

 I'm using  sys-apps/sandbox-1.3.2 which works fine
 except for this package.

 Is there any brute force method next to bypassing GenToo
 and doing  configure/make/make install ?

 Many thanks,
 Helmut.

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

I had a look at that before but it didn't help.

in /etc/make.conf I only have

FEATURES=buildpkg

Then I tried

FEATURES=-sandbox  emerge -av sys-cluster/mpich2

and

FEATURES=userpriv emerge -av sys-cluster/mpich2

but both of which fail with an ACCESS VIOLATION.

Any idea?

Helmut.


-- 
Helmut Jarausch

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



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

2009-01-21 Thread Nikos Chantziaras

Peter Humphrey 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?


As others mentioned, there isn't such a dependency in kopete (or any 
other package that is an official part of KDE3).  Can you emerge 
gentoolkit and then do:


  equery depends qt-gui:4

This will show which packages on your system are pulling-in qt-gui-4.x 
(replace qt-gui:4 with any other qt package that got pulled in.)


There have been some ebuilds in the past that incorrectly used an 
unslotted or unversioned dependency on Qt.  If you run across one, this 
should be reported as a bug since Qt3 and Qt4 are totally incompatible.





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

2009-01-21 Thread Nikos Chantziaras

Paul Hartman wrote:

I'm using the online denyhosts synchronization database, I think that
may negatively affect how often it blocks hosts locally, because it
waits until it does a remote sync to scan the local file. This is my
theory. I like the idea of sharing my blocks and taking advantage of
the blocks of others, but if it renders the program ineffective
against the IP /actively/ attacking my system, then it's pointless.

I'm going to turn off the online sharing of denyhosts and see if it
makes a difference.

Otherwise I guess I need to set up some kind of local firewall on this
machine to get any more fine control over the connections.


The shared list of attackers doesn't have anything to do with it. 
Denyhosts checks the logs every X seconds.  I think 30 by default, not 
sure.  In that time, there can be many more attempted logins then the 
maximum you have configured in Denyhosts.


Also, the downloaded list of known attack hosts is copied locally into 
your hosts.deny file.  That's all there is to it.





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

2009-01-21 Thread Paul Hartman
On Wed, Jan 21, 2009 at 6:36 AM, Nikos Chantziaras rea...@arcor.de wrote:
 Paul Hartman wrote:

 I'm using the online denyhosts synchronization database, I think that
 may negatively affect how often it blocks hosts locally, because it
 waits until it does a remote sync to scan the local file. This is my
 theory. I like the idea of sharing my blocks and taking advantage of
 the blocks of others, but if it renders the program ineffective
 against the IP /actively/ attacking my system, then it's pointless.

 I'm going to turn off the online sharing of denyhosts and see if it
 makes a difference.

 Otherwise I guess I need to set up some kind of local firewall on this
 machine to get any more fine control over the connections.

 The shared list of attackers doesn't have anything to do with it. Denyhosts
 checks the logs every X seconds.  I think 30 by default, not sure.  In that
 time, there can be many more attempted logins then the maximum you have
 configured in Denyhosts.

 Also, the downloaded list of known attack hosts is copied locally into your
 hosts.deny file.  That's all there is to it.

Then what would cause it to not add a new denied host until after many
many attempts?

I disabled the network sync but denyhosts still takes forever before
denying... each IP is able to do hundreds of attempts before getting
added to the hosts.deny file.



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

2009-01-21 Thread Neil Bothwick
On Wed, 21 Jan 2009 08:35:08 -0600, Paul Hartman wrote:

 I disabled the network sync but denyhosts still takes forever before
 denying... each IP is able to do hundreds of attempts before getting
 added to the hosts.deny file.
 

I use sshutout to add the address of repeated attempts to iptables. It's
not in portage but you can get it from
http://www.techfinesse.com/sshutout/sshutout.html

-- 
Neil Bothwick

What if there were no hypothetical situations?


signature.asc
Description: PGP signature


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

2009-01-21 Thread Grant Edwards
On 2009-01-21, Dirk Heinrichs dirk.heinrichs@nsn.com wrote:
 Am Mittwoch, den 21.01.2009, 04:04 + schrieb ext Grant Edwards:

 I'm a little confused. Is there supposed to be an additional
 installation step to populate the /dev directory when using
 recent stage3 snapshots?

 One usually bind-mounts /dev, /proc and /sys into the chroot, like

 mount --bind /dev /newinstall/dev # dito for /proc, /sys
 chroot /newinstall


 If this isn't documented, you should file a bug.

That's docuemented in the normal install doc, but not in the
quick install doc.

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.

-- 
Grant Edwards   grante Yow! RELATIVES!!
  at   
   visi.com




Re: [gentoo-user] resolving blocks from sets

2009-01-21 Thread Nick Cunningham
2009/1/21 Norberto Bensa nbe...@gmail.com

 On Wed, Jan 21, 2009 at 3:05 AM, Norberto Bensa nbe...@gmail.com wrote:

  BTW, do you know where's qt-copy in portage/layman? I've added
  qting-edge and kde-crazy, but neither have it.

 I guess it is @qt-all-live-kde in qting-edge, isn't it?


I believe theres a qt-copy in the THE overlay, although i havent had a
chance to confirm it.

- Nick


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

2009-01-21 Thread Helmut Jarausch
Hi,

has portage become stricter?

Since emerging portage-2.2_rc23 I get several failures saying
 * ERROR: media-video/ffmpeg-0.4.9_p20090121 failed.
 * Call stack:
 *   misc-functions.sh, line 717:  Called install_qa_check
 *   misc-functions.sh, line 234:  Called die
 * 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?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

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



Re: [gentoo-user] resolving blocks from sets

2009-01-21 Thread Norberto Bensa
On Wed, Jan 21, 2009 at 1:44 PM, Nick Cunningham n...@monkeydust.net wrote:


 2009/1/21 Norberto Bensa nbe...@gmail.com

 I believe theres a qt-copy in the THE overlay, although i havent had a
 chance to confirm it.

Yup. layman qting-edge has the set @qt-all-live-kde which is qt-copy
from kde-svn.

BTW, kde4.2rc doesn't work with qt-4.5beta1 (plasma crashes so there's
no desktop). Don't try it at home kids!

Regards,
Norberto



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

2009-01-21 Thread Nick Cunningham
2009/1/21 Grant Edwards gra...@visi.com

 On 2009-01-21, Dirk Heinrichs dirk.heinrichs@nsn.com wrote:
  Am Mittwoch, den 21.01.2009, 04:04 + schrieb ext Grant Edwards:
 
  I'm a little confused. Is there supposed to be an additional
  installation step to populate the /dev directory when using
  recent stage3 snapshots?
 
  One usually bind-mounts /dev, /proc and /sys into the chroot, like
 
  mount --bind /dev /newinstall/dev # dito for /proc, /sys
  chroot /newinstall


  If this isn't documented, you should file a bug.

 That's docuemented in the normal install doc, but not in the
 quick install doc.

 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.

 --
 Grant Edwards   grante Yow! RELATIVES!!
  at
   visi.com



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.

- Nick


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

2009-01-21 Thread Neil Bothwick
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. Anything else is a waste of disk space and inodes
as the static /dev/devices are hidden as soon as udev starts. If the
tarball doesn't contain /dev/console it is broken, but it is also broken
if it contains thousands of device entries. 


-- 
Neil Bothwick

Do not merely believe in miracles; rely on them. * Finagle


signature.asc
Description: PGP signature


[gentoo-user] Re: Tips/Tricks for Gentoo on low-spec computer?

2009-01-21 Thread Grant Edwards
On 2009-01-20, Grant Edwards gra...@visi.com wrote:
 On 2009-01-20, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 I believe he means that generally speaking, trying to build OO from source
 on a low-end (and especially low RAM) machine is ill-advised and can often
 be the cause of build failures as OO is well known to require a lot of RAM
 and hdd space while it compiles.

 I know it needs 5gb+ of tmpdir space, but compiling it with 256mb may
 be futile :)

 It's been chugging away for about 30 hours now, so we'll see. :)

For the morbidly curious, he OOo emerge finished succesfully
after 34.77 hours.  The machine has 256MB of RAM (PC133 SDRAM)
with 1GB of swap:

   pavilion log # cat /proc/cpuinfo
   processor   : 0
   vendor_id   : GenuineIntel
   cpu family  : 6
   model   : 6
   model name  : Celeron (Mendocino)
   stepping: 5
   cpu MHz : 434.314
   cache size  : 128 KB
   fdiv_bug: no
   hlt_bug : no
   f00f_bug: no
   coma_bug: no
   fpu : yes
   fpu_exception   : yes
   cpuid level : 2
   wp  : yes
   flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pat pse36 mmx fxsr
   bogomips: 868.62
   clflush size: 32
   power management:

I don't yet know if OOo actually works (the machine is headless
and keyboardless at the moment).  


-- 
Grant Edwards   grante Yow! This MUST be a good
  at   party -- My RIB CAGE is
   visi.combeing painfully pressed up
   against someone's MARTINI!!




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

2009-01-21 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.
 
 

Unfortunately, this doesn't help.
Anyway,
many thanks,
Helmut.

-- 
Helmut Jarausch

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



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

2009-01-21 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. Anything else is a waste of
 disk space and inodes as the static /dev/devices are hidden as
 soon as udev starts. If the tarball doesn't contain
 /dev/console it is broken, but it is also broken if it
 contains thousands of device entries. 

Then all the stage3 tarballs I've ever seen are broken.  They
either contain 5000+ entries, or nothing but these:

drwxr-xr-x root/root 0 2009-01-13 21:20 ./dev/
-rw-r--r-- root/root 0 2009-01-13 21:20 ./dev/null
lrwxrwxrwx root/root 0 2009-01-13 19:29 ./dev/MAKEDEV - ../sbin/MAKEDEV
-rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/.keep
drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/shm/
-rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/shm/.keep
drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/pts/
-rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/pts/.keep

What I do know is that using a stage3 with 5000+ entries allows
you to install using either the normal or quick install
instructions.  Using one with just the above /dev entries
causes problems either way -- more so if using the quick
install instructions since there is no step where you mount
udev to /mnt/gentoo/dev.

-- 
Grant Edwards   grante Yow! I'm sitting on my
  at   SPEED QUEEN ... To me,
   visi.comit's ENJOYABLE ... I'm WARM
   ... I'm VIBRATORY ...




Re: [gentoo-user] Hauppauge WinTV HVR-1800

2009-01-21 Thread Florian Philipp
Chris Thomas schrieb:
 I have a Hauppauge WinTV HVR-1800 tv card and I wanted to know how to
 get it working in Gentoo. I'm most concerned with the analog tv and
 radio features.
 
 Thanks.
 -Chris
 

Does this guide help?
http://www.gentoo-wiki.info/Hauppauge_WinTV_HVR-1800



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Better way than ifplugd?

2009-01-21 Thread Paul Hartman
Hi,

For years I've been using ifplugd for hotplugging of ethernet cables.
However, in powertop I see eth0 showing tons of wakeups when these are
not plugged in.

Is there a newer/better way to do automatic enable/disable of an
interface when the cable is plugged in or unplugged? I think the
never-ending polling of eth0 can't be good for my laptop battery
life...

Thanks,
Paul



[gentoo-user] screen resolution and aspect ratio change

2009-01-21 Thread Thufir
I have very vanilla hardware and when I just booted the resolution 
appears lower (icons bigger, jpg's blurry) and the aspect ratio is off 
(icons are taller than usual).

The screen resolution is currently 960x600, which I don't recall ever 
having even heard of.  If it was 1020xwhatever, which I suspect it 
probably was, would that information be logged somewhere?

It's a built-in video card, but, I guess, could be a hw problem.

The monitor settings don't offer a resolution setting.



-Thufir




[gentoo-user] bzflag worbles after recent upgrades to workstation

2009-01-21 Thread James
Hello,


I'm pulling out my hair here. BZflag-2.0.12 use to work great
on Gentoo. The kernel (1.6.27-r7-gentoo) has not changed.
However for about a week now, after a bunch of updates,
xrog*, evdev etc etc, it has very high lag and jitter
over the net.


I can reboot the same system and play bzflag on XP pro
just fine. It use to work great on gentoo, but now
it lags so bad I get booted after a few second on the game
bandwidth is fine (cable modem).

X use to run up the load bad when the problem first occured,
but now that does not seem to happen.

I've rebuild everything I can think of,  to no avail.
From /usr/portage/games-action/bzflag/bzflag-2.0.12.ebuild
it only seems to use a few things:

UIDEPEND=virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/glew
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXt
x11-libs/libXxf86vm

DEPEND==net-misc/curl-7.15.0
sys-libs/ncurses
net-dns/c-ares
sdl? ( ${UIDEPEND} )
!sdl? ( !dedicated? ( ${UIDEPEND} ) )

I have these installed:

ati-drivers 8.561
Xorg-server 1.5.3-r1
xf86-input-evdev 2.1.1
xorg-x11 7.4
kde-meta 3.5.9

On the same hardware, rebooted to XP pro, it's just fine.

Any ideas what to try or mask to get this working again?


James




[gentoo-user] Slot Nightmare

2009-01-21 Thread Michael Sullivan
I've been fighting this for two days now:

catherine ~ # emerge -uD world
Calculating dependencies... done!
[ebuild U ] app-arch/cpio-2.9-r2 [2.9-r1]
[ebuild U ] net-misc/dhcpcd-4.0.7 [4.0.2]
[ebuild U ] dev-libs/mpfr-2.3.2 [2.3.1_p1]
[ebuild  N] dev-perl/yaml-0.65 
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.27-r8 [2.6.27-r7]
USE=-build -symlink 
[ebuild U ] sys-devel/gdb-6.8-r1 [6.7.1-r3] USE=-multitarget% 
[ebuild UD] app-text/poppler-0.6.3-r1 [0.10.3] USE=jpeg%* zlib%*
-cjk% 
[ebuild U ] sys-apps/groff-1.19.2-r3 [1.19.2-r1]
[ebuild U ] x11-terms/xterm-239 [237]
[ebuild U ] dev-java/ant-core-1.7.1-r2 [1.7.0-r1]
[ebuild U ] dev-lang/nasm-2.05.01 [2.04]
[ebuild U ] media-libs/libmpeg2-0.5.1 [0.4.1]
[ebuild U ] x11-libs/qscintilla-2.3.2 [2.1-r1]
[ebuild U ] dev-python/qscintilla-python-2.3.2 [2.1]
[ebuild U ] dev-python/PyQt-3.17.6 [3.17.4]
[ebuild  N] perl-core/Module-Build-0.28.08 
[ebuild  N] virtual/perl-Module-Build-0.28.08 
[ebuild  N] perl-core/ExtUtils-CBuilder-0.23 
[ebuild  N] virtual/perl-ExtUtils-CBuilder-0.23 
[ebuild  N] perl-core/ExtUtils-ParseXS-2.19 
[ebuild  N] virtual/perl-ExtUtils-ParseXS-2.19 

!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

app-text/poppler:0

  ('installed', '/', 'app-text/poppler-0.10.3', 'nomerge') pulled in by
~app-text/poppler-0.10.3 required by ('installed', '/',
'app-text/poppler-bindings-0.10.3', 'nomerge')
(and 4 more)

  ('ebuild', '/', 'app-text/poppler-0.6.3-r1', 'merge') pulled in by
app-text/poppler required by world
=app-text/poppler-0.6.1 required by ('installed', '/',
'kde-base/kdegraphics-3.5.9', 'nomerge')
=app-text/poppler-0.4.3-r1 required by ('installed', '/',
'net-print/cups-1.3.9-r1', 'nomerge')
(and 1 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.

I need poppler-0.10.3 to get around the qt circular dependency problem.
Lower versions of poppler and poppler-bindings are not installed:

catherine ~ # emerge -pvC poppler poppler-bindings

 These are the packages that would be unmerged:

 app-text/poppler
selected: 0.10.3 
   protected: none 
 omitted: none 

 app-text/poppler-bindings
selected: 0.10.3 
   protected: none 
 omitted: none 

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.

I've tried every trick I can think of to get around this and nothing has
worked.  Please help me.




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

2009-01-21 Thread Dirk Heinrichs
Am Mittwoch, 21. Januar 2009 17:48:27 schrieb Grant Edwards:

 Then all the stage3 tarballs I've ever seen are broken.  They
 either contain 5000+ entries, or nothing but these:

Yes they are. Having 5000+ entries in there while udev is in used is just 
stupid. I'm glad they've fixed that know.

 drwxr-xr-x root/root 0 2009-01-13 21:20 ./dev/
 -rw-r--r-- root/root 0 2009-01-13 21:20 ./dev/null
 lrwxrwxrwx root/root 0 2009-01-13 19:29 ./dev/MAKEDEV -
 ../sbin/MAKEDEV -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/.keep
 drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/shm/
 -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/shm/.keep
 drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/pts/
 -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/pts/.keep

Yes, that's broken as well. All you need, as Neil wrote, is null and console.

 What I do know is that using a stage3 with 5000+ entries allows
 you to install using either the normal or quick install
 instructions.

And forcing you to remove them later, since they just waste inodes (on an 
inode based fs, of course).

 Using one with just the above /dev entries
 causes problems either way -- more so if using the quick
 install instructions since there is no step where you mount
 udev to /mnt/gentoo/dev.

So you need to file two bug reports ;-)

Bye...

Dirk


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


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

2009-01-21 Thread Nikos Chantziaras

Paul Hartman wrote:

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

The shared list of attackers doesn't have anything to do with it. Denyhosts
checks the logs every X seconds.  I think 30 by default, not sure.  In that
time, there can be many more attempted logins then the maximum you have
configured in Denyhosts.

Also, the downloaded list of known attack hosts is copied locally into your
hosts.deny file.  That's all there is to it.


Then what would cause it to not add a new denied host until after many
many attempts?

I disabled the network sync but denyhosts still takes forever before
denying... each IP is able to do hundreds of attempts before getting
added to the hosts.deny file.


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?





Re: [gentoo-user] screen resolution and aspect ratio change

2009-01-21 Thread Daniel Troeder
Am Mittwoch, den 21.01.2009, 17:16 + schrieb Thufir:
 I have very vanilla hardware and when I just booted the resolution 
 appears lower (icons bigger, jpg's blurry) and the aspect ratio is off 
 (icons are taller than usual).
 
 The screen resolution is currently 960x600, which I don't recall ever 
 having even heard of.  If it was 1020xwhatever, which I suspect it 
 probably was, would that information be logged somewhere?
 
 It's a built-in video card, but, I guess, could be a hw problem.
 
 The monitor settings don't offer a resolution setting.
 
 
 
 -Thufir
Hello :)

Is it a notebook or desktop PC?
Is it a CRT or TFT?
What graphics card, what monitor?

What's the output of lspci?
What's the output of xrandr --query?
What's the output of sudo get-edid | /usr/sbin/parse-edid?

(You need x11-apps/xrandr and x11-misc/read-edid - both is probably
installed if you have X.)

Bye,
Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [gentoo-user] Slot Nightmare

2009-01-21 Thread Neil Bothwick
On Wed, 21 Jan 2009 11:31:36 -0600, Michael Sullivan wrote:

   ('ebuild', '/', 'app-text/poppler-0.6.3-r1', 'merge') pulled in by
 app-text/poppler required by world

Why have you got poppler in world?


-- 
Neil Bothwick

Windows NT is the OS of the future and always will be...


signature.asc
Description: PGP signature


[gentoo-user] Re:FIXED: bzflag worbles after recent upgrades to workstation

2009-01-21 Thread James
James wireless at tampabay.rr.com writes:


 I'm pulling out my hair here. BZflag-2.0.12 use to work great
 on Gentoo. The kernel (2.6.27-r7-gentoo) has not changed.
 However for about a week now, after a bunch of updates,
 xrog*, evdev etc etc, it has very high lag and jitter
 over the net.


Well it was something simple:

eselect opengl set ati

did the trick.


James






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

2009-01-21 Thread Grant Edwards
On 2009-01-21, Dirk Heinrichs dirk.heinri...@online.de wrote:
 Am Mittwoch, 21. Januar 2009 17:48:27 schrieb Grant Edwards:

 Then all the stage3 tarballs I've ever seen are broken.  They
 either contain 5000+ entries, or nothing but these:

 Yes they are. Having 5000+ entries in there while udev is in
 used is just stupid. I'm glad they've fixed that know.

 drwxr-xr-x root/root 0 2009-01-13 21:20 ./dev/
 -rw-r--r-- root/root 0 2009-01-13 21:20 ./dev/null
 lrwxrwxrwx root/root 0 2009-01-13 19:29 ./dev/MAKEDEV -
 ../sbin/MAKEDEV -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/.keep
 drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/shm/
 -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/shm/.keep
 drwxr-xr-x root/root 0 2009-01-13 19:29 ./dev/pts/
 -rw-r--r-- root/root 0 2009-01-13 19:29 ./dev/pts/.keep

 Yes, that's broken as well. All you need, as Neil wrote, is
 null and console.

 What I do know is that using a stage3 with 5000+ entries allows
 you to install using either the normal or quick install
 instructions.

 And forcing you to remove them later, since they just waste
 inodes (on an inode based fs, of course).

 Using one with just the above /dev entries causes problems
 either way -- more so if using the quick install instructions
 since there is no step where you mount udev to
 /mnt/gentoo/dev.

 So you need to file two bug reports ;-)

Yup, I'll put them on my list of things to do:

 1) bug report for quick-install

 2) bug report for 2008.0 stage3 (too many useless /dev entries)

 3) bug report for weekly autobuild stage3 (missing /dev/console) 

-- 
Grant Edwards   grante Yow! I'm ZIPPY the PINHEAD
  at   and I'm totally committed
   visi.comto the festive mode.




[gentoo-user] Strange 'uname -r' output

2009-01-21 Thread Grant
Does anyone know why I get strange output like this:

# uname -r
2.6.25-hardened-r132.6.11-hardened-r1

I should be booted into 2.6.25-hardened-r13.

- Grant



Re: [gentoo-user] Strange 'uname -r' output

2009-01-21 Thread Neil Bothwick
On Wed, 21 Jan 2009 10:39:07 -0800, Grant wrote:

 # uname -r
 2.6.25-hardened-r132.6.11-hardened-r1
 
 I should be booted into 2.6.25-hardened-r13.

Do you have anything set in CONFIG_LOCALVERSION or a localversion* file
in /usr/src/linux?


-- 
Neil Bothwick

Q: How many builders does it take to change a light bulb?
A: If only it was just the light bulb..we'll have to replace the
ceiling and...


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Tips/Tricks for Gentoo on low-spec computer?

2009-01-21 Thread Daniel Troeder
Am Dienstag, den 20.01.2009, 19:37 + schrieb Grant Edwards:
 On 2009-01-20, Neil Bothwick n...@digimed.co.uk wrote:
  On Tue, 20 Jan 2009 11:32:02 -0600, Paul Hartman wrote:
 
  I know it needs 5gb+ of tmpdir space, but compiling it with
  256mb may be futile :)
 
  Not if he's got plenty of swap, it'll just run even slower.
  Expect a new Debian release before OOo finishes building :)
 
 I've got 256MB of RAM plus 1GB of swap space.  I'm sort of
 torturing the poor machine -- in addition to the OOo build, I'm
 emerging some other miscellaneous stuff (sdl-mixer at the
 moment).
 
 With the two emerge jobs running, there is 32MB of swap is
 in-use (unchanged for several minutes).  That's not bad
 considering that the OOo build's cc1plus process RSS climbs up
 to 100+ MB at times.
I once got OOos binaries to be _a_bit_ smaller by manually patching the
ebuild to allow -Os. But it turned out, that it wasn't worth it,
because the next update I had to recompile the hole thing for hours and
hours again, and what I had won was to little to be worth the hassle.

If -Os worked depended on both the OOo version and the GCC version...
and there goes another compile for hours and hours...

Was an interesting experience, but not worth it in the long run.

Bye,
Daniel

 
-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [gentoo-user] Slot Nightmare [SOLVED]

2009-01-21 Thread Michael Sullivan
On Wed, 2009-01-21 at 18:10 +, Neil Bothwick wrote:
 On Wed, 21 Jan 2009 11:31:36 -0600, Michael Sullivan wrote:
 
('ebuild', '/', 'app-text/poppler-0.6.3-r1', 'merge') pulled in by
  app-text/poppler required by world
 
 Why have you got poppler in world?

I don't know, but I unmerged it, and I can emerge world now.





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

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

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

 The shared list of attackers doesn't have anything to do with it.
 Denyhosts
 checks the logs every X seconds.  I think 30 by default, not sure.  In
 that
 time, there can be many more attempted logins then the maximum you have
 configured in Denyhosts.

 Also, the downloaded list of known attack hosts is copied locally into
 your
 hosts.deny file.  That's all there is to it.

 Then what would cause it to not add a new denied host until after many
 many attempts?

 I disabled the network sync but denyhosts still takes forever before
 denying... each IP is able to do hundreds of attempts before getting
 added to the hosts.deny file.

 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

This is with the online sync disabled, and denyhosts running in daemon
mode (not cron). The denyhosts log file verifies that it is
interpreting those setting properly, as it shows the same values.
Weird.

Here's the beginning of the attempts:

Jan 21 14:34:48 [sshd] Invalid user apple from 203.110.208.68
Jan 21 14:34:53 [sshd] Invalid user brian from 203.110.208.68
Jan 21 14:34:59 [sshd] Invalid user andrew from 203.110.208.68
Jan 21 14:35:04 [sshd] Invalid user newsroom from 203.110.208.68
Jan 21 14:35:10 [sshd] Invalid user magazine from 203.110.208.68
Jan 21 14:35:16 [sshd] Invalid user research from 203.110.208.68
Jan 21 14:35:21 [sshd] Invalid user cjohnson from 203.110.208.68
Jan 21 14:35:27 [sshd] Invalid user export from 203.110.208.68
Jan 21 14:35:32 [sshd] Invalid user photo from 203.110.208.68
Jan 21 14:35:38 [sshd] Invalid user gast from 203.110.208.68
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?

Thanks :)
Paul



Re: [gentoo-user] Strange 'uname -r' output

2009-01-21 Thread Grant
 # uname -r
 2.6.25-hardened-r132.6.11-hardened-r1

 I should be booted into 2.6.25-hardened-r13.

 Do you have anything set in CONFIG_LOCALVERSION or a localversion* file
 in /usr/src/linux?

Sure enough I had '2.6.11-hardened-r1' set for CONFIG_LOCALVERSION for
some reason.  It's blank now.  Did you write this OS or what?

- Grant



Re: [gentoo-user] Strange 'uname -r' output

2009-01-21 Thread Neil Bothwick
On Wed, 21 Jan 2009 15:47:44 -0800, Grant wrote:

  Do you have anything set in CONFIG_LOCALVERSION or a localversion*
  file in /usr/src/linux?  
 
 Sure enough I had '2.6.11-hardened-r1' set for CONFIG_LOCALVERSION for
 some reason.  It's blank now.  Did you write this OS or what?

I just remembered the thread about LOCAVERSION a few days ago. Had you
asked this before then, the answer would probably never have occurred to
me.


-- 
Neil Bothwick

Top Oxymorons Number 10: Computer security


signature.asc
Description: PGP signature


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

2009-01-21 Thread Dan Farrell
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?



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

2009-01-21 Thread Volker Armin Hemmann
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.




[gentoo-user] Re: Failed to emerge media-sound/alsa-driver-1.0.18a

2009-01-21 Thread Guillermo Garron
Hi,

Sorry for top-posting, but I needed to let you know that after
upgrading the Kernel from 2.6.25-gentoo-r8 to 2.6.27-gentoo-r8, I was
able to compile it!

thanks!


On Wed, Jan 21, 2009 at 10:01 PM, Guillermo Garron
guillermo.fed...@gmail.com wrote:
 Hi,

 I have tried to make a full upgrade of my system.

 Using
 emerge --update --newuse --deep world

 but I got this error:
 *
  Failed to emerge media-sound/alsa-driver-1.0.18a, Log file:

  '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/build.log'

  * Messages for package media-sound/alsa-driver-1.0.18a:

  *
  * ERROR: media-sound/alsa-driver-1.0.18a failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 3951:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=$(raw-ldflags) HOSTCC=$(tc-getBUILD_CC)
 CC=$(tc-getCC) || die Make Failed;
  *  The die message:
  *   Make Failed
  *
  * If you need support, post the topmost build error, and the call
 stack if relevant.
  * A complete build log is located at
 '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/media-sound/alsa-driver-1.0.18a/temp/environment'.
  *
 ***

 I am not new to Linux, but I use mostly Debian, and I am new to
 Gentoo, so actually I am stucked here for two weeks :(.

 I am also attaching the files it mentions in the above message.

 please help me.

 regards,


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




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



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

2009-01-21 Thread Dan Farrell
On Thu, 22 Jan 2009 02:47:57 +0100
Volker Armin Hemmann volkerar...@googlemail.com 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.
 

Good thought!  I didn't have it on though.  Not particularly useful on
a laptop.  

I fixed it though; it ended up being the BIOS.  An upgrade from 8 to
15 and it's like a new computer.  Yay!  

Thanks for the response.  



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

2009-01-21 Thread Dale
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

:-)  :-) 



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

2009-01-21 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

?

- Grant



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

2009-01-21 Thread Shawn Haggett
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