Re: [gentoo-user] [SOLVED] PYTHON_TARGET errors

2017-03-17 Thread Ralf
Hi,

everything works again after syncing the portage tree today -- without
the need to modify anything. So probably something was messed up upstream.

  Ralf

On 03/17/2017 02:09 AM, Ralf wrote:
> Hi,
>
> so I just emerged some unrelated packages, and then the following
> happened when trying to update my system:
>
> !!! The ebuild selected to satisfy ">=app-editors/gedit-3.22.0" has
> unmet requirements.
> - app-editors/gedit-3.22.0::gentoo USE="introspection python spell -test
> -vala" ABI_X86="64" PYTHON_SINGLE_TARGET="-python3_4 -python3_5"
> PYTHON_TARGETS="python3_4 -python3_5"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> python? ( exactly-one-of ( python_single_target_python3_4
> python_single_target_python3_5 ) )
>
>   The above constraints are a subset of the following complete expression:
> python? ( introspection exactly-one-of (
> python_single_target_python3_4 python_single_target_python3_5 )
> python_single_target_python3_4? ( python_targets_python3_4 )
> python_single_target_python3_5? ( python_targets_python3_5 ) )
>
>
> So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my
> system. I know how I could fix this for gedit only, but then other
> packages begin complaining about the same issue as well.
>
> Anything helps!
>
> Cheers
>   Ralf
>




Re: [gentoo-user] PYTHON_TARGET errors

2017-03-16 Thread Ralf
On 03/17/2017 03:19 AM, Walter Dnes wrote:
> On Fri, Mar 17, 2017 at 02:09:29AM +0100, Ralf wrote
>
>> So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my
>> system. I know how I could fix this for gedit only, but then other
>> packages begin complaining about the same issue as well.
>   No, it's not screwed up.  gedit insists on python 3.x now in
> PYTHON_SINGLE_TARGET, given your USE flags.  Start from the beginning.
> app-editors/gedit-3.22.0::gentoo USE="introspection python spell"
> You have (via package.use, make.conf, or profile) invoked the "python"
> and "introspection" USE flags for gedit.  The bit...
Yes, I know what is wrong. But it's not only wrong for gedit, other
packages will fail as well, if I correct the settings for gedit.
>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>> python? ( exactly-one-of ( python_single_target_python3_4
>> python_single_target_python3_5 ) )
> ...says that you need "exactly-one-of" the following...
>  ( python_single_target_python3_4 python_single_target_python3_5 )
>
>   Since you're using PYTHON_TARGETS="python3_4 -python3_5", the "local"
> option is to add the following line to package.use to apply to gedit only.
Yep, i know, and then the next package complains. So why didn't this
happen before? What changed?
>
> app-editors/gedit python_single_target_python3_4
>
>   You might consider the "global" option, which is to change make.conf
> to read PYTHON_SINGLE_TARGET="python3_4" if that doesn't cause rebuilds
> all over the place.
I already tried that. Then other packages complain because they are not
compatible to the settings gedit requires.
>
>   In either case, when upgrading from python 3.4 to 3.5 in the future,
> you'll have to change "3.4" to "3.5" in make.conf and/or package.use.
Can't I just enable some default settings somewhere? I don't want to
introduce dozens of local settings for packages, especially as
everything used to work before.

  Ralf



Re: [gentoo-user] PYTHON_TARGET errors

2017-03-16 Thread Ralf
On 03/17/2017 02:49 AM, Dale wrote:
> Ralf wrote:
>> On 03/17/2017 02:28 AM, Neil Bothwick wrote:
>>> Read the message again, it needs one of python3_4 or python3_5 in
>>> single target, you have neither.
>> ... And read mine :-)
>> I know.
>> And I know how I could fix that for single packages, but then the
>> next package complains about the very same issues. So somehow
>> 'default' settings seem not to apply any more.
>>>
>>> Do you have any PYTHON entries in make.conf?
>> No, not yet. My profile:
>> default/linux/amd64/13.0/desktop/gnome/systemd
>>
>> And I didn't do anything suspicious in the meanwhile, so for me it
>> seems they changed something in the profile.
>>
>> Thanks
>>   Ralf
>>>
>>> On 17 March 2017 01:09:29 GMT+00:00, Ralf
>>> <ralf+gen...@ramses-pyramidenbau.de> wrote:
>>>
>>> Hi,
>>>
>>> so I just emerged some unrelated packages, and then the following
>>> happened when trying to update my system:
>>>
>>> !!! The ebuild selected to satisfy ">=app-editors/gedit-3.22.0" has
>>> unmet requirements.
>>> - app-editors/gedit-3.22.0::gentoo USE="introspection python spell -test
>>> -vala" ABI_X86="64" PYTHON_SINGLE_TARGET="-python3_4 -python3_5"
>>> PYTHON_TARGETS="python3_4 -python3_5"
>>>
>>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>> python? ( exactly-one-of ( python_single_target_python3_4
>>> python_single_target_python3_5 ) )
>>>
>>>   The above constraints are a subset of the following complete 
>>> expression:
>>> python? ( introspection exactly-one-of (
>>> python_single_target_python3_4 python_single_target_python3_5 )
>>> python_single_target_python3_4? ( python_targets_python3_4 )
>>> python_single_target_python3_5? ( python_targets_python3_5 ) )
>>>
>>>
>>> So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my
>>> system. I know how I could fix this for gedit only, but then other
>>> packages begin complaining about the same issue as well.
>>>
>>> Anything helps!
>>>
>>> Cheers
>>>   Ralf
>>>
>>>
>>> -- 
>>> Sent from my Android device with K-9 Mail. Please excuse my brevity. 
>>
>>
>
>
> I would check emerge --info just to confirm it.  If that shows a wrong
> setting, then you know it is a setting, somewhere.  If it doesn't,
> whole new can of worms. 
>
> Dale
>
> :-)  :-) 

It tells me:
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4"

So that's what I guess, that it's a setting somewhere... But where?
Everything used to work before.

  Ralf



Re: [gentoo-user] PYTHON_TARGET errors

2017-03-16 Thread Ralf
On 03/17/2017 02:28 AM, Neil Bothwick wrote:
> Read the message again, it needs one of python3_4 or python3_5 in
> single target, you have neither.
... And read mine :-)
I know.
And I know how I could fix that for single packages, but then the next
package complains about the very same issues. So somehow 'default'
settings seem not to apply any more.
>
> Do you have any PYTHON entries in make.conf?
No, not yet. My profile:
default/linux/amd64/13.0/desktop/gnome/systemd

And I didn't do anything suspicious in the meanwhile, so for me it seems
they changed something in the profile.

Thanks
  Ralf
>
> On 17 March 2017 01:09:29 GMT+00:00, Ralf
> <ralf+gen...@ramses-pyramidenbau.de> wrote:
>
> Hi,
>
> so I just emerged some unrelated packages, and then the following
> happened when trying to update my system:
>
> !!! The ebuild selected to satisfy ">=app-editors/gedit-3.22.0" has
> unmet requirements.
> - app-editors/gedit-3.22.0::gentoo USE="introspection python spell -test
> -vala" ABI_X86="64" PYTHON_SINGLE_TARGET="-python3_4 -python3_5"
> PYTHON_TARGETS="python3_4 -python3_5"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> python? ( exactly-one-of ( python_single_target_python3_4
> python_single_target_python3_5 ) )
>
>   The above constraints are a subset of the following complete expression:
> python? ( introspection exactly-one-of (
> python_single_target_python3_4 python_single_target_python3_5 )
> python_single_target_python3_4? ( python_targets_python3_4 )
> python_single_target_python3_5? ( python_targets_python3_5 ) )
>
>
> So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my
> system. I know how I could fix this for gedit only, but then other
> packages begin complaining about the same issue as well.
>
> Anything helps!
>
> Cheers
>   Ralf
>
>
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity. 




[gentoo-user] PYTHON_TARGET errors

2017-03-16 Thread Ralf
Hi,

so I just emerged some unrelated packages, and then the following
happened when trying to update my system:

!!! The ebuild selected to satisfy ">=app-editors/gedit-3.22.0" has
unmet requirements.
- app-editors/gedit-3.22.0::gentoo USE="introspection python spell -test
-vala" ABI_X86="64" PYTHON_SINGLE_TARGET="-python3_4 -python3_5"
PYTHON_TARGETS="python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
python? ( exactly-one-of ( python_single_target_python3_4
python_single_target_python3_5 ) )

  The above constraints are a subset of the following complete expression:
python? ( introspection exactly-one-of (
python_single_target_python3_4 python_single_target_python3_5 )
python_single_target_python3_4? ( python_targets_python3_4 )
python_single_target_python3_5? ( python_targets_python3_5 ) )


So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my
system. I know how I could fix this for gedit only, but then other
packages begin complaining about the same issue as well.

Anything helps!

Cheers
  Ralf



Re: [gentoo-user] IIIIEEEEKKKKSSS! All updates failed!

2017-01-23 Thread Ralf
Force re-emerge linux-headers.

Cheers
  Ralf

On 01/23/2017 05:28 PM, meino.cra...@gmx.de wrote:
> Hi,
> 
> As far as I have recognized it, all my updates this evening failed
> with:
> 
> /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or 
> directory
> 
> 
> I am running vanilla kernel 4.9.5 from fto.kernel.org...but yesterdays
> upates were fine with the same kernel setup.
> 
> What happens here?
> 
> Cheers
> Meino
> 
> 



Re: [gentoo-user] Keep alive within SSH session

2016-07-17 Thread Ralf
On 07/17/2016 04:02 PM, Mick wrote:
> I am not sure of the correct approach to achieve a prolonged remote debugging 
> session through SSH and avoid the SSH session timing out.
>
> This is what I try to achieve:
>
> I login into a router with SSH from my PC.  Then I can run certain commands 
> to 
> start and monitor a debugging session in the router.  However, if I leave 
> alone the SSH session, it will soon time out.  The debugging only runs while 
> the session is live.  Exiting the SSH session causes all debug output to be 
> lost.
Take a look at screen or tmux. man screen, man tmux.
>
> If I continue to run (router) commands on the terminal, while the debugging 
> is 
> running, the SSH time out is postponed.
you may also want to tweak some timeout options in your sshd_config
>
> What do you suggest I try on an SSH terminal from my PC to keep running 
> recurring commands after I have connected to the router?  I will need to keep 
> a debugging session going for some hours, in order to collect the data I'm 
> after.
>




Re: [gentoo-user] Re: Gitlab experiences

2016-07-13 Thread Ralf
Hi,

On 07/13/16 17:30, James wrote:
> Ralf <ralf+gentoo  ramses-pyramidenbau.de> writes:
> 
> 
>>> From the gentoo wiki, it looks like all of the dependencies are already
>>> in portage:: 
>>> https://wiki.gentoo.org/wiki/GitLab#Prerequisites.2FDependencies
Even if all dependency stuff is already inside portage, gitlab itself is
not. So there's no guarantee that gitlab will meet dependency
requirements in future when some packages upgrade or APIs change.
> 
> 
>> I recommend to deploy gitlab inside a Debian LXC/Docker container as
>> Gitlab guys provide and maintain precompiled .deb packages. You do not
>> want to compile it on your own as it comes with a load of dependencies.
>> And once dependencies change you really might run into trouble with
>> gentoo. Gitlab isn't just a tiny one-click-and-it-runs webservice, it's
>> a whole ecosystem.
> 
> I wonder if using 'app-arch/dpkg' to just install the .deb files on gentoo
> would work?  
> Issues with using dpkg to install gitlab on gentoo inside a VM/container ?
Interesting idea, but I never tried it. The gitlab .deb is pretty huge
(~350MiB) and is shipped along with its own webserver, ruby and all that
other dependency monsters and a minimum requirement to external
dependencies. So maybe this is in deed worth a try! Good point.

But what I know for sure that the .deb said to fit to current debian,
where i have kind of a 'guarantee' that it will work in future with
minimum pain. So for me a debian LXC container inside my gentoo box is
the best solution.
> 
> 
>> For private use, I deployed my Gitlab inside a LXC container on my
>> Gentoo server box, everything else is really way too much tinkering
>> around. If you have no other problems in your life, just try it out and
>> go for it. 
> 
> Can you be more specific? Exactly which package(s) did you install this way?
> Is debian inside that LXC, or just pure gentoo? Are you using CI with this
> configuration?
Yes, it's debian inside LXC. And no, I'm not using CI.
> 
> 
>>> Any experiences with gitlab are most welcome for comment, good or bad.
>> Yes. Bad. Slow, unreactive, eats tons of resources. Doesn't scale with
>> large repos (except you have unlimited access to hardware resources). A
>> Linux kernel git mirror finally crashed it.
> 
> On a cluster would be my approach, after the installation issues are ironed
> out on a single server install.
> 
>> That's why I decided to switch to Gogs [1], even for business cases.
>> Gogs is implemented in Go, has a pretty active and responsive community
>> and (in my opinion) it is a well-maintained project. Looks and feels
>> like gitlab but is much faster and consumes a minimum of resources. I
>> strongly recommend to use Gogs. Just try it out on their website.
> 
> Is this the gogs package you installed:: www-apps/gogs [1]
> [1] "go-overlay" layman/go-overlay
> 
> Or did you just use a SaaS/PaaS for Gogs?
Same here (sorry i was inaccurate): Gogs guys also provide a .deb file.
Same strategy: Debian inside a LXC container on my Gentoo box.
> 
> 
>> They also provide a .deb package, that's the reason why I'm running it
>> inside a Debian LXC container as well.
> 
> And this runs on a gentoo server, with debian inside the LXC? Or on a debian
> machine with LXC?  
Ok, so this is my *private* setup:
Single server box with gentoo on bare-metal, latest bleeding edge stuff.
Nginx on that Gentoo that serves some lightweight sites and webapps
(wordpress, roundcube, usual suspects). Nginx also terminates SSL.

I did not want to install gitlab on gentoo because of its tons of
dependencies. So I run a Debian LXC Container inside Gentoo. Nginx then
reverse-proxies and SSL-terminates the Gitlab LXC container and iptables
forwards the ssh port of the gitlab container.

Updating gitlab to the latest version just costs an apt-get upgrade and
a dozen updates later nothing exploded so far.
> 
> Have you tried any VCS on a cluster (openstack/mesos/hadoop/others?
Nope, not my department.

  Ralf
> 
> curiously,
> James
> 
> 
> 
> 
> 



Re: [gentoo-user] Gitlab experiences

2016-07-13 Thread Ralf
Hi Rich,

On 07/13/16 16:35, Rich Freeman wrote:
> On Wed, Jul 13, 2016 at 9:19 AM, Ralf
> <ralf+gen...@ramses-pyramidenbau.de> wrote:
>> I recommend to deploy gitlab inside a Debian LXC/Docker container as
>> Gitlab guys provide and maintain precompiled .deb packages. You do not
>> want to compile it on your own as it comes with a load of dependencies.
>> And once dependencies change you really might run into trouble with
>> gentoo. Gitlab isn't just a tiny one-click-and-it-runs webservice, it's
>> a whole ecosystem.
> 
> This is part of why I'd suggest not upgrading it in-place.  Just
> create a new container from scratch every time there is an update.  Of
Sure, I totally agree. But from a maintenance point of view this can
become a full-time job very quickly, as gitlab has pretty short
innovation and release cycles. And you do want to install updates very
quickly, especially for web-apps.

  Ralf
> course, Gentoo makes this somewhat more painful than other distros; it
> tends to be designed around upgrading in-place.



Re: [gentoo-user] Gitlab experiences

2016-07-13 Thread Ralf
Hi James,

On 07/13/16 14:44, James wrote:
> Hello,
> 
> So, from what I've read, gitlab is very popular because you can self-host
> and the CI capabilities there are built in. As I look at migrating several
> several old mechanical ways to manage code inhouse, gitlab does look
> appealing. I do see a variety of packages in via remote overlays::
> 
> [1] "cvut" layman/cvut
> [2] "dev-zero" layman/dev-zero
> [3] "gitlab" layman/gitlab
> [4] "maksbotan" layman/maksbotan
> [5] "mrueg" layman/mrueg
> [6] "rindeal" layman/rindeal
> [7] "R_Overlay" layman/R_Overlay
> [8] "spike" layman/spike
> 
> and dev-go/go-gitlab-client in portage.
>  
> From the gentoo wiki, it looks like all of the dependencies are already
> in portage:: 
> https://wiki.gentoo.org/wiki/GitLab#Prerequisites.2FDependencies
> 
> 
> Has anyone attempted to install a self hosted gitlab  on gentoo server(s)?
> A small gentoo cluster/container setup? Using a Distributed File System,
> like cephfs, orangefs or other DFS?
I recommend to deploy gitlab inside a Debian LXC/Docker container as
Gitlab guys provide and maintain precompiled .deb packages. You do not
want to compile it on your own as it comes with a load of dependencies.
And once dependencies change you really might run into trouble with
gentoo. Gitlab isn't just a tiny one-click-and-it-runs webservice, it's
a whole ecosystem.

For private use, I deployed my Gitlab inside a LXC container on my
Gentoo server box, everything else is really way too much tinkering
around. If you have no other problems in your life, just try it out and
go for it. :-)
> 
> Any experiences with gitlab are most welcome for comment, good or bad.
Yes. Bad. Slow, unreactive, eats tons of resources. Doesn't scale with
large repos (except you have unlimited access to hardware resources). A
Linux kernel git mirror finally crashed it.

That's why I decided to switch to Gogs [1], even for business cases.
Gogs is implemented in Go, has a pretty active and responsive community
and (in my opinion) it is a well-maintained project. Looks and feels
like gitlab but is much faster and consumes a minimum of resources. I
strongly recommend to use Gogs. Just try it out on their website.

They also provide a .deb package, that's the reason why I'm running it
inside a Debian LXC container as well.

HTH
  Ralf

[1] https://gogs.io/
> 
> 

-- 
Ralf Ramsauer
PGP: 0x8F10049B



[gentoo-user] Gentoo Stage4 for NVidias Jetson TK1

2016-05-08 Thread Ralf
Hi,

just a short announce: i built a Gentoo bleeding-edge stage4-like
ready-to-boot RootFS Image for NVidias Jetson TK1. If you're interested
in running Gentoo on a Jetson, you can find it here [1]. I'm trying to
keep it up to date.

Currently, it includes:
  - ACCEPT_KEYWORDS="~arm" (yeeha)
  - Systemd (but you should be able to use openrc as well)
  - Gentoo base installation with CFLAGS optimized for the TK1
  - basic tools (vim, git, gcc, screen, ssh, ...)
  - DHCP client / SSHD enabled on boot
  - Latest (unpatched) mainline kernel 4.6.0-rc6
  - Precompiled U-Boot Bootloader images
  - Precompiled Kernel + Device Trees as well as raw .configs
  - Root is allowed to password login to ssh: root:gentoo

There's also a short article on how it was built [2].

Cheers
  Ralf

[1]  https://ramses-pyramidenbau.de/~ralf/jetson-tk1/
[2]  https://blog.ramses-pyramidenbau.de/?p=342



Re: [gentoo-user] suppressing the 'would you like to add --pretend' prompt when using emerge --ask

2016-04-17 Thread Ralf
... What about aliasing emerge to sudo emerge? :-)

Cheers
  Ralf

On 04/17/2016 07:57 PM, »Q« wrote:
> I too often forget to use sudo along with emerge --ask, which gets me
> a prompt to add --pretend to the options, e.g.
>
> $ emerge -a firefox
> This action requires superuser access...
> Would you like to add --pretend to options? [Yes/No] n
> $ doh
> Password: 
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies /... done!
>
> ( 'doh' is an alias for 'sudo $(history -p \!\!)'  )
>
> I never want to add --pretend to the options;  if I've used --ask,
> I also meant to use sudo.  I've looked through the documentation and
> couldn't find a way to stop emerge from prompting me about --pretend,
> so now I'm asking you if I've overlooked a way.
>
>




Re: [gentoo-user] Help installing skype

2016-02-24 Thread Ralf
Hi,

I hate those tons of abi_x86_32 packages as well.

This is also not solving your slot conflict, but why not:
  - Use a Windows VM for Skype
  - Use a small Linux VM for Skype (e.g. Debian)
and just redirect your webcam.

In this way, you don't mess up your system with 32 bit libraries. And,
of course, you don't know what skype is internally doing as it is
proprietary software and not famous for no bugs/vulnerabilities.

Cheers
  Ralf

On 02/24/2016 07:36 PM, allan gottlieb wrote:
> Unfortunately (see the end for the reason) I need to run skype.  This
> seems to be a mess to build.
>
> I already
>   added it to package.accept_keywords
>   added about 100 entries to package.use (for abi_x86_32)
>   accepted the license
>
> Now I have a slot conflict.  Below the abbreviated output is the full
> output.  Help would be much appreciated.
>
> thanks,
> allan
>
> 
>
> E7450-wired gottlieb # emerge --pretend skype
>
> These are the packages that would be merged, in reverse order:
>
> Calculating dependencies... done!
> [ebuild  N~] net-im/skype-4.3.0.37-r6  USE="pulseaudio -apulse 
> -pax_kernel -plasma (-selinux)" 
> [nomerge   ] www-client/chromium-48.0.2564.109 
> [nomerge   ]  app-accessibility/speech-dispatcher-0.8.1 
> [nomerge   ]   app-accessibility/espeak-1.47.11-r1 
> [nomerge   ]media-sound/sox-14.4.2 
> [nomerge   ] media-sound/pulseaudio-7.1  ABI_X86="32*" 
> [ebuild   R]  media-plugins/alsa-plugins-1.0.29  ABI_X86="32*" 
> [ebuild   R]   media-sound/pulseaudio-7.1  ABI_X86="32*" 
> [nomerge   ] net-im/skype-4.3.0.37-r6  USE="pulseaudio -apulse 
> -pax_kernel -plasma (-selinux)" 
> [ebuild  N ]  dev-qt/qtwebkit-4.8.6-r1  USE="gstreamer jit (-aqua) -debug 
> -exceptions -icu -pch" ABI_X86="32 (64) (-x32)" 
> [nomerge   ] gnome-base/gnome-3.16.0 
> [nomerge   ]  gnome-base/gnome-extra-apps-3.16.0 
> [nomerge   ]   mail-client/evolution-3.16.5 
> [nomerge   ]app-crypt/pinentry-0.9.5 
> [nomerge   ] dev-qt/qtgui-4.8.6-r4  ABI_X86="32*" 
> [ebuild   R]  dev-qt/qt3support-4.8.6-r1  ABI_X86="32*" 
> [ebuild   R]   dev-qt/qtsql-4.8.6-r1  ABI_X86="32*" 
> [ebuild   R]dev-db/sqlite-3.9.2  ABI_X86="32*" 
>
> [many omitted]
>
> [ebuild   R]dev-libs/expat-2.1.0-r5  ABI_X86="32*" 
> [ebuild   R] app-arch/bzip2-1.0.6-r6  ABI_X86="32*" 
> [nomerge   ] app-text/texlive-2014 
> [nomerge   ]  sys-apps/texinfo-5.2 
> [ebuild   R]   virtual/libintl-0-r2  ABI_X86="32*" 
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> dev-libs/libxml2:2
>
>   (dev-libs/libxml2-2.9.2-r4:2/2::gentoo, ebuild scheduled for merge) pulled 
> in by
> 
> dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
>  required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, ebuild scheduled for 
> merge)
>^  
>   
>   
>  
> 
> >=dev-libs/libxml2-2.9.1-r4:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
>  required by (media-libs/gst-plugins-base-0.10.36-r2:0.10/0.10::gentoo, 
> ebuild scheduled for merge)
>   
>   
>   
>
> 
> >=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
>  required by (media-libs/gstreamer-0.10.36-r2:0.10/0.10::gentoo, ebuild 
> scheduled for merge)
>   
>

[gentoo-user] ZFS Filesystem for Gentoo Fileserver

2016-01-07 Thread Ralf
Hi folks,

I'm currently rethinking the filesystem structure of my file server. My
current setup is as follows:

DM Raid 10 (4x3TiB) -> Luks -> Ext4

At the moment the Raid 10 costs 50% of available memory, in future, I'd
like to use Raid5 which would only costs 25% in my case.

But more important: I'd also like to use ZFS on linux as I experienced
it to be rock solid on Linux. (Had really good experience with ZFS
together with Proxmox, damn, ZFS really rocks!). But the problem's in
the details: Encryption...

In my opinion, encryption is not optional, it is mandatory. Afaik, ZFS
has its own encryption mechanisms which are currently not supported on
Linux. So what would be the best way to go?

First solution: DM-Raid -> Luks -> ZFS
Pro: Known to work
Con: ZFS actually comes with it's own (probably more efficient) Raid
system called RaidZ which will not be used in this setup

Second solution: 4xLuks -> ZFS
Pro: Now it's possible to use RaidZ
Con: 4x independent crypto which is a performance killer (especially as
my box doesn't suport AES-NI...)

Other solutions, like using EncFS is inconvenient as zfs features like
file history would not work any longer.

Any suggestions? Does anyone already have an encrypted ZFS setup on
Linux and would like to share experience?

If blocks on my physical disk fail or are corrupted, would these errors
be propagated through block layers DM Raid and Luks upwards to ZFS so
that resilvering will work?

Cheers
  Ralf




Re: [gentoo-user] AC WiFi Card

2015-11-12 Thread Ralf
On 11/12/2015 01:08 AM, Alec Ten Harmsel wrote:
> On 2015-11-11 11:53, Ralf wrote:
>> So I was looking for some PCI-E Wifi Card, that supports AC standard. I
>> was thinking about sth. like this [1]. A friend of mine told me, that I
>> should take care when buying AC hardware, as there is rare kernel
>> support.
>
> Intel, in general, has great Linux support.
>
>> Does anyone of you successfully use AC hardware in AP mode, Dual stack
>> (5GhZ / 2.4GhZ)?
>> What kind of hardware would you recommend (and is known to work without
>> any painful hacks)?
>>
>
> I do not run any APs, but I manage plenty of laptops with 5GHz Intel
> chipsets, and never had a problem. Is there any reason you are not
> using a dedicated AP instead of a wireless card in AP mode?
I also thought so, but according to a friend of mine, running a card in
AP or monitor mode is quite different as running a card as client.
Especially if you want to have a dual stack ability.

Ralf
>
> Alec
>




[gentoo-user] Fileserver with Raid + Crypto + BtrFS

2015-11-11 Thread Ralf
Hi,

at the moment i'm running a gentoo box as fileserver, the setup is as
follows:

 ---
|   Ext4|
 ---
  ^
  |
 ---
|   LUKS|
 ---
  ^
  |
 ---
|MD Raid 10 |
 ---
   ^ ^ ^ ^
   | | | |
 - - - -
| hd0 |   | hd1 |   | hd2 |   | hd3 |
 - - - -


Besides other features, I'd like to have a snapshot functionality, and I
don't want to introduce an additional layer by using LVM. So I'm
thinking about to migrate to Btrfs.

Btrfs supports Raid10 but no block-crypto.

If I would use a HD->MD Raid->Luks->Btrfs stack, I don't benefit from
the Raid implementation of Btrfs.
If I would use a HD->Luks->Btrfs stack, then I would have to use four
different LUKS devices, which results in four individual encryptions
(and I don't have AES-NI, so this would be a tremendous slowdown).

What would be the best way to have a Raid 10 together with a encrypted
Btrfs?

--

Besides that I would have to live-migrate the Raid10 as I don't have any
spare hdd to cache the data. So I would have to degrade my Raid10.
Is it possible to create a degraded Btrfs?

Please don't tell me that this is insanely dangerous, I know it is ;-)

Cheers
  Ralf



[gentoo-user] AC WiFi Card

2015-11-11 Thread Ralf
Hi folks,

I want to get rid of my old Wifi AP. As I already have a gentoo server
in my flat, I'd also like to use a Wifi AP using hostapd.
And, of course, I'd like to use the latest AC standard, as my laptop
supports it. Additionally, I'd also like to use good old 2.4GhZ as
fall-back.

So I was looking for some PCI-E Wifi Card, that supports AC standard. I
was thinking about sth. like this [1]. A friend of mine told me, that I
should take care when buying AC hardware, as there is rare kernel support.

Does anyone of you successfully use AC hardware in AP mode, Dual stack
(5GhZ / 2.4GhZ)?
What kind of hardware would you recommend (and is known to work without
any painful hacks)?

Cheers
  Ralf

[1] http://www.tp-link.de/products/details/?categoryid=3212=Archer+T9E



Re: [gentoo-user] Fileserver with Raid + Crypto + BtrFS

2015-11-11 Thread Ralf
On 11/11/2015 07:19 PM, Neil Bothwick wrote:
> On Wed, 11 Nov 2015 18:09:39 +0100, Ralf wrote:
>
>> Btrfs supports Raid10 but no block-crypto.
>>
>> If I would use a HD->MD Raid->Luks->Btrfs stack, I don't benefit from
>> the Raid implementation of Btrfs.
> Nor do you get the automatic repair of corruption that btrfs RAID offers.
Oh cool, nice, I didn't know about that feature. But as you say, it's
definitely better using btrfs's raid instead of using stacked md raid.
>
>> If I would use a HD->Luks->Btrfs stack, then I would have to use four
>> different LUKS devices, which results in four individual encryptions
>> (and I don't have AES-NI, so this would be a tremendous slowdown).
> It would definitely be slower, but maybe not "tremendously".
Well yes, I would say so. My Box doesn't have AES-NI instruction set and
it 'only' has to relatively slow cores.
4x independent Luks results in 4x independent (en|de)cryption. Even now,
in my current configuration AES slows everything extremely down.
(before setting up my disks a few years ago, i benchmarked the setup
with and without luks. Afair, without Luks I had about Read:80Mib/s,
with Luks it's about 50MiB/s, and yes, everything is aligned correctly)
>  
>> What would be the best way to have a Raid 10 together with a encrypted
>> Btrfs?
> What about crypto on top of btrfs using a stacked filesystem like
> ecryptfs?
Nope, I also thought about that, but this is not elegant. Besides that,
it would also slow down the system as ecryptfs runs in the VFS layer and
is yet another layer which operates on top of an existing filesystem.
(and not like luks, which would run a layer below btrfs). So that's a
lot of overhead.

Ecryptfs is really nice for encrypting dedicated files or directories
but I don't think that it is a good solution for encrypting a _whole_
general purpose filesystem.

And thinking about btrfs snapshot feature, using some 'btrfs history
tool', i would probably only be able to see a lot of crypto garbage when
going through my history (which can for sure be accessed by ecryptfs,
but not by standard btrfs tools).

Cheers
  Ralf



[gentoo-user] crossdev issues

2015-10-06 Thread Ralf
Hi,

I have some issues building an armv7a toolchain using crossdev.

After successfully building binutils (2.25.1-r1) using:

crossdev -S -v -t armv7a-hardfloat-linux-gnueabi -s0

I always end up with:

# which armv7a-hardfloat-linux-gnueabi-as
/usr/bin/armv7a-hardfloat-linux-gnueabi-as
# armv7a-hardfloat-linux-gnueabi-as
Assembler messages:
Fatal error: selected target format 'elf32-littlearm' unknown

This is also why crossdev fails when building the C compiler.

Same happens if I try to build older binutils versions.
What am I doing wrong? Is it a crossdev bug?

Anything helps!

Thanks
  Ralf



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
Well, I don't know if all of those modules are really necessary, I just
activated them as Arch used to load them.

But you are right, it' probably the ACPI_WMI one.
No, of course I don't use the TPM stuff.

Maybe I'll try to successively deactivate unneeded modules and see at
which point it fails. But I don't have enough time for playing atm - it
works :-)
And then when it's sure I'll write it down on some wiki.

  Ralf

On 08/26/2015 01:22 PM, Jeremi Piotrowski wrote:
 On Wed, Aug 26, 2015 at 10:06 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 To answer my own question:

 After a lot of diffing and searching, I was able to find out, that these
 were the modules that I was missing:

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y
 Are you actually using the TPM? This shouldn't have any any effect on resume
 but I don't know enough about crypto (you said you use it) to be certain that
 there isn't any crosstalk.

 CONFIG_HID_LENOVO=y
 This one is not necessary as it only affects _external_ lenovo USB keyboards.

 CONFIG_THINKPAD_ACPI=y
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 CONFIG_THINKPAD_ACPI_VIDEO=y
 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
 I had assumed you had these active as they are pretty much mandatory
 for thinkpads.

 CONFIG_ACPI_WMI=y
 This one is tricky. It has acpi in the name so it _could_ be the one that 
 really
 made the difference, but I thought it was an extra device.


 In any case, it's great that you got to the bottom of this. Have you thought 
 of
 starting a wiki page for the X1 carbon?





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
Uhm - why should it do so? And why should it do so if the module is NOT
available?

In deed, I do have full disc encryption, but the key stays inside RAM if
the machine goes to standby.Furthermore, I did not configure TPM (yet).

Maybe the TPM Chip (if enabled by the bios) needs some
Reinitialization (even if the TPM is not configured and used) after a
wakeup and refuses wakind up if this reinitialization does not take place.
For me, this would sound more reasonable why my machine only wakes up
when TCG_TIS is enabled.

  Ralf

On 08/27/2015 12:00 AM, Mick wrote:
 On Wednesday 26 Aug 2015 22:42:02 Ralf wrote:
 So I was able to figure it out...

 Don't ask me why, but it's the TPM module.
 Without enabling

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y

 my X1 Carbon won't wake up from standby.

 Cheers
   Ralf
 It uses TPM to store the encryption key for the fs.




Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
So I was able to figure it out...

Don't ask me why, but it's the TPM module.
Without enabling

CONFIG_TCG_TPM=y
CONFIG_TCG_TIS=y

my X1 Carbon won't wake up from standby.

Cheers
  Ralf



On 08/26/2015 01:22 PM, Jeremi Piotrowski wrote:
 On Wed, Aug 26, 2015 at 10:06 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 To answer my own question:

 After a lot of diffing and searching, I was able to find out, that these
 were the modules that I was missing:

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y
 Are you actually using the TPM? This shouldn't have any any effect on resume
 but I don't know enough about crypto (you said you use it) to be certain that
 there isn't any crosstalk.

 CONFIG_HID_LENOVO=y
 This one is not necessary as it only affects _external_ lenovo USB keyboards.

 CONFIG_THINKPAD_ACPI=y
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 CONFIG_THINKPAD_ACPI_VIDEO=y
 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
 I had assumed you had these active as they are pretty much mandatory
 for thinkpads.

 CONFIG_ACPI_WMI=y
 This one is tricky. It has acpi in the name so it _could_ be the one that 
 really
 made the difference, but I thought it was an extra device.


 In any case, it's great that you got to the bottom of this. Have you thought 
 of
 starting a wiki page for the X1 carbon?





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
To answer my own question:

After a lot of diffing and searching, I was able to find out, that these
were the modules that I was missing:

CONFIG_TCG_TPM=y
CONFIG_TCG_TIS=y
CONFIG_HID_LENOVO=y
CONFIG_THINKPAD_ACPI=y
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
CONFIG_ACPI_WMI=y

Without these modules, a X1 Carbon won't wake up from standby

Cheers
  Ralf


On 08/25/2015 02:56 PM, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.

 Beside some really big issues (HiDPI display, 2048x1152 resolution on
 a 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most
 applications, ...) I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the
 lid doesn't change anything, even pressing the power button does not
 wake up the system. The only option is to reset the system by holding
 down the power button. Journalctl doesn't say anything except of
 System reboot after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10
   
 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to
 me that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?


 Anything helps!

 Cheers
   Ral 


Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
On 08/25/2015 03:21 PM, Alec Ten Harmsel wrote:
 On Tue, Aug 25, 2015 at 02:56:10PM +0200, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.
 
 I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10   

 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.
 Cool, at least it is supported. I know someone with that got a brand new
 Lenovo about a year ago and had loads of issues with it, even with the
 bleeding edge kernels in Arch.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?
 Do you have SUSPEND=y (just checking)? Other things that I can
 see related to suspend are SUSPEND_FREEZER, ACPI_SLEEP,
 APM_IGNORE_USER_SUSPEND, and a bunch of Thinkpad/Lenovo related options.
 I do not have suspend enabled on my laptop, so take this with a grain of
 salt.
Yeah, everything is set, even THINKPAD_ACPI. Still does not wake up :-(

 If you want to search various kernel options, you can run `make
 menuconfig` in the source directory and use '/' (forward slash) to
 search just like you're in `less'.

 Alec





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
On 08/25/2015 03:35 PM, Alan McKinnon wrote:
 On 25/08/2015 14:56, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.

 Beside some really big issues (HiDPI display, 2048x1152 resolution on a
 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most
 applications, ...) I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10   

 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?


 Grab the .config files from both running systems and diff them. Expect
 the output to be long but with care you can narrow down the important
 differences.
I also had that idea. The problem is, that Arch uses almost _everything_
as module. So it's hard to figure out the critical module...



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
Hi,

On 08/25/2015 03:45 PM, Jeremi Piotrowski wrote:
 I have a T440s and would expect the two to be quite similar from an ACPI
 point of view, so let's see if I can help.

 On Tue, 25 Aug 2015, Ralf wrote:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. 
 This might be a long-shot but could you check

 cat /proc/acpi/wakeup

 The lid-wakeup action can be toggled there. I also have a SLPB device in
 that file, which could map to the power button in some cases?
I compared the /proc/acpi/wakup of both kernels - they equal. So that's
not the problem


 As a try and quick fixI copied the Arch Kernel+Modules to my Gentoo
 system and it works fine, which means to me that I probably have a
 misconfigured kernel.  But that's not the Gentoo way, I'd like to
 compile the kernel on my own.
 You could try diffing your config with the arch kernel config. Should be
 present in /boot. Then look for suspicious differences, it's not as hard
 as it seems, I've done it with the fedora kernel to solve problems.
The problem is, that Arch uses almost everything as modules. I have a
full-disc encrypted gentoo and I need a lot of stuff to be statically
compiled, as I don't want to have modules inside my initrd.

Anyway, I'll try it out.


 Does anyone know what I might be missing in my kernel config?
 Try my config (attached), I don't know how it compares to the arch one but
 suspend/resume works correctly here. It may be easier to pinpoint the cause
 with it. You'll have to enable systemd.
Thanks for your config! I tried it - just made a few adjustements
(statically compiled dm-crypt and crypto modules). Still the same problem..


  Ralf




[gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
Hi folks,

i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
running on it.

Beside some really big issues (HiDPI display, 2048x1152 resolution on a
14 display really sucks on linux, xrandr scaling is horrible, no
scaling is damn too small to read, missing touch support in most
applications, ...) I have a big problem with my kernel:

It doesn't come back from standby.
After closing the lid, the standby LED starts breathing, opening the lid
doesn't change anything, even pressing the power button does not wake up
the system. The only option is to reset the system by holding down the
power button. Journalctl doesn't say anything except of System reboot
after the Standby message:

ralf@omega:~$ sudo journalctl | grep -i lid closed -A
10  

130
Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
-- Reboot --
..

So I tried installing Arch linux (same kernel version, 4.1.6). Arch
wakes up without any problems. As a try and quick fixI copied the Arch
Kernel+Modules to my Gentoo system and it works fine, which means to me
that I probably have a misconfigured kernel.
But that's not the Gentoo way, I'd like to compile the kernel on my own.

Does anyone know what I might be missing in my kernel config?
Or does anyone also have a X1 Carbon 3rd generation and would like to
share the .config with me?


Anything helps!

Cheers
  Ralf


Re: [gentoo-user] Best way for good video performance in virtual machines

2015-06-25 Thread Ralf
On 06/25/2015 01:29 AM, R0b0t1 wrote:
 What will the Qt application be doing? Any of those setups should be
 sufficient for a typical GUI program.

 Highest performance would probably be passing a discrete card to the
 guest... not particularly the smartest move, but it would account for
 every usecase. Barring that, #2 should have the least amount of
 overhead, as X11 does the drawing on the system running the server (so
 host's GPU instead of guest's virtual GPU).

Well, the QT Application will have to show WebViews using WebKit which
contain Flash content.

Do NOT ask why, just accept it (so do I...) :-D

Does qemu actually support passing a whole graphics card? Never tried it.

Thx and cheers



Re: [gentoo-user] Best way for good video performance in virtual machines

2015-06-25 Thread Ralf
Oh, I forgot about the gtk and sdl displays... I'll test them together
with QXL.

Thanks for your hint!

But anyways, I'll need two X servers when using this setup - one on the
VM and one on the hypervisor.
Shouldn't X11 forwarding be less overhead?

Thank you
  Ralf

On 06/25/2015 05:44 AM, waben...@gmail.com wrote:
 Ralf ralf+gen...@ramses-pyramidenbau.de wrote:

 Hi out there,

 assume the following situation:

 I do have a minimalistic hypervisor running a minimalistic virtual
 machine (qemu with kvm, qxl and spice).
 Both systems, hypervisor and VM are able to run X servers and
 apllications. The graphics card of the hypervisor is connected to a
 monitor. This monitor only has to show one single standalone QT
 application which is running on the virtual machine.

 What will give me more video performance?

 1. Running a minimalistic X server on the virtual machine showing the
 application AND running a minimalistic X server on the hypervisor
 running remote-viewer
 or
 2. Running a minimalistic X server on the hypervisor and using
 X11-Forwarding via bridged ethernet

 Or maybe even someone knows a better solution?

 Thank you folks!

 Cheers
   Ralf
 On my system, qemu-kvm has the best performance with X11 on guest. 
 I've also tested vnc and spice with qxl video driver on guest, but X11 
 was faster.

 I can imagine that this depends on the hardware and screen resolution.
 So maybe on your system an other setup is better.

 My host GPU is a Radeon Ultimate R7 250, resolution is 3840x2160@60Hz, 
 driver is xf86-video-ati.
 X11 compositing is deactivated on host as well as on guest. 

 As video card on guest I use vmware (-vga vmware). Screen resolution 
 on guest is 2386x1770. That seems to be the highest possible screen size
 that is available with this settings. I also tested other guest video
 drivers (std and cirrus) but vmware was the fastest and also the one with
 the highest resolution.

 Before I bought an UHD monitor, I used sdl as qemu display (-display sdl)
 in borderless fullscreen mode (-no-frame -full-screen). I used the same 
 screen resolution on host and guest (1920x1200) and qemu was running on 
 one of my virtual XFCE desktops. 
 This was very handy. But as I've written before, it seems not possible for
 me to run qemu with UHD screen size. So fullscreen mode isn't possible any
 longer and now qemu runs in a window on my desktop (-display gtk).

 But with none of my setups it was/is possible to run a fullscreen video
 on the guest vm. Performance is much to slow for that. I've spent some
 time to make it faster, but I failed. 

 I would be happy for any hints about better video performance with qemu.

 --
 Regards
 wabe





[gentoo-user] Best way for good video performance in virtual machines

2015-06-24 Thread Ralf
Hi out there,

assume the following situation:

I do have a minimalistic hypervisor running a minimalistic virtual
machine (qemu with kvm, qxl and spice).
Both systems, hypervisor and VM are able to run X servers and apllications.
The graphics card of the hypervisor is connected to a monitor. This
monitor only has to show one single standalone QT application which is
running on the virtual machine.

What will give me more video performance?

1. Running a minimalistic X server on the virtual machine showing the
application AND running a minimalistic X server on the hypervisor
running remote-viewer
or
2. Running a minimalistic X server on the hypervisor and using
X11-Forwarding via bridged ethernet

Or maybe even someone knows a better solution?

Thank you folks!

Cheers
  Ralf



[gentoo-user] CFLAGs for kernel compilation

2015-04-29 Thread Ralf
Hi,

just a short question: I don't like genkernel, I always compile my
kernel manually using menuconfig.
So the CFLAGs of my make.conf won't get applied.

What is the best way to (persistently) set the CFLAGs for the kernel
compilation?

- I don't like invoking 'CFLAGS=-O2 -march=foomake'
- I don't want to set CFLAGS as a persistent environment variable.
- I don't want to modify the kernel Makefile

Does it actually make sense to set an optimization level and -march?

Cheers
  Ralf



Re: [gentoo-user] CFLAGs for kernel compilation

2015-04-29 Thread Ralf
Damn, you're absolutely right.

I just tested it using make V=1.
kernel make does override CFLAGs from the outside.

But that's interesting: my processor supports -march=core-avx2 and none
of the linux kernel processor family uses this flag...

Thx
  Ralf

On 04/29/2015 02:41 PM, Emanuele Rusconi wrote:
 Does the kernel building use the CFLAGS at all?
 The arch is set during the configuration step (Processor type and
 features / Processor family),
 and there's an optimize for size option under General setup, which
 I suppose corresponds to -Os.




Re: [gentoo-user] cryptsetup wont use aes-xts:plain64

2015-04-22 Thread Ralf
Just try `cryptsetup benchmark`

Cheers

On 04/22/2015 06:09 AM, R0b0t1 wrote:
 AES cipher algo (AES-NI) is the fastest if you have the necessary
 hardware. Twofish cipher algo (x86_64, 3-way parallel) is a close
 second, but will slow access down slightly. Serpent is also usably
 fast.

 CONFIG_CRYPTO_AES_NI_INTEL = ~200mb/s (limited by disk in my case)
 CONFIG_CRYPTO_TWOFISH_X86_64_3WAY = ~130mb/s

 `cryptsetup --cipher {twofish,aes}-xts-plain64 --key-size 512 --hash
 sha512 --iter-time 5000`





Re: [gentoo-user] cryptsetup wont use aes-xts:plain64

2015-04-18 Thread Ralf
On 04/18/2015 02:07 PM, Heiko Baums wrote:
 You have to compile the modules which are necessary for the encryption
 method you're using directly into the kernel, not as a module, because
 the kernel needs them directly at boot time.
No. Could you please explain why you think so?
Even if your root partition is encrypted, your ramdisk could load the
modules.

After loading the modules you can see that they are available by cat
/proc/crypto.

The modules can be loaded _after_ bootup as well.

Cheers
  Ralf



Re: [gentoo-user] cryptsetup wont use aes-xts:plain64

2015-04-18 Thread Ralf
Hi,

@Marko
tl;dr: it's going a bit offtopic.
Marko, try to hardcompile those modules into your kernel.
This should be the simplest fix of your problem.

On 04/18/2015 02:44 PM, Heiko Baums wrote:
 Am 18.04.2015 um 14:12 schrieb Ralf:

 No. Could you please explain why you think so?
 Even if your root partition is encrypted, your ramdisk could load the
 modules.
 Are you sure about that? Are you sure that the necessary modules are
 definitely put into the initrd and that the kernel will be able to load
 them soon enough at boot time?
I double checked it and now I am sure:

For reasons of comfortability I inspected a standard Arch-Linux
installation.
It supports rootfs encryption and xts is loaded in the initrd as module.
So it is possible to treat it as a module.

Besides that: Why should your kernel config allow you to compile it as
module if it isn't useable as module?

 Compiling those modules into the kernel is definitely more secure (in
 terms of being sure that they are always available) and doesn't do any
 harm, because they need to be loaded anyway.
Yes for a homebrew kernel, i can second that.

 Btw., several dm-crypt/LUKS documentation (all that I've read) say that
 those modules have to be compiled into the kernel directly.

 After loading the modules you can see that they are available by cat
 /proc/crypto.
 You won't be able to run this command when the kernel tries to unlock
 the LUKS container at boot time.
No, but it is accessible when creating your LUKS volume, and that's
Marko problem at the moment.

 The modules can be loaded _after_ bootup as well.
 If you want to unlock the LUKS container at boot time (particularly if
 your root partition is encrypted), loading the modules after bootup is
 too late.
Loading those modules during the early bootup phase in your initrd is
actually not too late.

Ah, and for completeness sake:
Grub2 is able to speak LUKS. So your kernel and initrd maybe inside an
encrypted volume.


 So I wouldn't risk it.
Neither do I.

Cheers
  Ralf



Re: [gentoo-user] cryptsetup wont use aes-xts:plain64

2015-04-18 Thread Ralf
Hi Marko,

could you please paste the latest few lines of dmesg after trying to
create your volume?
And please paste the output of lsmod.

All your crypto-kernel-stuff are modules. Perhaps they're not loaded.
Check if corresponding modules are loaded.

Cheers
  Ralf

On 04/18/2015 12:27 PM, Marko Weber | 8000 wrote:

 hello list,

 i try to crypt a partition with cryptsetup.
 Yes, in Kernel i had all need things i think.

 CONFIG_CRYPTO=y
 CONFIG_CRYPTO_ALGAPI=y
 CONFIG_CRYPTO_ALGAPI2=y
 CONFIG_CRYPTO_AEAD=m
 CONFIG_CRYPTO_AEAD2=y
 CONFIG_CRYPTO_BLKCIPHER=y
 CONFIG_CRYPTO_BLKCIPHER2=y
 CONFIG_CRYPTO_HASH=y
 CONFIG_CRYPTO_HASH2=y
 CONFIG_CRYPTO_RNG=m
 CONFIG_CRYPTO_RNG2=y
 CONFIG_CRYPTO_PCOMP=m
 CONFIG_CRYPTO_PCOMP2=y
 CONFIG_CRYPTO_MANAGER=y
 CONFIG_CRYPTO_MANAGER2=y
 CONFIG_CRYPTO_USER=m
 # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
 CONFIG_CRYPTO_GF128MUL=m
 CONFIG_CRYPTO_NULL=m
 CONFIG_CRYPTO_PCRYPT=m
 CONFIG_CRYPTO_WORKQUEUE=y
 CONFIG_CRYPTO_CRYPTD=m
 CONFIG_CRYPTO_MCRYPTD=m
 CONFIG_CRYPTO_AUTHENC=m
 CONFIG_CRYPTO_TEST=m
 CONFIG_CRYPTO_ABLK_HELPER=m
 CONFIG_CRYPTO_GLUE_HELPER_X86=m
 CONFIG_CRYPTO_CCM=m
 CONFIG_CRYPTO_GCM=m
 CONFIG_CRYPTO_SEQIV=m
 CONFIG_CRYPTO_CBC=y
 CONFIG_CRYPTO_CTR=m
 CONFIG_CRYPTO_CTS=m
 CONFIG_CRYPTO_ECB=m
 CONFIG_CRYPTO_LRW=m
 CONFIG_CRYPTO_PCBC=m
 CONFIG_CRYPTO_XTS=m
 CONFIG_CRYPTO_CMAC=m
 CONFIG_CRYPTO_HMAC=m
 CONFIG_CRYPTO_XCBC=m
 CONFIG_CRYPTO_VMAC=m
 CONFIG_CRYPTO_CRC32C=y
 CONFIG_CRYPTO_CRC32C_INTEL=m
 CONFIG_CRYPTO_CRC32=m
 CONFIG_CRYPTO_CRC32_PCLMUL=m
 CONFIG_CRYPTO_CRCT10DIF=y
 CONFIG_CRYPTO_CRCT10DIF_PCLMUL=m
 CONFIG_CRYPTO_GHASH=m
 CONFIG_CRYPTO_MD4=m
 CONFIG_CRYPTO_MD5=y
 CONFIG_CRYPTO_MICHAEL_MIC=m
 CONFIG_CRYPTO_RMD128=m
 CONFIG_CRYPTO_RMD160=m
 CONFIG_CRYPTO_RMD256=m
 CONFIG_CRYPTO_RMD320=m
 CONFIG_CRYPTO_SHA1=m
 CONFIG_CRYPTO_SHA1_SSSE3=m
 CONFIG_CRYPTO_SHA256_SSSE3=m
 CONFIG_CRYPTO_SHA512_SSSE3=m
 CONFIG_CRYPTO_SHA1_MB=m
 CONFIG_CRYPTO_SHA256=m
 CONFIG_CRYPTO_SHA512=m
 CONFIG_CRYPTO_TGR192=m
 CONFIG_CRYPTO_WP512=m
 CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m
 CONFIG_CRYPTO_AES=y
 CONFIG_CRYPTO_AES_X86_64=m
 CONFIG_CRYPTO_AES_NI_INTEL=m
 CONFIG_CRYPTO_ANUBIS=m
 CONFIG_CRYPTO_ARC4=m
 CONFIG_CRYPTO_BLOWFISH=m
 CONFIG_CRYPTO_BLOWFISH_COMMON=m
 CONFIG_CRYPTO_BLOWFISH_X86_64=m
 CONFIG_CRYPTO_CAMELLIA=m
 CONFIG_CRYPTO_CAMELLIA_X86_64=m
 CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m
 CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m
 CONFIG_CRYPTO_CAST_COMMON=m
 CONFIG_CRYPTO_CAST5=m
 CONFIG_CRYPTO_CAST5_AVX_X86_64=m
 CONFIG_CRYPTO_CAST6=m
 CONFIG_CRYPTO_CAST6_AVX_X86_64=m
 CONFIG_CRYPTO_DES=m
 CONFIG_CRYPTO_DES3_EDE_X86_64=m
 CONFIG_CRYPTO_FCRYPT=m
 CONFIG_CRYPTO_KHAZAD=m
 CONFIG_CRYPTO_SALSA20=m
 CONFIG_CRYPTO_SALSA20_X86_64=m
 CONFIG_CRYPTO_SEED=m
 CONFIG_CRYPTO_SERPENT=m
 CONFIG_CRYPTO_SERPENT_SSE2_X86_64=m
 CONFIG_CRYPTO_SERPENT_AVX_X86_64=m
 CONFIG_CRYPTO_SERPENT_AVX2_X86_64=m
 CONFIG_CRYPTO_TEA=m
 CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRYPTO_TWOFISH_COMMON=m
 CONFIG_CRYPTO_TWOFISH_X86_64=m
 CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=m
 CONFIG_CRYPTO_TWOFISH_AVX_X86_64=m
 CONFIG_CRYPTO_DEFLATE=m
 CONFIG_CRYPTO_ZLIB=m
 CONFIG_CRYPTO_LZO=m
 CONFIG_CRYPTO_LZ4=m
 CONFIG_CRYPTO_LZ4HC=m
 CONFIG_CRYPTO_ANSI_CPRNG=m
 CONFIG_CRYPTO_DRBG_MENU=m
 CONFIG_CRYPTO_DRBG_HMAC=y
 # CONFIG_CRYPTO_DRBG_HASH is not set
 # CONFIG_CRYPTO_DRBG_CTR is not set
 CONFIG_CRYPTO_DRBG=m
 CONFIG_CRYPTO_USER_API=m
 CONFIG_CRYPTO_USER_API_HASH=m
 CONFIG_CRYPTO_USER_API_SKCIPHER=m
 CONFIG_CRYPTO_HASH_INFO=y
 # CONFIG_CRYPTO_HW is not set


 but when i try to use cryptsetup i get this:

 # cryptsetup -c aes-xts:plain64 -y -s 256 luksFormat
 /dev/mapper/VolGroup01-media2

 WARNING!
 
 This will overwrite data on /dev/mapper/VolGroup01-media2 irrevocably.

 Are you sure? (Type uppercase yes): YES
 Enter passphrase:
 Verify passphrase:
 device-mapper: reload ioctl on  failed: Invalid argument
 Failed to setup dm-crypt key mapping for device
 /dev/mapper/VolGroup01-media2.
 Check that kernel supports aes-xts:plain64 cipher (check syslog for
 more info).



 Any ideas?

 i built cryptsetup with this useflags:

 nls openssl python udev urandom



 cryptsetup --help shows me i am able to use the options

 Default compiled-in device cipher parameters:
 loop-AES: aes, Key 256 bits
 plain: aes-cbc-essiv:sha256, Key: 256 bits, Password hashing:
 ripemd160
 LUKS1: aes-xts-plain64, Key: 256 bits, LUKS header hashing:
 sha1, RNG: /dev/random


 any help / ideas or knowledge welcome.

 best regards

 marko









Re: [gentoo-user] RTL8192CU

2015-03-19 Thread Ralf
Hi,

I had a rtl8192ce in my laptop. Nothing but problems with Linux. Don't
know why, but the signal strength always was much better when using Windows.

For me, the rtl8192ce only worked when using it as a module, not hard
compiled in the kernel.
Second, it is important to know that this WiFi Card stopped working for
me with kernels  3.17. The card was detected but it didn't show up any
WiFis.
I read that there were fundamental changes to the rtlwifi stack in 3.18.

Eventually I decided to buy a new card and better card (Intel Centrino,
I now can connect to 5GhZ networks :) ) for my laptop and I'm so happy
now :)

No more Realtek WiFi cards for me.

Cheers
  Ralf

On 03/19/2015 06:42 PM, German wrote:
 Today I've bought a new USB wi-fi adapter which has rtl8192cu chip. I've 
 plugged it into my lubuntu computer and it worked out of the box, however 
 soon it drops the connection. I googled it and found out that many people 
 have the same problem with this chip ( but mostly with *buntu flavours). I 
 also found the workaround here: https://github.com/pvaret/rtl8192cu-fixes 
 This box will be soon ( I hope ) will be transferred to Gentoo. I wonder if 
 some one here is using this chip with Gentoo with new kernels, does it run ok 
 and if this problem of *buntu specific? Thanks





[gentoo-user] dev-db/mongodb-2.6.[67] client fail

2015-02-26 Thread Ralf
Hi folks,

I'm trying to run mongodb on my gentoo box.
So I emerged =dev-db/mongodb-2.6.7.

If I start the mongo cli client without the server running I get

$ mongo
127.0.0.1/asd   
   
14
MongoDB shell version: 2.6.6
connecting to: 127.0.0.1/asd
2015-02-26T15:55:23.945+0100 warning: Failed to connect to
127.0.0.1:27017, reason: errno:111 Connection refused
2015-02-26T15:55:23.946+0100 Error: couldn't connect to server
127.0.0.1:27017 (127.0.0.1), connection attempt failed at
src/mongo/shell/mongo.js:148
exception: connect failed

as everyone would expect.
If I start the client with the server running I get:

MongoDB shell version: 2.6.6
connecting to: 127.0.0.1/asd
2015-02-26T15:56:22.488+0100 mongo got signal 11 (Segmentation
fault), stack trace:
2015-02-26T15:56:22.490+0100 0x7d1c99 0x5e4d09 0x7f3025a3eb00
0x9c1222 0xa31bd8 0xa31c14 0xa36fbe 0x9cf84b 0x9dac68 0x9db085
0x8787d0 0x99b4a8 0x937ebd 0x3ea764206362
 mongo(_ZN5mongo15printStackTraceERSo+0x39) [0x7d1c99]
 mongo(_Z12quitAbruptlyi+0x119) [0x5e4d09]
 /lib64/libc.so.6(+0x33b00) [0x7f3025a3eb00]
 mongo(_ZN2v88internal6String11WriteToFlatItEEvPS1_PT_ii+0x692)
[0x9c1222]
 
mongo(_ZN2v88internal33GenericStringUtf16CharacterStream10FillBufferEjj+0x38)
[0xa31bd8]
 mongo(_ZN2v88internal28BufferedUtf16CharacterStream9ReadBlockEv+0x34)
[0xa31c14]
 
mongo(_ZN2v88internal7Scanner10InitializeEPNS0_20Utf16CharacterStreamE+0x5e)
[0xa36fbe]
 
mongo(_ZN2v88internal6Parser9ParseLazyEPNS0_20Utf16CharacterStreamEPNS0_9ZoneScopeE+0x3b)
[0x9cf84b]
 mongo(_ZN2v88internal6Parser9ParseLazyEv+0x158) [0x9dac68]
 mongo(_ZN2v88internal9ParserApi5ParseEPNS0_15CompilationInfoEi+0x205)
[0x9db085]
 mongo(_ZN2v88internal8Compiler11CompileLazyEPNS0_15CompilationInfoE+0xf0)
[0x8787d0]
 
mongo(_ZN2v88internal10JSFunction11CompileLazyENS0_6HandleIS1_EENS0_18ClearExceptionFlagE+0x1a8)
[0x99b4a8]
 mongo(_ZN2v88internal11CallIC_MissENS0_9ArgumentsEPNS0_7IsolateE+0x27d)
[0x937ebd]
 [0x3ea764206362]

Boom. This problem applies to mongo 2.6.6 and mongo 2.6.7.

Anyone having the same issues with mongodb?
And anyone any suggestions how this can be fixed?

The server *seems* to run fine.

Cheers
  Ralf


Re: [gentoo-user] OT Best way to compress files with digits

2014-10-31 Thread Ralf
Well, you could just save the generating algorithm. *scnr*

I think compressing pi is hardly possible, as the numbers are
distributed pretty randomly.
But why do you want to compress? You can't work on compressed data.
And there are enough sites on the internet, where you can get your
digits again.

Pi is not supposed to change over the years :-)

Cheers
  Ralf

On 31.10.2014 17:36, meino.cra...@gmx.de wrote:
  Hi,

  I have a lot of files with digits of PI. The digits
  are the characters of 0-9. Currently they are ZIPped,
  which I think is not the best way to do that.

  I read of 7zips PPMd which compresses natural text
  quite well...but my files are not natural text (as
  they are also no binary data).

  With what practical way of compression is it possible
  to compress the files (file by file) as much as possible?

  Thank you very much in advance for any help!

  Best regards,
  mcc







[gentoo-user] Problem with power management of SATA hard drives

2014-06-11 Thread Ralf
Hi there,

I'm using Gentoo ~amd64 on my NAS.

This is my setup:
Mainboard - Asus E35M1
CPU - AMD E350
HDD - 1x 500GiB WD Caviar Green WD5000AADS (root)
HDD - 4x 3TiB WD Caviar Green WD30EZRX (Raid10)

As these hard drives are desktop hard drives and not designed for 24/7
purposes, I want to spin them down when they are not in use.
(And in fact, they will probably be idling most of the time, so let's
save energy)

I'm able to force spin down those drive by using hdparm -y. hdparm -C
then tells me, that they switched from active/idle to standby.
Setting standby-time using hdparm -S also seems to work fine:

hdparm -S 10 /dev/sdb

/dev/sdb:
 setting standby to 10 (50 seconds)

But this does not standby my drive after 50 seconds. So I tried to set
the Power Management Level:

hdparm -B 5 /dev/sdb

/dev/sdb:
 setting Advanced Power Management level to 0x05 (5)
 HDIO_DRIVE_CMD failed: Input/output error
 APM_level  = not supported


Obviously, my system does not support APM what I can hardly believe...
So I tried to enable APM but my kernel configuration doesn't allow me to
enable APM support as long as I use a 64 bit kernel - APM option is only
available for 32 bit kernels.

What am I doing wrong? My hardware is *relatively* new and I don't
believe that it doesn't support those power management features.

But besides that, does anyone have further tips or tricks to protect
hard drives? E.g. try to minimize Load Cycle Count, ...

Output of hdparm -I: http://pastebin.com/RyAU6u8T

Cheers,
  Ralf


Re: [gentoo-user] Problem with power management of SATA hard drives

2014-06-11 Thread Ralf
On 06/11/2014 03:40 PM, thegeezer wrote:
 50 seconds is very small timeout, be wary of spinup/spindown cycles
 which imho are worse than always spinning.
For sure, I know, this was only for testing purposes, to see if it
works. I don't want to wait ten minutes, or even an hour to see that it
actually does not work :-)

 depending on what is accessing /dev/sdb you might find that it sleeps
 then immediately is woken.  lsof is your friend here.
 this is how I do it (my time is ten mins)
Nope, the filesystem isn't even mounted.

 # /etc/conf.d/hdparm
 # or, you can set hdparm options for all drives
 all_args=-S120


 then..
 # /etc/init.d/hdparm start
And nope, it does not spin down.

It only spins down if I force it with hdparm -y

Cheers,
  Ralf



Re: [gentoo-user] Raspberry Pi Gentoo?

2014-04-16 Thread Ralf
Hey,

some time ago I wrote an article about how to install Gentoo on a
Raspberry Pi:
https://blog.ramses-pyramidenbau.de/?p=188

Maybe this is interesting for you.
There's also a precompiled bootable image available for download.

Regards
  Ralf

On 04/16/2014 07:11 PM, Peter Humphrey wrote:
 On Wednesday 16 Apr 2014 17:34:54 Jarry wrote:

 2. What distro? Right now I'm using Gentoo on all my servers
 but I'm not sure it is the best option for this puppy (Gentoo
 puts quite high demands on filesystem). If I redirect all the
 compilation work to other mature server (distcc/crossdev),
 can I use even Gentoo? Or is Raspbian still the better choice?
 I found distcc hard work when I was installing Gentoo on my Atom box, so I 
 NFS-exported its package directory to a 32-bit chroot on my workstation, did 
 all the emerging etc. there, including building binary packages, then
 emerge -k on the Atom installed the system with minimum fuss.

 It's not too hard to keep the portage setup in step, once you understand what 
 bdeps are :-(





Re: [gentoo-user] Re: 'Heartbleed' bug

2014-04-10 Thread Ralf
Hi,

On 04/11/2014 12:55 AM, walt wrote:
 Steve Gibson explained that the heartbeat feature was introduced in openssl to
 allow *UDP* connections to mimic the 'keepalive' function of the TCP protocol.

 IIRC Steve didn't explain how UDP bugs can compromise TCP connections.

 Anyone here really understand the underlying principles?  If so, please 
 explain!
yes, a TCP connection is stateful, so imho heartbeat is not necessary.

But you don't always speak UDP or TCP.
Imagine some sort of direct connection without any type of
transportation layer.

As a generic cryptographic library, OpenSSL is designed to be adaptable
and universal. That broke OpenSSL's neck.

We only can hope, that the heartbeat exploit was not widely used before
they published that zero-day.
But we can be sure, that this is not going to be the last vulnerability
of this kind.

Regards
  Ralf


Re: [gentoo-user] 'Heartbleed' bug

2014-04-09 Thread Ralf
Hello Joseph,
On 04/10/2014 02:06 AM, Joseph wrote:
 Is gentoo effected by this new 'Heartbleed' bug? 
yes it is, as all OpenSSL versions  0.9.8 were affected.
And Gentoo supported those versions.

So Gentoo also was affected but it supports the new
heartbleed-bug-fixed version 1.0.1g.

I *think* that you could also use an older version disabling the
tls-heartbeat USE flag.

Regards
  Ralf



[gentoo-user] How to properly set up Bluetooth

2014-02-18 Thread Ralf
Hi,

i'm trying to set up a simple bluetooth keyboard, but somehow it won't
work :-)

This is my setup:
Systemd + GDM + Fluxbox (this is the easiest way for me to use
gnome-stuff like gnome-keyring-daemon, ... In the background my fluxbox
is also running a gnome-settings-daemon)

hcitool dev successfully detects my bluetooth device.

According to [1] I tried to set up my keyboard using the command line.
But actually simple-agent doesn't seem to be available in bluez 5.x.
So I tried to use blueman-applet. This is a snippet of the output of
blueman-applet:

Function on_manager_state_changed on RecentConns Failed
Traceback (most recent call last):
  File
/usr/lib64/python2.7/site-packages/blueman/main/PluginManager.py,
line 220, in Run
ret = getattr(inst, function)(*args, **kwargs)
  File
/usr/lib64/python2.7/site-packages/blueman/plugins/applet/RecentConns.py,
line 195, in on_manager_state_changed
adapters = self.Applet.Manager.ListAdapters()
  File /usr/lib64/python2.7/site-packages/blueman/bluez/utils.py,
line 28, in warp
raise errors.parse_dbus_error(exception)
DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method
ListAdapters with signature  on interface org.bluez.Manager
doesn't exist


It seems to me that this is a dbus problem or something like that, but I
don't know what I am doing wrong.
I started systemctl start bluetooth and my user is in the group plugdev.

Any suggestions?

[1] http://wiki.gentoo.org/wiki/Bluetooth

Regards
  Ralf


Re: [gentoo-user] How to properly set up Bluetooth

2014-02-18 Thread Ralf
On 02/18/14 16:05, Canek Peláez Valdés wrote:
 install gnome-bluetooth and run blue
This is what I get:

(bluetooth-wizard:3156): Bluetooth-WARNING **: Pair() failed:
Timeout was reached

** (bluetooth-wizard:3156): WARNING **: Setting up 'KC1280 BT
Keyboard' failed: Timeout was reached

The keyboard works fine with my android phone.

Regards
  Ralf



Re: [gentoo-user] How to properly set up Bluetooth

2014-02-18 Thread Ralf
On 02/18/14 17:10, Canek Peláez Valdés wrote:
 systemctl status bluetooth.service

Yes, sure, as I wrote above.

   Active: active (running) since Tue 2014-02-18 16:57:05 CET; 15min ago

ps auxw|grep bluetoot
root  3571 27.6  0.0  21200  2112 ?Rs   16:57   4:29
/usr/libexec/bluetooth/bluetoothd

As you see everything is actually running fine... I even tried to
restart it several times


Re: [gentoo-user] How to properly set up Bluetooth

2014-02-18 Thread Ralf
I got it working!

But I can't reproduce what i did..

I played around with bluetoothctl  which seems to be a interactive
replacement for simple-agent.
After powering my bluetooth device on and off, trusting and untrusting,
pairing and unpairing for several times it now *seems* to work.
It even connects automatically after turning it on :-)

Bluetooth stuff is really weird

Thanks!

On 02/18/14 17:20, Canek Peláez Valdés wrote:
 On Tue, Feb 18, 2014 at 10:14 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 On 02/18/14 17:10, Canek Peláez Valdés wrote:

 systemctl status bluetooth.service


 Yes, sure, as I wrote above.

Active: active (running) since Tue 2014-02-18 16:57:05 CET; 15min ago

 ps auxw|grep bluetoot
 root  3571 27.6  0.0  21200  2112 ?Rs   16:57   4:29
 /usr/libexec/bluetooth/bluetoothd

 As you see everything is actually running fine... I even tried to restart it
 several times
 OK, sorry, I hadn't read carefully your first post. blueman-applet
 fails because it uses the 4.x dbus API from bluez. gnome-bluetooth
 uses the 5.x dbus API, and AFAIK, right now it's the only tool using
 it.

 So, with gnome-bluetooth you can detect your keyboard but the pairing
 fails? You say you paired the keyboard correctly with your android
 phone; you don't need to do something in the keyboard to pair it to a
 different hosts? Something like keep pressing the power button?

 Regards.




Re: [gentoo-user] How to properly set up Bluetooth

2014-02-18 Thread Ralf
Oh no... After turning of the keyboard, bluetoothd start to consume 100%
CPU...

I have to run systemctl restart bluetooth after unconnecting my device.

Come on...

On 02/18/14 17:49, Ralf wrote:
 I got it working!

 But I can't reproduce what i did..

 I played around with bluetoothctl  which seems to be a interactive
 replacement for simple-agent.
 After powering my bluetooth device on and off, trusting and untrusting,
 pairing and unpairing for several times it now *seems* to work.
 It even connects automatically after turning it on :-)

 Bluetooth stuff is really weird

 Thanks!

 On 02/18/14 17:20, Canek Peláez Valdés wrote:
 On Tue, Feb 18, 2014 at 10:14 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 On 02/18/14 17:10, Canek Peláez Valdés wrote:

 systemctl status bluetooth.service


 Yes, sure, as I wrote above.

Active: active (running) since Tue 2014-02-18 16:57:05 CET; 15min ago

 ps auxw|grep bluetoot
 root  3571 27.6  0.0  21200  2112 ?Rs   16:57   4:29
 /usr/libexec/bluetooth/bluetoothd

 As you see everything is actually running fine... I even tried to restart it
 several times
 OK, sorry, I hadn't read carefully your first post. blueman-applet
 fails because it uses the 4.x dbus API from bluez. gnome-bluetooth
 uses the 5.x dbus API, and AFAIK, right now it's the only tool using
 it.

 So, with gnome-bluetooth you can detect your keyboard but the pairing
 fails? You say you paired the keyboard correctly with your android
 phone; you don't need to do something in the keyboard to pair it to a
 different hosts? Something like keep pressing the power button?

 Regards.





Re: [gentoo-user] emerge -uD @system with lots of blocks!

2014-01-09 Thread Ralf Ramsauer
What I try to do in such cases (I know this is not the best solution,
but it always works quite good) is to uninstall all packages that cause
problems.
After the world update, you can reinstall those. In your case, i would
try to uninstall
  - libreoffice
  - qt*
  - all blocking packages

But this might be very risky!

Another try could be to install bunch of packages by hand. E.g. Try to
update python, if this works try to update let's say systemd, and so on.

Oh, I see your gentoo actually wants to install systemd? Did you change
to gnome3? Which profile do you use?

Regards,
  Ralf

On 01/09/2014 01:01 PM, Tamer Higazi wrote:
 I want to update the system and then world, but still have a lots of
 blocks and don't know how to solve that.

 emerge error output:
 http://pastebin.com/raw.php?i=XTKQHUjk

 On the gentoo forums nobody could help me.

 Perhaps here any ideas ?!







Re: [gentoo-user] [Hardware Error]: MC1 Error: Copyback Parity/Victim error.

2013-09-24 Thread Ralf Ramsauer
A friend of mine told me, that AMD also had some trouble concerning TLB
on that architecture (translation lookaside buffer).
Unfortunatelly I have no references for that issue.

I would keep a eye on that error, and if your system must be
highly-available, i would even change hardware.

Regards,

--
Ralf

On 09/24/13 10:01, Grant wrote:
 I had a deeper look into the kernel sources:

 Your error message is exactly thrown by
 static bool k8_mc1_mce(u16 ec, u8 xec)

 So probably you have a K8 ;-)

 Have a look at:
 http://www.redhat.com/archives/rhelv5-list/2007-October/msg00075.html
 I read it, that one sounds like a correctable ECC RAM error.

 It *might* be an error concerning ECC error correction. Did you recently
 change any hardware?
 No hardware changed in a very long time.

 Could you attach your /proc/cpuinfo?
 Sure, I've attached it.  I'm changing hosts and machines shortly and
 I've only seen this error once so I'm thinking I don't need to take
 action.

 - Grant


 I share this opinion.
 The message says - even if the error was corrected - that there's
 something dramatically wrong with your - i suppose - CPU.
 Corrected error might imply, that some low-level feature got disabled
 in order to prevent furher errors.

 Does this error appear only once at early boot or frequently?

 Regards,
 --
 Ralf

 On 09/23/13 22:07, Volker Armin Hemmann wrote:
 Am 23.09.2013 20:59, schrieb Paul Hartman:
 On Mon, Sep 23, 2013 at 1:45 PM, Grant emailgr...@gmail.com wrote:
 Can anyone tell me how to decipher this which has appeared in dmesg?
 Google wasn't very helpful.

 [Hardware Error]: MC1 Error: Copyback Parity/Victim error.
 [Hardware Error]: Error Status: Corrected error, no action required.
 [Hardware Error]: CPU:3 (10:2:3) MC1_STATUS[-|CE|-|-|-]: 
 0x9171
 [Hardware Error]: cache level: L1, tx: INSN, mem-tx: EV
 Looks like machine check error, it detected an error in the L1 cache
 on your CPU.

 Since it says Corrected error, no action required I would not worry
 about it. If that makes you feel any better. :)


 since those errors are rare, I would worry about it.




Re: [gentoo-user] [Hardware Error]: MC1 Error: Copyback Parity/Victim error.

2013-09-23 Thread Ralf Ramsauer
What kind of architecture / CPU?

I suppose it's an AMD CPU as this error is thrown by
drivers/edac/mce_amd.c:

$ cd /usr/src/linux; fgrep -R MC1 Error
drivers/edac/mce_amd.c: pr_emerg(HW_ERR MC1 Error: );

$ fgrep -R Copyback Parity/Victim error
drivers/edac/mce_amd.c: pr_cont(Copyback Parity/Victim
error.\n);

Regards,
--
Ralf

On 09/23/13 21:15, Grant wrote:
 Can anyone tell me how to decipher this which has appeared in dmesg?
 Google wasn't very helpful.

 [Hardware Error]: MC1 Error: Copyback Parity/Victim error.
 [Hardware Error]: Error Status: Corrected error, no action required.
 [Hardware Error]: CPU:3 (10:2:3) MC1_STATUS[-|CE|-|-|-]: 0x9171
 [Hardware Error]: cache level: L1, tx: INSN, mem-tx: EV
 Looks like machine check error, it detected an error in the L1 cache
 on your CPU.

 Since it says Corrected error, no action required I would not worry
 about it. If that makes you feel any better. :)
 It does!  Thank you.

 - Grant





Re: [gentoo-user] [Hardware Error]: MC1 Error: Copyback Parity/Victim error.

2013-09-23 Thread Ralf Ramsauer
I share this opinion.
The message says - even if the error was corrected - that there's
something dramatically wrong with your - i suppose - CPU.
Corrected error might imply, that some low-level feature got disabled
in order to prevent furher errors.

Does this error appear only once at early boot or frequently?

Regards,
--
Ralf

On 09/23/13 22:07, Volker Armin Hemmann wrote:
 Am 23.09.2013 20:59, schrieb Paul Hartman:
 On Mon, Sep 23, 2013 at 1:45 PM, Grant emailgr...@gmail.com wrote:
 Can anyone tell me how to decipher this which has appeared in dmesg?
 Google wasn't very helpful.

 [Hardware Error]: MC1 Error: Copyback Parity/Victim error.
 [Hardware Error]: Error Status: Corrected error, no action required.
 [Hardware Error]: CPU:3 (10:2:3) MC1_STATUS[-|CE|-|-|-]: 0x9171
 [Hardware Error]: cache level: L1, tx: INSN, mem-tx: EV
 Looks like machine check error, it detected an error in the L1 cache
 on your CPU.

 Since it says Corrected error, no action required I would not worry
 about it. If that makes you feel any better. :)


 since those errors are rare, I would worry about it.

   



Re: [gentoo-user] [Hardware Error]: MC1 Error: Copyback Parity/Victim error.

2013-09-23 Thread Ralf Ramsauer
I had a deeper look into the kernel sources:

Your error message is exactly thrown by
static bool k8_mc1_mce(u16 ec, u8 xec)

So probably you have a K8 ;-)

Have a look at:
http://www.redhat.com/archives/rhelv5-list/2007-October/msg00075.html

It *might* be an error concerning ECC error correction. Did you recently
change any hardware?

Could you attach your /proc/cpuinfo?

Regards,
--
Ralf

On 09/23/13 22:24, Ralf Ramsauer wrote:
 I share this opinion.
 The message says - even if the error was corrected - that there's
 something dramatically wrong with your - i suppose - CPU.
 Corrected error might imply, that some low-level feature got disabled
 in order to prevent furher errors.

 Does this error appear only once at early boot or frequently?

 Regards,
 --
 Ralf

 On 09/23/13 22:07, Volker Armin Hemmann wrote:
 Am 23.09.2013 20:59, schrieb Paul Hartman:
 On Mon, Sep 23, 2013 at 1:45 PM, Grant emailgr...@gmail.com wrote:
 Can anyone tell me how to decipher this which has appeared in dmesg?
 Google wasn't very helpful.

 [Hardware Error]: MC1 Error: Copyback Parity/Victim error.
 [Hardware Error]: Error Status: Corrected error, no action required.
 [Hardware Error]: CPU:3 (10:2:3) MC1_STATUS[-|CE|-|-|-]: 0x9171
 [Hardware Error]: cache level: L1, tx: INSN, mem-tx: EV
 Looks like machine check error, it detected an error in the L1 cache
 on your CPU.

 Since it says Corrected error, no action required I would not worry
 about it. If that makes you feel any better. :)


 since those errors are rare, I would worry about it.







Re: [gentoo-user] How to prevent Firefox from switching VT?

2009-01-07 Thread Ralf Stephan
  I would like to make FF stick to a specific VT, or just
  not switch VT when called from another. Possible?
 
 Are you talking about that ?
 https://bugzilla.mozilla.org/show_bug.cgi?id=425879

Exactly, thanks!

 I guess that what you call a VT (virtual _terminal_) is a virtual
 workspace.

To continue nitpicking, the wmctrl people call it virtual desktop.


Regards,
ralf



[gentoo-user] How to prevent Firefox from switching VT?

2009-01-06 Thread Ralf Stephan
Hello,
I'm using mutt as MUA in an xterm on VT1 and calling up,
via urlview, FF on VT2 with a web page from a mail URL.
Up to some time recently, Firefox only switched VT the
first time I did this, now it does it every time, annoyingly.

I would like to make FF stick to a specific VT, or just
not switch VT when called from another. Possible?


Regards,
ralf



[gentoo-user] kein Profile

2008-10-08 Thread Ralf Hinz
, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Hat jemand eine Idee?


Ralf
Zürich


pgpkeys.asc
Description: application/pgp-keys


Re: [gentoo-user] kein Profile

2008-10-08 Thread Ralf Hinz
Schon gemacht. portage tree ist aktuell

Volker Armin Hemmann schrieb:
 On Mittwoch 08 Oktober 2008, Ralf Hinz wrote:
   
 Hallo

 Wollte mein Profile updaten. Leider kein Glück!!!

  eselect profile list
 /usr/bin/sed: kann //profiles/profiles.desc nicht lesen: Datei oder
 Verzeichnis nicht gefunden
 !!! Error: Failed to get a list of valid profiles
 Getötet
 

   
 LINGUAS=de
 MAKEOPTS=-j5
 PKGDIR=/usr/portage/packages
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/local/portage/layman/desktop-effects
 /
 Hat jemand eine Idee?
 

 ein emerge --sync ?


   



Re: [gentoo-user] kein Profile

2008-10-08 Thread Ralf Hinz
Sorry i am on the wrong list-;)

b.n. schrieb:
 Ralf Hinz ha scritto:
   
 Hallo

 Wollte mein Profile updaten. Leider kein Glück!!!
 

 Can you write in English? The mailing list is international...

 Thanks,
 m.


   



[gentoo-user] mktemp dependency problems

2008-04-26 Thread Ralf Stephan
Hello,
recently sys-apps/mktemp is blocking coreutils even in x86.
mktemp is needed by baselayout, debianutils and a2ps.
As a2ps is optional and newer baselayout (~x86) version
no longer require mktemp, that leaves debianutils requiring
mktemp, even in ~x86 versions.

So, we have a problem.

What am I missing here?


Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: mktemp dependency problems

2008-04-26 Thread Ralf Stephan
 no longer require mktemp, that leaves debianutils requiring
 mktemp, even in ~x86 versions.

Make that 'even in x86 versions'
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] local caching DNS?

2008-04-09 Thread Ralf Stephan
Hello,

I'm fed up with waiting for ever the same name requests from my
browser (and open servers don't cut it either): which DNS cache
or caching DNS for simple local installation would you recommend?

Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Ralf Stephan
vorner wrote 
 I use dnsmasq, can be used as a LAN cache too (by simply allowing
 requests from a given interface). Took me about 30 minutes to configure.
 I asked dhcp to save to resolv.conf.2 and made resolv.conf to request
 from localhost.

OK this works fine, thanks. However, udhcpd cannt be coaxed to
write the servers to the new file, am I missing something?

But it's not too bad, I don't reboot often.


Thanks for all the answers (and questions ;)
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] TeXlive with non-English hyphenation?

2008-03-08 Thread Ralf Stephan
You wrote 
 I found this which might be interesting:
 http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newlang

Thanks. But it was a stray tetex config file. I was pointed to
http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml


ralf

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] TeXlive with non-English hyphenation?

2008-03-06 Thread Ralf Stephan
Iain wrote
 On Wed, 2008-03-05 at 11:34 +0100, Ralf Stephan wrote:
  Does someone use TeXlive and has encountered and solved
  non-English hyphenation problems? I have tried both babel.sty
  with the german/germanb options and german.sty from the
  package texlive-langgerman, always giving the command
  \selectlanguage{german}
 
 I don't use texlive, but have you set linguas_de?

That was a good idea, and necessary to do, thanks.
However, latex and pdflatex apparently still don't want to use the 
language.dat file with the now correct entries. Funnily, xlatex does!
So, as workaround I've converted to UTF-8 and use xelatex now.

Any other ideas?


ralf
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] TeXlive with non-English hyphenation?

2008-03-05 Thread Ralf Stephan
Hello,

Does someone use TeXlive and has encountered and solved
non-English hyphenation problems? I have tried both babel.sty
with the german/germanb options and german.sty from the
package texlive-langgerman, always giving the command
\selectlanguage{german}

babel.sty gives 
Package babel Warning: No hyphenation patterns were loaded for
(babel)the language `German'
(babel)I will use the patterns loaded for \language=0
instead.

german.sty gives
german -- \language number for German undefined, default 255 used,
german -- Please read gerdoc.tex how to install hyphenation patterns.
german -- \language number for Austrian undefined, default 255 used.
german -- \language number for French undefined, default 255 used.

Many thanjks for any hints!

Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] XML editor

2008-02-23 Thread Ralf Stephan
Hello,
I'm looking for a free XML editor, may be native or even under
Wine, that works well and helps with, for example, presenting
the content of all emph tags as a list, selecting a subset of
them, and changing the subset markup to placeName rend=bold.

Is there an app that I can use for this without programming effort?


Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] XML editor

2008-02-23 Thread Ralf Stephan
 Not sure if Quanta will do what you're after?  I recall it has some XML code 
 in there, but don't know if it offers the functionality you want.

Oh, forgot to say that I don't want to install KDE, sorry.


ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Summary Re: [gentoo-user] XML editor

2008-02-23 Thread Ralf Stephan
Many thanks for the answers. Unfortunately, nothing really
fit my needs, so programming it'll have to be ...

In summary, the editors are helpful in visualizing doc structure
and oXygen has the most features, while for docbook the specialized
apps may be better. Amaya is no longer in gentoo (I recall it the
editor of choice for MathML). After oXygen, I'd have liked xxe best,
as it doesn't draw a rat tail of KDE, GNOME or wxWidgets dependencies
but that's only because I have java handy.


ralf

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] paludis vs emerge

2008-01-30 Thread Ralf Stephan
  Have I overlooked an option comparable to --ask ?
  
 No, Paludis is non-interactive.

With 700 packages, paludis takes quite long here to give output,
and having that double is irritating. Would it be possible to
cache computations such that the second time (without -p) at least
would be faster?


Regards,
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] diff command for images

2008-01-27 Thread Ralf Stephan
You could also try the pamarith comand of the netpbm package.
It has both -subtract and -difference


ralf
-- 
gentoo-user@lists.gentoo.org mailing list



csound Re: [gentoo-user] tone generator

2008-01-25 Thread Ralf Stephan
It's surprising how few people have heard about the most
flexible tone generator (=synth) out there: csound

http://www.csounds.com

The latest package has a Gentoo ebuild, too, which is not
in the repository, however.

You can do *everything* with it, and it's so fast you
can use it as MIDI player, too.


Regards
ralf
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Does this qualify as some bug ?

2007-12-28 Thread Ralf Stephan
 While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
 avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
 'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
 when I restarted pdnsd I found it is still listening on TCP. I checked
 /etc/conf.d/pdnsd and found no option related to listening to 'TCP'
 set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
 been launched with '-t' command line argument (enables the TCP server
 thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
 need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
 think, listening shouldn't be made by default, even if it is, then it
 should be in configuration file, not in init.d script .

Since noone answered, I'll try. I'm not into the details of your
problem but I have the impression your suggestion should be stated
to the pdnsd developing community, not on gentoo. I'd qualify it as
bug, but YMMV, and again, I don't know much about it.

ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Excellent Paludis interview

2007-12-20 Thread Ralf Stephan
 Here is an excellent interview with Ciaran McCreesh about Paludis:
 
 http://lab.obsethryl.eu/content/paludis-gentoo-and-ciaran-mccreesh-uncensored
 
 Has anyone here switched from Portage to Paludis?

Yes, and very satisfied. Even with the earlier versions.


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] growisofs: media is not recognized as recordable DVD

2007-12-17 Thread Ralf Stephan
You wrote 
 I had some .avi's that I wanted to burn, so I went out and bought a 10pack of 
 Fujifilm DVD-R media (4.7GB) and fired up K3b.  However, it kept asking me to 
 insert a writable disk even though I put fresh disk after fresh disk in the 
 drive.
 
 So I resorted to growisofs.  I had an ISO I wanted to burn as well so:
 
   $ growisofs -Z /dev/dvdrw=/path/to/image.iso
   :-( /dev/dvdrw: media is not recognized as recordable DVD: 0

Installed a new kernel in the meantime? (just an idea)


ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-17 Thread Ralf Stephan
 What does everyone else think about this.  Is portage a major blocker
 of progress or not so much?

As said above, details are major blockers of progress.

On the other hand, when I switched to paludis, 100 MB
of unnecessary packages suddenly were available to delete.
So, paludis must do something right where portage didn't.


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Rules

2007-12-15 Thread Ralf Stephan
  I love gentoo and can't settle for anything else.  What can I do to
  make sure development doesn't stop?
 
 Let me in on that.  What can I do too?

Help out with bugfixing by submitting patches or even just
confirming bugs and supplying needed details?
Join testing teams? Join the Weekly News team?


Is it really so difficult to see where there
is something to do?

If yes, wouldn't it be the first step to learn about
how it all works?


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS

2007-11-28 Thread Ralf Stephan
You wrote 
 I need to convert web pages to PDF files under program control,

* app-text/htmldoc [N 1.8.27] target
Convert HTML pages into a PDF document
-fltk ssl

Use flags:

* fltk: Adds support for the Fast Light Toolkit gui 
interface
* ssl:  Adds support for Secure Socket Layer connections


ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge openssl fails.

2007-10-28 Thread Ralf Stephan
You wrote 
 Attached the log file.

Looks like kernel headers are not found. Have you recently
installed a new kernel manually and deleted the old?
Or did you deinstall sys-kernel/linux-headers? You need that.


ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] where is the unifont?

2007-10-22 Thread Ralf Stephan
Albert wrote 
  Thanks, that was it. I relied on the usual etc-update to do such
  things. I mean, if I install a font, I sure want it in the xconfig?
 
 That's not what etc-update does. etc-update is just a tool that helps
 you manage files that a package installs that were CONFIG_PROTECTed.
 Since font packages don't supply xorg.conf there's nothing to
 CONFIG_PROTECT and therefore etc-update is futile. ...

Then let me phrase it alternatively. As another poster said (thanks),
the path can be set with xset +fp. Shouldn't this be done at
installation?


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] where is the unifont?

2007-10-21 Thread Ralf Stephan
Daniel Vrcic wrote 
 You should have unifont's path listed in the Files section of
 xorg.conf:
 
 Section Files:
 ...
   FontPath /usr/share/fonts/unifont
 ...

Thanks, that was it. I relied on the usual etc-update to do such
things. I mean, if I install a font, I sure want it in the xconfig?


ralf

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] where is the unifont?

2007-10-19 Thread Ralf Stephan
Hello,
I have installed the unifont package but it doesn't show with
xlsfonts nor xfontsel, nor does an xterm find the font string.
I tried the commands mkfontsdir and xset fp rehash.

What am I missing?


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Couldn't load XKB keymap...

2007-10-01 Thread Ralf Stephan
Search for setxkbmap on the bug server. A missing link
on installation is the problem. We're waiting for a patch.


ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Bad 3Dness from my Intel 855GM!

2007-09-21 Thread Ralf Stephan
 this before?  I don't know what other programs I can test it with that I
 might be able to get a screenshot to show you with, but if anybody knows
 something that might be a good test, let me know!

You could test downgrading x11-drivers/xf86-video-i810 to 1.7.4. as
there were some problems with i810 after the last x11 upgrade.


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] About the expat update and such

2007-08-24 Thread Ralf Stephan
I might be a bit too naive or hands-on -- I think portage
or paludis should be able to tell you which upgrades that
expat one will draw behind it. I don't know what would be
required for implementation, though.

In other words, even the existence of a separate revdep-rebuild
tool is a design error, IMHO.

ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Linux becomes expensive ;)

2007-06-04 Thread Ralf Stephan
 Just for comparison,
 http://blog.spida.net/index.php?/archives/3-Powerusage.html has some
 measurements of a low-power system.

That's not even optimal. My King Young w/ 1.6GHz Celeron, 500 MB RAM,
and Intel 855 graphics uses just 30-35W at 100% CPU.

And it's silent!


ralf
P.S. see e.g. http://www.mini-itx.de

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ralf Stephan
You wrote 
 How often do you sync with the current portage tree and compare it
 your versions in world?  Should one do this once a week?  Once in
 two weeks?

I have settled to a 5-day routine, when I sync, update completely
the system target, and go through the listing of changes to world,
where I only upgrade things important to me or those which have a
big gap in the version number or a new major number.

This doesn't cost me much personal and CPU time.


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Reducing disk usage

2007-04-28 Thread Ralf Stephan
  Over a whole system this can 
  add up to a few dozen more MB of space usable.
 
 This Depends largely on the type of files. I've got my portage
 tree on a reiserfs, and in comparison to ext3, it saves couple
 100 (one-zero-zero) megs!

OTOH, you may not need to switch to reiser for that.
It may simply be a matter of giving /usr/portage its own 
partition and a smaller block size.

I have no data on that, though.


ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT im more just curious

2007-04-14 Thread Ralf Stephan
You wrote 
 I'm 44. I remember Imsai 8080, Apple II/III and others. In Sweden
 we had those little boxes known as ABC80 (and later ABC800 with
 16 colors and somewhat better graphical resolution). Other boxes
 are PDP11/70, various PET/Commodore, Ataris et al. I'm felling a huge
 wave of nostalghia here :)

Yes, those Ataris with 16K on-chip OS and 48-64K memory. (400XL)
I bought one then at around '82 for 1000? Marks (=$500),
the same price I had to shell for a 3,5 Floppy drive for it,
the size of a thick book. My first computer, and I'm 44 too!

My first Linux was a tarball with Kernel, shell, and some tools
including gcc-1.x with a size of around 1-2 MB (memory fails me).
It was 1992, not a year after Linus started the thing. After that,
there came Slackware for a few years, SuSE for quite some time,
LinuxPPC on iMac, Ubuntu, and now Gentoo for some 1,2 years.


Regards,
ralf
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do I detect that I'm on Gentoo?

2007-03-27 Thread Ralf Stephan
You wrote 
 Well, not a very hi-tech solution, but I think that if you find files and 
 directories like /usr/portage, /etc/gentoo-release, /etc/make.*, etc. 
 you can reasonably assume you are running on gentoo.

Not necessarily number 1 and 3 if you're using paludis.


ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Symlinking /usr/portage/distfiles

2007-02-01 Thread Ralf Stephan
  2GHz Centrino
  2GB Ram
  80G SATA
  2.6.19-suspend2-r1
 
 Odd. My 2.8GHz Pentium 4 takes *far* longer to compile OO, something close to 
 10h, though I haven't really timed it.

Memory is essential for compiling, so a guess would be that you
have less than 1 GB RAM. Maybe even 1GB is not enough.


ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mathematical Formulas

2007-01-17 Thread Ralf Stephan
 I was being very ambiguous the first time and I apologise. The problem is
 that I have some readily written texts in Windows doc format which contain
 mathematical formulas and I need to be able to read them.

By chance, I found the link to a Word -- LaTeX converter:

http://www.grindeq.com


Have fun,
ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mathematical Formulas

2007-01-11 Thread Ralf Stephan
 Gentoo fits like a glove,even to a newbie such as myself,  but I can't get
 AbiWord to display mathematical formulas in my documents. Is there a 
 package

Depends on which documents but you don't want any other output
than that from LaTeX. This is the true math standard. You can
convert to Postscript, PDF, bitmap from there and thus include
it in any other doc format.


Regards,
ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mathematical Formulas

2007-01-11 Thread Ralf Stephan
 I was being very ambiguous the first time and I apologise. The problem is
 that I have some readily written texts in Windows doc format which contain
 mathematical formulas and I need to be able to read them.

Not knowing if it's possible to read that with OpenOffice,
I would advise you to rewrite in LaTeX. It's a good way to
learn the typesetting and you'll love how it looks. If you
care for your text use LaTeX. Do you think all the scientists
who put their preprints on arXiv.org can be wrong?


Regards,
ralf

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] using stage4 conveniently

2006-12-18 Thread Ralf Stephan
Hello,
I'm using Reto Glauser's mkstage4 script for backup. Reading
in the 'Small Footprint Gentoo USB HOWTO' about a stage4 made
me ask myself:

Is it possible to quickly/comfortably put the backup stage4
on a USB Stick, such that it behaves just like the same system
just backed up while the primary HDD is completely passed by?

If there is no such tool accomplishing this, there certainly
should be, as a way to
- have a running system a short time after a HD crash
- completely ditch those power hungry HD drives
- ... your idea here ...

Many thanks for your comments.


Regards
ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Something's killing my xfce panel/decorations

2006-12-14 Thread Ralf Stephan
Steve wrote 
 Ralf Stephan wrote:
 Hello,
 I have a stable (+unstable gtk) i86/xorg soundless installation 
 with a bare bones xfce4 desktop. My only problem is that, after
 one two weeks, the xfce-panel disappears and newly started apps
 are missing the window decorations. They keep missing, even if
 I restart the panel manually. So I have to restart X which is a
 PITA. Have you seen this? Do you have a recommendation?
 
 
 Upgrading GTK and or its libs sometimes introduce small quirks into XFCE, 
 I've noticed.  Generally, I just re-emerge all the XFCE packages and I'm 
 good to go.

Excellent idea. Many thanks!


Regards,
ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can Neon be slotted?

2006-12-07 Thread Ralf Stephan
 What versions of these are you trying to run?  davfs2-1.1.3-r1 and
 subversion-1.4.2 both depend on just net-misc/neon, without any
 version deps, so I presume they both work with the current
 neon-0.26.1-r1.

Actually, svn does not depend on neon, only if you use WebDAV, and
then it's a svn bug. Reason: neon is meant to be included with
packages using it. This is clearly stated in the manual.

So, correctly, you would file bugs with both davfs2 and svn.


ralf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev 084 breaks USB?

2006-02-01 Thread Ralf Hinz
Alexander Skwar schrieb:

Hello!

Today I updated from udev-081-r1 to udev-084. Since then,
I can no longer use my USB devices, like my mouse or my
flash card reader.

Did anyone else notice this?

Alexander Skwar
  

Hi

I have no problem since a updated. Cardreader etc. just works fine.

Ralf
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vnc

2005-11-08 Thread Ralf Fischer
Hi there!

On Mon, Oct 24, 2005 at 01:05:16PM +0100, Digby Tarvin wrote:
 Of course if you are trying to connect from a Windose or other non-X
 system, then VNC is probably what you need.

Alternatively to VNC there's XLiveCD [1] out there. It's a Cygwin [2] based
disk you can put into your W32 box, the autorun(tm) feature offers to
either install it on the disk or run it from the disk. 

Like Cygwin it includes basic utilities, as well as xterm and a
X-Server, which integrates in windows.

For me, up to know, it worked perfectly out of the box.

Cheers,
  Ralf

[1] http://xlivecd.indiana.edu/
[2] http://www.cygwin.com/

-- 
Ralf Fischer -  [EMAIL PROTECTED]  -  Public Key ID 0xFCD51EAA
fingerprint = E4B1 4780 D001 4DC0 0E2A  468C EB7B AD48 FCD5 1EAA

Genius doesn't work on an assembly line basis.  You can't simply say,
Today I will be brilliant.
-- Kirk, The Ultimate Computer, stardate 4731.3


pgpAUaNZS8sJB.pgp
Description: PGP signature


Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread ralf

kashani wrote:


tiesman wrote:


On Mon, Oct 03, 2005 at 10:03:39AM -0500, kashani wrote:


Mark Shields wrote:


qmail!  I use it on my home server and I love it.



Didn't he say something about a simple MTA? :-)




Exactly kashani. I do thank you Mark, for a quick answer. But can you 
also give
me an example config file (or any clues, to get it up and running), 
because it
is the whole intention to find a MTA suitable for a quick install (or 
a complex

MTA, with some kind of noob 'config-mode').
  Don't get me wrong, if there's no way of making this work easy, 
I'll dig in a
mail sysadmin guide or so. But I think it would be useful to have a 
simple MTA

available for Gentoo, wouldn't it?



The problem is that doing local delivery properly does require some 
infrastructure. However a stripped down local server could probably 
drop  most of the queuing that goes on in an MTA. The final package is 
still going to be complicated enough which is why a psuedo MTA isn't 
an interesting problem for anyone capable of writting a real mail 
server. Or at least that's my take on it.


In any case this should get Postfix working within 15 minutes 
including compile


emerge postfix
You might need to unmerge ssmtp before you install postfix
vi /etc/mail/aliases
point to root to a local account
newaliases
makes your aliases active
vi /etc/postfix/main.cf
ctrl +g to get to the bottom, add these lines
myhostname = hostname.yourdomain.com
mydomain = yourdomain.com
myorigin = $myhostname # or you can make it $mydomain
inet_interfaces = all # or set to localhost if you don't want the 
server to be able to receive any email
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 
# or some subset of these.

mynetworks_style = subnet
mynetworks = 127.0.0.0/8 # and any other IP's you'd like to allow to 
relay though I don't think you need any


/etc/init.d/postfix start
postconf -n
so you verify the right settings are what Postfix is using. If 
this is off look at the main.cf and delete any duplicates. IIRC 
Postfix uses the last config which is why we put all the configs at 
the end of the config file.

rc-update add postfix default

While not simple I think Postfix is one of the easier MTA's to get up 
and running quickly.


kashani


searched for local mail howtos, too :)

great little howto, workds, thanks ! :)



--
gentoo-user@gentoo.org mailing list



  1   2   >