Re: [gentoo-user] what about my routing here ...

2013-10-10 Thread Stefan G. Weichinger
Am 10.10.2013 06:45, schrieb Adam Carter:
 There might have been a icmp redirect from 10.96.25.1 telling ipfire that
 there's a better way to get to that network, and its via 10.96.25.2.
 
 On my system it seems to be off by default (I havent set it in
 /etc/sysctl.conf) which makes sense as redirects can be used for MITM
 attacks.
 $ cat /proc/sys/net/ipv4/conf/all/accept_redirects
 0

So I would have to check that on the router? Or both? Just will check
both, sure ...

Could this lead to mislead keepalive packets from libvirtd?
Maybe I should ask their network-admins for more details ... huge
company, unknown structures ;-)

Thanks, Stefan




[gentoo-user] Problem with distcc and pump mode: failed to connect to unix-domain: Permission denied

2013-10-10 Thread Uwe Scholz
Hello Gentoo fellows :-)

I have a mysterious problem with distcc and pump mode. Actually, distcc
is working here, but together with pump mode I get strange error
messages and can't find a solution for it.

For example I tried to install minitube on my notebook (the distcc
client) by

pump emerge minitube

In the output of the make process for nearly every new file which should
be processed the error message

distcc[2815] ERROR: failed to connect to UNIX-DOMAIN 
/tmp/distcc-pump.boOiEs/socket: Permission denied
distcc[2815] (dcc_build_somewhere) Warning: failed to get includes from include 
server, preprocessing locally

occurs. So, if I get this right, pump mode is not used. Distcc itself is
working, as my other PC is compiling something for the client, but I
want to understand why pump mode is not used...

/tmp/distcc-pump.boOiEs/socket is owned by root as you can see here:
ls -l /tmp/distcc-pump.boOiEs/socket
srwxr-xr-x 1 root root 0 10. Okt 09:55 socket

The file /etc/distcc/hosts on my client looks like
uwe-notebook/8,cpp,lzo 127.0.0.1/1 
where uwe-notebook is the distccd server.

In both /etc/portage/make.conf on the client and the server side I have 
FEATURES=preserve-libs sandbox ccache distcc parallel-fetch
CCACHE_CPP2=1
CCACHE_DIR=/var/tmp/ccache

The CFLAGS are not set to native for both machines but to nocona on the
client and to core2 on the server side, as distcc is not working for
native.

Can anyone give me a clue?

Ciao,
Uwe



Re: [gentoo-user] what about my routing here ...

2013-10-10 Thread Adam Carter
On the ipfire router. A quick google turns up commands like: ip route get
IP and ip route list cache match IP and if a redirected route exists,
it is labelled that way in the output of such commands.

If this is happening, it will be triggered by any traffic is forwarded to
10.96.25.1. Also, it shouldnt cause any problems. Other than a traceroute
output not quite being what you expect, is there any problem? If
everything's good dont worry about it (unless your curiosity is piqued).


On Thu, Oct 10, 2013 at 5:26 PM, Stefan G. Weichinger li...@xunil.atwrote:

 Am 10.10.2013 06:45, schrieb Adam Carter:
  There might have been a icmp redirect from 10.96.25.1 telling ipfire that
  there's a better way to get to that network, and its via 10.96.25.2.
 
  On my system it seems to be off by default (I havent set it in
  /etc/sysctl.conf) which makes sense as redirects can be used for MITM
  attacks.
  $ cat /proc/sys/net/ipv4/conf/all/accept_redirects
  0

 So I would have to check that on the router? Or both? Just will check
 both, sure ...

 Could this lead to mislead keepalive packets from libvirtd?
 Maybe I should ask their network-admins for more details ... huge
 company, unknown structures ;-)

 Thanks, Stefan





Re: [gentoo-user] what about my routing here ...

2013-10-10 Thread Stefan G. Weichinger
Am 10.10.2013 10:30, schrieb Adam Carter:
 On the ipfire router. A quick google turns up commands like: ip route get
 IP and ip route list cache match IP and if a redirected route exists,
 it is labelled that way in the output of such commands.
 
 If this is happening, it will be triggered by any traffic is forwarded to
 10.96.25.1. Also, it shouldnt cause any problems. Other than a traceroute
 output not quite being what you expect, is there any problem? If
 everything's good dont worry about it (unless your curiosity is piqued).

Unfortunately not everything is good. I get strange timeouts for libvirt
connections and also for scp ...  what is special is that I can ssh the
servers there quite stable ... same VPN, same config.

For example I try to scp a small regfile:


Authenticated to 10.96.25.130 ([10.96.25.130]:22).
debug1: HPN to Non-HPN Connection
debug1: Final hpn_buffer_size = 2097152
debug1: HPN Disabled: 0, HPN Buffer Size: 2097152
debug1: channel 0: new [client-session]
debug1: Enabled Dynamic Window Scaling

debug1: Entering interactive session.
debug1: Sending command: scp -v -t -- /tmp
Sending file modes: C0644 6943 sgw.reg
Sink: C0644 6943 sgw.reg
sgw.reg
  100% 6943 6.8KB/s
  6.8KB/s   00:00
debug1: client_input_channel_req: channel 0 rtype keepal...@openssh.com
reply 1
debug1: client_input_channel_req: channel 0 rtype keepal...@openssh.com
reply 1
debug1: client_input_channel_req: channel 0 rtype keepal...@openssh.com
reply 1
Received disconnect from 10.96.25.130: 2: Timeout, your session not
responding.
lost connection


I even downgraded to openssh-5.9 here just to rule out the unstable 6.2
(with 6.2 I am not even able to ssh ...)

I just wrote my related questions to my contact there and wait for him
to forward them to the internal network admins.

Maybe the routing back to their IPSEC-gw is flaky or something ...

S




Re: [gentoo-user] Re: Slow network transfers ... lost interrupts because of clocksource?

2013-10-10 Thread Bruce Hill
On Thu, Oct 10, 2013 at 12:18:06AM +0200, Stefan G. Weichinger wrote:
 
 This is 3.8.13 now ... with some changed options, sure.
 
 For now I am happy ... can't believe it yet ;-)

Why do you use a kernel that has been abandoned?

https://www.kernel.org/

You should use a longterm kernel, preferably 3.10 series at this point.

Why not use 3.8 series, or one marked EOL? Because no more patches will be
applied against them, so no more bug/security fixes.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

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

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



[gentoo-user] vmware-player cannot start any virtual machines [solved]

2013-10-10 Thread Paul Hartman
Hi,

After upgrading to nvidia-drivers-331.13 I could no longer start any
virtual machines in vmware-player (version 5.0.2.1031769). It would
either close the vmware player application immediately without any
message, or would tell me The virtual machine is busy. No
combination of rebuilding vmware modules, rebooting, moving virtual
machines, etc. would work.

Finally I considered what has changed recently, and identified
nvidia-drivers. Downgrading it back down to version 325.15 made
everything start working normally again. Just thought I would post
here in case anyone else runs into the same problem.

Thanks,
Paul



Re: [gentoo-user] Re: Slow network transfers ... lost interrupts because of clocksource?

2013-10-10 Thread Stefan G. Weichinger
Am 10.10.2013 14:20, schrieb Bruce Hill:
 On Thu, Oct 10, 2013 at 12:18:06AM +0200, Stefan G. Weichinger wrote:

 This is 3.8.13 now ... with some changed options, sure.

 For now I am happy ... can't believe it yet ;-)
 
 Why do you use a kernel that has been abandoned?
 
 https://www.kernel.org/
 
 You should use a longterm kernel, preferably 3.10 series at this point.
 
 Why not use 3.8 series, or one marked EOL? Because no more patches will be
 applied against them, so no more bug/security fixes.

3.8.13 is 3.8 series, or ... ?

I don't plan to stay with 3.8.13, this is just an intermediate step to
get a working config. For now I don't have any more lost hpet interrupts
etc and the LAN speed is fine. Emerging packages as well ...

From this config I will then try 3.10.7-r1 again.






Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01

2013-10-10 Thread William Hubbs
On Wed, Oct 09, 2013 at 05:24:39PM -0700, walt wrote:
 On 10/08/2013 09:16 PM, William Hubbs wrote:
 
  to provide service supervision, which is the main
  feature systemd offers
 
 By supervision do you mean restarting a service after it crashes, for example?

Right. This is one of the more significant features that OpenRC doesn't
have yet.

William


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01

2013-10-10 Thread Volker Armin Hemmann
Am 10.10.2013 16:46, schrieb William Hubbs:
 On Wed, Oct 09, 2013 at 05:24:39PM -0700, walt wrote:
 On 10/08/2013 09:16 PM, William Hubbs wrote:

 to provide service supervision, which is the main
 feature systemd offers
 By supervision do you mean restarting a service after it crashes, for 
 example?
 Right. This is one of the more significant features that OpenRC doesn't
 have yet.

 William

why?

if something like sshd crashes, you either have a hardware problem or
sshd is buggy. Either way, better not be pampered over with a silent
service restart.

The rest is so visible (or audible - like fancontrol) that you know that
there is a problem.



[gentoo-user] OT: PowerColor HD 7850 SCS3 silent

2013-10-10 Thread James
Hello,

Well, I'm trying to reseach a 7850 slilent the silent
video card on an Gentoo based GA-99FXA-UD3 mobo.

I've had Asus Radeons HD 7750 in these mobo, and it
is an outstanding bargain workstation.

The PowerColor  HD 7850 SCS3  seems to be getting really good
reviews, for the cost. I think it now comes in a 2 GB
of memory.  This card says it is PCI-3.0 compliant.
I cannot find if the mobo I have (GA-99FXA-UD3) has
PCI 3 (16) ?

Will the card work anyway? Or should I wait until I get 
a PCI 3.0 based mobo?

What I want is a silent video card, that can also drive dual
heads (nothing graphically intensive).

All comments are welcome (note: I'm an ardent AMD-Radeon consumer).

Tia,
James

[1] http://www.gigabyte.com/products/product-page.aspx?pid=3894#ov




Re: [gentoo-user] re: automounting removable drives [SOLVED]

2013-10-10 Thread Alexander Kapshuk
On 10/08/2013 10:08 PM, Samuli Suominen wrote:
 On 08/10/13 21:55, Alexander Kapshuk wrote:
 On 10/08/2013 09:21 PM, Samuli Suominen wrote:
 On 08/10/13 20:19, Alexander Kapshuk wrote:
 On 10/07/2013 11:45 PM, victor romanchuk wrote:
 On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do
 have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question
 still
 remains, how do I do it?

 Thanks.

 hi,

 you need to emerge just one package: xfce-extra/thunar-volman (it
 may pull some dependencies); it
 does what you asked for

 victor

 Thanks for your response. To save further confusion, which is
 something
 I should have done right from the word go, here's a list of all the
 xfce
 packages I have installed on my system:
 box0=; equery list '*xfce*'
* Searching for *xfce* ...
 [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
 [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
 [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
 [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
 [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0
 [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
 [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
 [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
 [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
 [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

 xfce-base/thunar needs to have USE=udev enabled and
 xfce-extra/thunar-volman must be installed

 i don't see thunar-volman in your list there

 futhermore authorization from polkit/consolekit must be working, so
 you must see 'active = TRUE' line when you run `ck-list-sessions` in
 your
 Xfce's Terminal as a normal user, see this thread (first post of it):

 http://forums.gentoo.org/viewtopic-t-858965-start-0.html

 and like said, xfce4-mount-plugin is irrelevant, and `mount` command
 shouldn't be used at all for udisks maintained removable devices,
 instead `udisksctl mount` should be used as a normal user if you
 really want to mount from commandline

 Thanks.

 thunar/thunar-valman seem to be installed on my system as well:
 equery list '*thunar*'
   * Searching for *thunar* ...
 [IP-] [  ] xfce-base/thunar-1.6.2:0
 [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


 'ck-list-sessions' when run as a regular user returns:
 ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
 socket /var/run/dbus/system_bus_socket: No such file or directory

 The post covers also this, it looks like you have forgot to add 'dbus'
 and 'consolekit' to the runlevels:

 # rc-update add consolekit default
 # rc-update add dbus default
 # /etc/init.d/consolekit start

 That will start dbus and ConsoleKit on boot as required, the system
 instances.

 Then there is the user instances, also covered by the post. For
 example, running Xfce using `startx` from text console:

 ~/.xinitrc file in your home directory has the content of:

 exec startxfce4 --with-ck-launch

 And then you can run

 $ startx

 But like said, this is all covered by the forums post. It's like a
 checklist.
I've followed the instructions described in the post you supplied by way
of the link above, and now I have my removable drives auto-mounting.

Thanks very much.