Re: [gentoo-user] Re: grub error I've never seen in many installs

2017-07-12 Thread Hinnerk van Bruinehsen
On Wed, Jul 12, 2017 at 05:57:58PM -0400, Harry Putnam wrote:
> Arve Barsnes  writes:
> 
> > On 10 July 2017 at 22:06, Harry Putnam  wrote:
> >
> >>  grub-install /dev/sda Installing for i386-pc platform.
> >> grub-install: error: cannot find a GRUB drive for /dev/sda1.  Check
> >> your device.map.
> >>
> >> Where might I find `device.map'... it isn't part of grub2.  At least
> >> grep doesn't find it with `qlist grub'
> >>
> >
> > As far as I understand it, grub2 will dynamically create the device.map
> > when it needs it, so it doesn't actually exist as a file. On my grub legacy
> > system it is installed as /boot/grub/device.map, with the only contents
> > being "(hd0)   /dev/sda".
> >
> > How you would feed grub this information *before* it is installed I'm not
> > sure, but maybe look into the USE=device-mapper flag, maybe it installs the
> > grub-mkdevicemap executable.
> 
> Yeah, I tried that before posting.. setting USE=device-mapper then
> reinstalled grub2... same result as without the flag.  Same error
> message.
> 
> I've always .. on many installs (over time) and mostly into a vbox vm,
> created a disk, then when booting the install media I carve it up with
> fdisk.
> /dev/sda1=boot
> /dev/sda2=swap
> /dev/sda3=home
> /dev/sda4=/
> 
> Has something changed regarding using that kind of technique?
> 
> I can't figure out why grub would be looking for a GRUB drive on
> /dev/sda1 as the error says:
> 
>   grub-install: error: cannot find a GRUB drive for /dev/sda1


Did you mount /boot from inside the chroot environment? IIRC I got a
similar failure when mounting /boot from outside the chroot...





Re: [gentoo-user] march to cross-compile ASUS laptop

2017-07-12 Thread Hinnerk van Bruinehsen
On Tue, Jul 11, 2017 at 06:06:26PM -0500, Andrés Becerra Sandoval wrote:
>Hello,
> 
>I want to use a build host to create packages for a L402N Asus laptop.
> 
>% grep -m1 -A3 "vendor_id" /proc/cpuinfo
>vendor_id   : GenuineIntel
>cpu family  : 6
>model   : 92
>model name  : Intel(R) Celeron(R) CPU N3350 @ 1.10GHz
> 
>intel has this specs:
>
> [1]http://ark.intel.com/products/95598/Intel-Celeron-Processor-N3350-2M-Cache-up-to-2_4-GHz
> 
>and, in the following website:
> 
> [2]https://en.wikichip.org/wiki/intel/celeron/n3350
> 
>​It says that the microarchitecture is apollo-lake.
> 
>What would be the proper marc​h configuration for this box?
> 

Hi,

if you have Gentoo already installed on the box, make sure that you
configured the same compiler version as on the build host (gcc-config)
and then run:
gcc -### -march=native -E /usr/include/stdlib.h 2>&1 | grep
"/usr/libexec/gcc/.*cc1"

Everything after "-march=..." should be what your gcc version would use
when using march=native on the laptop.

WKR Hinnerk



Re: [gentoo-user] hostname problem

2016-10-02 Thread Hinnerk van Bruinehsen
On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote:
> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd ,
> & on restarting today found that hostname is not being set :
> 
>   root:505 etc> echo $HOSTNAME
>   (none)
> 
> Previously it was 'localhost'.
> 
> The problem seems to be in  /etc/init.d/hostname ,
> as the init process reports :
> 
>   Setting hostname to localhost ...
>   /etc/init.d/hostname: line 24: hostname command not found
>   *Failed to set the hostname [!!]
> 
> I've updated Openrc to the latest testing 0.22.1 , but no change.
> I've also tried permutations of changes to  /etc/init.d/hostname .
> 
> Can anyone offer advice ?

Check if sys-apps/net-tools has the "hostname" useflag enabled (it's enabled by
default so you may encounter the fallout of a -* setup...)

WKR
Hinnerk



Re: [gentoo-user] Anyone running a hardened profile?

2015-09-06 Thread Hinnerk van Bruinehsen
Hello walt,

I've running hardened (hardened profile + kernel (including pax and grsec)) for
at least 5 years on all my boxes except one (my gaming only box).
It's been quite a while that I had an issue caused by the hardened profile that
wasn't due to my fiddeling around with stuff like SELinux and the like. Even
these problems were all relatively easy to solve.
Truth be told: I guess that you won't even notice the hardened profile unless
you also run a hardened kernel (while still having increased security).

On Sun, Sep 06, 2015 at 01:15:17PM -0700, walt wrote:
> https://wiki.gentoo.org/wiki/Hardened_Gentoo
> 
> That wiki page is very seductive.  It makes me want to drop everything
> and select a hardened profile and re-emerge everything from scratch.
> 
> But I have a feeling I'd soon be in big trouble if I did.  Is this
> something that only gentoo devs should be messing with, or is this
> a project that a typical gentoo end-user might hope to accomplish
> without frequent suicidal thoughts?



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

2015-08-25 Thread Hinnerk van Bruinehsen
On Tue, Aug 25, 2015 at 06:39:12PM +0200, Ralf wrote:
 On 08/25/2015 03:35 PM, Alan McKinnon wrote:
 
 
  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...

Hello,

you can try lsmod to see which modules actually get loaded (possibly even
before and after successful suspend - just in case there is a difference).

On the other hand you could check the kernel versions of the working kernel and
the new one and try to downgrade your kernel if necessary: my t510 doesn't wake
up from suspend to ram (I never tried hiberation) since at least 4.1.3
(possibly 4.1.y) right now either - without any config changes.
I had to time to bisect/investigate, but it worked fine with 4.0.y.

WKR
Hinnerk




Re: [gentoo-user] Package conflict while trying to emerge chromium

2015-02-13 Thread Hinnerk van Bruinehsen
On Thu, Feb 12, 2015 at 09:02:33AM -0500, Alec Ten Harmsel wrote:
 
 On 02/12/2015 08:15 AM, Gevisz wrote:
  # emerge --ask chromium
  ...
  The following USE changes are necessary to proceed:
  (see package.use in the portage(5) man page for more details)
  # required by www-client/chromium-40.0.2214.111
  # required by chromium (argument)
  =dev-libs/libxml2-2.9.2 icu
  Ok, done.
 
  # emerge --ask chromium
  ...
  !!! 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:2/2::gentoo, ebuild scheduled for merge) pulled 
  in by
 dev-libs/libxml2:=[icu] required by 
  (www-client/chromium-40.0.2214.111:0/0::gentoo, ebuild scheduled for merge)
^^^  
 
  
 
   (dev-libs/libxml2-2.9.2:2/2::gentoo, installed) pulled in by
 dev-libs/libxml2:2[!icu?] required by 
  (dev-qt/qtwebkit-4.8.5:4/4::gentoo, installed)
^
   
  It may be possible to solve this problem by using package.mask to
  prevent one of those packages from being selected. However, it is also
  possible that conflicting dependencies exist such that they are
  impossible to satisfy simultaneously.  If such a conflict exists in
  the dependencies of two different packages, then those packages can
  not be installed simultaneously. You may want to try a larger value of
  the --backtrack option, such as --backtrack=30, in order to see if
  that will solve this conflict automatically.
 
 I think (emphasis on the think) that qtwebkit needs libxml2 with -icu,
 and chromium needs libxml2 with +icu. As far as I can tell from reading
 a couple bug reports, it looks like you can rebuild qtwebkit with
 -gstreamer (since that's what causes the !icu? blocker) and then you
 should be able to install chromium. Apparently icu is pretty annoying.
 
 Alternatively, you could just uninstall qtwebkit if you're not using it
 for anything.

...or you could enable +icu for qtwebkit so that qtwebkit also depends on
a libxml2 with icu support. That way you could resolve that blocker.

WKR
Hinnerk

PS: you'll likely still need to enable icu on libxml2 afterwards unless you
already did so.


signature.asc
Description: PGP signature


Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Hinnerk van Bruinehsen
On Sun, Feb 08, 2015 at 06:05:44PM -0700, Joseph wrote:
 I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would 
 be too slow to compile anything.
 It is running Ubuntu 11.10 and I think I'll need to re-install lighter 
 version of Linux on it.
 What are my alternatives?

 I'll would like to run VPN, some browser on it and skype.

Hi
I ran Gentoo on my EEE PC 1000 some time ago. It wasn't that bad. building
stuff took some time but I even had suff like (then) openoffice, webkit-gtk and
chromium on it.
It'll take a while to build, but I was finde with that. It even felt more
performant than Ubuntu on the same device.
Judging from my current setup (no DE, dwm+other suckless stuff) I guess it's no
problem at all: skype is binary only anyways and there are at least two binary
browsers: firefox-bin and google-chrome.
I'd recomment to give Gentoo a try as long as you don't have other,
non-Gentoo-satisfiably motives...

WKR
Hinnerk

PS: I don't think that there is a lighter version of Linux that Gentoo if you
configure it for lightness.
PPS: If you really want something else I can recommend Alpine Linux, though it
still isn't Gentoo.


signature.asc
Description: Digital signature


Re: [gentoo-user] Clashing dependencies in KDE

2014-12-11 Thread Hinnerk van Bruinehsen
On Thu, Dec 11, 2014 at 10:58:12AM +, Peter Humphrey wrote:
 Hello list,
 
 Today when I ran my usual upgrade I ran into a problem. Portage told me it 
 had skipped net-libs/libkgapi:4 because of unsatisfied dependencies. All it 
 could tell me was that =kde-base/kdepimlibs-4.14:4 required it.
 
 So I embarked on one of those fruitless cycles of adding packages to 
 package.keywords, one at a time as they caused portage to stop, until after 
 about 8 additions I hit the inevitable show-stopper. The mixing of versions 
 of parts of KDE resulted in both 4.14.3 and 4.12.5 of kdelibs being required 
 at the same time.
 
 It looks as though someone has allowed something from ~amd64 out of the wild 
 and into the peace of amd64. Does anyone have a clue to what it is? I 
 thought it might be chromium, since libkgapi is for handling Google 
 calendars and contacts, but eix tells me I already have the latest stable 
 version.
 

Hello Peter,

if I'd be in your place I'd try to run emerge @world -uvDNta (the most
important one here is the -t for showing the dependency tree, you could also
play with --backtrack=30 to resolve possible issues with the dependency
calculation), after you removed the keyword stuff you just added.
From your fist statement (required by =kde-base/kdepimlibs-4.14:4) I guess
that you keyworded something that depends on kdepimlibs or kdepimlibs itself in
the past.
Another option would be to try equery d kdepimlibs : it should show everything
that depends on it (and you can crosscheck that with your keywords).
As a final straw (or first option - depending on you preferences) you could
resync the tree: maybe you've gotten an incomplete version/revbump that already
is resolved in later versions of the tree.


WKR
Hinnerk



Re: [gentoo-user] sys-apps/man-db depends to app-text/po4a

2014-10-11 Thread Hinnerk van Bruinehsen
On Sat, Oct 11, 2014 at 07:37:14AM +0100, Stroller wrote:
 
 On Sat, 11 October 2014, at 7:17 am, hogren hog...@iiiha.com wrote:
 
  … 
  Emerge try to compile sys-apps/man-db-2.6.6 and fails.
  When I watched the build log, I saw that in the compilation period,
  po4a is not found.
  
  I make an #emerge app-text/po4a, I tried again #emerge
  @preserved-rebuild. It's ok.
  
  Is it correct if I file a bug about that ?
 
 Yes, absolutely.
 
 Thank you for your service.

Actually: I think no.

This is caused because you recently updated perl and there is some version
missmatch/dependency issue caused by it.
Run perl-cleaner --all (and emerge -v1 $(qlist -CI virtual/perl) if you run
into issues).
The missing dependency (app-text/po4a) will get pulled along the way (did so
a few hours ago).


WKR
Hinnerk




signature.asc
Description: Digital signature


Re: [gentoo-user] Re: Cohorent pool size too small...

2014-10-07 Thread Hinnerk van Bruinehsen
On Mon, Oct 06, 2014 at 06:34:06PM +0200, meino.cra...@gmx.de wrote:
SNIP
 
 Moin Hinnerk, 
 (hopefully have guessed this greet correctly...I am from that
 part of Germany ;)
 
 I have the source of the driver exclusivly compiled for 3.8.13
 as for 3.14.something (cant remember). 
 3.14.x has some other problems (on that embedded platform) like
 not powering off when shutdown, random reboots and such.
 So decided to go back to 3.8.13.
 Yesterday I started updateing (eix-sync and emerge) that Gentoo
 and it ends up in an endless loop (bash update) of configureing
 (damn slow on that mini iron) and compiling - as it looks -
 of a single file.
 After more than 10 hours I CTRL-C that, reupated and now I am
 ...updateing the bash again.
 Sigh.
 Currently fun is something else...
 
 Is the 3.15.10++ branch free of things like random reboot and
 not powering off?

Moin Meino,

(you've hit dead on spot: is there another valid greeting except that one?
;-) )

Right now I don't have a beaglebone black so sadly I can't provide any first
hand experience.
A 10 hour configure loop definitely sounds fishy to me. I'm running
a (hardened) Gentoo on a Raspberry Pi right now and I do compiling natively
most of the time (as it's not a that critical machine). As it's an even more
mini iron I know that it can be time consuming (maybe interesting: bash: 25
minutes, 57 seconds for 29 merges).
My rpi runs on a 3.16.3 kernel and my experience is that newer kernels help
immensely if available (that is if the hardware is either supported upstream or
there is a vendor branch testing new kernels). Especially for arm there is much
better support lately.
I find for less used platforms (read: not-x86/amd64) the newer kernels are
often more stable than stable ones because the latter often doesn't
experience much testing.

So in the end there aren't many more options than just try it out (kernel
builds are quick luckily because - as you stated in your other reply - kernel
builds are very easily cross-compilable).

Good luck/Viel Erfolg,

Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Gentoo SDcard updates tactics

2014-10-07 Thread Hinnerk van Bruinehsen
On Tue, Oct 07, 2014 at 05:29:11AM +0200, meino.cra...@gmx.de wrote:
 Hi,
 
 There are two SDcards of the same brand and model.
 The first one cariies a not so current Gentoo Linux.
 The second one is empty.
 Now the first one is image-copied to the second one with dd,
 which copies the contents of the whole device (not the partitions).
 
 Then the first one is put into my embedded system, boots up and
 the normal eix-syn/emerge/compiel is done to update the system (whch
 takes a longer time becaus this is an embedded system).
 
 Will I get a technical identical working and valid copy of the first sdcard 
 onto
 the second sdcard if I rsync the relevant partition of the first onto
 the second sdcard.
 
 Or will I produce crap this way? Is this valid Gentoo-wise?
 

Moin (again),

this will work quite well, at least if you take care (I used this way for
moving my systems to new drives or even via network to different boxes (in the
latter case CFLAGS and kernel config will become important again, as you can
imagine)).
Ideally you should run rsync with the option to remove files not found on the
source drive (otherwise you'll likely clutter the target with stale files
(especially documentation  but also older library versions).
You will also need to change the configs (at least static network  hostname,
possibly more) so that both systems don't clash, at least if you plan to run
both on the same network.
The rm option of rsync is potentially dangerous (e.g. you can delete files
from home).
If you are careful this is a valid way of doing that. Another option that would
move quite a bit work from one machine to the other is just building binpkgs on
one host and use the other one as binhost. That way (if you use identical
/etc/portage dirs) you can quite savely use portage and nonetheless negate the
use of compiling (there will still be the load of dependency resplution,
extracting etc).

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: Cohorent pool size too small...

2014-10-06 Thread Hinnerk van Bruinehsen
On Sun, Oct 05, 2014 at 07:44:03PM +0200, meino.cra...@gmx.de wrote:
 walt w41...@gmail.com [14-10-05 19:36]:
  On 10/05/2014 07:54 AM, meino.cra...@gmx.de wrote:
   walt w41...@gmail.com [14-10-05 16:16]:
On 10/05/2014 06:52 AM, meino.cra...@gmx.de wrote:
 Hi,
 
 while trying to get a mt7601sta (UWN200 WiFi dongle) driver running
 and working I came accross this in the dmesg output:
 
 [9.931938] usb 2-1: device v148f p7601 is not supported

This looks to me like it's the real error, not the one below.
   What I dont understand is: If I provide the kernel driver...why does
   the kernel decides not to support the hardware the driver itsself
   supports...?
  
  Where did you get the driver?  Are you sure it's really the right one?
  
  
  
 
 One of the main maintainer for the Beaglebone black kernel sources
 (Robert C. Nelson) point me to his git repository of this driver.
 
 I am now back to kernel 3.8.13, where this stuff runs...
 (The kernel I tried it before was 3.14.19)
 But this kernel version get no much updates thess days and is 
 somehow old...
 
So you tried to run a driver for 3.8.x on a 3.14.x kernel?
Such things often result in breakage as, while the kernels interface to
userspace is very stable, the internal interfaces aren't stable at all. Likely
there would be some other stuff necessary to get the driver to work properly.
Some googling around led me to [1] though, which seems to imply that there is
support on newer kernels (3.15.10 and newer), if you use the right patch...

So maybe you are sucessful with that...

WKR
Hinnerk

[1] http://www.spinics.net/lists/linux-wireless/msg126291.html


signature.asc
Description: Digital signature


Re: [gentoo-user] stack-protector-strong option results in gcc error

2014-09-23 Thread Hinnerk van Bruinehsen
On Tue, Sep 23, 2014 at 09:16:42AM +0300, Alexander Kapshuk wrote:
 On Tue, Sep 23, 2014 at 5:49 AM, Walter Dnes waltd...@waltdnes.org wrote:
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC  kernel/bounds.s
  gcc: error: unrecognized command line option '-fstack-protector-strong'
  make[1]: *** [kernel/bounds.s] Error 1
  make: *** [prepare0] Error 2
 
I switched stack-protector to regular, and it built OK.  I rebooted
  into it, and it works OK.
 
My gcc version data...
 
  [d531][root][/usr/src/linux] gcc --version
  gcc (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3
  Copyright (C) 2012 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
My install is 32-bit
 
  [d531][waltdnes][~] uname -a
  Linux d531 3.14.16-gentoo #1 SMP Mon Sep 22 20:43:33 EDT 2014 i686 Intel(R) 
  Core(TM)2 Duo CPU E4600 @ 2.40GHz GenuineIntel GNU/Linux
 
  --
  Walter Dnes waltd...@waltdnes.org
  I don't run desktop environments; I run useful applications
 
 
 Looks like support for '-fstack-protector-strong' was implemented in
 more recent versions of gcc. The the URL below for details:
 
 https://securityblog.redhat.com/tag/stack-protector/

'-fstack-protector-strong' is supported as of gcc-4.9.x - unless you upgrade,
you'll forced to use the regular one.

If you want more information on the option take a look here:
http://www.outflux.net/blog/archives/2014/01/27/fstack-protector-strong/

I think it's not even that unlikely that you don't even want the strong
version.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] stack-protector-strong option results in gcc error

2014-09-23 Thread Hinnerk van Bruinehsen
On Tue, Sep 23, 2014 at 09:33:45AM -0400, Michael Orlitzky wrote:
 On 09/23/2014 04:54 AM, Walter Dnes wrote:
  
Gentoo stable appears to be gcc-4.7.3-r1.  ebuilds up to gcc-4.9.1 are
  present in the tree.  Upgrading gcc is painful, so I appreciate the
  maintainers not forcing a rebuild with every version bump.  That's the
  philosophy behind stable.  The tradeoff is that we have to wait longer
  for new and shiney stuff.  For those who want it, you can always
  keyword a later version of gcc.
  
 
 Stabilization of GCC is especially careful because if your GCC winds up
 broken, you might not be able to fix it (emerge won't work).
 
 And since GCC is used to build everything else on your system, it can't
 go stable until all upstream packages are fixed or patched to work with
 the new GCC.
 
 There's usually a tracker for those packages. For gcc-4.9 it's at,
 
   https://bugs.gentoo.org/show_bug.cgi?id=gcc-4.9


Since gcc is slotted (I actually have 4.7, 4.8 and 4.9 on my systems). That
argument doesn't count much, imho.
I personally didn't encounter a single breakage after updating from 4.8 to 4.9
(this was different from 4.7 to 4.8).
IIRC 4.7 isn't supported by upstream anymore and there are known (security)
bugs. I don't really know why not at least 4.8 is stable.


signature.asc
Description: Digital signature


Re: [gentoo-user] stack-protector-strong option results in gcc error

2014-09-23 Thread Hinnerk van Bruinehsen
On Tue, Sep 23, 2014 at 03:06:20PM +0200, J. Roeleveld wrote:
 
 On Tuesday, September 23, 2014 08:47:31 AM Rich Freeman wrote:
  On Tue, Sep 23, 2014 at 7:52 AM, Hinnerk van Bruinehsen
  
  h.v.bruineh...@fu-berlin.de wrote:
   '-fstack-protector-strong' is supported as of gcc-4.9.x - unless you
   upgrade, you'll forced to use the regular one.
  
  ...
  
   I think it's not even that unlikely that you don't even want the strong
   version.
  
  Ironically enough, your last sentence overflowed my parsing stack.  :)
  
  --
  Rich
 
 I am guessing:
  I think it is not unlikely that you don't want the strong version
 
 parses to:
 
  I think it is likely that you don't want the strong version 
  or:  I think it is unlikely that you want the strong version
 
 ?

Thanks for translating me! ;-)


signature.asc
Description: Digital signature


Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-25 Thread Hinnerk van Bruinehsen
On Sun, Aug 24, 2014 at 11:58:36PM +0430, behrouz khosravi wrote:
 Hi. I just accidentally removed the /usr folder!
 And I am sure the /usr/bin and several other folders are gone!
 Should I go for a complete re-install or there is any other solution?
  Thanks and I hope that I wont find that blade that I am looking for!

You should be able to get away with an emerge @system @world -evDN instead of
a complete re-install.
You should first get a copy of a minimal working /usr though (like from
a stage3 tarball), otherwise you will run into errors as /usr/bin is where
python and other stuff resides that you'll need for installation.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-15 Thread Hinnerk van Bruinehsen
On Tue, Jul 15, 2014 at 12:33:57AM -0500, Dale wrote:
SNIP
  make -j3 -s glibc-test
   * Your old kernel is broken.  You need to update it to
   * a newer version as syscall(bignum) will break.
   * http://bugs.gentoo.org/279260
   * ERROR: sys-libs/glibc-2.17::gentoo failed (setup phase):
   *   keeping your system alive, say thank you
   *
   * Call stack:
SNIP
 UPDATE:  Thanks to Hinnerk, the locale error is fixed.  I am still
 looking for ideas on the glibc error tho.  Since this original post, I
 have tried the following versions of glibc with the same result.

 sys-libs/glibc-2.18-r1
 sys-libs/glibc-2.19-r1

 So, it seems something else is wrong here.  I have googled and most
 things I find are with older kernels and I'm using the newest kernel I
 can find in the tree.  3.15.5-gentoo

 Ideas?  Fixes?  Bug that needs Raid?

I've taken a look at the bug that is mentioned in the error and there were
several things mentioned that are supposed to fix this:

1. disable auditd (if you have it running) - this was the newest (from 
'14)
   So if you have it installed run /etc/init.d/auditd stop
2. reemerge several packages because python may have issues:
   - sync your tree
   - emerge portage (which will likely pull in some python stuff if the 
box
 wasn't updated for some time)
  (- optional: run eselect python and select a sane version and run 
python
  updater - this wasn't mentioned but may make sense nonetheless)
   - emerge linux-headers
   - emerge glibc (hopefully with success this time)

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-15 Thread Hinnerk van Bruinehsen
On Tue, Jul 15, 2014 at 02:40:13AM -0500, Dale wrote:
 Hinnerk van Bruinehsen wrote:
  I've taken a look at the bug that is mentioned in the error and there were
  several things mentioned that are supposed to fix this:
 
  1. disable auditd (if you have it running) - this was the newest (from 
  '14)
 So if you have it installed run /etc/init.d/auditd stop
  2. reemerge several packages because python may have issues:
 - sync your tree
 - emerge portage (which will likely pull in some python stuff if the 
  box
   wasn't updated for some time)
(- optional: run eselect python and select a sane version and run 
  python
updater - this wasn't mentioned but may make sense nonetheless)
 - emerge linux-headers
 - emerge glibc (hopefully with success this time)
 
  WKR
  Hinnerk
 
 I didn't have the audit stuff installed BUT it was turned on in the
 kernel.  I kicked that out and also got rid of all that cgroup stuff I
 don't have any need for.  Rebooted then tried your list.  Audit stuff,
 gone. Sync is maybe a couple days old so should be OK.  Portage is up to
 date.  Python as follows:
 
 dev-lang/python-2.7.6
 dev-lang/python-3.3.3
 
 localhost ~ # eselect python list
 Available Python interpreters:
   [1]   python2.7 *
   [2]   python3.3
 localhost ~ #
 
 Updated linux-headers.  It was a little out of sync with kernel
 version.  After all that, I get this:
 
SNIP
 
 So, the locale junk is gone but glibc is still not liking something. 
 Where did I put that hammer the last time I used it??  ;-) 
 
 Ideas?  I'm pretty much out of them right now.  My idea is the hammer. 
 lol 

Generally hammers tend to make things worse... ;-)

Can you run;

 printf #include unistd.h\n#include sys/syscall.h\nint main(){return \
 syscall(1000)!=-1;}\n  syscall.c  make syscall  ./syscall  echo $?

(It should be all one line).
It will compile the test that seems to fail on your system and runs it,
expected output would be:

cc syscall.c   -o syscall
0

The 0 says that all went well, if it reports something else then it's not
just the buildsystem...

If it's the system you'll have to reinstall glibc (no kidding, as it provides
the used headers (though they should be somewhat dependent on linux-headers)).

You could do the following to break out of this chicken-and-egg-problem:
you can download an appropriate stage3-tarball (x86 or amd64) and extract it to
some arbitrary location. Then you essentially do the same as if you would
install gentoo from scratch (bind mount dev and sys and mount proc) and chroot
into it.
Inside the chroot you sync your tree (you could also bind-mount it from the
default location) and emerge glibc again but this time with the --build-pkg
flag set (emerge --buildpkg glibc). As long as you kernel is new enough (which
3.15.5 definitely is) the build should succeed and leave you with a nice binpkg
of glibc sitting in path-to-chroot/usr/portage/packages (in case of the
bind mount it should also be there inside your real system). If needed copy
it to /usr/portage/packages and run emerge -K glibc (this will force portage
to use the binpkg).

I hope that this es enough to circumvent the check (if not you could also try
to boot your rig from usb and copy the contents of the binpkg manually).

If the build breaks even inside the chroot run uname -a and take a look if the
kernel you're running acutally reports to be a 3.15.5 one.

Good luck,
Hinnerk




signature.asc
Description: Digital signature


Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-15 Thread Hinnerk van Bruinehsen
On a side note:

You can also boot into a chroot, move your /etc and /var directories elsewhere
(e.g. etc_old and var_old) (do the same for other directories where you
yourself made changes), extract a stage 3 tarball on top of your normal
/ directory (overwriting potentially broken stuff), move etc_old and var_old
back to their old locations/names, chroot into it (like during install) and
emerge @system @world -evDNa (to rebuild everything from the known-good start
that the stage3 provides).


signature.asc
Description: Digital signature


Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-14 Thread Hinnerk van Bruinehsen
On Mon, Jul 14, 2014 at 08:50:58PM -0500, Dale wrote:
 Howdy,
 
 I'm reinstalling Gentoo on my OLD rig.  It's x86.  I have two issues
 which will be seen in the error below.  Sort of hard to miss.  Anyway, I
 started with the latest stage3 tarball.  I've got it to where it boots
 up and all and am in the process of trying to do a emerge -e system
 which will also update everything as well.  My problem is glibc and the
 locale settings.  May be a separate issue or related.  Here is the boo
 boo. 
 
SNIP
  * Package:sys-libs/glibc-2.17
  * Repository: gentoo
  * Maintainer: toolch...@gentoo.org
  * USE:abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
  * FEATURES:   preserve-libs sandbox
 [sys-libs/glibc-2.17] bash: warning: setlocale: LC_ALL: cannot change
 locale (en_US.UTF8)
 /bin/bash: warning: setlocale: LC_ALL: cannot change locale
 (en_US.UTF8)  -- This error right here. :-( 
SNIP error1 above
  * Your old kernel is broken.  You need to update it to
  * a newer version as syscall(bignum) will break.
SNIP error 2 above 
 
 One reason I want to re-emerge glibc, I'm HOPING it will fix the other
 LC_ALL error.  I'm pretty sure glibc takes care of that but not 100%
 sure.  I checked my main rig for differences in USE flags, multilib is
 the only one I see.  It is set on my main rig and doesn't seem to be
 available on x86 for obvious reasons. 
 
 If this is not enough info, let me know what you need.  I don't want to
 flood with tons of unneeded info when usually that above gives enough of
 a hint.  ;-) 
 

Hi Dale,

first you should check if you have this line in your /etc/locale.gen: 
en_US.UTF-8 UTF-8

If you do, run locale-gen to create the locale. This should in theory fix the
LC_foo errors (Note: there are some LC_ settings best left undisturbed,
especially setting LC_ALL to something other than C tends  to break stuff).

The other error you get (glibc failing to install) seem to be caused by an old
kernel version that wouldn't be compatible with the newer glibc. So I'd
recommend that you try to update your kernel first.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-14 Thread Hinnerk van Bruinehsen
On Mon, Jul 14, 2014 at 09:19:27PM -0500, Dale wrote:
Hinnerk van Bruinehsen wrote:

 
  
 
   Hi Dale,
 
  
 
   first you should check if you have this line in your
  /etc/locale.gen:
 
   en_US.UTF-8 UTF-8
 
  
 
   If you do, run locale-gen to create the locale. This should
  in theory fix the
 
   LC_foo errors (Note: there are some LC_ settings best
  left undisturbed,
 
   especially setting LC_ALL to something other than C tends 
  to break stuff).
 
Howdy,
 
I looked at that file.  On both my systems, it is not a text file.  When I
look at it in a file manager, Konqueror via fish, it shows up as GENESIS
rom for type.  Since it is not text on either of my machines, I'm nervous
about editing that thing.  Are we certain it is safe to mess with???   O_O

Here's the contents of mine:

==BEGIN
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# locale charmap
#
# Where locale is a locale located in /usr/share/i18n/locales/ and
# where charmap is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

#en_US ISO-8859-1
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
#fr_FR@euro ISO-8859-15
#it_IT ISO-8859-1

=END=
Note that I also enable 2 other (en_GB and de_DE) that you probably don't
need.

 

 
  
 
   The other error you get (glibc failing to install) seem to be
  caused by an old
 
   kernel version that wouldn't be compatible with the newer
  glibc. So I'd
 
   recommend that you try to update your kernel first.
 
  
 
   WKR
 
   Hinnerk
 
This is interesting.  I'm using this version:  3.15.5-gentoo According to
equery, that's as new as it gets.  I thought about going back to a older
version but that seemed odd given the error.  I been dealing with this for
about two days now.  My 3 lb mini sledge is starting to look interesting. 
@_@
 
Thoughts?

That's interesting: maybe that kernel is too new. Which version of glibc is
installed right now (It may be helpful to make a guess which kernel version
should work). Otherwise according to the Changelogs of gentoo-sources and glic
the kernel version was something around 3.6.x when glibc-2.17 was added to the
tree.

WKR
Hinnerk


signature.asc
Description: Digital signature


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

2014-01-09 Thread Hinnerk van Bruinehsen
On Thu, Jan 09, 2014 at 01:01:28PM +0100, 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 ?!

Hi,

try updating system and world at the same time. You have packages in system on
which other packages in world depend. Try emerge -uvDNa @system @world
If that doesn't help add backtrack as stated in the error: emerge -uvDNa
@system @world --backtrack=30

Most likely this will solve your issues. If not you could unmerge blocking
packages but imho that's not a neat way. I'd rather emerge some selected
packages manually (gobject-introspection and vala would be good candidates in
your case) [use -v1 or you'll end up with a horribly cluttered world file].
If that doesn't work either it may be possible that there is no working upgrade
path due to a too large version difference. In that case you could try to
emerge intermediate versions manually (emerge -v1 =atom-version)...

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open

2013-12-29 Thread Hinnerk van Bruinehsen
Hi,
A few days ago there was a similar issue discussed in 
http://www.gossamer-threads.com/lists/gentoo/user/281003

In the last answer James proposed a solution that seemingly resolved that issue.

Wkr
Hinnerk

Joseph syscon...@gmail.com wrote:
I just upgraded my system and meld as well.
I'm using cfg-update -u to compare files that did change utilizing
meld

When I try to compare two file as root using meld I get:

 meld /etc/ddclient/ddclient.conf /etc/ddclient/._cfg_ddclient.conf
Traceback (most recent call last):
  File /usr/bin/meld, line 173, in module
main()
  File /usr/bin/meld, line 165, in main
new_window = app.parse_args(sys.argv[1:])
  File /usr/lib64/meld/meld/meldapp.py, line 169, in parse_args
tab = open_paths(args, options.auto_compare, options.auto_merge)
  File /usr/lib64/meld/meld/meldwindow.py, line 796, in open_paths
tab = self.append_diff(paths, auto_compare, auto_merge)
  File /usr/lib64/meld/meld/meldwindow.py, line 746, in append_diff
return self.append_filediff(paths, merge_output=merge_output)
File /usr/lib64/meld/meld/meldwindow.py, line 703, in append_filediff
doc = filediff.FileDiff(app.prefs, len(files))
  File /usr/lib64/meld/meld/filediff.py, line 214, in __init__
self._cached_match = CachedSequenceMatcher()
  File /usr/lib64/meld/meld/filediff.py, line 72, in __init__
None, matchers.init_worker, maxtasksperchild=1)
File /usr/lib64/python2.7/multiprocessing/__init__.py, line 232, in
Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
File /usr/lib64/python2.7/multiprocessing/pool.py, line 138, in
__init__
self._setup_queues()
File /usr/lib64/python2.7/multiprocessing/pool.py, line 232, in
_setup_queues
from .queues import SimpleQueue
File /usr/lib64/python2.7/multiprocessing/queues.py, line 48, in
module
from multiprocessing.synchronize import Lock, BoundedSemaphore,
Semaphore, Condition
File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 59, in
module
 function, see issue 3770.)
ImportError: This platform lacks a functioning sem_open implementation,
therefore, the required synchronization primitives needed will not
function, see issue 3770.


-- 
Joseph

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Re: [gentoo-user] Re: KDE nepomuk memory usage

2013-12-29 Thread Hinnerk van Bruinehsen
James wirel...@tampabay.rr.com wrote:
Alexander Puchmayr alexander.puchmayr at linznet.at writes:


 How many memory is reasonable for virtuoso to use?
 I just had a view via htop, and I was surprised to see virtuoso-t
processes 
 occupying more than 1.5 GB (!), althoug there is a maximum of 128MB
defined.

iotop (in portage) may help?

There is another app, that I've never tried but folks rave
about, memtop, but it's not in portage.


A while back, I posted about Ftrace (function trace) and some
non portage ebuild, that may help.

iotop shows io ( AS in reads and writes to disk). The only memory related info 
may be swap. You could try slabtop instead, but that isn't that informative 
either.
Maybe valgrind can hell if there really is a memory leak.




Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open

2013-12-29 Thread Hinnerk van Bruinehsen
Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de wrote:
Hi,
A few days ago there was a similar issue discussed in
http://www.gossamer-threads.com/lists/gentoo/user/281003

In the last answer James proposed a solution that seemingly resolved
that issue.

Wkr
Hinnerk

Joseph syscon...@gmail.com wrote:
I just upgraded my system and meld as well.
I'm using cfg-update -u to compare files that did change utilizing
meld

When I try to compare two file as root using meld I get:

 meld /etc/ddclient/ddclient.conf
/etc/ddclient/._cfg_ddclient.conf
Traceback (most recent call last):
  File /usr/bin/meld, line 173, in module
main()
  File /usr/bin/meld, line 165, in main
new_window = app.parse_args(sys.argv[1:])
  File /usr/lib64/meld/meld/meldapp.py, line 169, in parse_args
tab = open_paths(args, options.auto_compare, options.auto_merge)
  File /usr/lib64/meld/meld/meldwindow.py, line 796, in open_paths
tab = self.append_diff(paths, auto_compare, auto_merge)
  File /usr/lib64/meld/meld/meldwindow.py, line 746, in append_diff
return self.append_filediff(paths, merge_output=merge_output)
File /usr/lib64/meld/meld/meldwindow.py, line 703, in
append_filediff
doc = filediff.FileDiff(app.prefs, len(files))
  File /usr/lib64/meld/meld/filediff.py, line 214, in __init__
self._cached_match = CachedSequenceMatcher()
  File /usr/lib64/meld/meld/filediff.py, line 72, in __init__
None, matchers.init_worker, maxtasksperchild=1)
File /usr/lib64/python2.7/multiprocessing/__init__.py, line 232, in
Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
File /usr/lib64/python2.7/multiprocessing/pool.py, line 138, in
__init__
self._setup_queues()
File /usr/lib64/python2.7/multiprocessing/pool.py, line 232, in
_setup_queues
from .queues import SimpleQueue
File /usr/lib64/python2.7/multiprocessing/queues.py, line 48, in
module
from multiprocessing.synchronize import Lock, BoundedSemaphore,
Semaphore, Condition
File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 59,
in
module
 function, see issue 3770.)
ImportError: This platform lacks a functioning sem_open
implementation,
therefore, the required synchronization primitives needed will not
function, see issue 3770.

Sorry for top-posting. The mail client on NY phone wasn't properly configured...




Re: [gentoo-user] metasploit jumping into emerge -uDN world

2013-12-29 Thread Hinnerk van Bruinehsen
Zhu zhushaz...@yahoo.com.br wrote:
Hello, every time that i try to made a emerge -uDN world, metasploit
jump in the process installation. I've check and there aren't
dependencies ask for him:

/[root@asgard ~]$ equery d net-analyzer/metasploit//
// * These packages depend on net-analyzer/metasploit://
//[root@asgard ~]$ equery d dev-ruby/metasploit_data_models//
// * These packages depend on dev-ruby/metasploit_data_models://
//[root@asgard ~]$ equery d app-admin/eselect-metasploit
* These packages depend on app-admin/eselect-metasploit://
/

but,

/[root@asgard ~]$ emerge -pvauDN world

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

Calculating dependencies ... done!
[ebuild   R] sys-devel/gcc-4.8.2:4.8 [4.8.2:4.8.2] USE=cxx fortran
gcj go graphite mudflap (multilib) multislot nls nptl objc objc++
objc-gc openmp (-altivec) -awt% -doc (-fixed-point) (-hardened)
(-libssp) -nopie -nossp -regression-test -vanilla (-gtk%*) (-lto%) 0
kB
[ebuild  N ] net-analyzer/metasploit-4.8.2:4.8  USE=java lorcon
pcap (-development) {-test} 0 kB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 kB
/
How to discover what are putting metasploit into updatable world
list?


Most likely metasploit itself is in world. You can check you worldfile with 
your favourite editor (/var/lib/portage/world). It should also be printed bold 
in the emerge output if your terminal supports it




Re: [gentoo-user] to nest commands

2013-11-26 Thread Hinnerk van Bruinehsen
On Mon, Nov 25, 2013 at 11:45:39PM -0800, edwardu...@live.com wrote:
 On Tue, 26 Nov 2013 01:16:45 +0200
 Alan McKinnon alan.mckin...@gmail.com wrote:
 
  You don't do it that way. I understand what you want to do, but your
  description makes no sense.
  
  How you do it is by running two commands on one line, one after the other.
  
  To copy a file myfile.txt to /tmp and also change it's permissions,
  use the ; separator:
  
  cp myfile.txt /tmp ; chmod 644 /tmp/myfile.txt
  
  That runs the first command (cp) and then blindly runs the second one.
  
  
  
  
  Sometimes you want to run the second command only if the first one
  succeeds (there's not much point in chmod'ing a file that didn't copy
  properly.  does this:
  
  cp myfile.txt /tmp  chmod 644 /tmp/myfile.txt
  
   is boolean logic and a very common programming trick. I won't bore
  you with details - it gets complex and we'd have to deal with brash
  crazies like why true and false is the wrong way round the the rest of
  the world, but just know it this way:
  
  the second command (chmod) will only run if the first (cp) succeeded. If
  it failed, the chmod will not be be tried.
  
  Note that  is definitely not the same thing as just one  - that
  is something completely different. Bash is full of such stuff, it's all
  done deliberately to mess with your head :-)
  
 Thanks for the prompt reply and free lesson, I appreciate it:-)
 Yes...this is exactly what I was looking for. 

There are some other options of nesting as well. You can use backticks ` or
$(...) to run a command inside another. An example would be emerge `qlist -CI
x11-drivers`  (or the equivalent emerge $(qlist -CI x11-drivers) ) . This would
run qlist -CI x11-drivers (lists installed packages of the category
x11-drivers) and use this output for emerge (which will effectively result in
reinstalling every package from the x11-drivers category).

WKR
Hinnerk


signature.asc
Description: Digital signature


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

2013-09-30 Thread Hinnerk van Bruinehsen
On Mon, Sep 30, 2013 at 12:57:12AM +0100, Neil Bothwick wrote:
 On Sun, 29 Sep 2013 18:31:37 -0500, Daniel Campbell wrote:

  Curious; how is merging two filesystems done? I don't have a separate
  /usr and am completely unaffected by this change, but it's somewhat
  interesting to me. /usr stores some pretty important data on it, and I
  imagine you'd need to mount it somewhere else in order to move the
  files from it to /'s /usr dir. Is a Live environment recommended
  instead? How would you mitigate the leftover partition, assuming it's
  not adjacent to /'s partition?

 For /usr you don't need a live CD, because the contents of /usr shouldn't
 change unless you instal/remove something. You can make sure they don't
 change during the merge by remounting read-only

 mount /usr -o remount,ro
 mkdir /newusr
 rsync -a /usr/ /new/usr/
 Comment out /usr line in /etc/fstab
 mv /usr /oldusr
 mv /newusr /usr
 reboot
 rmdir /oldusr

 What you do with the old partition is up to you. In this case the
 discussion was about /usr on LVM, so you just delete it and allocate the
 space elsewhere when needed.



You can even leave out the step of creating a new directory and moving it later
if you bind-mount you rootfs somewhere, e.g. /mnt/gentoo.
You may want to add some parameters to the call to rsync, though (e.g. those
that preserve permissions, xattrs (especially for SELinux or XT-PaX) and
owner/group (should be -pogX), possibly -x aswell (if you have other
filesystems under /usr (e.g. a discrete FS for the portage tree).

This would boil down to:

mount /usr -o remout,ro # just to make sure there are no changes
mount -o bind / /mnt/gentoo
rsync -apogXx /usr/ /mnt/usr/ # possibly fiddle around with the flags
comment out the /usr line in fstab
reboot

if everything's working: delete the old usr-partition (or do with it whatever
you like).

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Q on portage's rational to re-emerge packages

2013-09-27 Thread Hinnerk van Bruinehsen
On Fri, Sep 27, 2013 at 11:28:43AM +0200, Helmut Jarausch wrote:
 SNIP

 Here is a full example:
 emerge -auv1 app-shells/zsh-completions

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

 Calculating dependencies - * Digest verification failed:
   * /LOCAL/local/portage/dev-python/wxpython/wxpython-.ebuild
   * Reason: Filesize does not match recorded size
   * Got: 4166
   * Expected: 4167
 ... done!
 [ebuild  rR] dev-python/setuptools-1.1.6  PYTHON_TARGETS=python2_7
 python3_3 -pypy2_0 -python2_6 -python3_2 0 kB
 [ebuild  rR] dev-python/sip-4.15.2:0/10  USE=-debug -doc
 PYTHON_TARGETS=python2_7 python3_3 -python2_6 -python3_2 0 kB
 [ebuild  rR] dev-python/pyopenssl-0.13.1  USE=-doc
 PYTHON_TARGETS=python2_7 python3_3 -pypy2_0 -python2_6 -python3_2 0 kB
 [ebuild  rR] dev-python/pmw-2.0.0-r2:py3  USE=-doc -examples
 {-test} PYTHON_TARGETS=python3_3 -python3_2 0 kB
 [ebuild  rR] app-portage/gentoolkit-0.3.0.8-r1
 PYTHON_TARGETS=python2_7 python3_3 -pypy2_0 -python2_6 -python3_2 0 kB
 [ebuild  rR] dev-python/pytz-2013d  PYTHON_TARGETS=python2_7
 python3_3 -pypy2_0 -python2_6 -python3_2 0 kB
 [ebuild  rR] dev-python/paramiko-1.11.0  USE=-doc -examples
 PYTHON_TARGETS=python2_7 -python2_6 0 kB
 [ebuild  rR] dev-python/numpydoc-0.4-r1  USE={-test}
 PYTHON_TARGETS=python2_7 -python2_6 0 kB
 [ebuild  rR] dev-python/PyQt4-4.10.3  USE=X dbus declarative help
 kde opengl script sql svg webkit -debug -doc -examples -multimedia
 -phonon -scripttools -xmlpatterns PYTHON_TARGETS=python2_7 python3_3
 -python2_6 -python3_2 0 kB
 [ebuild U  ] app-shells/zsh-completions-0.10.0::sunrise
 [0.8.0::sunrise] 145 kB
 [ebuild  rR] app-office/libreoffice-4.1.2.2  USE=bluetooth
 branding cups dbus gnome gtk java kde opengl vba webdav (-aqua) -debug
 -eds -gstreamer -gtk3 -jemalloc -mysql -odk -postgres -telepathy
 {-test} LIBREOFFICE_EXTENSIONS=presenter-minimizer -nlpsolver
 -scripting-beanshell -scripting-javascript -wiki-publisher
 PYTHON_SINGLE_TARGET=python2_7 -python3_3 PYTHON_TARGETS=python2_7
 python3_3 0 kB

 Total: 11 packages (1 upgrade, 10 reinstalls), Size of downloads: 145 kB


 Does portage keep a todo list anywhere?


Hello Helmut,

you are encountering a relatively new feature of portage that is supposed to
make revdep-rebuild and emerge @preserve-rebuild obsolete.
The logic is, that if you update a package, other packages depending on this
package will automatically rebuild to prevent breakage.
It seems that in your case portage thinks that one of that packages depends
on zsh-completion and pulls that in for rebuild which in turn, most likely via
setuptools or PyQt4  pulls libreoffice to rebuild.

Because python is interpreted my guess is, that this rebuild would be
unnecessary. You can try to figure out the package via equery d atom,
starting with zsh-completion itself.

It may be possible that you can dodge the rebuild by emergeing zsh-completion
with the --nodeps option.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] emerge reminder

2013-09-25 Thread Hinnerk van Bruinehsen
On Wed, Sep 25, 2013 at 01:40:41PM +0400, the wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 emerge reminder to use dispatch-conf after autounmask disappeared.
 want it back
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.19 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJSQq+YAAoJEK64IL1uI2hafn4H/RcOHd/mKW8s4MZ/vWQrRrtm
 MfYy5///Sp65/3b3FN+6+Pl5adUye/oltxA4/Nh4yEPbjUZZ6WQ9UqF0Nw0Tcbpo
 aLPGg4TKDRwzVmIjtGTeOH0yVQ/lIFMuKFinRtOM18YgfpA5ERe3OyGuAzxMrIP9
 vIRMdkHaCyRPUyo2VN/IjHX0gnTR8WMCGtRu44d75L5qVXlXttKXhvOaukWOTm3S
 b4muwOBEv0g7Tr6D+wvTQ9KS3DsU+iid8JC8EbGL9L9qVEpkNm8TfRA3A9s5EDl8
 gcilFRFdOAUIOoSbbwrjbIMYxxvzcVmM6Ecm8jn+T4zKhFnGuZiNlddWKAzjWQ8=
 =dlEG
 -END PGP SIGNATURE-

I'd recommend that you either open a bug for that (feature request) or
otherwise ask on the gentoo-developer mailing list. Since this is the user
mailing list you have no guarantee that the right people read it here.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] re: emerge --depclean [gentoo-sources]

2013-09-21 Thread Hinnerk van Bruinehsen
On Sat, Sep 21, 2013 at 11:36:21AM +0100, Neil Bothwick wrote:
 On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote:

  If I understood the instruction above, 'emerge --noreplace
  sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to
  /var/lib/portage/world_sets, which it didn't seem to do.
 
  box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13
  !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom.
  !!! Please check ebuild(5) for full details.

 emerge --noreplace =sys-kernel/gentoo-sources-3.8.13

You should also note, that you actually can depclean the sources. The unmerge
process leaves any temporary files from the compilation process intact (unless
you manually delete them).
If you later reemerge that version you'll start right of where you were.


signature.asc
Description: Digital signature


Re: [gentoo-user] ZFS

2013-09-20 Thread Hinnerk van Bruinehsen
On Fri, Sep 20, 2013 at 11:20:53AM -0700, Grant wrote:
  How about hardened?  Does ZFS have any problems interacting with
  grsecurity or a hardened profile?

 Has anyone tried hardened and ZFS together?


Hi,

I did - I had some problems, but I'm not sure if they were caused by the
combination of ZFS and hardened. There were some issues updating kernel and ZFS
(most likely due to ZFS on root and me using ~arch hardened-sources and the
live ebuild for zfs).
There are some hardened options that are known to be not working (constify was
one of them but that should be patched now). I think another one was HIDESYM.

There is a (more or less regularly updated blogpost by prometheanfire
(installation guide zfs+hardened+luks [1]).
So you could ask him or ryao (he seems to support hardened+zfs at least to
a certain degree).

WKR
Hinnerk


[1] 
https://mthode.org/posts/2013/Sep/gentoo-hardened-zfs-rootfs-with-dm-cryptluks-062/
 


signature.asc
Description: Digital signature


Re: [gentoo-user] ZFS

2013-09-20 Thread Hinnerk van Bruinehsen
On Thu, Sep 19, 2013 at 06:41:47PM -0400, Douglas J Hunley wrote:

 On Tue, Sep 17, 2013 at 12:32 PM, cov...@ccs.covici.com wrote:

 Spo do I need that overlay at all, or just emerge zfs and its module?


 You do *not* need the overlay. Everything you need is in portage nowadays


Afaik the overlay even comes with a warning from ryao not to use it unless
being told by him to do so (since it's very experimental and includes patches
that were not reviewed). Unless you want to do heavy testing (best while
communicating with ryao) you should use the ebuilds from portage.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Hinnerk van Bruinehsen
On Wed, Sep 18, 2013 at 09:49:40PM -0700, Grant wrote:
  I think many folks are interested in upgrading to EXT4 with RAID  from
  an ordinary JBOD workstation(server); or better yet to ZFS on RAID. I wish
  one of the brighter minds amongst us would put out a skeleton
  (wiki) information page as such:
 
  http://wiki.gentoo.org/wiki/ZFS+RAID
 
  I know I have struggled with completing this sort of installation
  several time in the last 6 months. I'm sure this (proposed) wiki page
  would get lots of updates from the Gentoo user community. Surely,
  I'm not qualified to do this, or it would have already been on the
  gentoo wiki
 
  Much of the older X + RAID pages are deprecated, when one considers
  the changes that accompany such an installation ( Grub2, UUID, fstab,
  partitioning of drives, Kernel options, just to name a few). We're
  talking about quite a bit of deviation from the standard handbook
  installation, fraught with hidden, fatal mis-steps.

 Any important points or key concepts a ZFS newbie should remember when
 installing with it for the first time?

 - Grant


You should definitely determine the right value for ashift on pool creation
(it controls the alignment on the medium). It's an option that you afaik can 
only set
on filesystem creation and therefore needs a restart from scratch if you get it
wrong.
According to the illumos wiki it's possible to run a mixed pool (if you have
drives requiring different alignments[1])
If in doubt: ask ryao (iirc given the right information he can tell you which
are the right options for you if you can't deduce it yourself).
Choosing the wrong alignment can cause severe performance loss (that's not
a ZFS issue but happened when 4k sector drives appeared and tools like fdisk
weren't aware of this).

WKR
Hinnerk

[1] http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: KDE: unwanted dependencies

2013-09-13 Thread Hinnerk van Bruinehsen
On Fri, Sep 13, 2013 at 06:04:09PM +0400, Yuri K. Shatroff wrote:
 On 13.09.2013 17:50, Michael Palimaka wrote:
  On 13/09/2013 21:35, Yuri K. Shatroff wrote:
  On 13.09.2013 14:14, Alan McKinnon wrote:
  On 13/09/2013 12:10, Yuri K. Shatroff wrote:
  Hi people,
 
  I am about to update KDE from 4.10.4 to 4.11.1.
  Is it possible to avoid installing various nepomuks and akonadis which
 
  No
 
  Pity.
 
  appear to be required now? I have set USE=-semantic-desktop but it
  doesn't seem to help.
  While the USE flag has disappeared, you could try putting nepomuk and
  akonadi into your package.provided file.
 
  My current KDE installation is quite happy without that stuff (which
  also brings along tons of other crap).
 
 
  The KDE maintainers posted quite extensively about this some time back.
 
  Some time back I heard that KDE devs were striving to make KDE more
  modular.
  KDE upstream is, yes, and how this will affect semantic-desktop remains
  to be seen.

 so there is hope? ;)

  It is too hard to try and extract semantic-desktop out of the KDE build
  whilst not breaking everything else. What you now do is allow the stuff
  to be built, and disable the function in System Settings.
 
  Well why wasn't it too hard before? It's not quite obvious why one's got
  to extract some additional functionality, as opposed to including it
  when needed. A strange approach, all in all.
  The decision to remove the USE flag happened mostly because it maintain,
  and was in general not well supported anyway.
 
  There have been a number of proposals about the situation: do nothing,
  do a full revert, or implement some compromise. I would hope that we
  make a final decision about this before stabilising any 4.11 version.

 Clear, then I'll opt to wait for the stable 4.11.

  BTW, it seems that mysql is also a hard dependency for QT now. At least,
  the average joe can't be scorned any more for not having a server. Hey
  to all localhost admins! :)
  That shouldn't be the case. The default akonadi backend is mysql, why
  could explain why it's being pulled in.

 Yes, really, I was mislead, it is qtsql which requires setting the mysql
 flag, but I missed that it was due to akonadi.

IIRC you can substitute mysql with sqlite by changing useflags. mysql seems the
be the default though...

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Portage 2.2.1 stabilized?

2013-09-10 Thread Hinnerk van Bruinehsen
On Tue, Sep 10, 2013 at 03:13:50PM +0100, Peter Humphrey wrote:
 On Tuesday 10 Sep 2013 07:18:11 Dale wrote:
  Peter Humphrey wrote:
   Is it working for you, Dale? :-)
  So far, so good.  I been using unstable, except for the  version,
  for quite a while.  Are you saying something is broke and it works for
  me??  O_O  Seriously??  This is a joke right??
 
 No joke, I assure you. As Markos pointed out, a bug has already been opened, 
 and I fell over it with a vanilla make.conf.
 
 Unless someone knows of a work-around, I'll stick with the old version of 
 portage until the bug-fix reaches the stable system.
 
Try to add -userpriv to your FEATURES (as in FEATURES=-userpriv) in make.conf

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]

2013-09-09 Thread Hinnerk van Bruinehsen
On Sat, Sep 07, 2013 at 09:53:28PM +0300, Alexander Kapshuk wrote:
 SNIP
 Based on the 'dmesg' output below, EXT2-fs attempted to mount the '/'
 partition instead of the '/boot' one.

 box0 ~ # dmesg|grep 'EXT.*fs'
 [2.444214] EXT2-fs (sda3): error: couldn't mount because of
 unsupported optional features (240)
 [2.444736] EXT4-fs (sda3): couldn't mount as ext3 due to feature
 incompatibilities
 [2.481412] EXT4-fs (sda3): mounted filesystem with ordered data
 mode. Opts: (null)
 [9.448819] EXT4-fs (sda3): re-mounted. Opts: (null)
 [9.731383] EXT4-fs (sda5): mounted filesystem with ordered data
 mode. Opts: (null)

 Would that suggest a corrupted /boot/grub/grub.conf file?

 How did the system boot then?

Most likely your /boot partition is not ext2 as stated in fstab and it
therefore fails to mount (the unsupported optional features hint in that
direction).
Simply try to mount it by hand (mount /boot). If that fails try to mount it
with option -t filesystem (for filesystem try ext3 or ext4).

Your system still boots because grub is able to read the filesystem (which
makes corruption unlikely). grub doesn't use fstab or the drivers in the
kernelimage (which isn't even loaded at that point of time).

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Internet security.

2013-09-09 Thread Hinnerk van Bruinehsen
On Mon, Sep 09, 2013 at 10:36:09AM +0100, thegeezer wrote:
 There's a lot FUD out there and equally there is some truth.  the NSA we can
 decrypt everything statement was really very vague, and can easily be done if
 you have a lot of taps (ala PRISM) and start doing mitm attacks to reduce the
 level of security to something that is crackable.
 for 'compatibility' very many low powered encryption schemes are supported and
 it is these that are the issue.

I think you're right because it'll be much easier to read the data at one
endpoint than to decrypt everything. If big corporations like Google or Cisco
can be forced to cooperate (and they can - that much is fact), it'd be the
likelier way to get your data.
On the other hand e.g. Bruce Schneier warns of ECC because the NSA promoted it
intensively. So there may be some secret that helps to decrypt it in the hands
of the NSA (possible something about the NIST curve definitions that reduce the
effective keylength).
 if you are using ipsec tunnels with aes encryption you can happily ignore
 these.
This would be true if you have an secure endpoint. And I think that nowadays
nothing is secure...
 if you are using mpls networks you can almost guarantee your isp and therefore
 your network is compromised.
 the question really is what do you define as security ?
 if someone was to hit you on the head with a hammer, how long til you 
 willingly
 gave out your passwords ? [1]
 I agree with the lack of faith in certificate CA's and i feel that the reason
 that warnings over ssl are so severe is to spoon feed folks into the owned
 networks. I far more trust the way mozilla do their web of trust [2] but
 equally am aware that trolls live in the crowds.
 while ssh authorized_keys are more secure than passwords, i can't (and am
 hoping someone can point me to) find how to track failed logins as folks
 bruteforce their way in.  yes it's orders of magnitude more difficult but then
 internet speed is now orders of magnitude faster, and OTP are looking more
 sensible every day [3] to me.
 i used to use windows live messenger and right near the end found that if you
 send someone a web link to a file filled with /dev/random called passwords.zip
 you would have some unknown ip connect and download it too.
 who then is doing that and i trust skype and it's peer2peer nonsense even 
 less.
 who even knows you can TLS encrypt SIP ?
 there are many ways of encrypting email but this is not supported from one 
 site
 to another, even TLS support is often lacking, and GPG the contents means that
 some folks you send email to cannot read it -- there is always a trade off
 between usability and security.
 i read in slashdot that there is a question mark over SELinux because it came
 from the NSA [4] but this is nonsense, as it is a means of securing processes
 not network connections.  i find it difficult to believe that a backdoor in a
 locked cupboard in your house can somehow give access through the front door.
This point you get wrong. SELinux implement the LSM API (in fact the LSM API
was tailored to SELinux needs). It has hooks in nearly everything
(file/directory access, process access and also sockets). One of the biggest
concerns at the time of creation of the LSM API was rootkits hooking that
functions. It's definitively a thread. I'm not saying that SELinux contains
a backdoor (I for myself would have hidden it in the LSM part, not in SELinux
because that would enable me to use it even if other LSMs are used). If you
google for underhanded C contest you'll see that it's possible to hide
malicious behaviour in plain sight. And if the kernel is compromised all other
defenses mean nothing. (As I said,  I don't want to spread fearbut that is
something to consider imho).
 how far does trust need to be lost [5] before you start fabricating your own
 chips ?   the complexity involved in chip fabs is immense and if bugs can slip
 through, what else can [6]
 ultimately a multi layer security approach is required, and security itself
 needs to be defined.
You need an anchor from which you can establish trust. If there is a hardware
backdoor you'll not be able to fix that problem with software. There is an
excellent paper from Ken Thompson called Reflections on trusting trust that
theorizes about the possibility of a trojanized compiler that injects malicous
code and therefore makes code audits pointless. Security sadly is hard..
 i like privacy so i have net curtains, i don't have a 3 foot thick titanium
 door with strengthened hinges.
 if someone looks in my windows, i can see them. either through the window or 
 on
 cctv.
 security itself has to be defined so that risk can be managed.
 so many people buy the biggest lock they can find and forget the hinges. or
 leave the windows open. 
 even then it doesn't help in terms of power failure or leaking water or gas
 mains exploding next door (i.e. the definition of security in the sense of
 safety)
 to some security means RAID, to 

Re: [gentoo-user] Internet security.

2013-09-09 Thread Hinnerk van Bruinehsen
On Mon, Sep 09, 2013 at 04:30:31PM +0100, thegeezer wrote:
  i read in slashdot that there is a question mark over SELinux because it 
  came
  from the NSA [4] but this is nonsense, as it is a means of securing 
  processes
  not network connections.  i find it difficult to believe that a backdoor 
  in a
  locked cupboard in your house can somehow give access through the front 
  door.
  This point you get wrong. SELinux implement the LSM API (in fact the LSM API
  was tailored to SELinux needs). It has hooks in nearly everything
  (file/directory access, process access and also sockets). One of the biggest
  concerns at the time of creation of the LSM API was rootkits hooking that
  functions. It's definitively a thread. I'm not saying that SELinux contains
  a backdoor (I for myself would have hidden it in the LSM part, not in 
  SELinux
  because that would enable me to use it even if other LSMs are used). If you
  google for underhanded C contest you'll see that it's possible to hide
  malicious behaviour in plain sight. And if the kernel is compromised all 
  other
  defenses mean nothing. (As I said,  I don't want to spread fearbut that is
  something to consider imho).
 Interesting, I didn't realise LSM provisioned hooks for SELinux -
 thought it it was more modular (and less 'shoehorned') than that. 
 I need to go read about that some more now


You can start here:

http://www.freetechbooks.com/efiles/selinuxnotebook/The_SELinux_Notebook_The_Foundations_3rd_Edition.pdf

for a general overview (page 64ff has a list of the hooks).
Other than that http://www.kroah.com/linux/talks/ols_2002_lsm_paper/lsm.pdf and
http://www.nsa.gov/research/_files/publications/implementing_selinux.pdf may be
of interest (though both are quite old).

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] To be an update or not to be an update...

2013-09-09 Thread Hinnerk van Bruinehsen
On Mon, Sep 09, 2013 at 06:01:26PM +0200, meino.cra...@gmx.de wrote:

 Hi,

 I submitted this command:
 eix-sync ; emerge --color=n --newuse --update --tree --deep world 
 --keep-going -va

 and got (beside a lot other lines) this as result:

 Writing database file /var/cache/eix/portage.eix ..
 Database contains 16797 packages in 159 categories.
 * Calling eix-diff
 Diffing databases (16797 - 16797 packages)
 []   == dev-python/m2crypto (0.21.1 - 0.21.1-r1^t): M2Crypto: A Python 
 crypto and SSL toolkit
 [U]   == virtual/perl-ExtUtils-Manifest (1.610.0@08/04/13; 1.610.0 - 
 1.630.0): Virtual for ExtUtils-Manifest
 * Time statistics:
 191 seconds for syncing
 126 seconds for eix-update
 15 seconds for eix-diff
 335 seconds total

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

 Calculating dependencies... done!

 Total: 0 packages, Size of downloads: 0 kB

 Nothing to merge; quitting.


 beagleboneblack:/rooteix virtual/perl-ExtUtils-Manifest
 [U] virtual/perl-ExtUtils-Manifest
 Available versions:  ~1.580.0-r1 ~1.590.0 1.600.0 1.610.0 1.630.0
 Installed versions:  1.610.0(06:25:46 08/04/13)
 Description: Virtual for ExtUtils-Manifest

 I am a little confused here...
 Why is virtual/perl-ExtUtils-Manifest marked U and the result is Total: 0 
 packages, Size of downloads: 0 kB?

My guess would be that it's just a build time dependency (BDEP) for something.
Try to add --with-bdeps=y to your emerge commandline (most likely there will be
some other packages pulled in too).
These packages don't need to be updated unless the package depending on it
need to be rebuild.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] Recover on SSD

2013-05-06 Thread Hinnerk van Bruinehsen
On Mon, May 06, 2013 at 07:50:52AM +0100, Stroller wrote:
 
 On 5 May 2013, at 17:16, Hinnerk van Bruinehsen wrote:
  ... The data on a SSD is not
  necessarily stored linar so it's not said that a new partition is using
  the same memory cells as the old one.
  … 
  For a HDD I'd advise to create a copy
  using dd but from my understanding of SSD technology it's not
  guaranteed to copy the right (now unused marked) blocks.
 
 Is anyone able to elaborate on this, please?
 
 I think I've had a eureka! moment of understanding whilst preparing to 
 compose this reply, but I've always been sceptical of these kinds of 
 statements in the past.
 
 Surely flash memory devices must present themselves to the o/s as block 
 devices, because that's how all storage devices work, right?
 
 If I'm now understanding correctly, SSDs present themselves to the o/s as 
 block devices more or less as convenient or necessary. They can be treated as 
 such as long as all the data required is listed in the file allocation table. 
 I'm left wondering how the SSD knows that a file has been deleted, and 
 whether this works for all conceivable file-systems.

The problem is that you can't delete on a flash cell. The process is
simplified: read cell - delete to be deleted stuff in memory - write
memory contents back.

Since flash cells can only be written to a fixed amount of times
(afterwards they become unreliable) there is a concept called wear
leveling. This means essentially that your 128 GB flash drive in reality
hasn't just 128 GB of storage but e.g. 256GB. To spread out the writes
it reads one cell, does the memory operation and write the contents back
to another cell while marking the old cell as unused.
This means two things: you can't really delete something securely
(noteven with tools like shred) and you can't access overwritten data
(because it's now inside the unused-marked area).

There is a special command (TRIM [1]) that does the marking after
something was deleted to counter perfomance degradation.

Fun fact: most SSDs that offer a secure delete feature (whole disk)
don't really delete anything but are internally encrypted and throw away
the encryption key and generate a new one on receiving the secure delete
command which leads to unreadable data and therefore is a kind of secure
deletion (unless the underlying crypto is broken).

WKR
Hinnerk

[1] http://en.wikipedia.org/wiki/TRIM


signature.asc
Description: Digital signature


Re: [gentoo-user] Recover on SSD

2013-05-06 Thread Hinnerk van Bruinehsen
On Mon, May 06, 2013 at 07:34:20PM +0200, Volker Armin Hemmann wrote:
 emm - no. Wear leveling does not need any spare blocks. A lot of drives
 do have spare blocks, but those are never the same size of the original
 size (at least not on drives you can buy for a sensible amount of
 money).  More like 120+8 or 160+16 or 256+16.
 
 The spare blocks are used like on a hdd: some block goes bad, another
 one is mapped in.
 
 Since the sdd firmware does not know if something was deleted or not* -
 it does know shit about filesystems**, you can of course dd an image, if
 you want to. Just like on a hdd.
 
 *there are drives that do garbage collection without TRIM for fat and or
 ntfs.. so they seem to know a bit about filesystems.
 
 ** and this is why TRIM exists in the first place. To tell the drive:
 yes, this data is gone. You don't need to care about it anymore.


The actual numbers were made up to make the point (maybe I should have
stated that in my OP). According to [1] they are normally between 7% -
37%.
Linux supports TRIM since Kernel 2.6.28. It's supported for several
filesystems (Ext4, Btrfs, FAT, GFS2 and XFS) but must be enabled via the
discard mount option. I don't have definitive information for Windows
but it seems to be supported by at least Windows 7 (as far as I can tell
without any user interaction).
Since the deletion happened under Windows I made a guess that it is
not totally unreasonable that dd may not work (if the deleted data would
have been TRIMed).



[1] 
http://www.lsi.com/downloads/Public/Flash%20Storage%20Processors/LSI_PRS_FMS2012_TE21_Smith.pdf


signature.asc
Description: Digital signature


Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Hinnerk van Bruinehsen
On Sun, May 05, 2013 at 02:44:11PM +, Randolph Maaßen wrote:
 Hi,
 
 I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for
 some purpose I needed several Partitions so my base system was lying on
 sda10, on an LVM-PV. Today my Windows refused to start and during recovery
 its diskpart must have deleted the information about the 10th partition on
 the disk, containing my main Gentoo system. Recovery failed, but
 sysrescuecd still works :)
 
 Now I'm concerned about the rescueing of the partition on the SSD, is it
 the same way as on HDDs and are the same memory-parts of the SSD used? Or
 is the partiton gone forever? And when I recreate a partition, will the PV
 with the data still be there and readable?

You could try Testdisk[1]. It may help. The data on a SSD is not
necessarily stored linar so it's not said that a new partition is using
the same memory cells as the old one. Even if it is, you'd lose any
information about directories or files (names, dates, accessrights and
so on).
You should definitly try to minimize writes (ideally there would be
none) since they can corrupt data. For a HDD I'd advise to create a copy
using dd but from my understanding of SSD technology it's not
guaranteed to copy the right (now unused marked) blocks.
If you can't recover the old partition information I'd say you lost your
data unless you are willing (and there's no guarantees either) to pay
substantial amounts of money to specialised services (substantial as in
most likely  1000 EUR).

WKR
Hinnerk


[1] http://www.cgsecurity.org/wiki/TestDisk


signature.asc
Description: Digital signature


Re: [gentoo-user] About to embark on x32

2013-04-10 Thread Hinnerk van Bruinehsen
On Tue, Apr 09, 2013 at 09:46:33PM -0400, Michael Mol wrote:
 So I'm about to try setting up the x32 arch in a VM. I notice there's no
 handbook for it, though there is for amd64 and x86. I'm considering x32
 for its lighter memory footprint...
 
 Does anyone know of any notable differences between the setup process
 for amd64 and x32, or should I expect things to be relatively smooth?
 

I think that there are some problems with packages that rely on assembly
code (as there would have x32 specific assembly) so you get either
unoptimised binarys (if assembly is just for performance reasons) or
compilation will fail at all.
That was the reasoning why it's ten years too late (back then the same
problem existed with x86_64 - the asm needed to be ported).



signature.asc
Description: Digital signature


Re: [gentoo-user] sys-fs/udev-200 compile failed during new installation

2013-04-04 Thread Hinnerk van Bruinehsen
On Thu, Apr 04, 2013 at 12:41:26AM -0900, Jackie wrote:
 Hello all,I was trying to reinstall gentoo on my PC and when I was  
 emerging gentoo-sources-3.8.5,sys-fs/udev-200 was required.However,after  
 installation of gentoo-sources,comlpilation of udev failed and there is no  
 output of error message.And this is the output of emerge --inform  
 =sys-fs/udev-200:
SNIP

Since there is no error it's hard to debug anything. You could try to
emerge it again (sometimes that resolves such issues) or otherwise look
in /var/tmp/portage/sys-fs/udev-200/temp/build.log
Inside there is the complete build output and therefore the error
message should be contained as well.
If you can't make sense of the error post the message here.

WKR
Hinnerk


signature.asc
Description: Digital signature


Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-01-30 Thread Hinnerk van Bruinehsen
On Wed, Jan 30, 2013 at 06:02:20PM +0100, Stefan G. Weichinger wrote:
 
 Would someone mind and take a look?
 Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X
 server :0.
 Jan 30 17:47:09 hiro gdm-simple-slave[5097]: GLib-GObject-CRITICAL:
 g_object_unref: assertion `object-ref_count  0' failed
 Jan 30 17:47:09 hiro polkitd[5057]: Unregistered Authentication Agent
 for unix-session:c4 (system bus name :1.29, object path
 /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8')
 (disconnected from bus)
 Jan 30 17:47:17 hiro root: STOP gdm

I've just installed systemd on one of my systems to give it a test and I
had similar problems due to the systemd useflag on policykit being
hardmasked (it also pulled in consolekit because of that).
Since the errors are very similar you may check your useflags on
policykit and - if necessary remove the use-mask of systemd for
policykit.

WKR
Hinnerk



Re: [gentoo-user] xfig won't compile

2012-11-27 Thread Hinnerk van Bruinehsen
On Tue, Nov 27, 2012 at 12:20:02PM +0100, Alain Didierjean wrote:
 I cannot emerge xfig. Both versions (amd64  ~amd64) return that informative 
 message:
 
 * Messages for package media-gfx/xfig-3.2.5b-r2:
 
  * ERROR: media-gfx/xfig-3.2.5b-r2 failed (compile phase):
  *   (no error message)
  * 
  * Call stack:
  * ebuild.sh, line  93:  Called src_compile
  *   environment, line 2069:  Called die
  * The specific snippet of code:
  *   emake CC=$(tc-getCC) LOCAL_LDFLAGS=${LDFLAGS} 
 CDEBUGFLAGS=${CFLAGS} USRLIBDIR=/usr/$(get_libdir) || die
  * 
 
 So:
 - known bug ?
 - tip available ?
 or should I fill a bug report ?

First you should post the error itself, not just the portage report that
the build failed. You should find ir in
/var/tmp/portage/media-gfx/xfig-3.2.5b-r2/temp/build.log
If you cannot isolate the error yourself you could send the entire build
log (or upload it to some paste-site).

After you did that we could try to figure out, what exactly the error is
(and maybe help you).
Otherwise you could file a bugreport (where you should attach the
build.log nonetheless)

WKR
Hinnerk



Re: [gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?

2012-11-26 Thread Hinnerk van Bruinehsen
On Mon, Nov 26, 2012 at 11:55:50PM +0100, Pascal J. Bourguignon wrote:
 
 I just emerged --sync and now when I try to update world, I get this
 conflict:
 
SNIP 
 where both sys-apps/net-tools and  sys-apps/baselayout-2.1-r1 therefore
 sys-apps/openrc are required by the system.
 
 What can I do to resolve this conflict?
 
 Why does gentoo want to install conflicting packages at the same time on
 my system?
SNIP
 [ebuild  N ]  net-misc/vde-2.2.2 
 [nomerge   ] app-emulation/wine-1.4.1 
 [ebuild  N ]  app-emulation/emul-linux-x86-baselibs-20121028  
 USE=-development 
 [ebuild U  ] sys-devel/gnuconfig-20120818 [20120116]
 [ebuild U  ] dev-libs/expat-2.1.0-r2 [2.1.0]
 [ebuild U  ] media-libs/libpng-1.5.13-r1 [1.5.10]
 [blocks B  ] sys-apps/openrc-0.9.9.3 (sys-apps/openrc-0.9.9.3 is 
 blocking sys-apps/net-tools-1.60_p20120127084908)
 
  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.
 
   (sys-apps/net-tools-1.60_p20120127084908::gentoo, ebuild scheduled for 
 merge) pulled in by
 sys-apps/net-tools required by @system
 
   (sys-apps/openrc-0.9.8.4::gentoo, installed) pulled in by
 sys-apps/openrc required by 
 (dev-db/mysql-init-scripts-2.0_pre1-r2::gentoo, ebuild scheduled for merge)
 sys-apps/openrc required by (sys-apps/baselayout-2.1-r1::gentoo, 
 installed)
 

net-tools needs an openrc version newer than 0.9.9.3. According to eix
on my system 11.5 should be stable (correct me, if I'm wrong). Try to
update openrc first (e.g. emerge -v1 openrc) and check, which version is
being pulled in. If it's still 0.9.8.4 check, if you have masked newer
versions yourself and -if so - remove the mask.

WKR
Hinnerk
 



Re: [gentoo-user] bumblebee and nvidia optimus

2012-11-14 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.11.2012 11:57, Giuseppe Longo wrote:
 Hi Salvatore, thanks for your reply.
 
 however, i can't run eselect.
 
 gentoo ~ # eselect opengl set nvidia !!! Error: Unrecognized
 option: nvidia exiting gentoo ~ # eselect opencl set nvidia !!!
 Error: Unrecognized option: nvidia exiting
 
 2012/10/26 Salvatore Borgia salvo2...@gmail.com:
 Ah, you need to start the bumblebee server too.
 
 2012/10/26 Salvatore Borgia salvo2...@gmail.com:
 i would like to configure bumblebee to use Xorg server.
 someone have configured bumblebee?
 
 Hi,  just install it, add yourself to the bumblebee group, and
 do: eselect opengl set nvidia, eselect opencl set nvidia. To
 run a program using the nvidia card, start it with the optirun 
 command, see man optirun for more info.
 

You'll have to run eselect opengl list
It will show some options (at least one) with a number.
Afterwards eselect opengl set number should work... ;)

WKR
Hinnerk

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQo3psAAoJEJwwOFaNFkYchQIH/RhCLVL/1diF6eBcGLnfWwvq
kVZFsyqxDM//0NuYwz5c/jRdJb+2+Lb0qQ/76aq3r6uvSUwgOkNKAyvbsRW3j4UU
seSzSQyq2syZKwxk2cpcMtU39W1kFiHbC8C9gtUCc/bugOXItx0rzPGXr6pY7uqL
WMEE/RHLeU7zk4iHBwgDjkVNnhChMf+4MuCUQALs8Y7rCGn/hv9L7Q7JVmw5qQfo
lgEN48fkpRCaHeqDVskaUEUt6KSW62BuAfnVsbpBPrOWgt2i05qbOhv/DcHkNeDZ
pJcyzjbyqRLmUhMqpNjK4KGNK0A83jkWvCRrsI3ylBk2wxFrTZENT+nCtHb9I5k=
=+52w
-END PGP SIGNATURE-



Re: [gentoo-user] bumblebee and nvidia optimus

2012-11-14 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.11.2012 12:33, Giuseppe Longo wrote:
 done, thanks ;) but, bumblebee hasn't started.
 
 I got this error: xauth: file list does not exist
 
SNIP

First of all I'd ask you not to top-post, because it's consenus on
this list to do bottom-posting.

Are you using the bumblebee overlay? According to
http://bugs.sabayon.org/show_bug.cgi?id=3178
There seems to be a fix for that issue in it. At least the
bug-reporter has the same issue and is directed to that overlay to get
a fix.
(Just for Info: Sabayon is a precompiled binary version of Gentoo so
it's a relevant hint, though it's from another distro - just if you
didn't know).

WKR
Hinnerk


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQo4ZsAAoJEJwwOFaNFkYcq20H/0TYaAwT7ao7g9i8jHDefDFS
KmqkRQIZrKqpQvT8JM3ddugBdiT+2RzTtS6xFJSQ8p9ymrb8t3k6tb/kvOjZBaDp
/6/5u3GDAsDod+o+TNJAxGM0N+He3qWDVfuvuBdJYQvno1YNUEf29zb+DYBoWYp2
RnAHWqmohCbQeLPpLcIJP7S90RutRaaqLH3Xnpz93Eh0gYG4Dixi6uHBI6cJ28DH
Q8fB4A4sNwyrxpC0sJ4SucB/JEccAJq0A4AEcfL/txiZ/G1UrHyUCphcosFjzy99
dINwiRfQplM1x3bq+zfScCVSQkpWQsw/WkyWRjwUf3dF8c9IPdddsqevmPqQAto=
=yZgC
-END PGP SIGNATURE-



Re: [gentoo-user] bumblebee and nvidia optimus

2012-11-14 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.11.2012 13:04, Giuseppe Longo wrote:
 2012/11/14 Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de: On
 14.11.2012 12:33, Giuseppe Longo wrote:
 done, thanks ;) but, bumblebee hasn't started.
 
 I got this error: xauth: file list does not exist
 
 SNIP
 
 First of all I'd ask you not to top-post, because it's consenus
 on this list to do bottom-posting.
 
 Are you using the bumblebee overlay? According to 
 http://bugs.sabayon.org/show_bug.cgi?id=3178 There seems to be a
 fix for that issue in it. At least the bug-reporter has the same
 issue and is directed to that overlay to get a fix. (Just for Info:
 Sabayon is a precompiled binary version of Gentoo so it's a
 relevant hint, though it's from another distro - just if you didn't
 know).
 
 WKR Hinnerk
 
 
 
 Oh, sorry! I'm not using bumblebee overlay, i compiled it from
 portage.
 

Then I'd suggest you should try out the overlay - the bug from sabayon
is a little bit older, but since it's the same error, I think it'S a
goot start...
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQo6ZrAAoJEJwwOFaNFkYcUPMH/2A4NcQMWloVb2LPDYUnjlVh
M2BSNHeFmh0XEoK9Z0VFNbqlATw6Y3GKGl3GylStc/y24rIShDZMyQpx8KphMVoT
tM3W9U+rIIaRCfyOyDEQvIkAEmZ+8hg+l9IzXEshyhdTbwVTnWJ552QahUnSZODI
vQBoS7ETpWknrVXpDCb1bLY34p+N3viO7KB2Fsjn08zMdpdy41MZ097WW9sFsHaw
2RZyWFndLV+U2srdeyAcDTfyL5A1W+cNSrZnGmCAaWi1NxyXOpJXKJsJu7V4t7IB
h4s2+MPsVoKHR8Pk+jyHl+sVKtYTrBTSIa6jjjNKMthG7yNc/naV+acDKvSaehA=
=Hqmb
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems: Ok from commandline, but emerge ignores it...

2012-10-15 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.10.2012 15:47, meino.cra...@gmx.de wrote:
 Hi,
 
 since my PC /and/ my embedded singlecomputer are involved, I dont
 know whether this is a normal GENTOO subject or a embedded
 GENTOO one...
 
 What I want: From my embedded system (Beaglebone) I want to sent
 compilation jobs to my PC.
 
 I set up cross-compiler on my PC, configured distcc and added some
 softlinks, since the relevant compiler is called 
 armv7a-softfp-linux-gnueabi-* on my beaglebone and 
 armv7a-unknown-linux-gnueabi-* on my PC.
 
 The compilation of a short C-program from the commandline 
 works...the job can be seen in the distcc log on the beaglebone.
 
 But emergeing (in this case emerge cmus) completly ignores 
 distcc
 
 How can I fix it?
 
 Thank you very much in advance for any help! Best regards, mcc

Have you added FEATURES=distcc to your make.conf?

WKR
Hinnerk

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQe+2KAAoJEJwwOFaNFkYcBzsIAJFpnZa0eNvN5AOzK7jZjahU
B86Wnnd3hp0lHrSCRIpqC4zap4QQVjnEvA0n33N6ZDZ/uO+UieBSwbyZBicS22gq
ho+woYR4XfgWErrAHNFLdBV7gpvipLIkQRayL5l5+9aScECfuj1lqdOJjm4ay7I9
wlFbXttCfGLfl3IotIj6vZSiVP9dOMMaShE9x7vyrsA+mNb9ZRc+jOTKSvFa29T4
nOlyZsVYbmektL2t2l3qgboy+LDt6smBrNEjO/lf+b3mdXQop4JGrtuApUZOJixF
20xPgRwnGxz4Nkxr1QY9ifoasZ9hbC6lbljeh5s+ShnlELDnLg3EiOYuTdhg9p4=
=VSPZ
-END PGP SIGNATURE-



Re: [gentoo-user] Re: layman printer trouble

2012-10-09 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08.10.2012 14:52, James wrote:
 Hinnerk van Bruinehsen h.v.bruinehsen at fu-berlin.de writes:
 
 
 Ok - you're trying two different approaches at the same time.
 I'd recommend you to just use the printer-drivers overlay.
 
 Yep know doubts, I looked at too many different wiki and other
 googled resources. I could not find a simple here are the steps to
 installing printer overlays, compiling them, making the config
 changes and then testing via CUPS.
 
 OK, I'll the print drivers  first.
 
 Normally layman should take care of the contents of 
 /var/lib/layman/make.conf. Maybe it doesn#t work because you
 created an empty one. You could try to simply delete it and
 afterwards rerun layman -a printer-drivers. If that doesn't solve
 your problem, recreate the  file with the following content:
 
 PORTDIR_OVERLAY= $PORTDIR_OVERLAY
 
 Afterwards try layman -a printer-drivers again.
 
 #layman -l * printer-drivers   [Git   ] 
 (git://git.o.g.o/proj/printer-drivers.git   ) * zugaina
 [Rsync ] (rsync://gentoo.zugaina.org/zugaina-portage )
 
 OK it's installed. I would think emerging it is next? But that does
 not seem to work with emerge?

Sounds fine up to here. Make sure you have a line source
/var/lib/layman/make.conf inside your make.conf and try to emerge the
driver. It should work then.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQc/elAAoJEJwwOFaNFkYccQgH/j5PPQOOLoz04NmohiiqpSCQ
6xZ6X3qq1KgzUlJOXnQ2YnQpbaVGB1vTGddXCxytPfqSucCVFWCZkP/HsqrShWss
f7u2SaXmTP4TDoqx0tFpyReRhhv7hZATcGH9PpWVc+G8iSnyB5HJZOVzWFhPow/9
xXE3YxdKvEYPnru+LwjOBBVQJ1ktRsHbi2j6nQm5LTcZtSOrUq+OeEpRru5uswv5
ALruHbz8o90DeQycMyjXaDnwMcQ2o9IIdarVWSTaaxhCONB4OXC4XJ7egOJdC+Qa
DUB0myfNwKInn7hoqVV2cZys4tOIJ/+imiz0BYEKJR72roKm7B/chKFunWlooSE=
=e0Eu
-END PGP SIGNATURE-



Re: [gentoo-user] Re: layman printer trouble

2012-10-09 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09.10.2012 20:19, James wrote:
 Hinnerk van Bruinehsen h.v.bruinehsen at fu-berlin.de writes:
 
 
 Sounds fine up to here. Make sure you have a line source 
 /var/lib/layman/make.conf inside your make.conf and try to
 emerge the driver. It should work then.
 
 Something is wrong.
 
 What I have: cat /etc/make.conf snip
 
 LAYMAN PORTDIR_OVERLAY=/usr/local/portage source
 /var/lib/layman/make.conf
 
 SO should this  be (?): PORTDIR_OVERLAY=/var/lib/layman
 
 
 cat /var/lib/layman/make.conf: 
 ##PORTDIR_OVERLAY=/usr/local/portage
 
 PORTDIR_OVERLAY=$PORTDIR_OVERLAY
 
 
 Here is what I get:
 
 # layman -a printer-drivers * Failed to add overlay
 printer-drivers. * Error was: Overlay printer-drivers already
 in the local list!
 
 
 # ls /var/lib/layman/ cache_ac494f50f5736be7871962c0dec7b3bb.xml
 make.conf.old.layman printer-drivers  make.conf  overlays.xml
 zugaina
 
 
 ls -R /usr/local/portage/net-print
 
 brother-mfc6490cw-cups  brother-mfc6490cw-lpr
 
 ./brother-mfc6490cw-cups: Manifest
 brother-mfc6490cw-cups-1.1.2_p2.ebuild
 
 ./brother-mfc6490cw-lpr: brother-mfc6490cw-lpr-1.1.2_p2.ebuild
 
 # eix printer-driver No matches found.
 
 # emerge -pv printer-drivers These are the packages that would be
 merged, in order: Calculating dependencies... done! emerge: there
 are no ebuilds to satisfy printer-drivers.
 
 
 Obviously I've got something wrong.(following too many
 guides).
 
 Ideas?
 
 Step 1: remove anything layman/overlay-related from /etc/make.conf
except:
source /var/lib/layman/make.conf

Step 2:
layman -d printer-drivers
layman -a printer-drivers

Now the printer-drivers-overlay should be installed correctly.
Check if /var/lib/layman/make.conf contains:

PORTDIR_OVERLAY=
/var/lib/layman/printer-drivers
$PORTDIR_OVERLAY


maybe it has got other newlines or indentation, but the contents
should be this. If not, though something's strange then, try edit the
file manually to make it look like this.

Try:
emerge ebuild-name

It should work then.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQdG/rAAoJEJwwOFaNFkYcwyUIAMMvb8MFGBaFw2H8RnYvcw2N
AE+F+CqC0G7/uA05y/TN6sPQA94hqG0YiThzTx/KsenC+o5CBrCSsJnAss4lOyp3
auzuAyHS4hHCyKCEGFccqsymD0tjtEr+NnJkxpFr9KVo+Pgd0+6tmQn/z9W9NeSi
JXDKpuHvKaURQy5hxha8kr6cIxzAFpCDYEKnttCBgCQzH2jLzguwFBlozWTNPa5L
aZ49XdmhMliwPs9YfVEj0587qqUZyDoGw0n63r+q0KHcup6LJ+agu1FuQSdQINKX
ovjpBFk+D+FV0fLD5nFjgAXOYL2PXFC9LtnVcZ4BI9K3F+Wizcd8FCQyMYk/mbw=
=H312
-END PGP SIGNATURE-



Re: [gentoo-user] layman printer trouble

2012-10-05 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.10.2012 17:38, Jamse wrote:
 BACKGROUND --
 
 OK, so I get a new Brother MFC-6710DW printer, which includes
 ethernet. Since there is not (hplip) package for Brother, I trying
 to use Layman to first add an existing Overlay and then set up the
 printer via Cups (localhost:631).
 
 Amazingly, I found an overlay that looks to be for a brother 
 printer that is identical to mine, except it down not have the
 memory stick slot (brother mfc6490cw).
 
 Here it is on zugaina (Successfully synchronized overlay
 zugaina)
 
 http://gpo.zugaina.org/Overlays/printer-drivers/ 
 net-print/brother-mfc6490cw-cups
 
 I thought once that layman is setup you could just update the
 tree_list of packages (which I did) and then just use emerge to
 install from a give Overlay repository? (Yes, I modifies the
 /etc/make.conf
 
 #LAYMAN PORTDIR_OVERLAY=/usr/local/portage source
 /var/lib/layman/make.conf (but this layman make.conf file is still
 empty)
 
 So, I get this error: # layman -f -a
 net-print/brother-mfc6490cw-cups-1.1.2_p2
 
 Overlay net-print/brother-mfc6490cw-cups-1.1.2_p2 does not
 exist. (I also tried the name net-print/brother-mfc6490cw-cups to
 no avail)
 
 Next, I've manually downloaded the ebuild to: 
 /usr/local/portage/net-print/brother-mfc6490cw-cups/
 
 
 
 PROBLEM --- But I cannot use emerge to install it. # emerge
 brother-mfc6490cw-cups Calculating dependencies / * Manifest not
 found for '/usr/local/portage/net-print/brother-mfc6490cw-cups/ 
 brother-mfc6490cw-cups-1.1.2_p2.ebuild'
 
 So now I need to hack the manifest and other files into this dir? 
 Any discussion, ideas, syntax or ebuild support files (manifest et.
 al) are most welcome (Neil?)
 
 Note: it's been a while since I've used the laymen scripts et. al. 
 so it's entirely possible I missed (fudged_up) the steps I gleaned 
 from the myriad of wikis  to do this install.
 
 rusty on Overlays, James
 

Hi James,

you'll have to add the complete overlay, e.g.:


layman -a printer-drivers

Afterwards you should be able to install the driver. The alternative
route would be to set up your own overlay. If you put a file inside
the normal portage tree, it will be removed after the next sync.
To create a Manifest you could issue ebuild path/to/foobar.ebuild
manifest but as stated above it would be removed on the next sync, if
you don't setup your own overlay. The easiest way would be to simply
add the overlay with layman -a overlayname. If I recall correctly
you'll have to update the list of available overlays before doing so
via layman -L

WKR
Hinnerk



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQby2tAAoJEJwwOFaNFkYcVRUIAIr59Av0eLAd2arl4YqBKhlI
KCXeTa/mgFEmu1KhxCotrXm8KspFHsXxl8zUXZpxusvE/vMaao4m0lJd1j1Ifjhl
CEWT3kcotPVo9PLGh6faTsZMjzvbm4MgIVzYowA2Gf/TsLPo/Bc21ho9wP1zOX0M
BE8ES/f3orftDzyGFysgAxNzdKMnpeDFCxtJGNMHCcQHn1YBAWtKP09e+XeHjOD1
3cN7UfSa5IuNXbS7lT+I9oP50kl/dImyYf+mAbvjLqopd86TlavpSWEOn1lnxKKx
iZq3rggdQb9TZRDY80xTRACSJ9JxfQbvkqzulDLrZXY57McazX5Ky1UHmgCq9T8=
=SWN8
-END PGP SIGNATURE-



Re: [gentoo-user] Re: layman printer trouble

2012-10-05 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.10.2012 21:39, James wrote:
 Hinnerk van Bruinehsen h.v.bruinehsen at fu-berlin.de writes:
 
 
 PROBLEM --- But I cannot use emerge to install it. #
 emerge brother-mfc6490cw-cups Calculating dependencies / *
 Manifest not found for
 '/usr/local/portage/net-print/brother-mfc6490cw-cups/ 
 brother-mfc6490cw-cups-1.1.2_p2.ebuild'
 
 So now I need to hack the manifest and other files into this
 dir? Any discussion, ideas, syntax or ebuild support files
 (manifest et. al) are most welcome (Neil?)
 
 
 layman -a printer-drivers
 I have /usr/local/portage/net-print/brother-mfc6490cw-cups set up
 
 I did generate the ebuild manifest  by hand:
 
 # ebuild brother-mfc6490cw-cups-1.1.2_p2.ebuild manifest snip 
 2012-10-05 14:45:35 (653 KB/s) - 
 `/usr/portage/distfiles/mfc6490cwcupswrapper-1.1.2-2.i386.rpm' 
 saved [15650/15650]
 
 Creating Manifest for 
 /usr/local/portage/net-print/brother-mfc6490cw-cups
 
 Afterwards you should be able to install the driver. 
 
 This file is empty, but exists: cat /var/lib/layman/make.conf
 empty what should be in this file?
 
 # layman -a printer-drivers
 
 * Running... # /usr/bin/git clone 
 git://git.overlays.gentoo.org/proj/printer-drivers.git 
 /var/lib/layman/printer-drivers Cloning into
 '/var/lib/layman/printer-drivers'... remote: Counting objects: 38,
 done. remote: Compressing objects: 100% (32/32), done. remote:
 Total 38 (delta 7), reused 0 (delta 0) Receiving objects: 100%
 (38/38), 8.57 KiB, done. Resolving deltas: 100% (7/7), done. *
 Failed to add overlay printer-drivers. * Error was: Did not find
 a PORTDIR_OVERLAY entry in file /var/lib/layman/make.conf! Did you
 specify the correct file?
 
 

Ok - you're trying two different approaches at the same time. I'd
recommend you to just use the printer-drivers overlay.

Normally layman should take care of the contents of
/var/lib/layman/make.conf. Maybe it doesn#t work because you created
an empty one. You could try to simply delete it and afterwards rerun
layman -a printer-drivers. If that doesn't solve your problem,
recreate the  file with the following content:

PORTDIR_OVERLAY=
$PORTDIR_OVERLAY


Afterwards try layman -a printer-drivers again.

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQb09RAAoJEJwwOFaNFkYc99AH/RMbGP873Y64ZnuDDwPu9kuk
K9NzfMuhyvmSkLpJPhwuAfm0IPDPDqe7HJWb6CjSTyfW/FWaXTgp2kbAoszGLQ+I
slQXzEbs+0n176rN9YZlyu6CuWLh/istY6KtO2wkDH9g2uj4KeKzdB4wmWqFckUw
ZCBMNqqwlkO09eN214kNmpwmzc0lobahQetEHg3NWMFQ92m4njyAQh8lzmKSKGnO
biE8ZC1QvwJZY6OJTVzF9m5DQboeDeOkRG2XIZ0FDyelysaXojkpTPkMkMXFdbZ5
uR0IVfpqII7hPNMGgY8G+0gfkPTiV42gSNZaG+Jc2iFMb2YOPsm80jKcKd2i3/I=
=pVfT
-END PGP SIGNATURE-



Re: [gentoo-user] crossdev/x86dev screwdup ?!

2012-10-01 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01.10.2012 14:13, YoYo Siska wrote:
 On Mon, Oct 01, 2012 at 12:50:40PM +0200, meino.cra...@gmx.de
 wrote:
 hi,
 
 Something broke my crossdev installation...
 
 I installed crossdev and did a
 
 crossdev --target armv7a-unknown-linux-gnueabi
 
 which produces a useable cross development toolchain.
 
 A few days ago there was an update related to thsi crossdev 
 toolchain (dont remember exactly), which also installs fine.
 
 But now, calling
 
 armv7a-unknown-linux-gnueabi-gcc
 
 results in
 
 gcc-config: error: could not run/locate
 'armv7a-unknown-linux-gnueabi-gcc' [1]25787 exit 1
 armv7a-unknown-linux-gnueabi-gcc
 
 .
 
 Calling
 
 armv7a-unknown-linux-gnueabi-gcc-4.7.2
 
 gives the exspected error message no input files.
 
 The output of
 
 gcc-config -l
 
 is
 
 [1] armv7a-unknown-linux-gnueabi-4.7.2
 
 [2] x86_64-pc-linux-gnu-4.4.7 [3] x86_64-pc-linux-gnu-4.5.4 *
 
 
 seems that the armv7a compiler isn't 'active' in the gcc-config
 output (no asterix after the [1] option), did you try to
 'reactivate' it with gcc-config, ie # gcc-config 1 ?
 
 My output here: julka ~ # gcc-config  -l [1]
 armv4tl-softfloat-linux-gnueabi-4.4.6 * [2]
 armv4tl-softfloat-linux-gnueabi-4.5.3
 
 [3] x86_64-pc-linux-gnu-4.4.4 [4] x86_64-pc-linux-gnu-4.5.3 *
 
 (Though it is possible the asterix won't show up if there is only
 one option, but reactivating it should do anything bad...)
 
 
 . Before i screw up my native toolchain I better ask for help, 
 how I can reactivate my crossdev toolchain, so that it is
 available via
 
 armv7a-unknown-linux-gnueabi-gcc
 
 .
 
 How can I acchieve this?
 
 Thank you very much in advance for any help!
 
 Best regards, mcc
 
 
 
 yoyo
 

I can remember that I had to reactivate mine a while ago (maybe two
weeks).
Afterwards it worked again as expected. You should check afterwards,
if your system-compiler is still the right one (and maybe reactivate
it, too - I just did it without checking first). Now I have two
asterisks marking gcc-versions (in different colors, if I recall
correctly).

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQaYxKAAoJEJwwOFaNFkYcBGEH/A2VPYStKya4aYony/qqBl1E
MAD+VCBmqE1QBOvNMDMY5bvmS79HvS2VlQfM0P8XMGGzBRFN2c0fQQFRZ5xLTd5K
e+CfUoAIRmielEic2FK7dsQMXjuRluCFzyuX5kuQGyIzGSxRXHdNXSQfpoTIei+F
C6AU5riB5xWt/KusB6tnTxWA+RQdQMpNSRkZtqPNOESNWQtKx6cOEwZDlbRm4jcM
uq/t2+yPxiZTVzsbn/xWzI3UQvNdzqqPejP2cN6woXsBfewz1MqrTdlLsns/CPa2
yQSCzbr/LwKKT/LUEbiHRJQcF8p7pd+lvo0MlZiLY1td3mgeyk5TDfGxqkQFXfY=
=0b2d
-END PGP SIGNATURE-



Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10.09.2012 13:59, Doug Hunley wrote:
 Just saw the eselect news item saying make.conf and make.profile
 are moving to /etc/portage next week. Unfortunately, there's no
 link to a page w/ more info in the news item. Does anyone know what
 version of portage knows to look for them in this location? I don't
 want to move mine prematurely :)
 
 And yes, I read that we don't need to do anything. I *want* them
 in /etc/portage. I've always felt they belonged there.
 

Why not copy them over and create a symlink for legacy-reasons? I'd
guess that every stable version of portage will support it, because
that change (to the stage 3) wouldn't make sense otherwise.

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQTgHAAAoJEJwwOFaNFkYcnXsH/0tW9SlYHhHbvfYKOKu6Ntyh
Ryd7IR0DGjeOPxJRGjfzsVrEyWs7xaC0la1EyagTbfjXEBrd6wVpPNTBGEukTZei
qwB/ljOIM6yk/Fl7LQ1i50u5ORduiWc3M0/51JZWZfSG0iG6BSi/Zbe0ycawPjIc
G7LAc5rnrwLHzEvA+QiT02LZj4Kog2ZxlTDWy9S2lqCT6jD2kImdWAheY8pX+0sK
y7PDihmFWddTpivoesTepgCLvcV7WsobdmngpWLgJ5rClaUfdJA3xGJO+JuwGjLW
y5i533uS8J6rivI62OusByaAkXtB+g0NU5+UyGtJ6e6ZW9ZgewAcbg7WmEtpGrE=
=cNmq
-END PGP SIGNATURE-



Re: Aw: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go?

2012-09-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.09.2012 15:48, Roland Häder wrote:
 I think I made a (tollerateable) mistake:
 
 My hard drive has two partitions: - sda1 - encrypted swap - sda2 -
 encrypted root
 
 How should it boot? One way could be by external media (e.g.
 stick), other is from hard drive. But that is encrypted. So I must
 leave a small area left for kernel, initrd, System.map and maybe
 config.
 
 So the page at [1] is a little wrong because it misses the boot
 partition, so the new layout should be: - sda1 - unencrypted boot
 (/boot) partition - sda2 - encrypted swap (at least as double as
 your RAM) (crypt-swap) - sda3 - encrypted root (crypt-root)
 
 Can someone update this?
 
 Regards, Roland
 
 [1]: http://wiki.gentoo.org/wiki/DM-Crypt
 

In theory grub2 is able to open a luks-encrypted volume though it
seems to have some disadvantages: you'll need to enter the passphrase
(or pass the keyfile) two times, because grub itself needs to decrypt
the volume to get the later stages from the encrypted volume and
afterwards the decryption in the bootprocess itself takes place.

I can't give any real advice about it though, because I use an
unencrypted boot partition. Depending on your needs it could be an
increase of security, because you can stop an attacker from injecting
malicious code into your kernel (or replace it completely).

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQRjxMAAoJEJwwOFaNFkYcWfcIAJvh9CxmlPeWTlJ8qMMb24tf
8tCVPo7FjnELrOqHwccqRceC1/1kIfjfYy0BowbRBOAV49WEIt3WWZhySVcS5PzH
mh30OVZZ1Gb94QjwUSoKb+4FfULpM8oVp3kpaxf11Ls7SlJgRkW4hiSNmEWGt/2Q
RRgTQpkFp7W6b1sWnbnKY491iCsL657G90UK7lKe3qe15u7V0E8bY2XvzJrPSf4E
K3V0mpHunLWDMbr0lfoezbeOEuqSfRdUlgQWw3Q4iCKBxFX5hh9ac5T8cne4xUJ7
OKp6HAYE3sl8othQ+ngMNVyu/vX6j0dCtZHgPtAZEDU1pjE33rjiaLXm15aCVbU=
=AG8l
-END PGP SIGNATURE-



Re: Aw: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go?

2012-09-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.09.2012 20:48, Michael Hampicke wrote:
 In theory grub2 is able to open a luks-encrypted volume though
 it seems to have some disadvantages: you'll need to enter the
 passphrase (or pass the keyfile) two times, because grub itself
 needs to decrypt the volume to get the later stages from the
 encrypted volume and afterwards the decryption in the bootprocess
 itself takes place.
 
 I can't give any real advice about it though, because I use an 
 unencrypted boot partition. Depending on your needs it could be
 an increase of security, because you can stop an attacker from
 injecting malicious code into your kernel (or replace it
 completely).
 
 I don't think so, I still can replace your bootloader and grab
 your password. If you really think you might need something like
 this, I suggest you put your kernel and bootloader on a USB stick
 and boot your machine from that. When not in use keep the stick on
 your person.
 
 That still does not protect you from physically tempering with your
 device.
 
 Anyway, what about one those fancy tin foil hats to protect
 oneself against the governments mind control rays :)
 

Ah yes - the aluminium foil deflector beanie
(http://zapatopi.net/afdb/)...

I just use it, when going out of my house or when updating my
MindGuard (http://zapatopi.net/mindguard/)


Enough fun - I just wanted to name the possibility because it's there
and it would't require you to repartition your drive.
I think it would be an increase in security nonetheless, though you're
correct: there are a lot more possible attack vectors with side
channel stuff getting very freaky indeed (i.e.: there is an
interesting paper about using the gyroscopes of a mobile telephone to
make a (80%) correct guess about the pressed key)

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQRl/GAAoJEJwwOFaNFkYcHbcH/i5ncHgButsE3ximu7Mdm113
ly0JVbINO4Bc7mkzj9eQAI8Ewr3JYhTpxpShfmWGGSBTTaAwltp1pYt+bj7xw3/E
+euJGjfffmcxsBkLtlaI5SQHvO/fNiKZ8cAga++HXtxWoJ/DTN5UBEmzI6xXm3Tk
RA6kGCDukiSpo4VjsfBMz1h8O9vtr2cgj4HlnOjNByzeSWk40XC9jKlSCLgjpkTp
pJNvY0qHE7hMZoH+S9Ai3ZDtDgHpcdtSCslJGiOGh16BBzhOyunDdj1SVfkSq0bg
1vKnqT6zQS0vSl3JyoP9zc8MOW9/IwK2anKRHhE817Y9rXrawsx1QwPu6xVLxe0=
=0NRV
-END PGP SIGNATURE-



Re: Aw: Re: [gentoo-user] dm-crypt + ext4 = where will the journal go?

2012-09-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.09.2012 22:05, Roland Häder wrote:
 Okay, I have setup so far this:
 
 /dev/sda1 - /boot (unencrypted) /dev/sda2 - swap (not yet setup,
 will be encrypted) /dev/sda3 - / (encrypted)
 
 /dev/sda3 is the underlaying drive, where I used gpg:
 
 # gpg --decrypt key.gpg | cryptsetup --verbose luksFormat
 /dev/sda3 # gpg --decrypt key.gpg | cryptsetup --verbose luksOpen
 /dev/sda3 encVol # dd if=/dev/zero of=/dev/mapper/encVol bs=100M
 (to avoid filesystem corruption) # mkfs.ext4 -L root
 /dev/mapper/encVol
 
 Now I continued as usual with the Gentoo handbook (mount all, copy
 things on it, etc.)
 
 After I compiled the kernel, emerged cryptsetup on the new system,
 I editied /boot/grub/grub.conf: 
 --- default 0 timeout
 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 
 title Gentoo Linux root (hd0,0) kernel
 /boot/kernel-genkernel-x86-3.3.8-gentoo root=/dev/ram0
 crypt_root=/dev/sda3 initrd
 /boot/initramfs-genkernel-x86-3.3.8-gentoo 
 --- (I read not to use
 real_root, but crypt_root instead?)
 
 Then I emerged grub as usual (also: # cat /proc/mounts  etc/mtab )
 and did: # grub-install --no-floppy /dev/sda
 
 Still as usual. Now it is downloading plymouth (to have some cool
 things) + dracut (easiest way as I read in wiki).
 
 I also had to expand /etc/make.conf (not /etc/portage/make.conf ???
 Is this a mistake in handbook?):
 
 --- 
 DRACUT_MODULES=crypt_gpg plymouth 
 ---
 
 Now I really hope, that after I installed dracut on it, that I can
 boot it and the initrd will be updated. It needs at least some
 kernel modules (e.g. dm_crypt, ext4, sha512_generic, aes_generic)
 plus gpg and cryptsetup tools to actually decrypt the hard drive.
 
 Regards, Roland
 

I thin you need to add crypt as a dracut module since crypt_gpg is
afaik just an extension to crypt.

The output from equery seems to support my assumption:

...
dracut_modules_crypt : Decrypt devices encrypted with
cryptsetup/LUKS
dracut_modules_crypt-gpg : Support for GPG-encrypted keys for
crypt module
...

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQRmFOAAoJEJwwOFaNFkYc4eoH/0TthI9pSRXF/AKTp1fYFiwM
qFPW7ZvvQVVX3QctL+h/NiPceWw6G5WGjc+eqiTput1A8B9ledi87OGvT13JFb40
vMfRWrlqrn89dtL/pkLQUHrT1FtjP4/jp6oY98XN1fcODKItQ8+F6TZN0/wrTzrJ
CPJtdPdR8X2U+40zBUU8pxkm1doIbiMGmsU0hAf8aq2GC65Eer4rOCqPcLsTvMnz
9zUYzTFxSq4rj34apuGrS8RxEsj9uABi4JpfMD+k3nzmI6D2ya1wOHJUMYtgiAoe
itsuJxRsi5j0gZNwHz4XqF7iBTzMHHbKcQ2qtfSpJ/hx0LrMCXGeIALHylPeU+Q=
=F+nL
-END PGP SIGNATURE-



Re: [gentoo-user] Disk migration boot loader not found

2012-08-26 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 26.08.2012 14:32, Florian Philipp wrote:
 Am 25.08.2012 13:13, schrieb Florian Philipp:
SNIP
 At this point, my partition table looked like this:
 
 Number  Start   End SizeType  File system Flags 1
 1049kB  316MB   315MB   primary   ntfs 2  316MB   750GB
 750GB   extended 5  317MB   424MB   107MB   logical   ext2
 boot 6  425MB   22.4GB  22.0GB  logical   ext3 7  22.4GB
 28.9GB  6441MB  logical   linux-swap(v1) 8  28.9GB  750GB
 721GB   logical
 
SNIP
 Turns out, I was wrong in thinking the immediate problem was
 solved. In fact, the system just booted of the memory stick without
 me noticing. I've now finally solved by re-creating the boot
 partition without MiB-alignment, just good old cfdisk. So, the
 working partition scheme looks like this:
 
 Number  Start   End SizeType  File system Flags 1
 32.3kB  316MB   316MB   primary   ext2boot 2  316MB
 750GB   750GB   extended 5  317MB   424MB   107MB   logical
 ext2 6  425MB   22.4GB  22.0GB  logical   ext3 7  22.4GB
 28.9GB  6441MB  logical   linux-swap(v1) 8  28.9GB  750GB
 721GB   logical
 
 Is there an explanation for this?
 

Hi there,

if my eye-integrated diff doesn't deceive me the problem was, that
your old bootpartition was ntfs. Since grub doesn't support ntfs
that's an easy explanation.
Your boot partition is the first one on the drive, isn't it?

WKR
Hinnerk

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

iQEcBAEBAgAGBQJQOjN3AAoJEJwwOFaNFkYclu4IALAP/vyTUTiDolDjGyo2CBAH
T3dWl+9nw482HKdISpHyki9MzwMc/ObMokdpmwY4e1RrReCorHK5jCGxBQTa1wpo
C4l+aTPCsAhnZDMWKcJeL/EMB4dZeKVFEG2JxISJvBxFVrUcyzuv384+Dk/5UehE
/Do6kDALnnmhk3b6X13xlrj9dQOQ6S0S5940Qz6DfN4FtedDnkZrVr0csCTWwl5q
eWom3D8jpUul4hqvnRzTh6Er89ORWfDCcARBXSYNiAmp6lawUMa7dF8mIO5P6cB/
Viv0qE/myxGnvezlH745NEneGyuPSePEz4G9Qya3e5MYV7zmE4CU2DUcUEiebSw=
=IwzC
-END PGP SIGNATURE-



Re: [gentoo-user] Invalid module format

2012-08-21 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20.08.2012 18:14, Tamer Higazi wrote:
 Hi Hinnerk! I did what you say, now the magic issue comes, the
 kernel drivers ARE BUILT for this kernel, here the modinfo output:
 
 tamer@office ~ $ sudo modinfo 
 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko 
 +filename:
 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko 
 license:GPL description:Sangoma WANPIPE: WAN
 Multi-Protocol Driver author: Nenad Corbic
 ncor...@sangoma.com depends:sdladrv,wanrouter vermagic:
 3.3.8-gentoo SMP mod_unload modversions tamer@office ~ $ sudo
 modinfo 
 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanrouter.ko
 
 
 tamer@office ~ $ sudo modinfo 
 /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko 
 filename:
 /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko 
 license:GPL description:Sangoma WANPIPE: Proc  User
 Interface author: Nenad Corbic ncor...@sangoma.com 
 depends:sdladrv vermagic:   3.3.8-gentoo SMP mod_unload
 modversions
 
 
 tamer@office ~ $ sudo modprobe sdladrv WARNING: Deprecated config
 file /etc/modprobe.conf, all config files belong into
 /etc/modprobe.d/. FATAL: Error inserting sdladrv 
 (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko):
 Invalid module format tamer@office ~ $ sudo modinfo 
 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko 
 filename:
 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko 
 license:GPL description:Sangoma WANPIPE: HW Layer 
 author: Alex Feldman al.feld...@sangoma.com depends: 
 vermagic:   3.3.8-gentoo SMP mod_unload modversions
 
 
 I am running the 3.3.8 SMP kernel, and I don't know why he doesn't
 load the modules. This is what droves me crazy about it
 
 
 any other ideas?!
 
SNIP
 
 

I would try to recompile the kernel. You should also set the
/usr/src/linux symlink accordingly (to your actual kernel sources).
Reboot to machine after rebuilding the kernel and then rebuild the
module itself.
Maybe try - as Wonko stated in another mail - module versioning support.

For the whole process make sure that you use a consistent toolchain
(gcc, linux-headers, kernel-sources, glibc, binutils come to mind)

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

iQEcBAEBAgAGBQJQM1F5AAoJEJwwOFaNFkYcncMH/i3sUwg7Vdo82Olx45eemGNh
i003wxAd/3I5Kr0jHK/1VTWnOb6mHIku1BJQRGUSMMCVelqyYVDFh4hO+DfNok17
hOYXY/sxCsgP0f3oMMZxb7W+6aoLfGtm2vDIOdkthp3+O4z+BTyjjq/ikyaHJtDp
l+4xuHc1E0SYlUJf2JsBcKQjEWHmUNfCcZoratDjgghgNS9zYGNv3NJo7A1Bpx1N
M3dwh2S2aL9bs5kqWARgX/zYdX5mJOrxjP5gxRc4xqNzBoQBEVsCMtbt89VtVV4A
uZI/KqECQBm6kajbMMRR5ELbu2MkeyVXw6xhKqmZqkgsWhij5gZrARzUSmLA7No=
=Qa3/
-END PGP SIGNATURE-



Re: [gentoo-user] Invalid module format

2012-08-20 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20.08.2012 00:44, cov...@ccs.covici.com wrote:
 Tamer Higazi th9...@googlemail.com wrote:
 
 Hi people! I have installed through the freeswitch overlay, the
 wanpipe package. What I figure out, that If I modprobe a
 driver, I recevie this error: Invalid module format
 
 here is the output:
 
 tamer@office ~ $ sudo modprobe wanpipe Passwort: WARNING:
 Deprecated config file /etc/modprobe.conf, all config files 
 belong into /etc/modprobe.d/. WARNING: Error inserting wanrouter 
 (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko):
 Invalid module format FATAL: Error inserting wanpipe 
 (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko):
 Invalid module format
 
 
 
 What does it have to mean? I am not getting smart.
 
 Usually, it means you have compiled a module which is not the same 
 version as your running kernel -- make sure your /usr/src/linux is
 set correctly.
 
 Hope this helps.
 

You could also check for which kernel the module is compiled by
issuing modinfo path-to-module
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQMhLzAAoJEJwwOFaNFkYctSAH/1wTS1jX08LcGjSAs613UpCX
WqvDtT9rbrz1nhjabCdHOK7K9D0XPt0059lZ9Ii9EbSRL90T+VxAfBI2dJ8jEPmS
aeDSjXxpRwhTBn1/TTCSOv6bg8dyfocXqD+XuvzyuKqD1Ape6sq1/cFUJXDt78Ob
wYaYYUTFqduER/jSaeiVPlJMGy+tps1W7laTTOmoGTvht9xvhyn8yzpsCmG1MIMD
7kqhOX0ES6Wk0IEyIrv1aajsI9yXEn5HbWMxr+69vIp1sCnKgI9Qj3uY+GZzFMJ5
pTmP9V2tcwlQro3oX6kulT8hxykW1Y4ZVysdUoKcVbEG4IWzpXkeRnoy8P1hLJg=
=08l7
-END PGP SIGNATURE-



Re: [gentoo-user] crossdev --target armv7a-unknown-linux-gnueabi failed ...

2012-08-17 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17.08.2012 08:19, meino.cra...@gmx.de wrote:
 Hi,
 
 with crossdev I tried to build a toolchain for the 
 armv7a-unknown-linux-gnueabi target.
 
 The build process failed due to a wrong format of an archive of
 patches. Is there a way for a local quick fix...or am I lost for a
 longer period of time... ;)  ???
 
 
 Best regards, mcc
 
 Log: _
 
 
 
 
 * Package:cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90 *
 Repository: proaudio * Maintainer: toolch...@gentoo.org * USE:
 amd64 cxx elibc_glibc kernel_linux nls userland_GNU zlib *
 FEATURES:   sandbox
 ESC[1mESC[37mcfg-update-1.8.2-r1ESC[0mESC[0m: Checksum index
 is up-to-date ... Unpacking source... Unpacking
 binutils-2.22.90.tar.bz2 to
 /var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work

 
Unpacking binutils-2.22.90-patches-1.1.tar.xz to
/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work
 unpack binutils-2.22.90-patches-1.1.tar.xz: file format not
 recognized. Ignoring.
SNIP
 
 

.xz is lzma2. If you install app-arch/xz-utils you should be fine.
It's quite common today, by the way (you'll get gnome and kernel stuff
compressed it - the kernelsources are about 10MB smaller than bz2)

WKR
Hinnerk

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

iQEcBAEBAgAGBQJQLhEXAAoJEJwwOFaNFkYcKtkH/ikLSF3eYYNZFVVD6GuyqHdR
+EdA0R4x2uVapASSqJb6wEUYisEhRGsbNx5oEhbSBkhBQjz8RZuxpxqt7kK1pTTp
nwDy72+GxBeWH0/t8+VwPNLhbC/uLxhyu+EIZfEp5eBHUdewxbLqfWYz3vC7SDSx
+1d/5pKZlc9dpvLFBzeeKdgaEdMkqsV/gK/tu6S0zOyl/dzG+GplNP0Vqbx7+zOa
fab/w/FcoO6bASJO7pzROvdSo1gZtCcFON7aKMMv1j+Uaq7mvR6KfSrSnMPyfqyC
oi5VxsQvy/7FL0pdjDBqyWNNb05EcBASqEWo9eglTN9j8U66YCcEisFxqinzib0=
=rfM9
-END PGP SIGNATURE-



Re: [gentoo-user][SOLVED]emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.08.2012 09:55, Cinder wrote:
SNIP
 Unpacking source... Unpacking python-dateutil-2.1.tar.gz to
 /var/tmp/portage/dev-python/python-dateutil-2.1/work Source
 unpacked in
 /var/tmp/portage/dev-python/python-dateutil-2.1/work 
 Preparing source in
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1
 ...
 * Applying python-dateutil-2.1-open-utf-8.patch ...
 [ ok ]
 Source prepared. Configuring source in
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1
 ... Source configured. Compiling source in
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1
 ...
 * Building of dev-python/python-dateutil-2.1 with CPython 2.7...
  python2.7 setup.py build -b build-2.7 Traceback (most recent
 call last): File setup.py, line 8, in module from setuptools
 import setup ImportError: No module named setuptools * ERROR:
 dev-python/python-dateutil-2.1 failed (compile phase): *
 Building failed with CPython 2.7 in distutils_building() function
  * * Call stack: * ebuild.sh, line   85:  Called src_compile
  *   environment, line 5022:  Called distutils_src_compile *
 environment, line 1185:  Called python_execute_function
 'distutils_building' *   environment, line 3406:  Called die *
 The specific snippet of code: *   die
 ${failure_message}; *
SNIP

Hi,

since the error is ImportError: No module named setuptools you
should make sure, that dev-python/setuptools is installed (for the
version of python you are using).
If it's installed you could try to run python-updater.

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

iQEcBAEBAgAGBQJQKgiPAAoJEJwwOFaNFkYcHykIAItcWoVhxfhpK350whS81hdl
UwjMxJQaHEIcSnwct6bhdueFIRT36PiXiNPir+X7w4Bs1lk2ZXUHH88k62H7wSNF
EGsBcXJl1hAhqVLOu06Vc6IHp/gpsB6PPHceFqQ7tl7jWMDvVVhmEvfQCg6st1Js
yuqwQFfwHrSAifByJS5jwclPo7H3HptMtIFw0MnFg3/JkYJGG1rv6avhjK+zTf71
1dxIIJCroGaGz+s5M8XYpXhcOr7B1U+rWPQImh2rjJM+wML2KdMEH9SzDqQJioKh
XoaVSpG2fz4dXahv1FFJ/Qjq4VRV0UfKQIlMD1Qglk98j0mSly9mlJR+S/p4WaY=
=1x0r
-END PGP SIGNATURE-



Re: [gentoo-user][SOLVED]emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.08.2012 10:13, Hinnerk van Bruinehsen wrote:
 On 14.08.2012 09:55, Cinder wrote: SNIP
 Unpacking source... Unpacking python-dateutil-2.1.tar.gz
 to /var/tmp/portage/dev-python/python-dateutil-2.1/work
 Source unpacked in 
 /var/tmp/portage/dev-python/python-dateutil-2.1/work 
 Preparing source in 
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1

 
...
 * Applying python-dateutil-2.1-open-utf-8.patch ... [ ok ]
 Source prepared. Configuring source in 
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1

 
... Source configured. Compiling source in
 /var/tmp/portage/dev-python/python-dateutil-2.1/work/python-dateutil-2.1

 
...
 * Building of dev-python/python-dateutil-2.1 with CPython
 2.7... python2.7 setup.py build -b build-2.7 Traceback (most
 recent call last): File setup.py, line 8, in module from
 setuptools import setup ImportError: No module named setuptools
 * ERROR: dev-python/python-dateutil-2.1 failed (compile phase):
 * Building failed with CPython 2.7 in distutils_building()
 function * * Call stack: * ebuild.sh, line   85:  Called
 src_compile *   environment, line 5022:  Called
 distutils_src_compile * environment, line 1185:  Called
 python_execute_function 'distutils_building' *   environment,
 line 3406:  Called die * The specific snippet of code: *
 die ${failure_message}; *
 SNIP
 
 Hi,
 
 since the error is ImportError: No module named setuptools you 
 should make sure, that dev-python/setuptools is installed (for the 
 version of python you are using). If it's installed you could try
 to run python-updater.
 
 WKR Hinnerk
 

I read your question on my mobile phone about an hour ago and didn't
read again before posting.
Sorry for spamming the list!

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

iQEcBAEBAgAGBQJQKgmaAAoJEJwwOFaNFkYcgnwH/0Jtv6LDrgX/kSKzmScHnL6A
5SVo6V7lmItSQrxmKox0DDdhDSoppo+n6xiWQig9YCFX2rbNadrW/hT/eqRRb13p
iVUArA7wVuZPSQMLJgp2BlEDz8LJRieruzRj9lZgeMP6rZPsIzNAVW/NwGDqFH3z
JYGMH5OrVCH6JGN1p5nRzXO5D7K3MddiMJPKbPctMPOJdvU8XN1Q5EVsZnrilG2x
8Rb8WreGAjTTa1f0yttdTbQ8Lb5yjqGMJ6fZsb/fbXAwZoNhIwsnPwW4/SiSY34z
CXN42t7pI3rc5mNM9PSDY9b5Fo2bAHoEVnTP/PFEtf110H9qrdBnZB6m3AApRzM=
=R0r5
-END PGP SIGNATURE-



Re: [gentoo-user] Cannot see Grub menu

2012-08-13 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12.08.2012 05:10, Dale wrote:
 Mark Knecht wrote:
 All of that is the OS, not grub which is in the MBR I think.
 emerge grub-static and then do the install as per the boot
 loader instructions in the manual. It will likely work fine
 then.
 
 Good luck.
 
 
 
 When I did my install, I used grub-static too.  I never tried the
 plain one but was told it could have issues with 64 bit.
 
 OP.  The config files should be fine as far as using the old ones.
 Just run the install commands again.  You know, grub, root, setup
 etc.
 
 Dale
 
 :-)  :-)
 

As far as I recall the issues are with 64 bit nomultilib only. I think
I used grub-legacy on amd64 multilib without issues, though I'm not
sure since I use grub2 since 1.98 came out (without issues, by the way)

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

iQEcBAEBAgAGBQJQKMZwAAoJEJwwOFaNFkYc3bQIAM8QxtfGR4+wjvJsnTw4Bw32
gPCZxp8UwNfydmO64IM/7INw6gwCbi7LWaleiuh+pDDWWKBLze4zGwtuY7BU4/TU
+RTr03ckTSBy/neKgJUmFA3D+wuBQtb+f0Hayd5iWybzWNRcMwhfhAKvYTB/xeVX
6kCFPtMcDWsMkU8kpqsZEUr6q1PFqmxmcgpGRoRE3EO0i5uf3bFyyQa+TIbhAjoF
3a+AtmsRgBKONP8DGDkF1al8xZiPHreYGGoDKh+9MVytil8mbeea9GhLRXsiPuDw
YCHLkhsH0A6duVOkJ4r4scCB2iU0sJXVFgTn9dfxXpNj6iCnu2a8rFe6rYzvwec=
=W8iT
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Sandbox vs userpriv

2012-08-13 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13.08.2012 10:50, Nilesh Govindrajan wrote:
 On Aug 13, 2012 2:19 PM, Nilesh Govindrajan
 cont...@nileshgr.com wrote:
 
 What's the disadvantage of compiling in sandbox instead of
 compiling
 directly with userpriv?
 
 *advantage
 

I think the advantage is that you can compile as root with some kind
of protection. ;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQKMcgAAoJEJwwOFaNFkYco+8H/RpzlTRsA2pcBobv/L81B0J3
UQN8pDOwjaafm0rrjOFFrYG3XPDRML9dv0STULCqcpbtLFjdbmWmbLzn0DCDopbG
mu2yd+ZCac36KKtGJfBLJjKiJz3NwuAMkfpGcUqFK0EaeHkmYLYVi7yWEL9C9j+H
IATc2BJ4HFDgK5VJEYwFK+AlPwqr/Rkepsy38wId8hjKeQCCpsJ/C32we162aiuH
dP2OyfPrrXf0Jkb+9gTuXOlhPCgIlE7eDUfD/S77ysdGG2j6JzDzyPlk2BNz2P+S
5OQTqx2a/FvEU+JtyOEoSM1Ng4fvODfq+26G+T7Mn1mPvND6Eb0U4d+KjHJVuME=
=vAHc
-END PGP SIGNATURE-



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-06 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.08.2012 12:14, Dale wrote:
 Volker Armin Hemmann wrote:
 
 What do you gain if you abuse your drive so hard that its
 lifetime is severly impacted?
 
 
 That if it has a problem that will cause it to fail soon in it's
 life, then I can find it soon.  Remember that curve about failures?
 I would like to get past that first part of the curve.  Maybe by
 the time I get to the later part, I'll have another drive or some
 backup scheme.  Most the failures I have read about in reviews for
 this drive were early or was just plain old DOA.  Testing it will
 get me past that.  I'd rather it fail before I get my data on it
 instead of after.
 
 I thought I posted why I wanted to do this in my first post.
 
 Dale
 
 :-)  :-)
 

Why not simply get you data on it and use it for about 2 weeks? Maybe
you should mirror important stuff to the old drive for that time.

After about 2 weeks of normal usage you should be well out of the
beginnig of that bathtub curve (I always had problems when copying
data to the new drive when I had a bad one, except DOA of course).


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

iQEcBAEBAgAGBQJQH6ESAAoJEJwwOFaNFkYc1f0IAK/UpzNp/r4KBYczYIc9jKmJ
3JBvtCWPZkJ1qRXfZtErTk/oamPa+/iapJSoaoj4p45Uvjq5Qh5WDXiAlZs3U805
X1nCc9OMfKc3KGK3bcSKLhSIA1oV1imdgq1OqH/NeioEqOuVy56ZOdvwq6ml2fwM
1ZjBjsp1uqirork5eyZcJGGoNcsJpX3DvTZ7tBwM0gDFHcu4Yj3alEy7PgiYny4W
z0/K91jnyBouX7+CwtWKvGNgjGqMxXXp4SUS4MuOKs06p4LFKi/gHBRCAYjuTRK1
O3cKfz4nHMI+F2rH48sCAUgT5K88cdiX40lZpqTWyqADUQO9F1ZzTcg4fZW447s=
=s524
-END PGP SIGNATURE-



Re: [gentoo-user] grub2 first installation

2012-07-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.07.2012 09:13, Adam Carter wrote:
 Does it not display any errors?
 
 No - no errors, straight to the grub2 command line.
 
 This menu entry looks good to me (only difference here is kernel
 version, UUIDs and root partition). Sounds like it may not be
 installed correctly... just to confirm here are the few things
 you should have to do:
 
 1. Edit /etc/default/grub Perhaps disable quiet stuff and any 
 graphical settings just for now. 2. Run grub2-mkconfig -o
 /boot/grub2/grub.cfg 3. Run grub2-install --no-floppy
 /dev/sda
 
 Yes that's what i did. No changes to default/grub though.
 
 If you have another hard drive it's possible the order is
 different from when you installed grub, but this would give an
 error
 
 Its a single disk system, and grub1 was fine before i installed
 grub2.
 
 I am assuming that if i don't need an initrd in grub1 i likewise
 don't need one in grub2.
 

It hasn't got anything to do with initrd or stuff like that. The grub
menu comes way before that.

To show the menu there are 2 things that really matter:

- - there must exist a file /boot/grub2/grub.cfg . The important thing
here is the 2: Since Gentoo supports slotted installs of both grub2
and grub legacy it has a different path for grub2. Afaik that's a
fairly uncommon way of doing it (ubuntu and the like use
/boot/grub/grub.cfg).
If you installed grub 2 via portage you should make sure that the path
contains the 2 - if not you could try ist without it.

- - the file has to be sane - the one you posted earlier looks fine,
though. You could try to generate a new one via grub2-mkconfig -o
/boot/grub2/grub.cfg nonetheless.

WKR
Hinnerk

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

iQEcBAEBAgAGBQJQFQAXAAoJEJwwOFaNFkYcuvcH/iIE9vY4v78Is75dCqfD4iAq
EsTersiQvujv9u4Bfjwad/pzoRrgoxgEM74iusNp8VNWKFMPoBNQetG8twoxtnNk
zVgl5jmkkFgRNcscA5DmaFdv+0q3sVBU2EwDuPV5NODemkH9aW4NQEG5V5bUnsfx
OzQ4tS2Ei17WYm6QOBJWMJmO1v7g2l9FnxjIm3c94C1hdOEceRG0yVaJ/rfrYBJE
xr66sbEBsD5VdgY2EM+iVeXn18czO6tSdhhk72voWFGN2CLoAAKj1nMNKB5qfI5b
nFblgqfan1ye9RK6ojS5AJBqbLtP944A3Y3ysEx27KUDZ6TmFjR6b1cx/5f4RZw=
=JjEt
-END PGP SIGNATURE-



Re: [gentoo-user] ia64 LiveCD boot problem on x86_64 machine

2012-07-18 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.07.2012 23:31, Ali Gholami wrote:
 Hi,
 
 I'm trying to install ia64 Gentoo on an Intel 2 core x86_64 machine
 with LiveCD but when I chose the CD drive as boot device it hangs
 on the screen. I checked the downloaded packages using md5sum and
 they seem ok. I tried the x86 LiveCD and it worked fine.
 
 I wonder if anyone can give me some hints why ia64 LiveCD is not
 working on my machine.
 
 
 best regards and thanks, Ali
 

Hi,

the ia64 CD is for Ithanium processors. You should use the amd64 one.

WKR
hinnerk

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

iQEcBAEBAgAGBQJQBy2vAAoJEJwwOFaNFkYcYdMH/0n3M7Lk3VFjKjaBxl5unBTY
wmKF1EZDZCC37Me+JDvcEPH9DZT23LdtY+w9hSxX9LYMZ+fZYi1kj7c+93FowsO3
YYCG7S4rn/IFwK2f697byigMaIhNsVGO3uZR9S5sezZsywLG6Y+rtkeDZ1R+zJZI
rOAvHDZGS1dmfN5y7IAdY/YgTmR4Ddt3BwM+FTOajkWXLTSDRvHwLAN2On+e+OAX
AllmEdzmWI49FxjaKZbUQYqVqmkO7dWDnb+ZQ1bo2GV91N4s8XI1xU5FUMfel0a9
Efwcd0G2ME+W4ynslu1fASNbBKQuuo3dStHEuY3ngTOErsE02REmTeNdjVJI6Bk=
=l6AY
-END PGP SIGNATURE-



Re: [gentoo-user] Random segfaults with gnome

2012-07-13 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13.07.2012 17:24, Pandu Poluan wrote:
 On Jul 13, 2012 7:46 PM, Nilesh Govindrajan
 cont...@nileshgr.com wrote:
 
 On Jul 13, 2012 8:30 AM, Pandu Poluan pa...@poluan.info
 wrote:
 
 
 On Jul 13, 2012 9:49 AM, Canek Peláez Valdés
 can...@gmail.com wrote:
 
 By GNOME you mean, gnome-shell? Do the crashes occur
 randomly, or can you reproduce them? Same with PulseAudio.
 
 
 Yeah gnome shell. There are no traces about segfaults in dmesg
 for gnome
 shell crashes. It happens whenever I open more than 3 windows in
 one single virtual desktop (activity).
 
 About pulseaudio, it works, but I always see segfault message
 from the
 equalizer module in dmesg.
 
 https://live.gnome.org/GnomeShell/Debugging
 
 Have you tried don what this page instructs?
 
 
 Will try that if it crashes after the current rebuild (dual core
 2 ghz,
 takes lot of time).
 
 I've been using GNOME 3 since May last year. No major
 problems so far.
 
 
 90% of NREs (Non Reproducible Errors) are caused by hardware
 problems.
 
 MemTest, albeit a good and thorough diagnostic utility, only
 checks for
 memory problem.
 
 It is likely that some other component on the OP's mainboard
 is
 failing; a component that lies outside the datapath exercised
 directly or indirectly by MemTest.
 
 Rgds,
 
 What component could it be? Or is there some way to dig in?
 
 Could be anything, actually. Perhaps the Southbridge (or whatever
 its nom de jour is) which IIRC handles the sound system. (Because
 Pulseaudio is also having trouble).
 
 Rgds,
 

I have similar problems with pulseaudio (seemingly random crashes
since the update to 2.0) though I haven't had time to debug it due to
exams right now.

WKR
Hinnerk

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

iQEcBAEBAgAGBQJQAECWAAoJEJwwOFaNFkYcPbcIAK7EbubDoD3pCnQZNxaUBMO+
WLqaKRnp+HwrfH81C9AKGMNtHWX30csSZ2MnfmGCDg8W13/dpr3dW+7mjFREncC4
SfTKNHb6Z1zpFC3ESgmoTMDi2AWDFvDj0xwyvTrIX+JNYmxFOZaUqCptd8EChA1k
b2nQheGcVI4kotbFr884b03AgszDQTFQ1yhTwec1/mHEhZUrtEYJV4kDoXy19rL5
LNwLM+oy7bxxPDuOtJGfywLVCpISnyaEPx8B8wyuJOiZYQrhpzuBpd2Iovm5vE4/
Tx86uun5u+PuBEdC1YJ00HYkzrBSjyGyBybOADFzr1tIUR7wqprryCS7KJXjUug=
=dseR
-END PGP SIGNATURE-



Re: [gentoo-user] network scanner not seen by xsane on *some* systems

2012-07-07 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07.07.2012 02:35, Allan Gottlieb wrote:
 I have one network (a linksys) to which all my devices are
 attached.
 
 I have two laptops running ~amd64 and one desktop running amd64. I
 have one scanner, an hp officejet 7310 that is (wired) ethernet 
 attached.
 
 When I try xsane from either laptop I receive the popup saying that
 no devices are found.  From the desktop all is well.
 
 I can print to the 7310 from all three machines. I can ping the
 7310 from all machines.
 
 I would appreciate suggestions for finding the problem.
 
 thanks, allan
 

Hi,

have you checked that the users on the laptops are members of the
scanner group?

WKR
Hinnerk

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

iQEcBAEBAgAGBQJP+EgzAAoJEJwwOFaNFkYcnIwH/A/NWGYQbn+udTEHYR3QX2U1
+GU6JPyPhoOwgEa8mpI65nmM+b0e6Wr9QYS6O1nFtk7ZQVKHdNAaQbf/Y/pRHMGm
E3nWIe/+uz/1IfbSWPUqwZujC1x5UVagAGDWF0EI05kdQDF7S+ONBoY+hQlrMmnQ
FJLv5IiqUSrYJqI7y9LJy8ENSX00nwVeOKJ71Cx0X2i0XquTiw2Fb1Y4tsgXt7yS
aaBhJhxR6mFbM1S19Logd97FuOJob3n2Vkp6+z1+8Fmu7X2dbJrk+B/WrCsmh5yo
1V96PdwxLz8F2ATV3bX7AaAwqLLyOMycQASPLYd+MeuEgkiD0+/slNr5osXVi4g=
=aG+5
-END PGP SIGNATURE-



Re: [gentoo-user] Is it safe to change the start of the first partition?

2012-07-03 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.07.2012 09:09, Helmut Jarausch wrote:
 Hi,
 
 modern fdisk puts the first partition at block 63  while older
 version have put it at block 1.
 
 Now, I'm going to upgrade an older system. Is it safe to
 repartition it by letting the first partition start 63 and 
 shortening the first partition by 62 blocks?
 
 (I will loose the first partition which doesn't matter in my
 case.)
 
 Many thanks for sharing your experience, Helmut.
 

Do you want to resize the partition or do you want to delete and
recreate it?

The second option is no problem, the first could lead to some data
loss (if you are unlucky).
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP8p5gAAoJEJwwOFaNFkYcoDAIAMNRsPzJq8ukcX8SYfpt2TAN
y4UQ8l39zdJx+8WLTHwEAcjDIsYti0xOPzz38RteMCJ4lY6KSDlw7QdpQQv6wK4V
EuNfpnUXrb+ty6Fk6X3mS5bUS6rDmTrxGFVeFJha2tklHR7oPNa8CVrULSccpZrG
spLBUy8q/XxlkjB/dCn2zzfDFhOzAkqmuCxLgGoj7QDBfOBBsCE3HF3JqlkD3JFt
OusMVlFHZf2RI1/1G/R1Hq5WQfQAKe2Y6cLLYvmHGx+gWFbyudIL7FQpsX+orCc0
arUGe5V2swt7NGN3DvjxLbLWubuPmqKfMS/iDNkYUZS3xso2EpVZzUXBU4sLwcc=
=Of29
-END PGP SIGNATURE-



Re: [gentoo-user] Is it safe to change the start of the first partition?

2012-07-03 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.07.2012 09:42, Helmut Jarausch wrote:
 On 07/03/2012 09:25:20 AM, Hinnerk van Bruinehsen wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 03.07.2012 09:09, Helmut Jarausch wrote:
 Hi,
 
 modern fdisk puts the first partition at block 63  while older 
 version have put it at block 1.
 
 Now, I'm going to upgrade an older system. Is it safe to 
 repartition it by letting the first partition start 63 and 
 shortening the first partition by 62 blocks?
 
 (I will loose the first partition which doesn't matter in my 
 case.)
 
 Many thanks for sharing your experience, Helmut.
 
 
 Do you want to resize the partition or do you want to delete and 
 recreate it?
 
 The second option is no problem, the first could lead to some
 data loss (if you are unlucky).
 
 I'd like to delete and recreate ONLY the first partition (which is
 small). The question is, can I keep the other partitions.
 
 As far as I remember, I once deleted the extended partition and
 tried to recreate logical partitions at the same place. But that
 didn't work.
 
 Helmut.
 
 

If the first partition is a primary partition it's no issue. If it is
inside a extended partion it gets tricky, because the extended
partition acts like a kind of container.

- From your description I guess it's a boot partition, which normally is
a primary one. In that case just delete it and recreate it afterwards.

Note: you may need to reinstall you bootloader afterwards (due to the
changed partition data) and don't forget to toggle the bootable flag
for that partition.

If it's an extended partition I fear that my experience doesn't
suffice to give you qualifield hints as I try to avoid them.


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

iQEcBAEBAgAGBQJP8qSkAAoJEJwwOFaNFkYcKSIH/i1USa0uUOGqfwaYZeJf9fhA
tSshu2Hu74KZZedkoVgu/zWIYpbPdu1al60elUR20TGXVtE7FXukpakjYLCb/50i
Izj9RAhkbk719TbeJ78Vmu7hVn+zXGMBsoRM6WsrLlm0rw1WhrRElunbkJ6qeURS
Bw2ZecSsnrxa3V89fizFHbQkWb15iN0O5afIbgLGgiwtzxhRCNRSNWJrNKpHiu2n
tnGO7A+0wWDbV7d2ua8mCwKYBa+Rxs9HerENaOY4jQaA8nxJoBW/Pplb7OZA5KZ0
q/Cv8MFhuMjci4EQ1RNNNucmTqzGZ4uLmhWrXNdzG0TKZ2IkvBKXDeptb+bs810=
=SBZ0
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-07-02 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.07.2012 13:09, Stefan G. Weichinger wrote:
 Am 02.07.2012 11:34, schrieb Stefan G. Weichinger:
 
 Runs OK now. Gotta check the advantages now.
 
 One issue:
 
 I had to set
 
 GRUB_DISABLE_LINUX_UUID=true
 
 in /etc/default/grub
 
 because at boot-time I always hit a nasty issue around blkid.
 
 It can't find libgcc_s.so.1 somehow. I rebuilt buysbox, util-linux,
 genkernel ... bla ... didn't fix it. Might have to do with
 gcc-4.7.1 or something?
 
 dunno. I googled around but didn't really find something fitting.
 
 Ideas, anyone?
 
 Otherwise the migration was quite OK for me ..
 
 Stefan
 

I've successfully build (and installed) grub-2.0 with gcc-4.7.1
(hardened, not vanilla) and UUID works for me. Have you tried
revdep-rebuild/ emerge @preserved-rebuild ?


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

iQEcBAEBAgAGBQJP8YWhAAoJEJwwOFaNFkYcDfYH/ig8o6Fig3PWopEemmUGJTos
7txNHhKzt2HzMqdeEcNhIzE5yag3UUjc4511RE5UKmWr0CRqwk8TaJlbnqnMZn+q
hhCdXa5AjBBL1DvrizkRDx52jYPknMMoX2DbxgDGf3HbwFQkgFT4uJdxJ87R3LNH
Y0+ydYLyTBAwKb9RlwZTJkZBJs6i0bIon+0Lz2RUYh2N1XiL0CiWO1WeB9SCkHFk
M4FVvl7chaZ8jRNQZyXrjDDz0iGK9XcFiyPSLr2Q5Jgfx7jf/XqWGB8o+ol18LvI
EoMGhnIA8E9n8o5LcCcYL91bFndiP3BfCxa2TPX2KrXJWmovaboDNlWU3NCG3MA=
=QSP3
-END PGP SIGNATURE-



Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.

2012-07-01 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.06.2012 22:24, Dale wrote:
SNIP
 
 A, I can name it kernel.  That makes more sense to me.  Me
 votes for kernel-x.y.z.  Heck, this may work for me.
 
 I still don't like the deal of having to run something after
 changing the kernel tho.  It seems to lilo-ish to me.
 
 Dale
 
 :-)  :-)
 

You could also change the bash script:

it resides in /etc/grub.d/10_linux

the relevant part is:

case x$machine in
xi?86 | xx86_64)
list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
  if grub_file_is_not_garbage $i ; then echo -n $i
 ; fi
  done` ;;
*)
list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-*
/vmlinux-* /boot/kernel-* ; do
  if grub_file_is_not_garbage $i ; then echo -n $i
 ; fi
 done` ;;
esac


as you can see there are 2 parts: one für x86 and x86_64 and one for
the rest.
If you add it to the list it will find everything, you could even call
it my-personal-kernel.

You only should add the path as well (/ or /boot/).

I've doing so for the initramfs for a while (I  have one static
initramfs which don't need to be updated for every kernel since my
config disables kernel modules).

Works fine. - You should only remember to look at it after a grub
update (though normally etc-update and co take care of that)

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

iQEcBAEBAgAGBQJP8N7GAAoJEJwwOFaNFkYc+1wIAI401zc2YVMeXgDWl7uTwufZ
7/GeU81fQwyhJod7bcvVecvW3TaQ82IL8oubI18uc3OsjE4QxMLUwC0rJay1RPdU
sm/Y2hF+hRhPoowERj4AcvIDK3Uze9SLaLDkbRyadVqtD6/mdIAqMo+Bj6AT6tPV
SXWy0butZ4JiVpWGOaqza0Nlk90ClfUk6v8+COprFG6LPRB0R/+U73jtG7RjfF/r
QFnsdMSXQeOpDheRyQvpXiVDKFEeTsB9Hn9YZg8HemgXXxuHhZrnwMi9RWUgCVBi
QUJJnbDcayXKk24MOiEpwDCxppRuOAkT+Avb5lC8uZr0JBb23T5LVBdcFc2oeNM=
=n02R
-END PGP SIGNATURE-



Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.06.2012 20:46, Allan Gottlieb wrote:
 Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub), 
 an update world will merge grub-2.00 along side my current 
 grub-0.97-r12.
 
 Am I correct in believing that, if I *do* the emerge but *not* do 
 anything else with grub, I will continue to use legacy grub
 (-0.97-r12) whenever I boot?
 
 I realize I can add sys-boot/grub:2 to package.mask
 
 thanks, allan
 

Yes - to both

- - you can mask the slot for grub2
- - you can install grub2 (that is the binaries) and continue to use
grub legacy (until you issue grub2-install device).

Personally I use grub2 for at least 2 years (1.97 or something like
that) and encountered few to none problems.
I find it even more comfortable (due to automatic config generation).

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

iQEcBAEBAgAGBQJP7fpbAAoJEJwwOFaNFkYc2EwIAItuXOtIVlM5cliFnuYTrCgA
eQ7iXSgE0PuBW7ShEIG2GU5HNzxhkMwNZbmxF4fUS6AEbbI/b9ie0YIdAOBwS1FB
bRxHGtW2DxcnR4f6ih7QKjBZ9Mc7wKmIma1+/7NfkCfcvEG3BT2SkWPRxPTU8xOV
GWKH2ZuYEk00R1mvhD7tScVEhFS0xs82iS6K3KLd+kptKd6K0uPDphfTg+5yfqam
dAV0RHO2cYAswB/nNTRpTJ3uGQZnR+HJCsyF0NplZ4skqbtp3yas324x0UaHdOw0
8rTkJFDA0BPN4JnN+L58Po00jJLVzGcWO5t9WGLEStaavLeNdsMEfIDxoZtPUeY=
=T0Ig
-END PGP SIGNATURE-



Re: [SOLVED] Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.

2012-06-27 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27.06.2012 15:58, Michael Mol wrote:
SNIP
 
 The other big thing I kept hearing about was try changing 
 {this|that|other thing}; it might be affecting glibc, because glibc
 is a whiny b*tch. Are there alternatives to glibc?
 
SNIP

Alternatives? Hardly, I think. There are some lightweight variants:

- - sys-libs/uclibc
http://www.uclibc.org/

- - dev-libs/dietlibc
http://www.fefe.de/dietlibc/

comes to mind, but afaik they don't have the full functionality of
glibc. uclibc seems to be enough for XFCE, though (there is a hardened
stage4 with XFCE named lilblue made by blueness)

WKR
Hinnerk

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

iQEcBAEBAgAGBQJP6xooAAoJEJwwOFaNFkYc0awH/0409HsXvLNgHV4PIE6Jn3Ar
vDOP0yxlmnSwCBcaOlmZoXn3nOiY3AlL5EQtqFM2RJdBv1YMPLtyboqLqbff/Im4
U2Akr7qxXu0qZogwnBYKSHDsupqcTUB4PNS6J0HDvCzeBlaZFF5bgw6P1eD6nRct
A4R2wtIwKEoCbUxzSZxjSG0IGTcPruMlX2yV67Yukvsl+XhjoQxhkO3DPECoivpx
0Oqu8dP7mIgVe0Sh9nApZTMgsrw3hH5ezDo9reNKROgCDIjegKvqI5Ts8P1XzjZn
68UTN0pelaj3j7wciM9aUYxu48p4J5pTQfE3t4/T5/DVsBlHqHfqR4kBqSG7Dhw=
=PPAJ
-END PGP SIGNATURE-



Re: [gentoo-user] Building a binary package without installing

2012-06-06 Thread Hinnerk van Bruinehsen
On 06.06.2012 12:25, Nikos Chantziaras wrote:
 I wish to build a binary package of glibc-2.14.1-r3.  I don't want to
 actually install it on my system.  Just build a tbz2 for it to use on
 another system.  Is there a way to do that?  Portage aborts when
 emerging an older glibc and won't let you proceed, so I can't just
 install it normally and them build a binpkg.
 
 

you should be able to use:

ebuild path-to-ebuild/glibc-2.14.1-r3.ebuild package

Quoting the manpage:

package
  This command is a lot like the merge command, except that
after fetching, unpacking,  com‐
  piling and installing, a .tbz2 binary package tarball is
created and stored in PKGDIR (see
  make.conf(5)).

You may need to set PKGDIR.


WKR
Hinnerk




Re: [gentoo-user] Decoding portage output

2012-06-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.06.2012 10:30, Andrew Lowe wrote:
 Hi all, Can someone please point me to the doco that decodes the
 following errors:
 
 **
 
 Calculating dependencies... done!
 
 !!! The ebuild selected to satisfy dev-vcs/git has unmet
 requirements. - dev-vcs/git-1.7.8.6 USE=blksha1 cgi curl iconv
 python threads webdav -cvs -doc -emacs -gtk -perl (-ppcsha1)
 -subversion -tk -xinetd
 
 The following REQUIRED_USE flag constraints are unsatisfied: cgi? (
 perl )
 
 The above constraints are a subset of the following complete
 expression: cgi? ( perl ) cvs? ( perl ) subversion? ( perl )
 webdav? ( curl )
 
 (dependency required by sys-devel/gettext-0.18.1.1-r3[git]
 [ebuild]) (dependency required by dev-perl/Locale-gettext-1.50.0
 [ebuild]) (dependency required by sys-apps/help2man-1.40.10[nls]
 [ebuild]) (dependency required by sys-devel/automake-1.11.5
 [ebuild]) (dependency required by sys-devel/libtool-2.4.2
 [ebuild]) (dependency required by app-misc/screen-4.0.3-r5
 [ebuild]) (dependency required by @selected [set]) (dependency
 required by @world [argument])
 
 
 **
 
 In particular the cgi? ( perl ) part.
 
 Thanks in advance,
 
 Andrew
 

To put it simple: if you want to use one of cgi,cvs or subversion,
you'll need to activate the perl useflag too (same fpr webdav and
curl, though that dependency is satisfied).

WKR
Hinnerk


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

iQEcBAEBAgAGBQJPzHOlAAoJEJwwOFaNFkYcdSMIAIn0+SqluauGTMLM9Ju2zJUb
yXuggSBF9KFh6HfWICczih/3IN8+EiS7rXtgbmAw3qyzxly7K1/+4JHRr2tUIdpO
JA8CAPzLE+0WPhCyhXSh2D7DbjwaDTQ3BmSvg71KuZRnTj9yA0D93h7O/gbe/sRG
6c3JIpyXlPGtJwMmnTG6AMw8VnWXJpIW3NplwFSoaTYEXzyyR2CpL7WdevkQJJf1
+IocOog0xfom+oHHAiwWMt0YuVzeFfpn3yJ9/PHbDmkR3xNJ0YebovcWcgBG7Rdg
bVUU9SuF0Pw0lOslDTruVvilJLvAAVQf07kFkdZIbj/q41sdSUtc2yzwPbQoaCk=
=ZsdU
-END PGP SIGNATURE-



Re: [gentoo-user] Decoding portage output

2012-06-04 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04.06.2012 12:50, Andrew Lowe wrote:
 On 06/04/12 16:36, Hinnerk van Bruinehsen wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 04.06.2012 10:30, Andrew Lowe wrote:
 Hi all, Can someone please point me to the doco that decodes
 the following errors:
 [snip]
 ...
 ...
 ...
 [snip]

 Hinnerk
 
 Hinnerk, Thanks for the decode, but where did YOU get the knowledge
 from? I want to understand this, so I don't have to send you an
 email every time I get one of these and need it decoded ;)
 
 Andrew
 

Ok, I'll try t explain it:

 The following REQUIRED_USE flag constraints are unsatisfied: cgi? (
 perl )

First: it states that a REQUIRED_USE flag is not set. That means that
some functionality depends on a special useflag.
The next line states, which useflag is the one in question and which
useflag it needs:
You could interprete cgi? as If cgi is set, then test for the
following and ( perl ) is the flag which is tested.


The rest is simply for more information:

  The above constraints are a subset of the following complete expression:
cgi? ( perl ) cvs? ( perl ) subversion? ( perl ) webdav? ( curl )

It follows the same syntax, though.

I hope this si helping...

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

iQEcBAEBAgAGBQJPzJjgAAoJEJwwOFaNFkYctgwH/3GH2Fv1etxKNFGTOxCQATYv
5KVsjWRyvjKVKQ1oLBZIUjKbzJKn+piSRjbRcS86x7e/PV+sC8SrUxysagjTK3Jd
62yv9DH3BuyKO59X7pczCcZRjBg0MrOwtSWZYpDtlHyEAtclZphj02O0o3Ciwh8C
aRJH+2yw4tYsk1AaSeWl3hzyzUQEEuv0rk1zhBF16bp9uTlELMX3GJGNUCqEHcei
w7Zis6BG9VODSaKYAfadqtDVWD9HEnMBHcJQSZBdit6GkrI5gF6OC/f7D2EIu3x/
ZlI+wqG41KRjk2r3GBI3YU/PJPFuRI4O+ZVA1DcVac8GxQcDaMf5Jhj9Zt3ueoQ=
=3BG3
-END PGP SIGNATURE-



Re: [gentoo-user] Re: ~gcc-4.7.0

2012-06-02 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.06.2012 04:37, Nilesh Govindrajan wrote:
 On Jun 2, 2012 6:08 AM, walt w41...@gmail.com wrote:
SNIP
 
 Has anyone tried compiling chromium 20 (as of yesterday) and
 libreoffice 3.5.4.2 using gcc 4.7.0? I am unable to do so. Using
 unstable Amd64.
 
 -- Nilesh Govindrajan http://nileshgr.com
 

Openoffice: No

Chromium 20: Yes - they're a bit of a PITA...

It won't work without some patches. Mostly missing includes for
unistd.h (in most files is a

#if defined(OS_ANDROID)
#include unistd.h
#endif

where it is needed (ideally in a #id defined(OS_POSIX) (or LINUX?)
#endif block).

I've got no time to look into the versions 20.x to 21.0.1155.2 and my
custom patch for 21.0.1155.2 also fixes a selinux related issue.

If you google you'll find some other patches (even one on
bugs.gentoo.org) which max work for you (depends on version, I think).

I'll attach my patch for reference.

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

iQEcBAEBAgAGBQJPybgeAAoJEJwwOFaNFkYcu2YIAIa3xtDXMD7hFy/7iI5yEhd2
eLE5+GswNKYdCeYRaLvuqQpWJnm2GZj7UQVklxd1qgA2UhxgHCZkiya5Uj8M3va6
iE8e2TfCwAUqkL69/9HAXQh+cuHreq7ZAP9/+1yUaH8NOa9gZluIzyZv/TtO/PiJ
wDK6Zhar/MlpFOrduz3m0gFuJun1fruVGvT9cIWRTDSsMmsGm6l88JNG1YyXtmZV
yoL5ZfT0g+Lw1IJ6C03WEFG8yW/nXjE9wIojjzQoC3fkBmTPNWmcXdz5LzPx8T+P
rc9WQf8IGRQwA8ME8LPEJZdGxZmT170nOs74TqwJOs7F2YGAwL+N0euHF8DCilg=
=16Fc
-END PGP SIGNATURE-
diff -ru chromium-21.0.1155.2/chrome/browser/policy/policy_path_parser_linux.cc chromium-21.0.1155.2.new/chrome/browser/policy/policy_path_parser_linux.cc
--- chromium-21.0.1155.2/chrome/browser/policy/policy_path_parser_linux.cc	2012-05-30 03:47:01.0 +0200
+++ chromium-21.0.1155.2.new/chrome/browser/policy/policy_path_parser_linux.cc	2012-05-30 23:53:01.123823731 +0200
@@ -4,6 +4,10 @@
 
 #include pwd.h
 
+//#if defined(OS_POSIX)
+#include unistd.h
+//#endif
+
 #include chrome/browser/policy/policy_path_parser.h
 
 #include base/logging.h
diff -ru chromium-21.0.1155.2/content/public/common/sandbox_init.cc chromium-21.0.1155.2.new/content/public/common/sandbox_init.cc
--- chromium-21.0.1155.2/content/public/common/sandbox_init.cc	2012-05-30 03:46:30.0 +0200
+++ chromium-21.0.1155.2.new/content/public/common/sandbox_init.cc	2012-05-30 17:09:00.044889918 +0200
@@ -6,6 +6,8 @@
 
 #if defined(OS_ANDROID)
 #include unistd.h
+#elif defined(OS_POSIX)
+#include unistd.h
 #endif
 
 namespace content {
diff -ru chromium-21.0.1155.2/content/zygote/zygote_linux.cc chromium-21.0.1155.2.new/content/zygote/zygote_linux.cc
--- chromium-21.0.1155.2/content/zygote/zygote_linux.cc	2012-05-30 03:46:27.0 +0200
+++ chromium-21.0.1155.2.new/content/zygote/zygote_linux.cc	2012-05-31 04:04:32.072791812 +0200
@@ -31,10 +31,38 @@
 #include content/common/sandbox_methods_linux.h
 #include content/common/zygote_commands_linux.h
 
+#if defined(CHROMIUM_SELINUX)
+#include selinux/selinux.h
+#include selinux/context.h
+#endif
+
 // See http://code.google.com/p/chromium/wiki/LinuxZygote
 
 namespace content {
 
+
+#if defined(CHROMIUM_SELINUX)
+static void SELinuxTransitionToTypeOrDie(char const* type) {
+  security_context_t security_context;
+  if (getcon(security_context))
+LOG(FATAL)  Cannot get SELinux context;
+
+  context_t context = context_new(security_context);
+  context_type_set(context, type);
+  const int r = setcon(context_str(context));
+  context_free(context);
+  freecon(security_context);
+
+  if (r) {
+LOG(FATAL)  dynamic transition to type '  type  ' failed. 
+  (this binary has been built with SELinux support, but maybe 
+  the policies haven't been loaded into the kernel?);
+  }
+}
+#endif  // CHROMIUM_SELINUX
+
+
+
 namespace {
 
 // NOP function. See below where this handler is installed.
diff -ru chromium-21.0.1155.2/content/zygote/zygote_linux.h chromium-21.0.1155.2.new/content/zygote/zygote_linux.h
--- chromium-21.0.1155.2/content/zygote/zygote_linux.h	2012-05-30 03:46:27.0 +0200
+++ chromium-21.0.1155.2.new/content/zygote/zygote_linux.h	2012-05-31 03:31:16.013928301 +0200
@@ -16,6 +16,8 @@
 
 namespace content {
 
+static void SELinuxTransitionToTypeOrDie(char const * type);
+
 class ZygoteForkDelegate;
 
 // This is the object which implements the zygote. The ZygoteMain function,
@@ -106,7 +108,6 @@
   int initial_uma_sample_;
   int initial_uma_boundary_value_;
 };
-
 }  // namespace content
 
 #endif  // CONTENT_ZYGOTE_ZYGOTE_H_
diff -ru chromium-21.0.1155.2/content/zygote/zygote_main_linux.cc chromium-21.0.1155.2.new/content/zygote/zygote_main_linux.cc
--- chromium-21.0.1155.2/content/zygote/zygote_main_linux.cc	2012-05-30 03:46:27.0 +0200
+++ chromium-21.0.1155.2.new/content/zygote/zygote_main_linux.cc	2012-05-31 04:04:21.383792544 +0200
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the 

Re: [gentoo-user] Portage telling me what it's doing

2012-06-02 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.06.2012 08:08, Andrew Lowe wrote:
 Hi all, I've just kicked off an emerge -NuD world and will now
 head out for a while. My emerge has to do, amongst others, gcc,
 libreoffice, Firefox  Thunderbird. Now when I get back I'll want
 to know where the emerge is up to so, in my ignorance of
 portage/emerge in great depth and with only compiler output spewing
 up the screen, I'll fire up another terminal, and now don't laugh,
 I'll do emerge --pretend -NuD world. That will tell me what's
 currently being compiled as it will be the top thingy on the list.
 There has to be a better way
 
 Is there a way so that the terminal that the emerge is happening
 in can display additional info? At the moment, I get:
SNIP
 here... sort of thing.
 
 Any thoughts, greatly appreciated,
 
 Andrew
 

I normally issue something like

cat /var/log/emerge.log | grep -i compiling | tail -n 1

from another terminal. It shows the last package for which compiling
started. if you change the -n 1 to -n 2 it'll show the last 2 packages
(if you leave it out, you'll get the last 10).
You could also replace compiling with i.e. merge (then it'll look for
another part of the build process.

Otherwise (like Walter stated) most terminals within X (that I've
tried) add this info to the titlebar.

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

iQEcBAEBAgAGBQJPybnNAAoJEJwwOFaNFkYcBkYH/35c9bgkWUyFORyPfcqsYvPA
qAgKTBpS9i4FdA+TJYKBP+DpkNvlQlCtyb3I3YrrADSZKrQIopX9He55FDrxDh+6
/iySLA7/0DgKlJgxTofrXbJHpvZHsCjRF21UQJdk57RYD6JBGarCywJF52vNkNVz
c2C9FfeZHXM1CdqWHApIE0UPa+mq6mnk81XrzbQ39PT6ObLuxVpsD8hVPO5puMLD
+yYD3thNWyXx3WkDq1ZaR+sT+ZfYKjezByLS+N4Nj+BAAa5yC8I3A8b1HzCylo6d
sfbltqbLSHdTtQhZJQq7EHqbqjJ3xs0HUkhzNqRHNJIoMFVkyQs3VnuHjjvNMBE=
=WvQg
-END PGP SIGNATURE-



Re: [gentoo-user] no keyboard on fresh install

2012-06-01 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01.06.2012 10:33, Harry Putnam wrote:
 On a fresh install on older dell P4, I've been unable to get the
 usb keyboard to respond.
 
 It responds at the grub screen, but once past there... no response
 
SNIP
 
 Anyone have ideas on this?
 
 

So your keyboard works within the bios and in grub, but not once the
pc is booted?

Sounds like a driver-issue to me. You should check the kernel config
for usb and hid options.

CONFIG_HID and CONFIG_USB_HID especially come to my mind.

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

iQEcBAEBAgAGBQJPyIDlAAoJEJwwOFaNFkYcTUUH/1XPhRc11leEe6+kouh1RAtT
Csh7BzqpvYOkPS8RXZfxQtAzhLSW1Dh7sUscHlBr5YBoQ0Uq3m6jcNxDWl9WWq3R
osj107cM1waBDwsZA6pL/OEEGTvkS6l+j6FmwRpWf58WdvLh9aVcbc0ghRUBCCym
gFalPdekwpFP8XV6S9d8SR5XCkp3SRMaZX0Yo6KxMxDglK2WKZQMXcc2Gr3OaE6g
3396F5f+JekR+USgXWQfrR1ucqXJp4FTc7kjDPFY6Wgcg6/eihInZSS8R2N8TVjl
IkhCMWMoFxoV6bN2YWxq5Azvl1vy5rBlNGREj51O8lldSCO4Sq4gl6ZiW5IxVGA=
=Etcw
-END PGP SIGNATURE-



Re: [gentoo-user] libpcre.so.0 not used, yet system broken...

2012-05-31 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 31.05.2012 19:34, Jarry wrote:
 Hi, I updated recently libpcre to 8.30-r2 on ~10 system without
SNIP
 
 Does anybody remember what was the 2nd package linked to 
 libpcre.so.0, which had to be recompliled after libpcre upgrade?
 
 Jarry

On my system:

equery d libpcre
 * These packages depend on libpcre:
app-admin/syslog-ng-3.3.5 (pcre ? dev-libs/libpcre)
dev-lang/swig-2.0.4-r1 (pcre ? dev-libs/libpcre)
dev-vcs/git-1.7.8.6 (perl ? dev-libs/libpcre)
net-analyzer/ettercap-0.7.4.1 (pcre ? dev-libs/libpcre)
net-analyzer/nmap-6.00 (dev-libs/libpcre)
sys-apps/grep-2.12 (pcre ? =dev-libs/libpcre-7.8-r1)
sys-apps/less-445-r1 (pcre ? dev-libs/libpcre)
www-client/epiphany-extensions-3.4.0 (pcre ? =dev-libs/libpcre-3.9-r2)

equery d -a libpcre spits out tons of packages, though. Assuming the
ebuilds have the right dependencies set, you could try it yourself and
reemerge the things listed.

That should be at least a start...

WKR
Hinnerk

PS: equery is part of gentoolkit
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPx697AAoJEJwwOFaNFkYcfUMIALGx1RTijj6+8RGrF1uySfiK
DN0IPUo5JeCWF8qwCq4Nqf4Sjsy7B/o2dqSA/CxmYZHu+JU5DCIu0Sk+mNz2HObR
kiEYh6YtotBqS19rOsgIB+d4OophhYY/c/YJk6wxNLFl0UjvWjXJYGGJwZTj3aV4
tKpkbSda/j3tXJAxdLLcxz0QNTLAM9tEkvQK0ukZYPJsiCy2gmJswLRYxtHo7O22
LTft3p2KSPosgNChSBxSqN31MH40DCZY7zL+AoixTNiWRivM3l4Nl6G63IWmP81X
7m5QENwUxouEj3k5mQ7OljkCgwu1HwEshCpc1sCPbOy0oVAeBwCkooQ8Hfp1uaw=
=yffo
-END PGP SIGNATURE-



Re: [gentoo-user] Re: xfce4 4.10 xsane and Application -- Run Program not working

2012-05-30 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.05.2012 04:37, Joseph wrote:
 On 05/29/12 19:23, walt wrote:
 On 05/29/2012 06:23 PM, Joseph wrote:
 
 2.) Application -- Run Program a windows pups up.  When I
 type: nano 1.txt
 
 Nothing happens.
 
 Please be more specific about 'nothing'.  Does nano just close 
 immediately with no error message?  Does it hang forever until
 you hit ^C, or what?
 
 What do you see if you type 'which nano'?  What about 'echo
 $PATH'?
 
 which nano gives me: /usr/bin/nano
 
 I can run nano from command line but when type nano + file name in
 Run Program it should open that file but it doesn't, no windows
 pops up.
 

Since I haven't installed XFCE it's a bit of guesswork: have you tried
xterm nano?
That works for me (I'm using gnome, though). You could also try to run
a program with a gui (like firefox).
I don't think that it ever worked for me to enter a shell command and
actually see the result in a window.

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

iQEcBAEBAgAGBQJPxcVdAAoJEJwwOFaNFkYcLAsH/3X7GCfOKRZC398Bzx4TKWFD
3kEhT+l07pBargCaGNQAZvRgr6TEMf23ib42z+knl20xeYH/QAxYfICE0UKrDYmp
3M6oJiwjRKdScTfIRYwk1T85zSPEhgNS+9C2g1/1lelQaDylMKcKP1p5scWTfSyz
nqolF6SvKWFRVP1xIQ/W1Rf8+QcZzMCZauL6r1fmFWQ/aio2Waql/GIIeEm9Q2gI
RrIlP40Pd7kuJN2pyw38vcguVv34BOZJEDnmpLV3UndcA53zpZ/acNkUXIV59jdh
ovKpuRWlgwYUzyei/AsIb05L+Ifd816etqC3Q1Cm028q54WjiPaUAjGVrnVl9DQ=
=aqxP
-END PGP SIGNATURE-



Re: [gentoo-user] ~gcc-4.7.0

2012-05-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28.05.2012 22:04, Stefan G. Weichinger wrote:
 
 As GCC-4.7.0 appeared for ~amd64 now ...
 
 anyone recompiled system or world with it already?
 
 More advantages or disadvantages?
 
 Thanks, Stefan
 

Hi,

as far as I can tell it works mostly. There are some packages which
seem to break:

- - firefox and thunderbird, if I remember correctly
- - chromium (theres an open bug on bgo)
- - hardened-sources: the neccessary gcc-plugins don't work because they
can't find the right symbols because gcc-4.7 is normally compiled with
g++ which mangles the symbols. Don't know how to work around that,
though it seems to be possible to compile gcc-4.7 with gcc - I just
don't know how

For all packages which break it's possible to switch to your old
gcc-version (unless you uninstall it).

WKR

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

iQEcBAEBAgAGBQJPxKRBAAoJEJwwOFaNFkYcFQwH/RrmekPPrJmtlMuJTtxt6MyH
vsevdcmQTR89CMJtFETbI7FZDHaB6olq0dOXr/4lOlAi3BegSsam/tGfabeJQb/w
zLhDhR/hd3/YbQhqI4BzeWkpCqRYYr41dVXMCqGcydrfRmrT0ipXqggD0WqjHM/p
ZZb4WRjjbYeoCiZkE9GZtkpPHMmulifdeIrNszW7g9r//W8Lb6tCDFtWE+bnEn6Y
l2+XDGQh7/D9GiDXRUYfObuDfVwdnAHf/6Bgt4m2LR2wzEm6WNlMI1XEyPkYAHD+
390bQU2tu6Ha+n1Rl32HhMeGNHIJ3WSmLtoTlY7HiuDDiDxfhnrPDHmlZTFVWV8=
=9/eD
-END PGP SIGNATURE-



Re: [gentoo-user] xfce4 4.10 xsane and Application -- Run Program not working

2012-05-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.05.2012 05:23, Joseph wrote:
 On 05/29/12 20:39, Joseph wrote:
 On 05/29/12 19:23, Joseph wrote:
 I just upgraded to xfce4 4.10 but two program are not working:
 
 1.) USB scanner, when I run xsane nothing is detected
 
 lsusb is listed the scanner: ... Bus 002 Device 004: ID
 04b8:011b Seiko Epson Corp. Perfection 2400 Photo
 
 in /etc/sane.d/epson2.conf # epson2.conf # USB usb net
 autodiscovery
 
 When I try to run xsane it gives me: Supported devices are
 busy
 
 How do I find out which program was upgraded and related to
 xsane?
 
 When I run as root: scanimage -L (it finds the scanner) device
 `epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
 
 when I run it as user: scanimage -L
 
 No scanners were identified. If you were expecting something
 different, check that the scanner is plugged in, turned on and
 detected by the sane-find-scanner tool (if appropriate). Please
 read the documentation which came with this software (README, FAQ,
 manpages).
 
 Any pointers why it can not detect scanner as user?
 

Is your user in the scanner group?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPxbOXAAoJEJwwOFaNFkYcAxcIALYorI9en2xn/K11KwrVA1X1
QLO4TnB1haLLPNOi6ZJAJ4RRVcW8f3oYY2Hay2FXZQf3YTLOuLc+FCBEFLK+JvkZ
8HuG6USQZV+eklZvuFc0WVyb86nWmuvyDJO3X1Tx61Q0BOFTPGxClzZ4DeWt5P3f
emHN1yzrVTKXE53Tn5IByP0likj7mR4cvdniMDah44XC0iIpsRXxsIXtBaZ09RJK
xWj+ID5IdSlCyOlmSpx/ba3t5X4g8Fo+aJ43UGmggeP95Bt1SHggyZmGzZQ/6VmZ
YrYpfR+tZbsuVwaSs8m4MpIFZN9Zmq1BREdG+W0U9uT6e6p36MBPmPVZHCQi6Ak=
=2VC6
-END PGP SIGNATURE-



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-17 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17.05.2012 22:13, Michael Scherer wrote:

 
 1) make output:
 
 CHK include/linux/version.h CHK
 include/generated/utsrelease.h CALLscripts/checksyscalls.sh CHK
 include/generated/compile.h LD  init/mounts.o ls -Al -m
 elf_x86_64 -r -o init/mounts.o init/do_mounts.o 
 init/do_mounts_initrd.o init/mounts.o: No such file or directory 
 make[1]: *** [init/mounts.o] Error 1 make: *** [init] Error 2
 
 There is an LD, the ls line is part of the error message.
 

 
 contains a directive to build mounts.o, see second last line, but 
 it for some reason this is ignored. Maybe there is a flaw in that
 command, only I can't find it.
 
 regards, michael
 
 

Have you tried a make clean on your sourcetree?

CHK include/linux/version.h

IS for me one of the first lines I get at all. It seems strange to me
that you get a call to the linker (LD) before even a call to the
compiler (CC).

I'd suggest you try a make clean first and try to build again
afterwards (with -j1 or without a statement for jobs) to rule out race
conditions.

If that doesn't help, move your kernel sources to another directory
and reemerge the sources. Copy your .config (ideally one of a working
tree) and try again. If that doesn't help, try to get a working
default config (like from /proc/config.gz from a live distro).

WKR

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

iQEcBAEBAgAGBQJPtWSXAAoJEJwwOFaNFkYc8tAH/iV59mb5MsH0pJ28dXUqe0X6
tcbKB18vIQYmjG9gecGX4lVtgXCIhTqVeHEKbQVN4xRMo9u7D7FxygHtRY7sfYrk
dvR9fs4RfIoykVeCF/0uVSNZnoXhixarYtr8FGvIKCxvUJnY/ws4W+k5tP8Ju8lJ
wM5ldQ/eD8H4vFm4fIStQheTGERZlueNBVf77cLx8K/8p0XBvVM85V/epg+fC4I4
bfWG1JtXrh1MUmaE+Y26aNOXGkUZiHax49CBiOUQLZNjk6f5idGppWV03HTL4mCV
+dI6lNaUqU0AhnoG3yIOK8lY4kFu3QmNw4h1r+OCctASMJe8dUOTnF53TjJzYQk=
=TguL
-END PGP SIGNATURE-



Re: [gentoo-user] Grub2, chroot, initramfs

2012-05-16 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16.05.2012 04:37, Paul Hartman wrote:
 Hi,
 
 I'm trying out grub2 for the first time on my old laptop. I'm 
 following the guide at:
 https://wiki.gentoo.org/wiki/GRUB2_Quick_Start which seems easy
 enough. Basically just emerge it, install and go.
 
 However... two different questions:
 
 When I did this from a chroot, I just got the GRUB prompt upon 
 rebooting... no menu or anything. I can manually type linux 
 /boot/vmlinuz root=/dev/sda3 and then boot into my system. When I
 run grub2-mkconfig from within the chroot, I don't get any Found
 linux image lines. It does not create /boot/grub2/grub.cfg but
 rather grub.cfg.new. So I don't know if it's confused about where
 /boot is or what. Is there a trick to installing/updating grub2
 config from within a chroot?
 
 Second, when running grub2-mkconfig from within my working gentoo 
 system, it fails with error: failed to get canonical path of 
 /dev/root. which is apparently because I don't use an initramfs.
 I must manually run ln -s /dev/sda3 /dev/boot before it will
 work. Is there any trick to avoid having to do that every time? For
 now I have simply added that to my after-kernel-update script but
 I'm curious to know if grub2 knows how to handle this on its own
 somehow.
 
 Thanks, Paul
 

If I recall correctly you need to mount /sys for grub2 to sucessfully
detect devices.
mount -o bind /sys path-to-gentoo/sys should suffice.
proc and dev should be mounted according to the manual.

If you use a /boot- partition mount it, when you are inside the chroot.
Doing so it worked like a charm for all devices I installed that way
(3 in the last 3 months, if I recall correctly).

With kind regards,

Hinnerk

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

iQEcBAEBAgAGBQJPs2UIAAoJEJwwOFaNFkYcgrcIALVB1QY/HOX/xkDesJkRSLjS
rvK4m/WDde6FsmT2B3XSSZ9W6aVAfdJO8+GM+0MolpRT64fp7wNtAr0yaV4ALRr8
tNxk0YqWXPcSmh4LIsagKKnMuCCajHXZMK7AWPqnyAtifKPlP14j4H2T9cNegPvz
doR9DF2sU/TPyCzVrvq1ouMelXkao9EC7ejQ39nnZ12PrxrdqapITpkqjJ2OuTOn
NylZS6HQnZw+A8uLVuUD+Mclu/Z+sRbSEUAQelHSDe3knA7MZTkeXBrUoKj4g63r
2YRnrJACxeeJkIVxGOuVTQIT7a0A5TZHzMiv8wWTbIfDstPUBkGd3iV6Jvl3ndM=
=tTo+
-END PGP SIGNATURE-



Re: [gentoo-user] HP A8 laptop install

2012-05-15 Thread Hinnerk van Bruinehsen
On 15.05.2012 11:11, Alex Schuster wrote:
 Stroller writes:
 
 I boot from a SystemRescueCD and follow the Gentoo quick install guide.

 This has never failed me.
 
 For me it did, half a year ago, several packages failed to build due to
 strange libtool errors. It took me some days until I found the solution:
 unset path.
 
 Libtool uses this variable without unsetting it before, and SystemRescueCD
 defines it as environment variable, which is still available in the
 chroot. This messed things up a lot.
 
 Apart from that, I really like SystemRescueCD.
 
   Wonko
 

Did you do env-update  . /etc/profile after entering chroot?
I always thought that setting the right environment variables was the
purpose of that.

I personally an Ubuntu-Live-Thumbdrive, because some time ago (2 years
or so) it wasn't possible to install gentoo with LUKS on a btrfs volume
from the gentoo minimal cd.

The advantage of a live cd (especially for a beginner) is the
possibility to read the manual and google problems while installing.
Another possibility to do that would be an installation via ssh (works
nice too).





Re: [gentoo-user] What to use for Flash?

2012-05-13 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10.05.2012 13:47, Dale wrote:
 Hi,
 
 There was a thread a while back that talked about flash.  Well, I
 let mine upgrade and now it crashes, badly.  I unmerged adobe-flash
 then tried lightspark and gnash.  Neither of those work on sites I
 tried, which is sites I go to a good bit.
 
 Since Adobe is dropping Linux flash, that's what I read anyway,
 what is everyone using for flash now?
 
 Things I tried so far:
 
 www-plugins/adobe-flash-10.3.183.18 
 www-plugins/adobe-flash-11.2.202.233 
 www-plugins/adobe-flash-11.2.202.235 gnash-0.8.10-r2 
 lightspark-0.5.6
 
 The version that worked last is:
 
 www-plugins/adobe-flash-11.1.102.55
 
 It's no longer in the tree of course.   sighs 
 
 Ideas?
 
 Dale
 
 P. S. I'm working on a overlay.  Any guesses on how well this is
 working out.  lol
 
You should be able to install an old version via a custom overlay. The
ebuild should be here:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-plugins/adobe-flash/adobe-flash-11.1.102.55.ebuild?hideattic=0view=log

I would warn you to use it with caution since flash has a long history
of vulnerabilities and normally it should be one of the last packages
to keep a version from the stoneage (for flash it translates to older
that 2-26 weeks, normally).

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

iQEcBAEBAgAGBQJPr6WeAAoJEJwwOFaNFkYce4sIAMDsHdMGOPL7rgchZDLLlrQ8
gTir67fawcPWZAwSc+0gN4wBBximmXYqdWyoZhGt8FJT70TDxy8hKR4leojkAS6k
MtA87A7zCAW3AiW/sP+WeLt6wpjf+4lD3+iFwAclLGfvSg+4llNV0n08QaD3dCRL
DSbQF1nUHw7uWsRa+YWFGbU8/v5TO5SsF+LGV7lx9henf3hWOKfpAGGvGqWIUsVm
1N6sj+09bLYdl9pfjYM+0OEiVUTih/eR9k2blhk3Gi5o4+p2d4DzRziV5n+DwD+r
1r0gwK//gf+EF5CnXvcjSztgw3pE2QWPTPJvmVPdf27jWdX2YIWo3FeWckl5aOI=
=GSok
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Please help, kernel can not load root

2012-04-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.04.2012 21:42, Ignas Anikevičius wrote:
 On 29 April 2012 19:21, walt w41...@gmail.com wrote:
 
 On 04/29/2012 11:35 AM, Ignas Anikevičius wrote:
 Hello,
 
 it's been several since I have tried to make my machine boot
 again without any live CDs and I could not narrow the main
 issue down. The problem is that the kernel can not mount the
 root partition.
 
 The error message is unknown block(2,0), which may mean that
 your kernel lacks a driver for your disk controller.  IIRC the
 kernel config menu for block devices has changed.  Maybe you need
 to set CONFIG_ATA or some other obscure item in your kernel
 config to make the correct driver visible?
 
 
 OK, How to find out which controller I am using at the moment
 whilst using a live CD? I have successfully chrooted into my system
 from a Mint Live CD, so I should be able to inspect my system
 either using Mint utilities or the Gentoo ones.
 
 Thanks, Ignas
 

You could try lspci

I would recommend to try it from the live cd (because under gentoo you
may need to emerge it first - otherwise it doesn't matter).

Within the output search for something like SATA Controller or PATA
Controller. If you can't find a matching driver google for the output
of lspce and kernel module.
If it's a SATA device in most cases the generic AHCI
(CONFIG_SATA_AHCI) seems to work.

You could also try lsmod though the problem is, that you would need to
know the names of possible modules.


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

iQEcBAEBAgAGBQJPnZuXAAoJEJwwOFaNFkYc89sIAJdkpDKC3oro0a2K6BFqTL0R
YUrC6wiRv6uG4egKgVrpM4HfbsGFejgRDI0rFT+2qkFfkljqBSIFHJ54OrgviOr9
YzSDeodt/qzwKv3Eki0oB8XsPnOHo1pLRp2lmPpNb5YJNjlHXX6NmXNDbiYfgzdw
FP6+eCErDOUjGYpyRLEn+hkHdzD8bXsLpfpEDmcWN5duUQWA7oQJV8xcA5k2kD3F
P6PKGbdoXVN7TCjBDrpmDsKmzH885C2vXC2RjML75q4Wrsozn+PADfCge6e+T50s
TvtA8AO777uXnqvaOlt/1RNVHz+Mzx69iLxBHGG2lMkvKMoVsIYWEvW1FpWwqcM=
=RJWR
-END PGP SIGNATURE-



Re: [gentoo-user] genkernel assistance building initramfs

2012-04-23 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23.04.2012 19:52, Michael Mol wrote:
 So, my habit is to have /usr sit on top of LVM on top of mdraid. I 
 really don't want to get into the business of manually managing my
 own initramfs, and udev = 181 will eventually hit stable. I want
 my systems ready before that.
 
 Now, having looked at the pertinent documentation, it looks like
 the command I need to run is:
 
 genkernel --lvm --mdadm --disklabel initramfs
 
 and then add the initramfs to my grub setup.
 
 The trouble is, genkernel dies on me. I tried for some feedback in 
 #gentoo-chat, and DrEeevil gave me two clues:
 
 13:34 +DrEeevil that shouldn't even be possible 13:36 +DrEeevil
 mikemol: looks like static linking didn't on your system
 
 I don't know where to take things from here. I'm hesitant to file
 a bug on b.g.o, because the tail end of genkernel.log specifically
 says not to file build errors as bug reports.
 
 So...any ideas? This is an amd64 mostly-stable system, and dracut
 is still masked on amd64, which is why I'm trying to get genkernel 
 working.
 
 I've attached genkernel.log
 

You could try to add:

sys-apps/busybox static
sys-fs/mdadm static
sys-fs/lvm2 static

to your package.use and re-emerge the three packages. Afterwards try
it again and see what happens...

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

iQEcBAEBAgAGBQJPlcVQAAoJEJwwOFaNFkYcY2AH/3C4KNg1zcxT6o1BpV+/vIlT
Cj2cpnEskUr2t7IscVAYGRln8EkAnQS1900rwtmEl2tPaf/4TcDEgMkD2nDS6zNz
d3Qjz64bwVT56oIKW1+n1E+hVyHvswIaVQdr4scxqVMAhlRntXxHwl+VZqsAPL3e
JJeNdubmJrdXPW+EPi62w6et/RV4NNBv6yOyqjjeuMdi3io/rHwVaueDJqcS/2hn
BVabY8Z6HdiguzAAzqH+/m/Mfk7Jpd9Dg/J73a4jnnHwR/BYAdtcq6QETYQLqaGR
wtjw4rJdpHqWymDMcvpwoZCrkRJMhPaGlZUD0bXVzp6Je0OkDq+DS3AyDy5BgKQ=
=snDA
-END PGP SIGNATURE-



Re: [gentoo-user] Re: pambase/shadow warning

2012-04-21 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21.04.2012 17:30, Allan Gottlieb wrote:
 On Fri, Apr 20 2012, Neil Bothwick wrote:
 
 On Fri, 20 Apr 2012 13:22:20 +0100, Neil Bothwick wrote:
 
 I'll run the update again today, paying more attention, and
 see what happens.
 
 What happened is it broke again, with no obvious signs of the
 cause. conf-update reported only trivial changes to three
 files.
 
 I've just tried it on my netbook and the same happened, but I
 think I'm closer to the cause. The three files in /etc/pam.d are
 login, passwd and su. After updating, there were ._cfg* versions
 of these files, but no originals, so conf-update just deleted
 them. It turns out these were owned by shadow but now belong to
 pambase. I suspect that pambase installed them as ._cfg versions,
 because the others already existed, then shadow removed the
 originals as they were no longer part of the package.
 
 Whether this is a bug in portage, the ebuilds or conf-update is
 open to debate, but conf-update ought to handle the situation
 better. I'll file a bug later if no one beats me to it.
 
 First, thanks for the warning.
 
 There is a bug filed
 https://bugs.gentoo.org/show_bug.cgi?id=412721
 
 The comments there say that if you run etc-update right after the 
 emerge all is well (but this isn't sufficient for people who use 
 screen, detatch, and log out).  Someone also mentioned
 dispatch-conf working.  No one mentioned cfg-update, which I use
 (and I believe neil does as well).  Could the problem be dependent
 on which configuration file updater one uses?
 
 I have not updated my primary machine.  I did update another one
 (both machines are ~amd64) including a cfg-update -q, but have not
 rebooted it.  The secondary can su.  This seems to suggest that
 cfg-update is sufficient in some cases.
 
 Am I correct in believing the safe procedure is to add
 
 =sys-auth/pambase-20101024-r2 =sys-apps/shadow-4.1.5.
 
 to /etc/portage/package.mask (or a file in that directory)?
 
 thanks, allan
 

Hi,

I actually used cfg-update -u on 3 different machines up to now.
So cfg-update can't be at the core of that problem.
Maybe it's some kind of race-condition or the bug depends on other
things too (e.g.: I'm using gnome and gdm also puts some files to
/etc/pam.d which maybe mitigate the issue somehow) - pure speculation,
though.

The syntax for the masking seems to be correct (since shadow-4.1.5-r2
already has hit the tree maybe the problem is solved. Otherwise you
would most likely like to mask -r1 and -r2 also).

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

iQEcBAEBAgAGBQJPkwltAAoJEJwwOFaNFkYcuRwH/2FoHs4JwplMRZlSS4dtg388
y82/o4Cu60kgbdC1kHS7d/OXhu5ZHgTH1KhxW3zZZYxSBc6yGlTV4XBnBveEPBQG
R7VkBwLMK7kgQewQGBO2GVIVzDlKa2QtZAHTySgqFritZXZeYrpC5FXC+yj3/k3S
tpwZ2RcTFjdaCK8fbELRLtFK4DO00+j7Zs+3NvUz33tTSg8RBKh908DX6IRGW557
Ypd1o1X+Ea8RJcPN71Z8k4EGfwOI3nJW/kpttar3NdRfio6Kc7Gb8MYFeMFIGnX2
AVRTu7pfhdlkjR7+BCXm5kpMtcMZmhN1jelOj8lKtrZsC2VRuYbyjsT+1rssO8Q=
=CPBN
-END PGP SIGNATURE-



Re: [gentoo-user] Re: pambase/shadow warning

2012-04-20 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Before etc-update severaly login-related things didn't work for me (su
not possible for example). After running etc-update everything seems
to work fine for me (e.g. selinux and gnome3).
I must confess that I didn't use sshd on my laptop so I can't say
anything about that.

With kind regards,
Hinnerk

On 20.04.2012 02:12, walt wrote:
 On 04/19/2012 04:41 PM, Neil Bothwick wrote:
 On Thu, 19 Apr 2012 15:39:25 -0700, walt wrote:
 
 That would have failed on su. It works because I have key 
 authentication for SSH. Otherwise I'd have been screwed.
 
 That seems like a (possibly) helpful clue.  When you
 downgraded, did you do etc-update again, or were you asked to?
 Did you run it after the original upgrade?
 
 No, no and no.
 
 Just to confirm, are you saying that you did *not* run etc-update 
 after the original upgrade?  I remember clearly from this morning 
 that etc-update asked me to replace some files in /etc/pam.d, and I
 said yes to all. (I don't understand pam well enough to disobey 
 orders ;)
 
 
 
 

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

iQEcBAEBAgAGBQJPkQgcAAoJEJwwOFaNFkYc5I8H/0EWKBxnGZg90NS1zg2jzELh
5aFfK2KV+OrDrBgnYYeSupFjuC6Cyo5BkWs2eB6t47RF3cG0aM9sl4fSdRJ+pmUc
Fbs0XAaa6jrwsjjtz9o5pgMNIOlZHmFyS6rlMGaj9kMTg8TSWBqBNY3ZbLFDx8gT
DkXLCuXOU8tUGYXn8rjbDn6KAxtQzRIfATLBEl3xk/Sa6stAUIwVWvtSK4tk42gI
LaMQ4SwwYskinYfRjn/zBjvbFv0ae+w3790UaiV2MlpGzvd0GN9RN3oW4DzhyuvQ
k8S+IviozMkEMotVhdB/I//88x052WF/cvG5ncJO1Yeop64pyZ/WF6nl+tYJXwM=
=gHkI
-END PGP SIGNATURE-



Re: [gentoo-user] Re: CORRECTION - Problem with eix-REMOTE update...

2012-04-18 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.04.2012 12:32, Tanstaafl wrote:
 On 2012-04-17 12:21 PM, Tanstaafl tansta...@libertytrek.org
 wrote:
 On 2012-04-17 1:41 AM, Vaeth va...@mathematik.uni-wuerzburg.de
 wrote:
 So if it is the differing versions problem, the solution is to 
 upgrade to the most recent (~x86) version of eix, currently
 eix-0.25.3: echo app-portage/eix
 /etc/portage/package.accept_keywords  emerge eix
 
 Is this safe to do while remaining on the stable version of
 portage?
 
 Anyone?
 

eix-0.25.3 works great for me (incl. eix-remote) - if that's what
you're asking.. ;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjqClAAoJEJwwOFaNFkYcpgMIAMh8zov0obf6sOAiJfB0gkSW
JAOQRLOW9p+35nacMLR5RXI/h2EuJc2YDicdQNHLMHUwOHhrRJ9W60f4i2V4s2im
EHSNrDsB65jZGtmqommEmauMJn91UQ6F9b43/nOHCXUi/pPhBkEl7eFPQrbNzkDm
gUJJ2Nb7oy0+32eMyAby4GjLcZ84KXFaG7o7QlwxISSi43B2BORhySuP/qf4HZ7w
pwUUL/iAspXHUAJJIA0OjNIgXrXZhaFNxRrKoabbs6PKIF9DMsyJLRput1tMQrnw
VnLsAwOakf6Gf99jfUp+Kiy+K8bKMwkfE+NSRQ3L7oGSFVThIWhVzMnqiQVmcQA=
=u0fK
-END PGP SIGNATURE-



Re: [gentoo-user] How to display all dependencies?

2012-04-05 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.04.2012 12:13, Helmut Jarausch wrote:
 Hi,
 
 is there a command which shows all dependencies of a package?
 
 Unfortunately, qdepends doesn't do the job, e.g.
 
 qdepends kde-base/kde-meta shows no dependencies at all while there
 are more than 200 of them.
 
 Many thanks for a hint, Helmut.
 

Hi,

equery can do it for you:

equery depgraph package

short is:

equery g package

The default settings are a depth of 1, showing only direct
dependencies. You can customise it by using --depth, e.g.:

equery g --depth=4 kde-meta

equery is part of gentoolkit

With kind regards,

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

iQEcBAEBAgAGBQJPfXhVAAoJEJwwOFaNFkYc0nIH/2TKmWn/86F9USfsz+H9pXJw
HaVAOMbJwplt5QaGgBRVzv4rDsady+NwCOW2N3q39pX9kwQv8HvN4eso8R9bCCTb
16X2SeXQsIE1ITDHhk8TXFQHQ43JMVsvM/rYo7HImjWwrN6HIRCtrc9uaRILtzjW
LJVHrvVQ+/hDGNxNrjNKOp7Md8dslxRz10ge2yTU5VQY5A8uMKLrkAZOmZzZHSjy
rh3iaFVQr0vPsw6z8krOmHCqCdg1NGsWcnglQUXmxlGbZB2mbiJKdBNISuA/60vd
AhbcRQQj7xHb0I553+ZSnMOkurcYEZNHEqiA20po/sMgCF2XES+Oad5WnDzNyCQ=
=qhba
-END PGP SIGNATURE-



  1   2   >