Re: [gentoo-user] 10 G eth (10000) on Gentoo

2011-08-31 Thread Adam Carter
> Nice - multi-queue was vapourware when i last looked. It would be
> worth checking the driver source/doco to see what's there.

Looks like intel made multiqueue available in Nov. 2010. You can set
up to 16 queues.
http://downloadmirror.intel.com/14687/eng/README.txt



Re: [gentoo-user] Important package blocked by another important package

2011-08-31 Thread meino . cramer
Sebastian Beßler  [11-08-30 18:01]:
> Am 30.08.2011 09:15, schrieb Pandu Poluan:
> 
> > Personally, I'd put '<=sys-apps/sysvinit-2.88-r99 ~amd64 ~x86' in that
> > file. I have the conviction that versions with greater '-r' would be
> > better, since it's a revision to the same version.
> 
> '~sys-apps/sysvinit-2.88 ~amd64 ~x86' does the same as ~ matches on all
> '-r' of a specific version so in this case it matches everything from
> sys-apps/sysvinit-2.88-r1 to sys-apps/sysvinit-2.88-r99 (and even above)
> 
> Why unmask for two arches ~amd64 and ~x86?
> 
> Greetings
> 
> Sebastian
> 

Hi,

I finally did this, but got further problems:


solfire:/root>emerge --color=n -p -v --newuse --update --deep world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ~] sys-apps/util-linux-2.20 [2.19.1-r1] USE="cramfs crypt ncurses 
nls perl unicode -loop-aes -old-linux (-selinux) -slang -static-libs% 
(-uclibc)" 4,507 kB
[ebuild U ~] sys-apps/sysvinit-2.88-r3 [2.88-r2] USE="(-ibm) (-selinux) 
-static" 0 kB
[blocks b  ] 

Re: [gentoo-user] Re: Typewriter sound

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 7:57 PM, Grant Edwards
 wrote:
> Does 'xset c' work for you?

Well, it "works" as far as it sets the key click value successfully
(if you "xset q" you can see if it's set) but there's no noises made
by my computer. Looking more at xset it seems it's really just for
setting the volume on keyboards with built-in speakers (which I
haven't seen for probably 20 years). Luckily(?) my keyboard is so loud
it can be heard from the other side of the house. :)



[gentoo-user] can't upgrade Gentoo

2011-08-31 Thread Edward Martinez

Hi,

I'm having a little trouble updating Gentoo recently. When I try 
updating Gentoo by issuing:

/
  emerge --deep --ask --update world /

I get this:

/These are the packages that would be merged, in order:

  Calculating dependencies... done!

  emerge: there are no ebuilds built with USE flags to satisfy 
"dev-lang/php[cli,mysql,xml,session,sockets]".

  !!! One of the following packages is required to complete your request:
  - dev-lang/php-5.3.8::gentoo (Change USE: +mysql +sockets)
  (dependency required by "net-analyzer/cacti-0.8.7g" [installed])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])/

So I add USE flags (sockets mysql) Now i get this:

/  These are the packages that would be merged, in order:
  Calculating dependencies... done!

  !!! The ebuild selected to satisfy 
"dev-lang/php[cli,mysql,xml,session,sockets]" has unmet requirements.
  - dev-lang/php-5.3.8::gentoo USE="berkdb bzip2 cli crypt ctype curl 
exif fileinfo filter gdbm hash iconv ipv6 json ldap (multilib) mysql nls 
phar posix readline sessionsimplexml sockets spell ssl tokenizer 
truetype unicode xml zlib (-adabas) -apache2 -bcmath (-birdstep) 
-calendar -cdb -cgi -cjk -curlwrappers -db2 (-dbmaker) -debug -doc 
-embed (-empress) (-empress-bcs) -enchant (-esoob) -firebird -flatfile 
-fpm (-frontbase) -ftp -gd -gd-external -gmp -imap -inifile -interbase 
-intl -iodbc -kerberos -kolab -ldap-sasl -libedit -mhash -mssql -mysqli 
-mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres 
-qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap (-solid) -sqlite 
-sqlite3 -suhosin (-sybase-ct) -sysvipc -threads -tidy -wddx -xmlreader 
-xmlrpc -xmlwriter -xpm -xsl -zip"


  The following REQUIRED_USE flag constraints are unsatisfied:
truetype? ( any-of ( gd gd-external ) ) exif? ( any-of ( gd 
gd-external ) )


  The above constraints are a subset of the following complete expression:
truetype? ( any-of ( gd gd-external ) ) cjk? ( any-of ( gd 
gd-external ) ) exif? ( any-of ( gd gd-external ) ) xpm? ( gd ) gd? ( 
zlib !gd-external ) gd-external? ( !gd ) simplexml? ( xml ) soap? ( xml 
) wddx? ( xml ) xmlrpc? ( any-of ( xml iconv ) ) xmlreader? ( xml ) xsl? 
( xml ) ldap-sasl? ( ldap !oci8 ) adabas? ( odbc ) birdstep? ( odbc ) 
dbmaker? ( odbc ) empress-bcs? ( empress ) empress? ( odbc ) esoob? ( 
odbc ) db2? ( odbc ) sapdb? ( odbc ) solid? ( odbc ) kolab? ( imap ) 
mhash? ( hash ) phar? ( hash ) mysqlnd? ( any-of ( mysql mysqli pdo ) ) 
oci8? ( !oci8-instant-client !ldap-sasl ) oci8-instant-client? ( !oci8 ) 
qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) 
firebird? ( !interbase ) sharedmem? ( !threads ) !cli? ( !cgi? ( !fpm? ( 
!apache2? ( !embed? ( cli ) ) ) ) )


(dependency required by "net-analyzer/cacti-0.8.7g" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
/
Before I was able to update Gentoo untill now, portage asked me to add 
"EMERGE_DEFAULT_OPTS="--autounmask=n"" in /etc/make.conf.


Regards,
edward



Re: [gentoo-user] switch to iproute2 and remove net-tools?

2011-08-31 Thread Pandu Poluan
(Sorry for top posting)

baselayout > 1.12 don't need net-tools, but other packages might need net-tools.

Why do you want to unmerge net-tools, anyway?

Rgds,


On 2011-09-01, Doug Hunley  wrote:
> I decided to switch to iproute2 and it went fine, until I removed
> net-tools. At that point, I got errors about /bin/hostname being
> missing. I did a quick search and found
> http://forums.gentoo.org/viewtopic-t-443540-start-0.html where the dev
> says baselayout > 1.12 doesn't *need* the hostname command. I'm
> running ~amd w/ openrc and baselayout-2,0,3, yet my system complains.
> Anyone know how to kill net-tools completely? Thanks!
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] 10 G eth (10000) on Gentoo

2011-08-31 Thread Adam Carter
> I've overheard IRC conversations that discussed multi-queue network
> cards in the context of multi-core systems. My educated guess, based
> on what you mention, is that each queue in the card would ping a
> different interrupt. Each interrupt might be handled by a different
> core, so you'd see a scaleable improvement there.

Nice - multi-queue was vapourware when i last looked. It would be
worth checking the driver source/doco to see what's there.



Re: [gentoo-user] 10 G eth (10000) on Gentoo

2011-08-31 Thread Michael Mol
On Wed, Aug 31, 2011 at 7:58 PM, Adam Carter  wrote:
>> I just might have an opportunity to setup a Gentoo
>> System using 10 G ethernet (fiber). The .39
>> kernel lists this hardware [1].
>>
>> Does anyone have any experience with this hardware?
>> Does it work? Did you make any bandwidth measurements?
>> What type of fiber (mulimode/singlemode) (ST/SC) did you
>> use?
>>
>> Any comments? Is the kernel a bottleneck or your application?
>
> Intel are active in linux kernel development and their linux drivers
> seem to be very good.
>
> When testing Intel copper gig interfaces on an intel firewall (HP
> DL380G5 8 core box), I was able to send a core to 100% with ~330Mb of
> small packets. The limiting factor appears to be packet rate, and the
> consequent processing of interrupts (1 irq to 1 core). I don't think
> that a 10Gig interface would pass any more than that due to similar
> limitations.
>
> Tweaking the e1000 driver options RxDescriptors, TxDescriptors and
> RxIntDelay pushed it up to ~350Mb. MSI was enabled so no interrupt
> sharing.
>
> So if you're running normal sized packets, you should be ok. Otherwise
> you way want to look at what irqbalance can do for you (I didn't try
> it at the time).
>
> Also don't forget stuff like Large Receive Offload in your kernel.

I've overheard IRC conversations that discussed multi-queue network
cards in the context of multi-core systems. My educated guess, based
on what you mention, is that each queue in the card would ping a
different interrupt. Each interrupt might be handled by a different
core, so you'd see a scaleable improvement there.


-- 
:wq



[gentoo-user] Re: Typewriter sound

2011-08-31 Thread Grant Edwards
On 2011-08-31, Paul Hartman  wrote:

>> I checked, and I do have the old standard PC-speaker connected to the
>> motherboard, and "xset c" still does nothing.
>>
>>> not playing a custom sound file.
>>
>> Which is what the OP asked for.
>
> Hey, it wasn't my idea. Talk to Volker for more details about the
> xset-as-typewriter-sound idea. :)

I'm still waiting for him to defend his snide remarks about how we
were all stupid for doing things other than using xset...

> I didn't reply to the OP. I only replied about xset
> (non-)functionality, where it sounds like we're in agreement that it
> just sounds the system bell (or whatever you call it).

No, it doesn't do that for me, and I don't ever remember being able to
get it to do so.  I just tried on a couple different systems (all of
which have a "pc speaker", and 'xset c' doesn't do anying.

Does 'xset c' work for you?

-- 
Grant






Re: [gentoo-user] Per-package splitdebug FEATURE

2011-08-31 Thread Leonardo Guilherme
2011/8/23 netfab :
> Le 23/08/11 à 04:02, Leonardo a tapoté :
>> What if I want to use splitdebug always and just deactivate it to some
>> packages
>
> Another way is to enable splitdebug globally, but not install
> debug files for specific packages :
>
>   /etc/portage/env/do-not-install-debug-files.conf:
>
>        INSTALL_MASK="/usr/lib/debug"
>
>   /etc/portage/env/package.env:
>
>        www-client/firefox do-not-install-debug-files.conf
>
> If you are using FEATURES="buildpkg" you can set INSTALL_MASK into
> make.conf : debug files will never be installed, but will be
> available into tbz2 packages.
>
>

Exactly what I wanted! Thank you! All of you :)

-- 

Leonardo



[gentoo-user] switch to iproute2 and remove net-tools?

2011-08-31 Thread Doug Hunley
I decided to switch to iproute2 and it went fine, until I removed
net-tools. At that point, I got errors about /bin/hostname being
missing. I did a quick search and found
http://forums.gentoo.org/viewtopic-t-443540-start-0.html where the dev
says baselayout > 1.12 doesn't *need* the hostname command. I'm
running ~amd w/ openrc and baselayout-2,0,3, yet my system complains.
Anyone know how to kill net-tools completely? Thanks!



Re: [gentoo-user] 10 G eth (10000) on Gentoo

2011-08-31 Thread Adam Carter
> I just might have an opportunity to setup a Gentoo
> System using 10 G ethernet (fiber). The .39
> kernel lists this hardware [1].
>
> Does anyone have any experience with this hardware?
> Does it work? Did you make any bandwidth measurements?
> What type of fiber (mulimode/singlemode) (ST/SC) did you
> use?
>
> Any comments? Is the kernel a bottleneck or your application?

Intel are active in linux kernel development and their linux drivers
seem to be very good.

When testing Intel copper gig interfaces on an intel firewall (HP
DL380G5 8 core box), I was able to send a core to 100% with ~330Mb of
small packets. The limiting factor appears to be packet rate, and the
consequent processing of interrupts (1 irq to 1 core). I don't think
that a 10Gig interface would pass any more than that due to similar
limitations.

Tweaking the e1000 driver options RxDescriptors, TxDescriptors and
RxIntDelay pushed it up to ~350Mb. MSI was enabled so no interrupt
sharing.

So if you're running normal sized packets, you should be ok. Otherwise
you way want to look at what irqbalance can do for you (I didn't try
it at the time).

Also don't forget stuff like Large Receive Offload in your kernel.



Re: [gentoo-user] compressed filesystem

2011-08-31 Thread Adam Carter
> Btrfs supports on the fly compression

Yes it supports two types, lzo and zlib, zlib compresses more densely,
and the mount option for that is compress=zlib.



[gentoo-user] Problems with KDE & Flash after moving to dual adapter

2011-08-31 Thread Mark Knecht
Hi,
   I'm wondering what experience (and hopefully guidance) others can
provide to hopefully fix these new problems on my compute server.
Thanks in advance.

   OK, yesterday I added a second NVidia adapter to my machine and
used nvidia-settings to create a new xorg.conf file. (Both new and old
are shown at the end) The new setup came up easily and I now have 3
monitors. Here's the setup:

GTX 465 port 0 -> GPU-0 + DFP-0
GTX 465 port 1 -> GPU-0 + DFP-2

8400GS port 0 -> GPU-1 + CRT-1

   To get this working I had to enable the xinerama use flag as well
as enable Xinerama in xorg.conf.

Some simple tests of functionality:

1) glxgears is functional on all 3 displays but only draws actual
graphics on the two GTX465 monitors. It draws a black window on the
8400GS. It is my understanding that this is expected.

2) Both Virtualbox and VMWare VM's work fine on all 3 monitors. If the
VMs are running Windows then Flash, Java & Silverlight seem to work
fine on any display. I can play NetFlix movies and run other Windows
apps from within the VMs without any major problems so far.

Problems:

1) Adobe flash within Linux is not working at some websites, such as:

http://www.jigsawdoku.com/

For this page the flash game area is just gray. Flash does however
seem to work on other sites like Adobe's web site so possibly this is
more an issue with that page but I've seen a couple of others so far
that do the same thing.


2) Two KDE features that I like quite a lot are not working at all:

a) F8 - display all desktops doesn't work. With the original 2
monitors the feature worked fine.

b) The upper left corner 'display all apps' feature is not working.

   I've been Googling around without any luck in terms of finding
things to try in terms of fixing this, or even discovering that maybe
these things simply don't work with two adapters. Maybe there are some
accelerations or features I need to enable that nvidia-settings don't
do for me? I don't know.

   Note that in the older 2 monitor configuration I was using Twinview
which treats the two monitors as a single large monitor.

   Thanks in advance for any ideas about how to get this working at its best.

Cheers,
Mark


[New 3 monitor xorg.conf]

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 275.09.07
(buildmeis...@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  8
14:38:19 PDT 2011

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" RightOf "Screen0"
Screen  2  "Screen2" RightOf "Screen1"
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
Option "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 75.0
VertRefresh 56.0 - 61.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 75.0
VertRefresh 56.0 - 61.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor2"
VendorName "Unknown"
ModelName  "Samsung SyncMaster"
HorizSync   30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce GTX 465"
BusID  "PCI:2:0:0"
Screen  1
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce GTX 465"
BusID  "PCI:2:0:0"
Screen  0
EndSection

Section "Device"
Identifier "Device2"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "GeForce 8400GS"
BusID  "PCI:4:0:0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor"Monitor1"
DefaultDepth24
Option "TwinView" "0"
Option "metamodes" "DFP-2: 1920x1080 +0+0"
SubSection "Display"
Depth   24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor  

Re: [gentoo-user] Re: Typewriter sound

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 3:18 PM, Grant Edwards
 wrote:
> On 2011-08-31, Paul Hartman  wrote:
>> On Wed, Aug 31, 2011 at 12:46 PM, Grant Edwards
>> wrote:
 b) old school pc-speaker in your computer
>>>
>>> Even then, how do you play a recorded sound file containing a
>>> typeblock-hitting-platen sound through that speaker? It was connected
>>> to a timer-counter output pin not a D/A converter (unless you count
>>> timer/counter output pin as a 1-bit D/A converter).
>>
>> I think it just made the generic "beep" (or a beep short enough and
>> low enough in tone to sound similar to a click)
>
> I checked, and I do have the old standard PC-speaker connected to the
> motherboard, and "xset c" still does nothing.
>
>> not playing a custom sound file.
>
> Which is what the OP asked for.

Hey, it wasn't my idea. Talk to Volker for more details about the
xset-as-typewriter-sound idea. :) I didn't reply to the OP. I only
replied about xset (non-)functionality, where it sounds like we're in
agreement that it just sounds the system bell (or whatever you call
it).



[gentoo-user] Re: Typewriter sound

2011-08-31 Thread Grant Edwards
On 2011-08-31, Paul Hartman  wrote:
> On Wed, Aug 31, 2011 at 12:46 PM, Grant Edwards
> wrote:
>>> b) old school pc-speaker in your computer
>>
>> Even then, how do you play a recorded sound file containing a
>> typeblock-hitting-platen sound through that speaker? It was connected
>> to a timer-counter output pin not a D/A converter (unless you count
>> timer/counter output pin as a 1-bit D/A converter).
>
> I think it just made the generic "beep" (or a beep short enough and
> low enough in tone to sound similar to a click)

I checked, and I do have the old standard PC-speaker connected to the
motherboard, and "xset c" still does nothing.

> not playing a custom sound file.

Which is what the OP asked for.

-- 
Grant Edwards   grant.b.edwardsYow! Why don't you ever
  at   enter any CONTESTS,
  gmail.comMarvin??  Don't you know
   your own ZIPCODE?




Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 2:11 PM, Grant  wrote:
>>> I'm on the road connecting to various wireless access points and
>>> sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
>>> (timed out) messages in dmesg which makes sense.  Other times I get a
>>> different series of messages in dmesg when I'm unable to connect which
>>> don't make sense to me.  The interface connects, then disconnects,
>>> then connects, then disconnects, over and over until it finally
>>> decides to fail permanently.
>>
>> Have you tried disabling power saving mode? Something like:
>>
>> iwconfig wlan0 power off
>
> I love this list.  I don't want to speak too soon, but Paul, it looks
> like you fixed it.

I hope so!

> I've been struggling with this for a very long
> time.  The problem would manifest with 2 different rt73 USB wireless
> adapters.

I had unstable connections and poor speeds on my laptop, and power
saving turned out to be the reason why. Some cards have intermediate
power-saving levels, too, which might give you a good compromise
between performance and battery life, if battery life is even a
concern.



Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Grant
>> I'm on the road connecting to various wireless access points and
>> sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
>> (timed out) messages in dmesg which makes sense.  Other times I get a
>> different series of messages in dmesg when I'm unable to connect which
>> don't make sense to me.  The interface connects, then disconnects,
>> then connects, then disconnects, over and over until it finally
>> decides to fail permanently.
>
> Have you tried disabling power saving mode? Something like:
>
> iwconfig wlan0 power off

I love this list.  I don't want to speak too soon, but Paul, it looks
like you fixed it.  I've been struggling with this for a very long
time.  The problem would manifest with 2 different rt73 USB wireless
adapters.

- Grant



Re: [gentoo-user] Re: Typewriter sound

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 12:46 PM, Grant Edwards
 wrote:
>> b) old school pc-speaker in your computer
>
> Even then, how do you play a recorded sound file containing a
> typeblock-hitting-platen sound through that speaker? It was connected
> to a timer-counter output pin not a D/A converter (unless you count
> timer/counter output pin as a 1-bit D/A converter).

I think it just made the generic "beep" (or a beep short enough and
low enough in tone to sound similar to a click) not playing a custom
sound file.



Re: [gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 12:30 PM, Grant  wrote:
> I'm on the road connecting to various wireless access points and
> sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
> (timed out) messages in dmesg which makes sense.  Other times I get a
> different series of messages in dmesg when I'm unable to connect which
> don't make sense to me.  The interface connects, then disconnects,
> then connects, then disconnects, over and over until it finally
> decides to fail permanently.

Have you tried disabling power saving mode? Something like:

iwconfig wlan0 power off



[gentoo-user] Re: Typewriter sound

2011-08-31 Thread Grant Edwards
On 2011-08-31, Paul Hartman  wrote:
> On Wed, Aug 31, 2011 at 11:27 AM, Grant Edwards
> wrote:
>> I've read the xset man page, I've tried the 'c' option, and it does
>> absolutely nothing. ?To the best of my recollection, the 'xset c'
>> command has never done anything on any X11 machine I've used in the
>> past 15+ years. ?I have vague memories of it having done something on
>> Sun 3 hardware 20 years ago, but all it did was turn a "click" on/off.
>
> My guess is that maybe it depends on either:
>
> a) your keyboard having a speaker built-in

I believe that's how it worked with Sun3 keyboards.

> b) old school pc-speaker in your computer

Even then, how do you play a recorded sound file containing a
typeblock-hitting-platen sound through that speaker? It was connected
to a timer-counter output pin not a D/A converter (unless you count
timer/counter output pin as a 1-bit D/A converter).

> but maybe I'm wrong. :)

-- 
Grant Edwards   grant.b.edwardsYow! This ASEXUAL PIG
  at   really BOILS my BLOOD
  gmail.com... He's so ... so
   ... URGENT!!




[gentoo-user] Wireless: deauthenticating by local choice

2011-08-31 Thread Grant
I'm on the road connecting to various wireless access points and
sometimes I'm unable to connect and I get the (try 1) (try 2) (try 3)
(timed out) messages in dmesg which makes sense.  Other times I get a
different series of messages in dmesg when I'm unable to connect which
don't make sense to me.  The interface connects, then disconnects,
then connects, then disconnects, over and over until it finally
decides to fail permanently.  I can run iwconfig throughout this
process and see that the interface periodically becomes fully
associated with a good bitrate.  I've tried iwconfig and wicd.  The
log looks like this:

 wlan2: authenticate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: authenticated
 wlan2: associate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: RX AssocResp from 40:4a:03:d2:f5:71 (capab=0x471 status=0 aid=2)
 wlan2: associated
 wlan2: deauthenticating from 40:4a:03:d2:f5:71 by local choice (reason=3)
 cfg80211: Calling CRDA to update world regulatory domain
 wlan2: authenticate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: authenticated
 wlan2: associate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: RX AssocResp from 40:4a:03:d2:f5:71 (capab=0x471 status=0 aid=2)
 wlan2: associated
 wlan2: deauthenticated from 40:4a:03:d2:f5:71 (Reason: 7)
 cfg80211: Calling CRDA to update world regulatory domain
 wlan2: authenticate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: authenticated
 wlan2: associate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: RX AssocResp from 40:4a:03:d2:f5:71 (capab=0x471 status=0 aid=2)
 wlan2: associated
 wlan2: deauthenticating from 40:4a:03:d2:f5:71 by local choice (reason=3)
 cfg80211: Calling CRDA to update world regulatory domain
 wlan2: authenticate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: authenticated
 wlan2: associate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: RX AssocResp from 40:4a:03:d2:f5:71 (capab=0x471 status=0 aid=2)
 wlan2: associated
 wlan2: deauthenticated from 40:4a:03:d2:f5:71 (Reason: 7)
 cfg80211: Calling CRDA to update world regulatory domain
 wlan2: authenticate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: authenticated
 wlan2: associate with 40:4a:03:d2:f5:71 (try 1)
 wlan2: RX AssocResp from 40:4a:03:d2:f5:71 (capab=0x471 status=0 aid=2)
 wlan2: associated
 wlan2: deauthenticating from 40:4a:03:d2:f5:71 by local choice (reason=3)
 cfg80211: Calling CRDA to update world regulatory domain

 Does anyone know why this happens?

 - Grant



Re: [gentoo-user] Re: Typewriter sound

2011-08-31 Thread Paul Hartman
On Wed, Aug 31, 2011 at 11:27 AM, Grant Edwards
 wrote:
> I've read the xset man page, I've tried the 'c' option, and it does
> absolutely nothing.  To the best of my recollection, the 'xset c'
> command has never done anything on any X11 machine I've used in the
> past 15+ years.  I have vague memories of it having done something on
> Sun 3 hardware 20 years ago, but all it did was turn a "click" on/off.

My guess is that maybe it depends on either:

a) your keyboard having a speaker built-in
b) old school pc-speaker in your computer

but maybe I'm wrong. :)



Re: [gentoo-user] portage failed to upgrade

2011-08-31 Thread Pandu Poluan
(Sorry for top-posting; Gmail java mobile client sucks)

gid 0 should be the 'root' gid. Try 'grep -E "root|wheel" /etc/groups'
and see if there is/are groups called 'root' or 'wheel' with gid==0

Also a question: Are you using sudo?

Rgds,


On 2011-08-31, Space Cake  wrote:
> Hi,
>
> For a few days my routine upgrades failing at portage with the following
> message. Do you have any idea what does it means?
>
> File
> "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
> line 21, in 
> os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
> KeyError: 'getgrgid(): gid not found: 0'
>
> I've tried to google this, but nothing has found
>
> Thank you
> Laszlo
>
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



[gentoo-user] Re: Typewriter sound

2011-08-31 Thread Grant Edwards
On 2011-08-31, Volker Armin Hemmann  wrote:

> why? 
> man xset

Can you explain further?

I've read the xset man page, I've tried the 'c' option, and it does
absolutely nothing.  To the best of my recollection, the 'xset c'
command has never done anything on any X11 machine I've used in the
past 15+ years.  I have vague memories of it having done something on
Sun 3 hardware 20 years ago, but all it did was turn a "click" on/off.

> really guys. Why do it the long, hard and stupid way if there have been 
> simple, built in solutions for longer than some of you live?

What solution is that?

-- 
Grant Edwards   grant.b.edwardsYow! I'm using my X-RAY
  at   VISION to obtain a rare
  gmail.comglimpse of the INNER
   WORKINGS of this POTATO!!




[gentoo-user] OpenLDAP works only at localhost, not from outside

2011-08-31 Thread Johannes Geiss
Hi there,

I want to access my LDAP-data from anywhere on the internet but I only
get it working on localhost.

I installed OpenLDAP 2.4.24, and tried to do the tutorial at

http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html

The LDAP database works fine from localhost with

ldapsearch -vLx -b "o=stooges" "(sn=Fine)" -h localhost

but if I try to do it from the outside (ie. the IP address my router
gave me via DHCP)

ldapsearch -vLx -b "o=stooges" "(sn=Fine)" -h xxx.xxx.xxx.xxx

I get the output "ldap_initialize( ldap://xxx.xxx.xxx.xxx )" and the
client hangs.

The slapd server prints

slap_listener_activate(6):
>>> slap_listener(ldap:///)
connection_get(17): got connid=1000
connection_read(17): checking for input on id=1000
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
op tag 0x60, time 1314787890
ber_get_next
conn=1000 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=1000 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 17
do_bind: v3 anonymous bind

and hangs at this point until I Ctrl-C the client or wait approx. 5
Minutes.

Does anybody successfully installed an LDAP-service with access from
the outside? What is the content of slapd.conf?

Did I miss anything else?

Thank you for any suggestions
Johannes
-- 

--//--
 // PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
 \\ //Johannes R. GeissPandora, Zaurus, Pegasos, Amiga and C64
--\X/-


signature.asc
Description: PGP signature


Re: [gentoo-user] compressed filesystem

2011-08-31 Thread Nilesh Govindarajan
On 08/31/2011 09:51 PM, Nilesh Govindarajan wrote:
> On 08/31/2011 09:20 PM, Space Cake wrote:
>> Hi,
>>
>> Is there any way to create some kind of "on the fly" compressed
>> filesystem for backup purposes? My files are getting bigger and bigger
>> but my external drive stays the same :)
> 
> Btrfs supports on the fly compression
> 

Another option is, you can use the squashfs trick, described here-
http://forums.gentoo.org/viewtopic-t-646289-start-25.html

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] compressed filesystem

2011-08-31 Thread Nilesh Govindarajan
On 08/31/2011 09:20 PM, Space Cake wrote:
> Hi,
> 
> Is there any way to create some kind of "on the fly" compressed
> filesystem for backup purposes? My files are getting bigger and bigger
> but my external drive stays the same :)

Btrfs supports on the fly compression

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Typewriter sound

2011-08-31 Thread Space Cake
On 2011. aug. 31., szerda, 17.54.15 CEST, Volker Armin Hemmann wrote:
> Am Mittwoch 31 August 2011, 17:18:26 schrieb Space Cake:
>> 2010-08-17 21:34 keltezéssel, Albert Hopkins írta:
>>> On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote:
 Bill Longman  [10-08-17 20:16]:
> On 08/17/2010 10:56 AM, Albert Hopkins wrote:
>> On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de
>>
>> wrote:
>>> Hi,
>>>
>>> on YouTube there was a Blender-2.5 tutorial with audio.
>>> There was an interesting detail: While there were spoken
>>> instructions one can hear one typing on its keyboard. Each
>>> hit on one of the keys made the sound of an old typewriter
>>> (no, it was not the sound of the legendary "IBM Model M"
>>> keyboard ;) ).
>>>
>>> How can I achieve this? What software can I use to make
>>> this geeky feature to come true. Unfortunately I have no
>>> idea, how to name this kind of what(?) ...
>>>
>>> Thank you very much for any hint in advance! Best regards,
>>> mcc
>>
>> There probably a number of ways to do this.
>>
>> A cheap and easy way would be to use xev to monitor a window
>> and then pipe the stderr to a a program that waits for a
>> keypress event and then plays an apropriate.
>>
>> A less cheap way would be to have our program do what xev
>> does instead of using a pipe.
>
> Or you could set your X keyclick using xset.

 Hi,

 thanks a lot for your replies! :) Is there any program already,
 which does this? A daemon or...

 Best regards, mcc
>>>
>>> Well I found out that when you pass window id to xev it does not
>>> trap keyboard presses per-sé.  But there is another way...
>>>
>>> Anway the following is a quick hack (in python).  It pretty much
>>> works except it also seems to trap mouse presses.  I got the .wav
>>> file at http://www.soundjay.com/typewriter-sounds.html
>>>
>>> I tried using 'xset c' but it basically does nothing for me.  My
>>> guess is that it does work it basically sends the a BELL to the
>>> console.
>>>
>>>
>>> --- 8< CUT HERE
>>> --- import sys
>>> import subprocess
>>>
>>> soundfile = 'typewriter-key-1.wav'
>>>
>>> def main(): window_id = sys.argv[1] cmd = ['xev', '-id',
>>> window_id]
>>>
>>> p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: line
>>> = p1.stdout.readline() if line.find('atom 0x14d') > -1:
>>> subprocess.Popen(['aplay', soundfile], stderr=open('/dev/null',
>>> 'w'))
>>>
>>>
>>> if __name__ == '__main__': main()
>>
>> Guys, this is awesome :) Let's make an ebuild and put in portage :)
>>
>> L:
> 
> why? 
> man xset
> 
>  really guys. Why do it the long, hard and stupid way if there have been 
> simple, built in solutions for longer than some of you live?

I can't achieve the same with xset :) but this solution is working very 
well, this is a really important project showing the power of 
opensource :)

L:




Re: [gentoo-user] Typewriter sound

2011-08-31 Thread Volker Armin Hemmann
Am Mittwoch 31 August 2011, 17:18:26 schrieb Space Cake:
> 2010-08-17 21:34 keltezéssel, Albert Hopkins írta:
> > On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote:
> >> Bill Longman  [10-08-17 20:16]:
> >>> On 08/17/2010 10:56 AM, Albert Hopkins wrote:
>  On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de
>  
>  wrote:
> > Hi,
> > 
> > on YouTube there was a Blender-2.5 tutorial with audio.
> > There was an interesting detail: While there were spoken
> > instructions one can hear one typing on its keyboard. Each
> > hit on one of the keys made the sound of an old typewriter
> > (no, it was not the sound of the legendary "IBM Model M"
> > keyboard ;) ).
> > 
> > How can I achieve this? What software can I use to make
> > this geeky feature to come true. Unfortunately I have no
> > idea, how to name this kind of what(?) ...
> > 
> > Thank you very much for any hint in advance! Best regards,
> > mcc
>  
>  There probably a number of ways to do this.
>  
>  A cheap and easy way would be to use xev to monitor a window
>  and then pipe the stderr to a a program that waits for a
>  keypress event and then plays an apropriate.
>  
>  A less cheap way would be to have our program do what xev
>  does instead of using a pipe.
> >>> 
> >>> Or you could set your X keyclick using xset.
> >> 
> >> Hi,
> >> 
> >> thanks a lot for your replies! :) Is there any program already,
> >> which does this? A daemon or...
> >> 
> >> Best regards, mcc
> > 
> > Well I found out that when you pass window id to xev it does not
> > trap keyboard presses per-sé.  But there is another way...
> > 
> > Anway the following is a quick hack (in python).  It pretty much
> > works except it also seems to trap mouse presses.  I got the .wav
> > file at http://www.soundjay.com/typewriter-sounds.html
> > 
> > I tried using 'xset c' but it basically does nothing for me.  My
> > guess is that it does work it basically sends the a BELL to the
> > console.
> > 
> > 
> > --- 8< CUT HERE
> > --- import sys
> > import subprocess
> > 
> > soundfile = 'typewriter-key-1.wav'
> > 
> > def main(): window_id = sys.argv[1] cmd = ['xev', '-id',
> > window_id]
> > 
> > p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: line
> > = p1.stdout.readline() if line.find('atom 0x14d') > -1:
> > subprocess.Popen(['aplay', soundfile], stderr=open('/dev/null',
> > 'w'))
> > 
> > 
> > if __name__ == '__main__': main()
> 
> Guys, this is awesome :) Let's make an ebuild and put in portage :)
> 
> L:

why? 
man xset

 really guys. Why do it the long, hard and stupid way if there have been 
simple, built in solutions for longer than some of you live?

-- 
#163933



[gentoo-user] compressed filesystem

2011-08-31 Thread Space Cake
Hi,

Is there any way to create some kind of "on the fly" compressed
filesystem for backup purposes? My files are getting bigger and bigger
but my external drive stays the same :)

Thanks
Laszlo



[gentoo-user] Re: Typewriter sound

2011-08-31 Thread Grant Edwards
On 2011-08-31, Space Cake  wrote:

> A cheap and easy way would be to use xev to monitor a window and then
> pipe the stderr to a a program that waits for a keypress event and
> then plays an apropriate.

Thats how I did it in Python:


#!/usr/bin/python
import sys
import subprocess

soundfile = 'typewriter-key-1.wav'

def main():
window_id = sys.argv[1]
cmd = ['xev', '-id', window_id]

p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE)
while True:
line = p1.stdout.readline()
if line.find('KeyPress event') > -1:
subprocess.Popen(['aplay', soundfile],stderr=open('/dev/null','w'))

if __name__ == '__main__':
main()
--

I don't remember where I got the typewriter-key-1.wav file from.

It's amusing for about 30 seconds ;)

-- 
Grant Edwards   grant.b.edwardsYow! FUN is never having to
  at   say you're SUSHI!!
  gmail.com




Re: [gentoo-user] Epson BX525WD

2011-08-31 Thread Michael Mol
On Wed, Aug 31, 2011 at 9:24 AM, Thanasis  wrote:
> Anyone with experience working with epson inkjet printers?
>
> BX525WD is a multifunction device (printer, copier and scanner), and has
> ethernet, USB and wifi connectivity.
>
> Can I use it with CUPS? Do I need any special USE flags?
> I use the amd64 no-multilib profile.
> I am interested in its printing function in the first place.
>
> I looked at epson home site for drivers and it pointed to
> http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
> where one can find binary .rpm and .deb packages for the diver, and the
> source code as
> epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm
>
> I downloaded the
> http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
> file and used rpm2tbz2 to get the file:
> epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
> Among other files it contains a ppd file that seems appropriate for the
> printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
> I guess I could use that with CUPS, but to connect to the printer via
> ethernet, what option (protocol?) should I select?
>
> CUPS web interface (http://localhost:631/admin/)
> gives me those options:
>
> Local Printers:
> SCSI Printer
> HP Printer (HPLIP)
>
> Other Network Printers:
> AppSocket/HP JetDirect
> Internet Printing Protocol (http)
> Internet Printing Protocol (ipp)
> Internet Printing Protocol (https)
> LPD/LPR Host or Printer
> Windows Printer via SAMBA

Do you want to connect to the printer directly over the network?

Try nmapping its IP address to find out which services it has enabled.
As Jeremy noted, IPP is generally a very good option, but any of the
available services should work if you're bouncing through a CUPS
daemon.

-- 
:wq



Re: [gentoo-user] Typewriter sound

2011-08-31 Thread Space Cake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

2010-08-17 21:34 keltezéssel, Albert Hopkins írta:
> On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote:
>> Bill Longman  [10-08-17 20:16]:
>>> On 08/17/2010 10:56 AM, Albert Hopkins wrote:
 On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de
 wrote:
> Hi,
> 
> on YouTube there was a Blender-2.5 tutorial with audio. 
> There was an interesting detail: While there were spoken 
> instructions one can hear one typing on its keyboard. Each
> hit on one of the keys made the sound of an old typewriter
> (no, it was not the sound of the legendary "IBM Model M"
> keyboard ;) ).
> 
> How can I achieve this? What software can I use to make
> this geeky feature to come true. Unfortunately I have no
> idea, how to name this kind of what(?) ...
> 
> Thank you very much for any hint in advance! Best regards, 
> mcc
 
 There probably a number of ways to do this.
 
 A cheap and easy way would be to use xev to monitor a window
 and then pipe the stderr to a a program that waits for a
 keypress event and then plays an apropriate.
 
 A less cheap way would be to have our program do what xev
 does instead of using a pipe.
>>> 
>>> Or you could set your X keyclick using xset.
>>> 
>> 
>> Hi,
>> 
>> thanks a lot for your replies! :) Is there any program already,
>> which does this? A daemon or...
>> 
>> Best regards, mcc
>> 
>> 
> 
> Well I found out that when you pass window id to xev it does not
> trap keyboard presses per-sé.  But there is another way...
> 
> Anway the following is a quick hack (in python).  It pretty much
> works except it also seems to trap mouse presses.  I got the .wav
> file at http://www.soundjay.com/typewriter-sounds.html
> 
> I tried using 'xset c' but it basically does nothing for me.  My
> guess is that it does work it basically sends the a BELL to the
> console.
> 
> 
> --- 8< CUT HERE
> --- import sys 
> import subprocess
> 
> soundfile = 'typewriter-key-1.wav'
> 
> def main(): window_id = sys.argv[1] cmd = ['xev', '-id',
> window_id]
> 
> p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: line
> = p1.stdout.readline() if line.find('atom 0x14d') > -1: 
> subprocess.Popen(['aplay', soundfile], stderr=open('/dev/null', 
> 'w'))
> 
> 
> if __name__ == '__main__': main()
> 
> 
> 
Guys, this is awesome :) Let's make an ebuild and put in portage :)

L:

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

iQEcBAEBAgAGBQJOXlDCAAoJECu/a/sBwapoXS0IAMKolA55zV/mAQqlwe/qvk1w
HyVpirrOYYYQOsdJChnvYfpgWBUT0F8uwEaO1pLGdlACrN0VHYJMk45nC8PBtKkL
gkrnR0Q0Ew6bZ1DeXjd2x+jZEN5Am6vQCHxLd85OJfTvIM7Ahc+FdJWtfhcaO8IF
hXppxITOQ9hCH+iEhel6TTq4wAQjX/i0C6RsF9RTGbocAzCdpZSs/RPffQiHuScv
IBrKOxLCQ2TACmdYmbK47vCKH6rgsNDENWD19g9zVouHHtXLeBnavG42wV46qCUW
OmNoKFA00ZXmuVUhpyUhhLSv6D4n5w7TFKdNXFof6Whf6/9X82oVe4yQCgbC+E8=
=R2iT
-END PGP SIGNATURE-



Re: [gentoo-user] Epson BX525WD

2011-08-31 Thread Jeremy McSpadden
the type depends on how its hooked up, if its ethernet; use IPP.
if its usb, it should detect

--
Jeremy McSpadden
def...@uberpenguin.net




On Aug 31, 2011, at 8:24 AM, Thanasis wrote:

> Anyone with experience working with epson inkjet printers?
> 
> BX525WD is a multifunction device (printer, copier and scanner), and has
> ethernet, USB and wifi connectivity.
> 
> Can I use it with CUPS? Do I need any special USE flags?
> I use the amd64 no-multilib profile.
> I am interested in its printing function in the first place.
> 
> I looked at epson home site for drivers and it pointed to
> http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
> where one can find binary .rpm and .deb packages for the diver, and the
> source code as
> epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm
> 
> I downloaded the
> http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
> file and used rpm2tbz2 to get the file:
> epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
> Among other files it contains a ppd file that seems appropriate for the
> printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
> I guess I could use that with CUPS, but to connect to the printer via
> ethernet, what option (protocol?) should I select?
> 
> CUPS web interface (http://localhost:631/admin/)
> gives me those options:
> 
> Local Printers:
> SCSI Printer
> HP Printer (HPLIP)
>   
> Other Network Printers:
> AppSocket/HP JetDirect
> Internet Printing Protocol (http)
> Internet Printing Protocol (ipp)
> Internet Printing Protocol (https)
> LPD/LPR Host or Printer
> Windows Printer via SAMBA
> 




Re: [gentoo-user] portage failed to upgrade

2011-08-31 Thread Space Cake
On 2011. aug. 31., szerda, 16.16.54 CEST, Michael Mol wrote:
> On Wed, Aug 31, 2011 at 10:10 AM, Space Cake  wrote:
>> On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote:
>>> 2011/8/31 Space Cake :
 Hi,

 For a few days my routine upgrades failing at portage with the following
 message. Do you have any idea what does it means?

 File
 "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
 line 21, in 
os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
 KeyError: 'getgrgid(): gid not found: 0'

 I've tried to google this, but nothing has found
>>>
>>> A new portage went stable a few days ago. You might try explicitly
>>> upgrading portage, and then continuing.
>>
>> Yes, this is what I've tried, but it is failed with the message above
> 
> By the error, it looks like the code expected to be run as gid 0, but wasn't.
> 
> I assume you ran etc-update?
> 
> What about a downgrade? Could you downgrade portage to the last stable
> version (not sure what that is), and then upgrade it again? (I'd wait
> for someone else to chime in before you do this. It may be a riskier
> move than is obvious. I'm not sure.)

Yes, etc-update is also routine for me and I'm on stable 

[U] sys-apps/portage
 Available versions:  [M]2.1.6.7 2.1.6.13 2.1.9.42 2.1.10.3 
2.1.10.11 ~*2.2.0_alpha51 ** {build doc epydoc +ipc (+)less 
linguas_pl python2 python3 selinux}
 Installed versions:  2.1.10.3(18.02.13 2011-07-18)(ipc less -build 
-doc -epydoc -linguas_pl -python2 -python3 -selinux)
 Homepage:
http://www.gentoo.org/proj/en/portage/index.xml
 Description: Portage is the package management and 
distribution sys





Re: [gentoo-user] portage failed to upgrade

2011-08-31 Thread Michael Mol
On Wed, Aug 31, 2011 at 10:10 AM, Space Cake  wrote:
> On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote:
>> 2011/8/31 Space Cake :
>>> Hi,
>>>
>>> For a few days my routine upgrades failing at portage with the following
>>> message. Do you have any idea what does it means?
>>>
>>> File
>>> "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
>>> line 21, in 
>>>    os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
>>> KeyError: 'getgrgid(): gid not found: 0'
>>>
>>> I've tried to google this, but nothing has found
>>
>> A new portage went stable a few days ago. You might try explicitly
>> upgrading portage, and then continuing.
>
> Yes, this is what I've tried, but it is failed with the message above

By the error, it looks like the code expected to be run as gid 0, but wasn't.

I assume you ran etc-update?

What about a downgrade? Could you downgrade portage to the last stable
version (not sure what that is), and then upgrade it again? (I'd wait
for someone else to chime in before you do this. It may be a riskier
move than is obvious. I'm not sure.)

-- 
:wq



Re: [gentoo-user] portage failed to upgrade

2011-08-31 Thread Space Cake
On 2011. aug. 31., szerda, 16.02.15 CEST, Michael Mol wrote:
> 2011/8/31 Space Cake :
>> Hi,
>>
>> For a few days my routine upgrades failing at portage with the following
>> message. Do you have any idea what does it means?
>>
>> File
>> "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
>> line 21, in 
>>os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
>> KeyError: 'getgrgid(): gid not found: 0'
>>
>> I've tried to google this, but nothing has found
> 
> A new portage went stable a few days ago. You might try explicitly
> upgrading portage, and then continuing.

Yes, this is what I've tried, but it is failed with the message above

L:




Re: [gentoo-user] portage failed to upgrade

2011-08-31 Thread Michael Mol
2011/8/31 Space Cake :
> Hi,
>
> For a few days my routine upgrades failing at portage with the following
> message. Do you have any idea what does it means?
>
> File
> "/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
> line 21, in 
>    os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
> KeyError: 'getgrgid(): gid not found: 0'
>
> I've tried to google this, but nothing has found

A new portage went stable a few days ago. You might try explicitly
upgrading portage, and then continuing.

-- 
:wq



[gentoo-user] portage failed to upgrade

2011-08-31 Thread Space Cake
Hi,

For a few days my routine upgrades failing at portage with the following
message. Do you have any idea what does it means?

File
"/var/tmp/portage/sys-apps/portage-2.1.10.11/image/usr/lib/portage/pym/portage/tests/runTests",
line 21, in 
os.environ["PORTAGE_GRPNAME"] = grp.getgrgid(os.getgid()).gr_name
KeyError: 'getgrgid(): gid not found: 0'

I've tried to google this, but nothing has found

Thank you
Laszlo




[gentoo-user] Epson BX525WD

2011-08-31 Thread Thanasis
Anyone with experience working with epson inkjet printers?

BX525WD is a multifunction device (printer, copier and scanner), and has
ethernet, USB and wifi connectivity.

Can I use it with CUPS? Do I need any special USE flags?
I use the amd64 no-multilib profile.
I am interested in its printing function in the first place.

I looked at epson home site for drivers and it pointed to
http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
where one can find binary .rpm and .deb packages for the diver, and the
source code as
epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm

I downloaded the
http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
file and used rpm2tbz2 to get the file:
epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
Among other files it contains a ppd file that seems appropriate for the
printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
I guess I could use that with CUPS, but to connect to the printer via
ethernet, what option (protocol?) should I select?

CUPS web interface (http://localhost:631/admin/)
gives me those options:

Local Printers:
SCSI Printer
HP Printer (HPLIP)

Other Network Printers:
AppSocket/HP JetDirect
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
Internet Printing Protocol (https)
LPD/LPR Host or Printer
Windows Printer via SAMBA



[gentoo-user] Re: systemd

2011-08-31 Thread walt
On 08/30/2011 04:56 AM, Alex Schuster wrote:
> Alan McKinnon writes:

> dbus-daemon often uses 10-20% of my CPU according to top.

Have you tried using dbus-monitor?  It may tell you if some app is
being inappropriate.





[gentoo-user] 10 G eth (10000) on Gentoo

2011-08-31 Thread James
Hello,

I just might have an opportunity to setup a Gentoo 
System using 10 G ethernet (fiber). The .39
kernel lists this hardware [1].

Does anyone have any experience with this hardware?
Does it work? Did you make any bandwidth measurements?
What type of fiber (mulimode/singlemode) (ST/SC) did you
use?

Any comments? Is the kernel a bottleneck or your application?

  --- Ethernet (1 Mbit)
  Chelsio 10Gb Ethernet support  
  Chelsio Communications T3 10Gb Ethernet support
  Chelsio Communications T4 Ethernet support
  Chelsio Communications T4 Virtual Function Ethernet support   
  Cisco VIC Ethernet NIC Support
  Intel(R) 10GbE PCI Express adapters support   
  Intel(R) 82599 Virtual Function Ethernet support   
  Intel(R) PRO/10GbE support
  Exar Xframe 10Gb Ethernet Adapter   
  Exar X3100 Series 10GbE PCIe Server Adapter
  Myricom Myri-10G Ethernet support 
  NetXen Multi port (1/10) Gigabit Ethernet NIC 
  Sun Neptune 10Gbit Ethernet support
  Mellanox Technologies 10Gbit Ethernet support   
  Tehuti Networks 10G Ethernet 
  Broadcom NetXtremeII 10Gb support 
  QLOGIC QLCNIC 1/10Gb Converged Ethernet NIC Support  
  QLogic QLGE 10Gb Ethernet Driver Support  
  Brocade 1010/1020 10Gb Ethernet Driver support
  Solarflare Solarstorm SFC4000/SFC9000-family support 
  ServerEngines' 10Gbps NIC - BladeEngine   




Re: [gentoo-user] New install on x86 and login to KDE fails

2011-08-31 Thread Dale

Dale wrote:

Mick wrote:

On Wednesday 31 Aug 2011 01:05:15 Dale wrote:


Still open to ideas.  Keep in mind, failsafe works as does Fluxbox.
Speaking of, how do I get the Fluxbox menu to include all the KDE apps?
I want the card games, kpat and such, to show up.  He may can use that
until I can figure out something else.  Maybe a mobo with a decent 
video

card for a start.  ;-)
I used to write my own when I was using Fluxbox all the time, mostly 
because I

had my own preferences for menus/submenus/apps, menu icons, etc.

However, there's a number of scripts that will parse other DE and create
Fluxbox menus for you.  Can't recall them off hand, have a look at 
the Fluxbox
website - I'm sure I saw them mentioned there.  I also seem to recall 
scripts

discussed in the forums>5 years ago.


Thanks.  I'll go look some more.  I been there before but I was 
looking for other info so I may have missed that.


Thanks again.

Dale

:-)  :-)



For future reference, this is a good link and it works.

http://en.gentoo-wiki.com/wiki/Fluxbox

I ended up using the menumaker package.  I also had to use the -f option 
to overwrite the already created file.  Now I have the apps in the menu 
where they should be.


Thanks much.  Now I wish I had a better video card to fix the other 
problems.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] New install on x86 and login to KDE fails

2011-08-31 Thread Dale

Mick wrote:

On Wednesday 31 Aug 2011 01:05:15 Dale wrote:

Volker Armin Hemmann wrote:

check permissions? Get some graphics hardware with not-broken drivers?

I even tried a fresh new .kde directory.  Same thing.  The video is
built in so I'm sort of stuck with it  I don't have a card that will fit
in it to even test the theory.

Still open to ideas.  Keep in mind, failsafe works as does Fluxbox.
Speaking of, how do I get the Fluxbox menu to include all the KDE apps?
I want the card games, kpat and such, to show up.  He may can use that
until I can figure out something else.  Maybe a mobo with a decent video
card for a start.  ;-)

I used to write my own when I was using Fluxbox all the time, mostly because I
had my own preferences for menus/submenus/apps, menu icons, etc.

However, there's a number of scripts that will parse other DE and create
Fluxbox menus for you.  Can't recall them off hand, have a look at the Fluxbox
website - I'm sure I saw them mentioned there.  I also seem to recall scripts
discussed in the forums>5 years ago.


Thanks.  I'll go look some more.  I been there before but I was looking 
for other info so I may have missed that.


Thanks again.

Dale

:-)  :-)



Re: [gentoo-user] New install on x86 and login to KDE fails

2011-08-31 Thread Mick
On Wednesday 31 Aug 2011 01:05:15 Dale wrote:
> Volker Armin Hemmann wrote:
> > check permissions? Get some graphics hardware with not-broken drivers?
> 
> I even tried a fresh new .kde directory.  Same thing.  The video is
> built in so I'm sort of stuck with it  I don't have a card that will fit
> in it to even test the theory.
> 
> Still open to ideas.  Keep in mind, failsafe works as does Fluxbox.
> Speaking of, how do I get the Fluxbox menu to include all the KDE apps?
> I want the card games, kpat and such, to show up.  He may can use that
> until I can figure out something else.  Maybe a mobo with a decent video
> card for a start.  ;-)

I used to write my own when I was using Fluxbox all the time, mostly because I 
had my own preferences for menus/submenus/apps, menu icons, etc.

However, there's a number of scripts that will parse other DE and create 
Fluxbox menus for you.  Can't recall them off hand, have a look at the Fluxbox 
website - I'm sure I saw them mentioned there.  I also seem to recall scripts 
discussed in the forums >5 years ago.
-- 
Regards,
Mick


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