Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Fernando Rodriguez
On Monday, April 27, 2015 1:24:59 AM Stroller wrote:
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
  The following USE flags were used in my building of firefox 31.6.0:
  
 USE=bindist dbus jit minimal startup-notification -custom-cflags
 -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
 (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
 -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
look up media-libs/libvpx then its description explains that its about the 
WebM VP8 codec. It would be better if it explained that this is a _video_ 
codec, but Gentoo's USE flag and package descriptions have always been rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
https://www.youtube.com/html5 page again.

I believe that's just an option between using the libvpx bundled with firefox 
as recommended by mozilla, or using the system libvpx.

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
versions are actually unstable in any way, and if I google youtube html5 
firefox I find that Google will enforce the use of HTML5 video on YouTube for 
all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
HTML5 video player in Youtube by default and Firefox 37 Released With Native 
HTML5 YouTube Playback

Firefox 37 still uses the flash player for youtube. It will fallback on HTML5 
if the flash player crashes. There's an update on that page that the change has 
been delayed.

-- 
Fernando Rodriguez



Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Alan McKinnon
On 27/04/2015 00:23, Michael Orlitzky wrote:
 On 04/26/2015 05:28 PM, Philip Webb wrote:

 More seriously, once you start working on (3), you'll realize
 that just because the error msgs suck doesn't mean you can make them better.

 If they suck, they're not worth issuing, are they ?
 I'm not willing to become a dev, so I'll never know if I cd improve them,
 but it doesn't follow that no-one else could.

 
 They give you the information you need to update your question.
 
 You don't need to be a Gentoo developer to contribute to portage. They
 have a mailing list and all patches are posted there for review, Gentoo
 dev or not.
 
 
 If you're willing to wait an hour, it might be able to come up
 with a list of ways you could resolve a conflict, but basically
 all of them will be wrong, eg suggestion #1, uninstall everything.

 Really, this is a flippant response to a serious issue,
 which is being raised more often on the Gentoo User list.

 
 It wasn't meant that way -- I was trying to point out that this is one
 of those problems that sounds easy but turns out to be incredibly hard.
 
 Dependency resolution is already slow when it only takes your installed
 packages into account. It would take oh-so-much longer if you wanted to
 consider what if questions involving the entire tree. And most of the
 suggestions it would come up with are indeed ridiculous. Uninstalling a
 few things in @world will probably solve your conflict. Is that not a
 valid suggestion in some cases? Why not? Can you determine those cases
 automatically without input from the user?
 
 I'm not saying it can't be done, but it's deceptively hard to
 (automatically) come up with a list of non-ridiculous suggestions before
 the user in question dies of old age. Relevant xkcd:
 
   https://xkcd.com/1425/
 
 


I'm aware of the scope of the problem, and I'm not asking portage to
infer what I might want or suggest solutions I didn't ask for. Besides,
what I want is already unambiguously defined by world and the contents
of /etc/portage/.

I'd be much happier if portage took the information *it already has* and
formatted it's output as something a tad more parseable to human brains.
Right now what it's doing is the equivalent of a core dump with an
attitude of ah, fuck it, I give up. Here, you figure this shit out.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread Stefan G. Weichinger
On 24.04.2015 13:56, J. Roeleveld wrote:

 dracut has to assemble /dev/md3 at first (this is the single PV in the
 VG VG01)

 and /dev/VG01/genroot then is the filesystem with the new gentoo-rootfs

 I only added stuff like rd.md=1 etc ... I think I got the assembling
 wrong. And maybe even the root= option.
 
 This is one of the reasons why I have given up on genkernel and dracut for 
 initramfs creation and now simply build my own and have it integrated into 
 the 
 kernel:
 $ zcat /proc/config.gz | grep INITRAMFS_SOURCE
 CONFIG_INITRAMFS_SOURCE=/usr/src/initramfs/config
 
 If you're interested I will send you the required files.

Yes, I am.

I looked at generating it via dracut and get confused a bit.

I try to generate it on another gentoo-host by editing a specific
dracut.conf whic contains the md-related lines:

kernel_cmdline+= rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4
kernel_cmdline+= rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5
kernel_cmdline+= rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c
kernel_cmdline+= rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad

(to assemble the raid-arrays at boot)


I run

dracut -m lvm mdraid bash -c dracut.conf  -f init2.img 3.18.9-gentoo


and it ends with:

*** Store current command line parameters ***
Stored kernel commandline:
 rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4
rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5
rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c
rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad
 root=UUID=6eafd21c-c5f4-496d-bb90-ab4dc0a2c93c
rootflags=rw,noatime,stripe=64,data=ordered rootfstype=ext4
*** Creating image file ***
*** Creating image file done ***


... so the root=  is looked up from the host I run the command on and
not fitting the target machine ... etc etc

hmm

Does root= inside the grub-config override these lines?

Should I use

dracut --no-hostonly-cmdline ?

Way too much variables in here ...  especially when I can't just press
Reset and try again.

Stefan




Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Fernando Rodriguez
On Monday, April 27, 2015 1:24:59 AM Stroller wrote:
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
  The following USE flags were used in my building of firefox 31.6.0:
  
 USE=bindist dbus jit minimal startup-notification -custom-cflags
 -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
 (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
 -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
look up media-libs/libvpx then its description explains that its about the 
WebM VP8 codec. It would be better if it explained that this is a _video_ 
codec, but Gentoo's USE flag and package descriptions have always been rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
https://www.youtube.com/html5 page again.

I believe that's just an option between using the libvpx bundled with firefox 
as recommended by mozilla, or using the system libvpx.

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
versions are actually unstable in any way, and if I google youtube html5 
firefox I find that Google will enforce the use of HTML5 video on YouTube for 
all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
HTML5 video player in Youtube by default and Firefox 37 Released With Native 
HTML5 YouTube Playback

Firefox 37 still uses the flash player for youtube. It will fallback on HTML5 
if the flash player crashes. There's an update on that page that the change has 
been delayed.

-- 
Fernando Rodriguez



Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Fernando Rodriguez
On Monday, April 27, 2015 1:24:59 AM Stroller wrote:
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
  The following USE flags were used in my building of firefox 31.6.0:
  
 USE=bindist dbus jit minimal startup-notification -custom-cflags
 -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
 (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
 -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
look up media-libs/libvpx then its description explains that its about the 
WebM VP8 codec. It would be better if it explained that this is a _video_ 
codec, but Gentoo's USE flag and package descriptions have always been rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
https://www.youtube.com/html5 page again.

I believe that's just an option between using the libvpx bundled with firefox 
as recommended by mozilla, or using the system libvpx.

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
versions are actually unstable in any way, and if I google youtube html5 
firefox I find that Google will enforce the use of HTML5 video on YouTube for 
all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
HTML5 video player in Youtube by default and Firefox 37 Released With Native 
HTML5 YouTube Playback

Firefox 37 still uses the flash player for youtube. It will fallback on HTML5 
if the flash player crashes. There's an update on that page that the change has 
been delayed.

-- 
Fernando Rodriguez



[gentoo-user] Re: Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2015-04-26 10:49, Alan Mackenzie wrote:
 Hello, Gentoo.
 
 When I read a blog in Firefox 31.6.0, there are often You Tube film
 clips embedded in it.  When I attempt to view these, I am getting,
 more and more frequently, the error message (from You Tube):
 
 Your browser does not currently recognize any of the video
 formats available.  Click here to visit our frequently asked
 questions about HTML5 video.
 
 Fair enough.  The connection between the first and second sentences
 is a bit vague, but I surmise from them that the video is available
 in HTML5 format (whatever that is) and the link will instruct me on
 setting it up.
 
 Not a bit of it!  That link, https://www.youtube.com/html5, says
 this:
 
 Many YouTube videos will play using HTML5 in supported browsers.
 You can request that the HTML5 player be used if your browser
 doesn't use it by default.
 
 If you encounter any problems, right-click on the player and
 choose report playback issue, or let us know on the user support
 forums. Your feedback will help us continue to improve the
 player.
 
 , without telling me _how_ I can request that the HTML5 player be
 used. Exactly what the player is that I should right-click on
 remains obscure.
 
 I feel that I'm missing some crucial piece of information which is 
 obvious to everybody else.  I'd like to view these video clips.
 Any help people can offer me would be gratefully received.
 
 The following USE flags were used in my building of firefox
 31.6.0:
 
 USE=bindist dbus jit minimal startup-notification -custom-cflags 
 -custom-optimization -debug -gstreamer -hardened (-pgo)
 -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg
 -system-libvpx -system-sqlite {-test} -wifi
 
 Thanks!
 

One of the ways to get H.264 video to work is to enable USE=gstreamer
on Firefox, which will allow Firefox to use any plugin that GStreamer
1.x supports.  If you then also set USE=ffmpeg on gst-plugins-meta,
you will have GStreamer supporting any codec that ffmpeg or libav
(whichever you have installed) supports.  If you set USE=x264 on
gst-plugins-meta, you will get H.264 support via libx264 as well.  One
of those options should get you support for viewing H.264 videos on
Firefox.

- -- 
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJVPZYGAAoJEEIQbvYRB3mg0msP/31EZ4PwXWSXZGozS0oRCf/5
/MqyfMqcDRUm2FiZL5elcwsKYkUIrCnbm0aMzO4zYu5Yx9dvGI/t3nA/V0zAYBYL
Y6vXTUkhE3V7WyrZrtm6z/+jyaHcNZPYwlyNmzu3stfAn2xHF7DfQl7+RdeeRHhh
VucLKC5bDSWblAYzrkvE76mj3gLpuAlsG6s1kQYXf3c0D4hU86PBV0b4uciDf4xk
27y3qL390TIrfYzCyDRNWrTsVJ+zod4RYfI7LHwBx1CpOtu9m+40+k9NpaeBLVUA
kuotRDs/B301xowUnWJybwd7Uu1mWAyBSBsmqNKUvbEwuimLxF++dqUPmltrdyzJ
Mv/5FLB0o96OVWTRDjouhXLz0pvmvHtS0RLvdnvek55jYSYNMPWNP7t/peP2tx6o
GGvikRz2plAYWqayovsyr6YDRfMlLl06MLDJd+3gA4FTho/3oa11xU/eIlyGzzAp
eBp9ulxLcRo8T5rG2iWm+JDZ4pomHg3EOjG/rCICM9iUbkxUCitCyCDgTuYIlYpg
ZRF0pMy85MX68JOlSXJS+SCdlgXblgRg29PbLUuFfGtZPmQmSQNs7LP1vyssf/8f
cIC+afiWLLhb6/wE73lGkuc8XLBAT2h/DgX0njGAlhD/Rmax8PznZ1WlKogrxAeJ
rMPa4fvk+GoFHMf6Uqah
=CFrl
-END PGP SIGNATURE-



[gentoo-user] Recommendations for WLAN-AP?

2015-04-28 Thread wabenbau
I'm searching for a new WLAN-AP that is fast, powerful and reliable. 
I can remember that there were some recommendations in this list some
weeks/months ago, but I can't find them.

Regards
wabe



[gentoo-user] Hard drive storage questions

2015-04-28 Thread Dale
Howdy,

I have a 3TB hard drive that I use for my /home partition.  I'm going to
be having to expand this before to long, lots of videos on there.  The
4TB is a bit pricey and I would end up having to expand that to before
to long.  So, I got to thinking, why not buy another 3TB drive and just
add that which would double my space.  I use LVM by the way.  I may try
BTFS, (sp?).   Either way, adding a drive shouldn't be to much of a
problem.

On one hand, adding a drive would double my space.  It would also spread
out my stuff in the event a drive failed.  On the other hand, one more
drive to have spinning that could fail too.  These large drives makes me
wonder sometimes.

What do you guys, gals too, think about this?  Just add a drive or buy a
larger drive and move things over?  Or is this a six of one and half
dozen of the other thing?

Dale



P. S.


Filesystem   Size  Used AvailUse% Mounted on
/dev/mapper/Home2-Home2  2.7T 1.8T  945G  66% /home





Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Matti Nykyri
 On Apr 27, 2015, at 3:24, Stroller strol...@stellar.eclipse.co.uk wrote:
 
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
 The following USE flags were used in my building of firefox 31.6.0:
 
   USE=bindist dbus jit minimal startup-notification -custom-cflags
   -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
   (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
   -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
 look up media-libs/libvpx then its description explains that its about the 
 WebM VP8 codec. It would be better if it explained that this is a _video_ 
 codec, but Gentoo's USE flag and package descriptions have always been 
 rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
 https://www.youtube.com/html5 page again.
 
 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
 versions are actually unstable in any way, and if I google youtube html5 
 firefox I find that Google will enforce the use of HTML5 video on YouTube 
 for all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
 HTML5 video player in Youtube by default and Firefox 37 Released With 
 Native HTML5 YouTube Playback

A little bit OT, but does anyone know how to satisfy Firefox's need for audio 
device. If I have no asound.conf Firefox will use hw0,0 for audio output. If I 
set asound to:

pcm.!default {
 type hw
 card 0
 device 0
}

ctl.!default {
 type control
 card 0
 device 0
}

Sorry. Wrote this from memory so there might be a typo somewhere. With these 
settings Firefox don't playback anything... Other applications and flash plugin 
works perfectly.

How could I get firefox to use hw0,3 or hw1,3 for HTML5 audio playback?

-- 
-Matti


Re: [gentoo-user] Re: And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Michael Orlitzky
On 04/26/2015 04:48 PM, james wrote:
 
 One simple fix is this blockage of packages that do not need to be blocked.
 When I wait more than 5 or 6 days to update, I often get many packages to
 build, running something like 'emerge -uDNvp world'. Yes I know I can sit 
 there and go through every package with --ask, but that is a huge
 waist of time, particularly if you poll user desires. So I find all
 the packages (ugly little cut|awk|sed|paste script) and install everything
 that is not really block. Source  update and then concentrate on the 
 actual blockage. I'd be surprised if this is anything other than a trivial
 fix to portage (hello no, I'm not working on portage!; Zac is very smart and
  capable and look how he struggles...).
 

File a bug for this! I've wished for it myself. Maybe it's easy to do
and it doesn't exist because nobody has asked.




[gentoo-user] Re: Problem compiling dev-lang/gdl-0.9.4

2015-04-28 Thread marco restelli
Sorry, the subject in my previous message was wrong.

Marco

2015-04-28 15:53 GMT+0200, marco restelli mreste...@gmail.com:
 Hi all,
I am trying to install dev-lang/gdl-0.9.4 but I see the following
 error:


 -- Could NOT find PLPLOT (missing:  PLPLOT_LIBRARIES)
 CMake Error at CMakeLists.txt:313 (message):
   plplot library is required but was not found.

   Use -DPLPLOTDIR=DIR to specify the plplot directory tree.

   (suitable Debian/Ubuntu packages: libplplot-dev,
   [plplot9-driver-xwin])(suitable Fedora package: plplot-devel)


 I have plplot with use flags

  * Found these USE flags for sci-libs/plplot-5.11.0:
  U I
  + + X: Add support for X11
  - - ada  : Add bindings for the ADA programming
 language
  + + cairo: Enable support for the cairo graphics
 library
  + + cxx  : Build support for C++ (bindings, extra
 libraries, code generation, ...)
  - - doc  : Add extra documentation (API, Javadoc,
 etc). It is recommended to enable per package instead of globally
  + + dynamic  : Build with dynamic drivers
  - - examples : Install examples, usually source code
  + + fortran  : Add support for fortran
  - - gd   : Add support for media-libs/gd (to
 generate graphics on the fly)
  - - java : Add support for Java
  + + jpeg : Add JPEG image support
  + + latex: Add support for LaTeX (typesetting package)
  + + lua  : Enable Lua scripting support
  - - ocaml: Add support/bindings for the Ocaml language
  - - octave   : Add bindings for sci-mathematics/octave
  + + pdf  : Add general support for PDF (Portable
 Document Format), this replaces the pdflib and cpdflib flags
  - - pdl  : Add bindings for dev-perl/PDL
  + + png  : Add support for libpng (PNG images)
  - - python   : Add optional support/bindings for the
 Python language
  + + python_targets_python2_7 : Build with Python 2.7
  - - qhull: Add bindings for media-libs/qhull
  + + qt4  : Add support for the Qt GUI/Application
 Toolkit version 4.x
  - - shapefile: Enable support for ESRI shapefiles
  + + svg  : Add support for SVG (Scalable Vector
 Graphics)
  - - tcl  : Add support the Tcl language
  - - test : Workaround to pull in packages needed
 to run with FEATURES=test. Portage-2.1.2 handles this internally, so
 don't set it in make.conf/package.use anymore
  - - threads  : Add threads support for various
 packages. Usually pthreads
  - - tk   : Add support for Tk GUI toolkit
  + + truetype : Add support for FreeType and/or FreeType2
 fonts
  - - wxwidgets: Add support for wxWidgets/wxGTK GUI toolkit


 Does anybody have a suggestion?

 Thank you,
Marco




Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Fernando Rodriguez
On Monday, April 27, 2015 1:24:59 AM Stroller wrote:
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
  The following USE flags were used in my building of firefox 31.6.0:
  
 USE=bindist dbus jit minimal startup-notification -custom-cflags
 -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
 (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
 -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
look up media-libs/libvpx then its description explains that its about the 
WebM VP8 codec. It would be better if it explained that this is a _video_ 
codec, but Gentoo's USE flag and package descriptions have always been rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
https://www.youtube.com/html5 page again.

I believe that option is just a choice between using the libvpx bundled with 
firefox (as recommended by mozilla) and using the system wide libvpx.

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
versions are actually unstable in any way, and if I google youtube html5 
firefox I find that Google will enforce the use of HTML5 video on YouTube for 
all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
HTML5 video player in Youtube by default and Firefox 37 Released With Native 
HTML5 YouTube Playback

I'm using firefox 37 and it has always used the flash player. It has fallen 
back 
on HTML5 a few times because the flash plugin crashed. It uses flash even if I 
open a private session (no cookies) or even if I move the ~/.mozilla 
directory, It also says on that page that the option to switch between HTML5 
and Flash was removed on firefox 33 and I still have it so they must have 
changed their mind.

-- 
Fernando Rodriguez



[gentoo-user] Problem compiling sci-libs/plplot-5.11.0

2015-04-28 Thread marco restelli
Hi all,
   I am trying to install dev-lang/gdl-0.9.4 but I see the following
error:


-- Could NOT find PLPLOT (missing:  PLPLOT_LIBRARIES)
CMake Error at CMakeLists.txt:313 (message):
  plplot library is required but was not found.

  Use -DPLPLOTDIR=DIR to specify the plplot directory tree.

  (suitable Debian/Ubuntu packages: libplplot-dev,
  [plplot9-driver-xwin])(suitable Fedora package: plplot-devel)


I have plplot with use flags

 * Found these USE flags for sci-libs/plplot-5.11.0:
 U I
 + + X: Add support for X11
 - - ada  : Add bindings for the ADA programming language
 + + cairo: Enable support for the cairo graphics library
 + + cxx  : Build support for C++ (bindings, extra
libraries, code generation, ...)
 - - doc  : Add extra documentation (API, Javadoc,
etc). It is recommended to enable per package instead of globally
 + + dynamic  : Build with dynamic drivers
 - - examples : Install examples, usually source code
 + + fortran  : Add support for fortran
 - - gd   : Add support for media-libs/gd (to
generate graphics on the fly)
 - - java : Add support for Java
 + + jpeg : Add JPEG image support
 + + latex: Add support for LaTeX (typesetting package)
 + + lua  : Enable Lua scripting support
 - - ocaml: Add support/bindings for the Ocaml language
 - - octave   : Add bindings for sci-mathematics/octave
 + + pdf  : Add general support for PDF (Portable
Document Format), this replaces the pdflib and cpdflib flags
 - - pdl  : Add bindings for dev-perl/PDL
 + + png  : Add support for libpng (PNG images)
 - - python   : Add optional support/bindings for the
Python language
 + + python_targets_python2_7 : Build with Python 2.7
 - - qhull: Add bindings for media-libs/qhull
 + + qt4  : Add support for the Qt GUI/Application
Toolkit version 4.x
 - - shapefile: Enable support for ESRI shapefiles
 + + svg  : Add support for SVG (Scalable Vector Graphics)
 - - tcl  : Add support the Tcl language
 - - test : Workaround to pull in packages needed
to run with FEATURES=test. Portage-2.1.2 handles this internally, so
don't set it in make.conf/package.use anymore
 - - threads  : Add threads support for various
packages. Usually pthreads
 - - tk   : Add support for Tk GUI toolkit
 + + truetype : Add support for FreeType and/or FreeType2 fonts
 - - wxwidgets: Add support for wxWidgets/wxGTK GUI toolkit


Does anybody have a suggestion?

Thank you,
   Marco



Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Dale
Alan McKinnon wrote:
 On 27/04/2015 00:23, Michael Orlitzky wrote:
 On 04/26/2015 05:28 PM, Philip Webb wrote:
 More seriously, once you start working on (3), you'll realize
 that just because the error msgs suck doesn't mean you can make them 
 better.
 If they suck, they're not worth issuing, are they ?
 I'm not willing to become a dev, so I'll never know if I cd improve them,
 but it doesn't follow that no-one else could.

 They give you the information you need to update your question.

 You don't need to be a Gentoo developer to contribute to portage. They
 have a mailing list and all patches are posted there for review, Gentoo
 dev or not.


 If you're willing to wait an hour, it might be able to come up
 with a list of ways you could resolve a conflict, but basically
 all of them will be wrong, eg suggestion #1, uninstall everything.
 Really, this is a flippant response to a serious issue,
 which is being raised more often on the Gentoo User list.

 It wasn't meant that way -- I was trying to point out that this is one
 of those problems that sounds easy but turns out to be incredibly hard.

 Dependency resolution is already slow when it only takes your installed
 packages into account. It would take oh-so-much longer if you wanted to
 consider what if questions involving the entire tree. And most of the
 suggestions it would come up with are indeed ridiculous. Uninstalling a
 few things in @world will probably solve your conflict. Is that not a
 valid suggestion in some cases? Why not? Can you determine those cases
 automatically without input from the user?

 I'm not saying it can't be done, but it's deceptively hard to
 (automatically) come up with a list of non-ridiculous suggestions before
 the user in question dies of old age. Relevant xkcd:

   https://xkcd.com/1425/



 I'm aware of the scope of the problem, and I'm not asking portage to
 infer what I might want or suggest solutions I didn't ask for. Besides,
 what I want is already unambiguously defined by world and the contents
 of /etc/portage/.

 I'd be much happier if portage took the information *it already has* and
 formatted it's output as something a tad more parseable to human brains.
 Right now what it's doing is the equivalent of a core dump with an
 attitude of ah, fuck it, I give up. Here, you figure this shit out.




+1

Dale

:-)  :-) 



Re: [gentoo-user] xen on new install reboots by itself

2015-04-28 Thread symack
Hello Joost,

We are running Grub2. Bellow is my grub.cfg for Xen

menuentry 'Gentoo GNU/Linux, with Xen hypervisor' --class gentoo --class
gnu-linux --class gnu --class os --class xen $menuentry_id_option
'xen-gnulinux-simple-43fa46d6-a602-4281-9493-66faec5c096f' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1
 66cdce01-cc3f-45ad-bea3-a64dff6db724
else
  search --no-floppy --fs-uuid --set=root
66cdce01-cc3f-45ad-bea3-a64dff6db724
fi
echo'Loading Xen xen ...'
if [ $grub_platform = pc -o $grub_platform =  ]; then
xen_rm_opts=
else
xen_rm_opts=no-real-mode edd=off
fi
multiboot   /xen.gz placeholder   ${xen_rm_opts}
echo'Loading Linux 3.17.7-gentoo ...'
module  /vmlinuz-3.17.7-gentoo placeholder root=/dev/sda3 ro
 rootwait
​

This is starting to hurt

N.


Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Alan McKinnon
On 26/04/2015 23:28, Philip Webb wrote:
 150426 Michael Orlitzky wrote:
 On 04/26/2015 03:17 PM, Philip Webb wrote:
 Portage needs to tell users (1) more clearly what's gone wrong,
 (2) what their choices are, (3) how to resolve the problem.
 The process goes something like this:
 1. Become frustrated with the obtuse portage output.
 2. Get familiar with the portage source code.
 3. Develop an understanding of the dependency resolution process
and all of the possible conflicts that can arise.
 4. Come up with better ways to explain the error messages that are shown.
 5. Never get around to writing the patch,
because now you understand what Portage is telling you.
 
 That's far too much to expect of users : we're not dev's.
 
 More seriously, once you start working on (3), you'll realize
 that just because the error msgs suck doesn't mean you can make them better.
 
 If they suck, they're not worth issuing, are they ?
 I'm not willing to become a dev, so I'll never know if I cd improve them,
 but it doesn't follow that no-one else could.
 
 Maybe the best solution to a conflict is to buy a new video card for $5,
 so that a newer version of nvidia-drivers will work,
 so that the new version of xorg-server will work,
 so that the new version of opengl will work,
 so that you can upgrade tuxracer.
 Portage can't figure out stuff like that.
 
 I'm not asking it to : citing extreme cases is a popular excuse for inaction.
 
 If you're willing to wait an hour, it might be able to come up
 with a list of ways you could resolve a conflict, but basically
 all of them will be wrong, eg suggestion #1, uninstall everything.
 
 Really, this is a flippant response to a serious issue,
 which is being raised more often on the Gentoo User list.
 
 All portage errors are essentially :
 you want something and you can't have it.
 
 Well, you said above that Portage doesn't know what the user wants (smile).
 
 The solution is then to adjust slightly what it is that you asked for,
 but Portage doesn't know what you really want
 or what you're willing to settle for,
 so the best it can do is give you the information you need
 so that you can ask it a different question.
 
 Users need advice from Portage re the range + type of questions to ask.
 Portage needs to list possibilities + alternatives, ok a short list.
 At present, it spews out opaque lists of things it can't do
  offers no assistance to users re what it mb able to do.
 


I'm with you on this Philip. By way of example, here's the output I get
every time I run emerge on my notebook:

==
# emerge -avuND world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a
dependency conflict:

dev-lang/swig:0

  (dev-lang/swig-3.0.5:0/0::gentoo, ebuild scheduled for merge)
conflicts with
dev-lang/swig-3.0.5 required by
(dev-python/m2crypto-0.22.3-r3:0/0::gentoo, installed)
^  ^

dev-java/slf4j-api:0

  (dev-java/slf4j-api-1.7.7:0/0::gentoo, ebuild scheduled for merge)
conflicts with
dev-java/slf4j-api-1.7.7:0 required by
(dev-java/jboss-logging-3.1.4:0/0::gentoo, installed)
^   ^


Nothing to merge; quitting.
===

I know what this means, swig and slf4j-api are pinned (in the style of
Debian) because other packages that use them require
less-than-most-recent versions. Fair enough, that's a normal everyday
occurrence. Now try infer the truth from the stated output.

Note that I have no local masks that get involved, this output is from
the state of the tree itself.

This is the kind of query we are getting more and more often here on
-user; old nvidia versions is also somewhat common but we Gentooers have
always accepted that as part of the deal if we want to use ancient
hardware. My example above was never part of the deal as I read it.



-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: wpa_supplicant cannot find crypto routines

2015-04-28 Thread walt
On 04/28/2015 09:59 AM, Justin Findlay wrote:
 I am unable to emerge net-wireless/wpa_supplicant-2.4-r1.  I've
 encountered this on two systems now.
 
 The output included has been insensitively thrashed by thunderbird, so
 I've also pasted it along with some other info.
 
 https://gist.github.com/jfindlay/b3fc74bda7d4cfb5a2dc

 
 I'm wondering if I have an unusual USE flags situation that is causing
 this

In lieu of an informed opinion (which you've not been offered yet) I can
say that I emerged it today on two different machines, and your useflags
differ from mine in that I do *not* have these enabled:

ap
eap-sim
p2p
wimax
wps

Makes me wonder if I should be enabling any of those.




Re: [gentoo-user] Re: Hard drive storage questions

2015-04-28 Thread Rich Freeman
On Tue, Apr 28, 2015 at 6:02 PM, walt w41...@gmail.com wrote:
 On 04/28/2015 08:24 AM, Neil Bothwick wrote:
 On Tue, 28 Apr 2015 17:01:49 +0200, Alan McKinnon wrote:

 Personally, I like the ZFS approach and do it all in software, catching
 errors that RAID misses.

 The same is also  possible with BTRFS,

 I have the impression (without knowing what I'm talking about) that BTRFS
 was created to be just like ZFS, minus the software licensing problems.

 Is my impression right or wrong?

Kinda.  Same sort of idea, and the licensing obviously has a big part in it.

The underlying designs are different, which means that when fully
mature each will likely have different pros/cons, which is great since
we can all pick/choose what we need.

The other difference is that ZFS is targeted more at enterprise /
large-scale use, and btrfs is targeted more as a general-purpose
filesystem that you might use on a single-disk PC.  That isn't to say
that either can't be used in either situation, but you can definitely
see where there has been more focus in feature development.  For
example, with zfs you can not only have large pools of drives, but you
can also bind them into smaller redundancy pools.  So, you can have 10
raid6 arrays bound together which ensures that the scale of rebuilds
is limited while giving you a common pool of space.  On the other
hand, with btrfs you can have a 3-disk raid5 and turn it into a 4-disk
raid5 without having to copy/restore all your data (or you could turn
a 3-disk raid1 into a 4-disk raid5, and even switch halfway so that
half your data is in raid1 mode and half in raid5).  That is the sort
of thing that is handy in a small PC where you don't just have stacks
of disks lying around to build fresh new arrays from, but less
important for a big enterprise SAN where you don't need to add one
disk at a time to a 40-disk storage unit.

I'm sure many features exclusive to either btrfs or zfs will
eventually make their way to the other.  However, their differing
focuses make it likely that some features will mature faster than
others.

And of course btrfs has been taking a fairly long time to mature - it
just doesn't seem like as serious of an enterprise-y project.  But,
neither is Gentoo.  :)

-- 
Rich



Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Fernando Rodriguez
On Monday, April 27, 2015 1:24:59 AM Stroller wrote:
 
 On Sun, 26 April 2015, at 3:49 pm, Alan Mackenzie a...@muc.de wrote:
 
  The following USE flags were used in my building of firefox 31.6.0:
  
 USE=bindist dbus jit minimal startup-notification -custom-cflags
 -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio
 (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx
 -system-sqlite {-test} -wifi
 
 `euses system-libvpx` says use the system-wide media-libs/libvpx and if we 
look up media-libs/libvpx then its description explains that its about the 
WebM VP8 codec. It would be better if it explained that this is a _video_ 
codec, but Gentoo's USE flag and package descriptions have always been rubbish.
 
 I would perhaps try rebuilding with USE=system-libvpx and checking the 
https://www.youtube.com/html5 page again.

I believe that's just an option between using the libvpx bundled with firefox 
as recommended by mozilla, or using the system libvpx.

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer 
versions are actually unstable in any way, and if I google youtube html5 
firefox I find that Google will enforce the use of HTML5 video on YouTube for 
all Firefox users who use Firefox 33 or newer, FYI: Firefox 35 uses the 
HTML5 video player in Youtube by default and Firefox 37 Released With Native 
HTML5 YouTube Playback

Firefox 37 still uses the flash player for youtube. It will fallback on HTML5 
if the flash player crashes. There's an update on that page that the change has 
been delayed.

-- 
Fernando Rodriguez



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Alan McKinnon
On 28/04/2015 10:39, Dale wrote:
 Howdy,
 
 I have a 3TB hard drive that I use for my /home partition.  I'm going to
 be having to expand this before to long, lots of videos on there.  The
 4TB is a bit pricey and I would end up having to expand that to before
 to long.  So, I got to thinking, why not buy another 3TB drive and just
 add that which would double my space.  I use LVM by the way.  I may try
 BTFS, (sp?).   Either way, adding a drive shouldn't be to much of a
 problem.
 
 On one hand, adding a drive would double my space.  It would also spread
 out my stuff in the event a drive failed.  On the other hand, one more
 drive to have spinning that could fail too.  These large drives makes me
 wonder sometimes.
 
 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing?
 
 Dale
 
 
 
 P. S.
 
 
 Filesystem Size  Used AvailUse% Mounted on
 /dev/mapper/Home2-Home2  2.7T 1.8T  945G  66% /home
 
 
 


When you're up into the TB range you run a higher risk of losing data
than with disks of a few 100 GB simply because it's bigger and there are
more bits that can flip [1].

When you use only LVM for this and nothing else, you have a high risk of
losing everything if one disk fails. Why? Because LVM decides itself
which extent it will put data on. Maybe a whole file is on one disk,
maybe it's spread across two, because the software is designed so that
you don't have to be concerned with that. The only thing that LVM does
is expand your storage space as a single volume and make it easier to
shuffle things around without having to backup/repartition/restore.

The best solution for you depends on what you need and what you have. If
your disks are full of YouTube videos that you can easily download again
(or stream), maybe you don't care too much. Precious family photos that
can't be replaced? You need to care a lot.

Personally, I like the ZFS approach and do it all in software, catching
errors that RAID misses.
RAID is also an option - 1:1 mirroring works great if you are much more
concerned about data than about cost.

There is no general advice in this area[2], the trick is to understand
the various technologies, fully understand your own needs and budget,
then plan accordingly.



[1] All things being equal that is. A 3TB disk is probably not really
the same as a 500G disk, just bigger. It's safe to assume that disk
manufacturers pat attention to error rates etc and improve their
products over time to make them more reliable. As to by how much - I
don't know.

[2] There is however a vendor's desire to maximize their profit while
still leaving you with warm and fuzzies /sarcasm

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Neil Bothwick
On Tue, 28 Apr 2015 17:01:49 +0200, Alan McKinnon wrote:

 When you use only LVM for this and nothing else, you have a high risk of
 losing everything if one disk fails. Why? Because LVM decides itself
 which extent it will put data on. Maybe a whole file is on one disk,
 maybe it's spread across two, because the software is designed so that
 you don't have to be concerned with that. The only thing that LVM does
 is expand your storage space as a single volume and make it easier to
 shuffle things around without having to backup/repartition/restore.

An alternative is to create a new volume group on the new disk and mounts
PVs at various points in your home directory. That way you get the extra
space and much of the flexibility without the risk of a failure on a
single drive taking out data on both. However, if you are concerned about
data loss, you should be using RAID t a minimum, preferably with an error
detecting filesystem.

 Personally, I like the ZFS approach and do it all in software, catching
 errors that RAID misses.

The same is also  possible with BTRFS, including built in RAID. RAID5 in
btrfs is expermiental, but its RAID1 is like RAID5 in some ways, such as
giving the capacity of n-1 disks and tolerating a single disk failure.


-- 
Neil Bothwick

PC DOS Error #04: Out of disk space. Delete Windows? (Y)es (H)ell yes!


pgpTqh59wa03s.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread J. Roeleveld
On 28 April 2015 10:33:32 CEST, Stefan G. Weichinger li...@xunil.at wrote:
On 24.04.2015 13:56, J. Roeleveld wrote:

 dracut has to assemble /dev/md3 at first (this is the single PV in
the
 VG VG01)

 and /dev/VG01/genroot then is the filesystem with the new
gentoo-rootfs

 I only added stuff like rd.md=1 etc ... I think I got the assembling
 wrong. And maybe even the root= option.
 
 This is one of the reasons why I have given up on genkernel and
dracut for 
 initramfs creation and now simply build my own and have it integrated
into the 
 kernel:
 $ zcat /proc/config.gz | grep INITRAMFS_SOURCE
 CONFIG_INITRAMFS_SOURCE=/usr/src/initramfs/config
 
 If you're interested I will send you the required files.

Yes, I am.

I looked at generating it via dracut and get confused a bit.

I try to generate it on another gentoo-host by editing a specific
dracut.conf whic contains the md-related lines:

kernel_cmdline+= rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4
kernel_cmdline+= rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5
kernel_cmdline+= rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c
kernel_cmdline+= rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad

(to assemble the raid-arrays at boot)


I run

dracut -m lvm mdraid bash -c dracut.conf  -f init2.img 3.18.9-gentoo


and it ends with:

*** Store current command line parameters ***
Stored kernel commandline:
 rd.md.uuid=6a6226ed:87d41201:76269125:1a17f6a4
rd.md.uuid=2d6cd278:5f966c0f:ac5ed5c3:5a0bb8f5
rd.md.uuid=b492f31d:96bfca88:8cd97590:ad997d2c
rd.md.uuid=e848b637:ca2bde73:9f92f3cc:128cdbad
 root=UUID=6eafd21c-c5f4-496d-bb90-ab4dc0a2c93c
rootflags=rw,noatime,stripe=64,data=ordered rootfstype=ext4
*** Creating image file ***
*** Creating image file done ***


... so the root=  is looked up from the host I run the command on and
not fitting the target machine ... etc etc

hmm

Does root= inside the grub-config override these lines?

Should I use

dracut --no-hostonly-cmdline ?

Way too much variables in here ...  especially when I can't just press
Reset and try again.

Stefan

I sent my files on a seperate thread last weekend.
Did you see those?

--
Joost 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Rich Freeman
On Tue, Apr 28, 2015 at 4:39 AM, Dale rdalek1...@gmail.com wrote:

 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing?


Generally I buy drives at the sweet spot in cost/capacity, so that is
about 3TB last time I checked (for spinning disks).

I ALWAYS use RAID or full backups of some kind.  RAID isn't really a
substitute for backups, but I use it as such for low-priority data
such as mythtv recordings or re-generatable data.  Right now I'm
running on mirrored btrfs with a full backup to ext4 (since btrfs is
living dangerously).  I'm actually getting tight on space and debating
dropping the full backups for lower-priority data, which would free up
a 3TB drive to add to the btrfs array.  Long-term I'd prefer to move
to raid5 which is much more efficient, but I wouldn't recommend doing
that on btrfs yet - it is very immature.

raid5 on mdadm and lvm with ext4 is very mature, and is probably your
most space-efficient option with some level of redundancy.  With large
arrays having raid6 isn't a bad idea these days - it takes a lot of
time to recover a failure.  However, if you have a single drive today
there is no way to add only a single disk and get both more space and
redundancy at the same time.  If you want more space and only want to
buy one drive, then you're stuck with just simple lvm and if a drive
fails you're going to lose a lot of stuff.

-- 
Rich



Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread Walter Dnes
On Mon, Apr 27, 2015 at 01:24:59AM +0100, Stroller wrote

 Personally, I would probably also try a later version of Firefox.
 
 I appreciate that 31.x is the latest stable version, but I doubt newer
 versions are actually unstable in any way, and if I google youtube
 html5 firefox I find that Google will enforce the use of HTML5
 video on YouTube for all Firefox users who use Firefox 33 or newer,
 FYI: Firefox 35 uses the HTML5 video player in Youtube by default
 and Firefox 37 Released With Native HTML5 YouTube Playback

  I've picked up a few tricks that seem to work some of the time.  This
is with Seamonkey, but should work with standard Firefox...

1) Set up a separate profile for Youtube, and disable the Flash plugin
only for that profile (never thought I'd say that).

2) If a video won't play, remove hd=1 at the end of the URL.  That
sometimes helps.

3) Warning... bleeding edge  crash-prone.  In about:config toggle
media.mediasource.enabled to true.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Francisco Ares
2015-04-28 5:39 GMT-03:00 Dale rdalek1...@gmail.com:

 Howdy,

 I have a 3TB hard drive that I use for my /home partition.  I'm going to
 be having to expand this before to long, lots of videos on there.  The
 4TB is a bit pricey and I would end up having to expand that to before
 to long.  So, I got to thinking, why not buy another 3TB drive and just
 add that which would double my space.  I use LVM by the way.  I may try
 BTFS, (sp?).   Either way, adding a drive shouldn't be to much of a
 problem.

 On one hand, adding a drive would double my space.  It would also spread
 out my stuff in the event a drive failed.  On the other hand, one more
 drive to have spinning that could fail too.  These large drives makes me
 wonder sometimes.

 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing?

 Dale



 P. S.


 Filesystem   Size  Used AvailUse% Mounted on
 /dev/mapper/Home2-Home2  2.7T 1.8T  945G  66% /home




I've already had my /home partition filled up, and it was just one of the
partitions on the only hard drive inside this machine.

Nowadays I have 3 more hard drives on this same machine, which makes 4
drives in total. None of them so big, though, the newest one is 1TB.

Now, talking about redundancy, if you worry about many - or all - of your
files, perhaps you should consider a RAID. Although expensive, it makes
one's mind more relaxed ;-) .  Basically, what I have seen is that many
people worry about backing up files when at work, but completely forget
about it on personal computers.

Best regards, and good luck!
Francisco


Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread Stefan G. Weichinger
On 28.04.2015 17:30, J. Roeleveld wrote:

 I sent my files on a seperate thread last weekend.
 Did you see those?

no ... got to dig, thanks




Re: [gentoo-user] xen on new install reboots by itself

2015-04-28 Thread J. Roeleveld
On 29 April 2015 00:34:10 CEST, symack sym...@gmail.com wrote:
Hello Joost,

We are running Grub2. Bellow is my grub.cfg for Xen

menuentry 'Gentoo GNU/Linux, with Xen hypervisor' --class gentoo
--class
gnu-linux --class gnu --class os --class xen $menuentry_id_option
'xen-gnulinux-simple-43fa46d6-a602-4281-9493-66faec5c096f' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1
 66cdce01-cc3f-45ad-bea3-a64dff6db724
else
  search --no-floppy --fs-uuid --set=root
66cdce01-cc3f-45ad-bea3-a64dff6db724
fi
echo'Loading Xen xen ...'
if [ $grub_platform = pc -o $grub_platform =  ]; then
xen_rm_opts=
else
xen_rm_opts=no-real-mode edd=off
fi
multiboot   /xen.gz placeholder   ${xen_rm_opts}
echo'Loading Linux 3.17.7-gentoo ...'
module  /vmlinuz-3.17.7-gentoo placeholder root=/dev/sda3 ro
 rootwait
​

This is starting to hurt

N.

Symack,

I never got grub2 to play nice with Xen.
My Xen servers all use grub1.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] xen on new install reboots by itself

2015-04-28 Thread hydra
On Wed, Apr 29, 2015 at 5:38 AM, J. Roeleveld jo...@antarean.org wrote:

 On 29 April 2015 00:34:10 CEST, symack sym...@gmail.com wrote:
 Hello Joost,
 
 We are running Grub2. Bellow is my grub.cfg for Xen
 
 menuentry 'Gentoo GNU/Linux, with Xen hypervisor' --class gentoo
 --class
 gnu-linux --class gnu --class os --class xen $menuentry_id_option
 'xen-gnulinux-simple-43fa46d6-a602-4281-9493-66faec5c096f' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1
 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1
  66cdce01-cc3f-45ad-bea3-a64dff6db724
 else
   search --no-floppy --fs-uuid --set=root
 66cdce01-cc3f-45ad-bea3-a64dff6db724
 fi
 echo'Loading Xen xen ...'
 if [ $grub_platform = pc -o $grub_platform =  ]; then
 xen_rm_opts=
 else
 xen_rm_opts=no-real-mode edd=off
 fi
 multiboot   /xen.gz placeholder   ${xen_rm_opts}
 echo'Loading Linux 3.17.7-gentoo ...'
 module  /vmlinuz-3.17.7-gentoo placeholder root=/dev/sda3 ro
  rootwait
 ​
 
 This is starting to hurt
 
 N.

 Symack,

 I never got grub2 to play nice with Xen.
 My Xen servers all use grub1.

 --
 Joost
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.


I run like 20 xen machines on grub2 without problems.


Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Philip Webb
150427 Alan McKinnon wrote:
 On 27/04/2015 00:23, Michael Orlitzky wrote:
 I'm not saying it can't be done, but it's deceptively hard
 to automatically come up with a list of non-ridiculous suggestions
 before the user in question dies of old age :  https://xkcd.com/1425/ .

That expresses the extremes well enough,
but one would hope that the Portage output problem lies between them.

 I'm aware of the scope of the problem, and I'm not asking Portage
 to infer what I might want or suggest solutions I didn't ask for.
 Besides, what I want is already unambiguously defined by world
 and the contents of /etc/portage/.
 I'd be much happier if portage took the information *it already has*
 and formatted its output a tad more parseable to human brains.
 Right now what it's doing is the equivalent of a core dump
 with ah, fuck it, I give up. Here, you figure this shit out.

This expresses Gentoo users' difficulties all too well (smile).

What we are asking is for the devs to accept there is a problem,
have a proper look at it  try to make Portage output more understandable.
We are always grateful for their volunteer efforts.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Hard drive storage questions

2015-04-28 Thread Dale
Howdy,

I have a 3TB hard drive that I use for my /home partition.  I'm going to
be having to expand this before to long, lots of videos on there.  The
4TB is a bit pricey and I would end up having to expand that to before
to long.  So, I got to thinking, why not buy another 3TB drive and just
add that which would double my space.  I use LVM by the way.  I may try
BTFS, (sp?).   Either way, adding a drive shouldn't be to much of a
problem. 

On one hand, adding a drive would double my space.  It would also spread
out my stuff in the event a drive failed.  On the other hand, one more
drive to have spinning that could fail too.  These large drives makes me
wonder sometimes. 

What do you guys, gals too, think about this?  Just add a drive or buy a
larger drive and move things over?  Or is this a six of one and half
dozen of the other thing? 

Dale

:-)  :-) 

P. S.


FilesystemSize  Used Avail
Use% Mounted on
/dev/mapper/Home2-Home22.7T 1.8T  945G  66% /home




[gentoo-user] wpa_supplicant cannot find crypto routines

2015-04-28 Thread Justin Findlay
I am unable to emerge net-wireless/wpa_supplicant-2.4-r1.  I've
encountered this on two systems now.

The output included has been insensitively thrashed by thunderbird, so
I've also pasted it along with some other info.

https://gist.github.com/jfindlay/b3fc74bda7d4cfb5a2dc

The first is the result from an emerge of wpa_supplicant, the subsequent
two are the result of `ebuild $(equery which wpa_supplicant) merge`.
Additional attempts at ebuild merging in this way always produce the
output of the second ebuild merge.

I've found these similar problems in a web search, but nothing seems to
be directly related.

http://lists.shmoo.com/pipermail/hostap/2009-February/019392.html
http://ask.csdn.net/questions/61862
http://zhidao.baidu.com/question/360043934234201692.html

I'm wondering if I have an unusual USE flags situation that is causing
this, but so far the problem seems to be (related to) a misconfiguration
in the wpa_sup[plicant build system.  I am going to continue to
investigate, but would appreciate any knowledge or experience anyone
else can provide.  Thanks.


Justin


x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared
../utils/common.o ../utils/os_unix.o ../utils/wpa_debug.o
../utils/base64.o ../utils/wpabuf.o ../utils/eloop.o ../crypto/md5.o
../crypto/sha1-tlsprf.o ../crypto/aes-encblock.o ../crypto/aes-wrap.o
../crypto/aes-ctr.o ../crypto/aes-eax.o ../crypto/aes-omac1.o
../crypto/ms_funcs.o ../crypto/sha256.o ../crypto/random.o
../eap_common/eap_peap_common.o ../eap_common/eap_psk_common.o
../eap_common/eap_pax_common.o ../eap_common/eap_sake_common.o
../eap_common/eap_gpsk_common.o ../eap_common/chap.o
../crypto/tls_openssl.o ../crypto/crypto_openssl.o ../eap_peer/eap_tls.o
../eap_peer/eap_peap.o ../eap_peer/eap_ttls.o ../eap_peer/eap_md5.o
../eap_peer/eap_mschapv2.o ../eap_peer/mschapv2.o ../eap_peer/eap_otp.o
../eap_peer/eap_gtc.o ../eap_peer/eap_leap.o ../eap_peer/eap_psk.o
../eap_peer/eap_pax.o ../eap_peer/eap_sake.o ../eap_peer/eap_gpsk.o
../eap_peer/eap.o ../eap_common/eap_common.o ../eap_peer/eap_methods.o
../eap_peer/eap_tls_common.o -Wl,-soname -Wl,libeap.so.0 -o
libeap.so.0.0.0 -lssl -lcrypto
../crypto/crypto_openssl.o: In function `aes_wrap':
crypto_openssl.c:(.text+0xb30): multiple definition of `aes_wrap'
../crypto/aes-wrap.o:aes-wrap.c:(.text+0x0): first defined here
../crypto/crypto_openssl.o: In function `hmac_md5_vector':
crypto_openssl.c:(.text+0x16e0): multiple definition of `hmac_md5_vector'
../crypto/md5.o:md5.c:(.text+0x0): first defined here
../crypto/crypto_openssl.o: In function `hmac_md5':
crypto_openssl.c:(.text+0x1780): multiple definition of `hmac_md5'
../crypto/md5.o:md5.c:(.text+0x280): first defined here
collect2: error: ld returned 1 exit status
Makefile:148: recipe for target 'libeap.so.0.0.0' failed
make: *** [libeap.so.0.0.0] Error 1
make: Leaving directory
'/var/tmp/portage/net-wireless/wpa_supplicant-2.4-r1/work/wpa_supplicant-2.4/src/eap_peer'

...

x86_64-pc-linux-gnu-gcc -c -o ../src/eap_peer/eap_sim.o -O2
-march=native -mtune=native -fmessage-length=0 -pipe
-I/var/tmp/portage/net-wireless/wpa_supplicant-2.4-r1/work/wpa_supplicant-2.4/src
-I/var/tmp/portage/net-wireless/wpa_supplicant-2.4-r1/work/wpa_supplicant-2.4/src/utils
-DCONFIG_BACKEND_FILE -DCONFIG_IEEE80211W -DCONFIG_IEEE80211R
-DCONFIG_PEERKEY -DCONFIG_P2P -DCONFIG_WIFI_DISPLAY -DCONFIG_HS20
-DCONFIG_INTERWORKING  -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211
-DCONFIG_LIBNL20 -I/usr/include/libnl3   -DCONFIG_DRIVER_WEXT
-DCONFIG_WIRELESS_EXTENSION  -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5
-DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK
-DEAP_AKA -DEAP_AKA_PRIME -DEAP_PAX -DCONFIG_WPS -DEAP_WSC
-DCONFIG_WPS_NFC -DCONFIG_WPS_OOB -DCONFIG_WPS_ER -DCONFIG_WPS_UPNP
-DIEEE8021X_EAPOL -DCONFIG_AP -DCONFIG_NO_RADIUS -DCONFIG_NO_ACCOUNTING
-DCONFIG_NO_VLAN -DEAP_SERVER -DEAP_SERVER_IDENTITY -DNEED_AP_MLME
-DEAP_SERVER_WSC -DCONFIG_NO_RADIUS -DPCSC_FUNCS -I/usr/include/PCSC
-DPKCS12_FUNCS -DCONFIG_SMARTCARD -DEAP_TLS_OPENSSL -DCONFIG_SHA256
-DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE_DBUS
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include  -DCONFIG_CTRL_IFACE_DBUS_NEW
-DCONFIG_CTRL_IFACE_DBUS_INTRO -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include  -DCONFIG_DBUS -DCONFIG_SME
-DCONFIG_DEBUG_FILE -DCONFIG_DELAYED_MIC_ERROR_REPORT -DCONFIG_GAS
-DCONFIG_OFFCHANNEL ../src/eap_peer/eap_sim.c
x86_64-pc-linux-gnu-gcc -c -o ../src/eap_peer/eap_aka.o -O2
-march=native -mtune=native -fmessage-length=0 -pipe
-I/var/tmp/portage/net-wireless/wpa_supplicant-2.4-r1/work/wpa_supplicant-2.4/src
-I/var/tmp/portage/net-wireless/wpa_supplicant-2.4-r1/work/wpa_supplicant-2.4/src/utils
-DCONFIG_BACKEND_FILE -DCONFIG_IEEE80211W -DCONFIG_IEEE80211R
-DCONFIG_PEERKEY -DCONFIG_P2P -DCONFIG_WIFI_DISPLAY -DCONFIG_HS20
-DCONFIG_INTERWORKING  -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211
-DCONFIG_LIBNL20 -I/usr/include/libnl3   -DCONFIG_DRIVER_WEXT

Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread J. Roeleveld
On 28 April 2015 18:03:28 CEST, Stefan G. Weichinger li...@xunil.at wrote:
On 28.04.2015 17:42, J. Roeleveld wrote:
 On 28 April 2015 17:37:06 CEST, Stefan G. Weichinger
li...@xunil.at wrote:
 On 28.04.2015 17:30, J. Roeleveld wrote:

 I sent my files on a seperate thread last weekend.
 Did you see those?

 no ... got to dig, thanks
 
 Sent on 25th. Initramfs in subject.
 
 Happy hunting. :)

found, but too tired today to give that a try ...

thanks S

Oki.

Comments and questions about that please in the other thread.

With sufficient demand, I will collate the information and post it on the wiki.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread Stefan G. Weichinger
On 28.04.2015 16:53, Stefan G. Weichinger wrote:
 
 I now booted from a recent sysresccd ... and it didn't assemble/detect
 the LVM-PV ... *sigh*
 
 So I couldn't even mount the LV to chroot in there.
 
 The mdadm-RAID-devices were there and active.
 
 I didn't want to screw around with the LVM too much as there is data on
 there (yes, there are backups, but ...).
 
 pvscan always told me something like:
 
 No device found for PV hMMm0m-w4Ds-SU77-ATjF-iF1A-0qfq-V2IcXb
 
  

ok, one step further:

(no exact cut and paste because of java-based KVM access)

pvscan --cache

tells me:

Found duplicate PV hMMm0m-w4Ds-SU77-ATjF-iF1A-0qfq-V2IcXb:

using /dev/sdj1 not /dev/md3

--

md3 is the correct array to form the PV ... /dev/sdj1 is actually a
partition that is an active *member* of the array /dev/md3

I tried to filter this partition by editing lvm.conf without success.

Under suse I don't see /dev/sdj1 as pv:

# pvdisplay /dev/sdj1
  Failed to read physical volume /dev/sdj1

-

Should I

* pvremove /dev/sdj1 from sysresccd

* in suse: remove sdj1 from array md3 ... overwrite header and re-add ?

Oh my.

!! BUT -

I now found another nice fact:

/dev/md2 (NO LVM) is unused since the initial installation.

I even *documented* that in the project wiki years ago.

40 GB of unused space on a RAID1 of SAS hdds. Nice!

Sounds like my new rootfs ;-)

dracut plus these md-lines should work then.

Stefan




[gentoo-user] Re: Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread »Q«
On Sun, 26 Apr 2015 18:58:55 -0400
Fernando Rodriguez frodriguez.develo...@outlook.com wrote:

 Do you have the OpenH264 Video Codec provided by Cisco Systems
 firefox add-on installed (I think it comes with firefox). I have it
 but I still don't have H.264 checked on that page and I can't play
 some H.264 videos like this one
 https://www.microsoft.com/microsoft-hololens/en-us. If you have it,
 do you mind disabling it to check if that's where you're getting
 H.264 support from?

I don't understand all the details -- not by a long stretch -- but
AIUI, the Cisco thing makes it possible to use H.264 for real-time
video chat, called WebRTC by the W3C and Firefox Hello by Mozilla.

Judging by Alan's USE flags, it's not available for Fx 31.x.  In later
versions gmp-autoupdate controls it -- with that flag set, Firefox
will silently download the thing and updates to it from Cisco.  Mozilla
won't bundle it because it's patent-encumbered.  It comes from Cisco as
a binary.

There's also media-plugins/gmp-openh264, which I guess means the Gentoo
devs hope to offer it built from source -- I haven't looked at the
ebuilds.

 I have no problems playing youtube videos without it (both HTML5 and
 Flash) and I don't have gstreamer enabled on firefox.

That makes me worried I gave Alan a bum steer.




Re: [gentoo-user] Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread covici
Walter Dnes waltd...@waltdnes.org wrote:

 On Mon, Apr 27, 2015 at 01:24:59AM +0100, Stroller wrote
 
  Personally, I would probably also try a later version of Firefox.
  
  I appreciate that 31.x is the latest stable version, but I doubt newer
  versions are actually unstable in any way, and if I google youtube
  html5 firefox I find that Google will enforce the use of HTML5
  video on YouTube for all Firefox users who use Firefox 33 or newer,
  FYI: Firefox 35 uses the HTML5 video player in Youtube by default
  and Firefox 37 Released With Native HTML5 YouTube Playback
 
   I've picked up a few tricks that seem to work some of the time.  This
 is with Seamonkey, but should work with standard Firefox...
 
 1) Set up a separate profile for Youtube, and disable the Flash plugin
 only for that profile (never thought I'd say that).
 
 2) If a video won't play, remove hd=1 at the end of the URL.  That
 sometimes helps.
 
 3) Warning... bleeding edge  crash-prone.  In about:config toggle
 media.mediasource.enabled to true.

I think this is the default.  Also, I have had several occasions where
the profile somehow got corrupted and the video would not play, I had to
create a new profile and then it worked.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread »Q«
On Sun, 26 Apr 2015 22:18:05 -0400
Fernando Rodriguez frodriguez.develo...@outlook.com wrote:

  I would perhaps try rebuilding with USE=system-libvpx and checking
  the https://www.youtube.com/html5 page again.
 
 I believe that's just an option between using the libvpx bundled with
 firefox as recommended by mozilla, or using the system libvpx.

That's right.






[gentoo-user] Re: Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread »Q«
On Mon, 27 Apr 2015 18:01:06 +0300
Matti Nykyri matti.nyk...@iki.fi wrote:

 How could I get firefox to use hw0,3 or hw1,3 for HTML5 audio
 playback?

There is no way.  Mozilla products will only ever use card 0.  I had to
solve it on a laptop I once had, but I don't remember the details.  I
think no amount of tinkering with asound.conf will help, only switching
the card numbers via kernel boot parameters.




[gentoo-user] Re: Hard drive storage questions

2015-04-28 Thread walt
On 04/28/2015 08:24 AM, Neil Bothwick wrote:
 On Tue, 28 Apr 2015 17:01:49 +0200, Alan McKinnon wrote:
 
 Personally, I like the ZFS approach and do it all in software, catching
 errors that RAID misses.
 
 The same is also  possible with BTRFS,

I have the impression (without knowing what I'm talking about) that BTRFS
was created to be just like ZFS, minus the software licensing problems.

Is my impression right or wrong?






Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Dale
Daniel Frey wrote:
 On 04/27/2015 12:41 AM, Dale wrote:
 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing? 
 I just went through this myself, and I found a NAS with four drives in
 it. I actually got it as a part of some special, I couldn't even buy the
 four 2TB disks included in it individually for the price of the whole NAS.

 That reminds me, I should set it up. :-)

 Dan



I've noticed the external drives sometimes have better prices than
internal ones at times.  Makes me wonder.  :/  I thought about taking
the drives out and putting them in my rig and use the external case for
something else.

For some reason, I got a message back that other message didn't make it
through so I resent it.  I guess it did make it after all.  ;-)

Dale

:-)  :-) 



[gentoo-user] Re: Half error message on attempting to access You Tube from Firefox

2015-04-28 Thread »Q«
On Tue, 28 Apr 2015 15:59:17 -0500
»Q« boxc...@gmx.net wrote:

 On Mon, 27 Apr 2015 18:01:06 +0300
 Matti Nykyri matti.nyk...@iki.fi wrote:
 
  How could I get firefox to use hw0,3 or hw1,3 for HTML5 audio
  playback?  
 
 There is no way.  Mozilla products will only ever use card 0.  I had
 to solve it on a laptop I once had, but I don't remember the
 details.  I think no amount of tinkering with asound.conf will help,
 only switching the card numbers via kernel boot parameters.

https://wiki.gentoo.org/wiki/ALSA#HTML5_does_not_play_in_the_Firefox_browser

If that had been in the wiki when I had the problem, it would have
saved me about a week of searching through blogs and bug reports.  Hope
it works for you!




Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Rich Freeman
On Tue, Apr 28, 2015 at 11:24 AM, Neil Bothwick n...@digimed.co.uk wrote:
 The same is also  possible with BTRFS, including built in RAID. RAID5 in
 btrfs is expermiental, but its RAID1 is like RAID5 in some ways, such as
 giving the capacity of n-1 disks and tolerating a single disk failure.


btrfs raid5 is still fairly experimental (though now it supports
recovery) and works more-or-less how you'd expect raid5 to work.
Raid1 on btrfs gives you the capacity of n/2 and not n-1 disks, as you
would expect.  It does allow disks to be of different size, in which
case it gives you up to n/2 capacity (and usually more than you'd get
with traditional raid1 - it tries to fill the largest disks first so
3+1+1+1 TB will give you 3TB of storage, not 2TB as you'd get with
mdadm raid1).

Here is a btrfs raid1:
df -h
Filesystem   Size  Used Avail Use% Mounted on
/dev/sdh23.2T  2.7T  477G  86% /data

btrfs fi df /data
Data, RAID1: total=2.93TiB, used=2.65TiB
System, RAID1: total=32.00MiB, used=472.00KiB
Metadata, RAID1: total=16.00GiB, used=14.08GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

btrfs fi sho /data
Label: 'datafs'  uuid: cd074207-9bc3-402d-bee8-6a8c77d56959
Total devices 5 FS bytes used 2.67TiB
devid1 size 2.73TiB used 2.63TiB path /dev/sdh2
devid2 size 931.32GiB used 832.03GiB path /dev/sda2
devid3 size 931.32GiB used 834.00GiB path /dev/sde2
devid4 size 931.32GiB used 832.00GiB path /dev/sdd2
devid5 size 931.32GiB used 833.00GiB path /dev/sdb2


2.7TiB of data is stored on the array, which has nearly exhausted the
space of 6.4TiB of drives (or 7TB).  There are ~500GiB free, which
would let me store ~250GiB of data.

-- 
Rich



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Neil Bothwick
On Tue, 28 Apr 2015 13:38:55 -0400, Rich Freeman wrote:

  The same is also  possible with BTRFS, including built in RAID. RAID5
  in btrfs is expermiental, but its RAID1 is like RAID5 in some ways,
  such as giving the capacity of n-1 disks and tolerating a single disk
  failure. 
 
 btrfs raid5 is still fairly experimental (though now it supports
 recovery) and works more-or-less how you'd expect raid5 to work.
 Raid1 on btrfs gives you the capacity of n/2 and not n-1 disks,

You're right, I was clearly confused (an oxymoron?) when I wrote that.

So RAID1 gives less capacity than RAID5 on BTRFS, but it is stable (in
btrfs terms).


-- 
Neil Bothwick

This universe is sold by mass, not by volume.
Some expansion may have occurred during shipment


pgpllPHymDUg2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread Stefan G. Weichinger
On 28.04.2015 18:43, Stefan G. Weichinger wrote:

 40 GB of unused space on a RAID1 of SAS hdds. Nice!
 
 Sounds like my new rootfs ;-)
 
 dracut plus these md-lines should work then.

call me coward or defensive: I used genkernel ... and now the server
is up and running with gentoo linux ;-)

OK, way too much modules for now etc ... but booted.

btw: I learned about the kernel-option panic=N ... maybe this would
help in case the kernel does not detect the rootfs?

thanks all, Stefan




Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Rich Freeman
On Tue, Apr 28, 2015 at 2:11 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 28 Apr 2015 13:38:55 -0400, Rich Freeman wrote:

  The same is also  possible with BTRFS, including built in RAID. RAID5
  in btrfs is expermiental, but its RAID1 is like RAID5 in some ways,
  such as giving the capacity of n-1 disks and tolerating a single disk
  failure.

 btrfs raid5 is still fairly experimental (though now it supports
 recovery) and works more-or-less how you'd expect raid5 to work.
 Raid1 on btrfs gives you the capacity of n/2 and not n-1 disks,

 You're right, I was clearly confused (an oxymoron?) when I wrote that.

 So RAID1 gives less capacity than RAID5 on BTRFS, but it is stable (in
 btrfs terms).


Correct.

For drives of identical size and not using compression, I'd expect
space use on btrfs to be equivalent to the same raid level on
mdadm+lvm+ext4.  With mixed drives you will potentially get more space
on btrfs, and compression will of course get you more space.

As far as data security goes there is a tradeoff.  Btrfs is still
immature and I seem to have issues with it 1-2 times per year (but
I've yet to have unrecoverable data loss).  On the other hand, btrfs
does do full data checksumming which means you're less likely to lose
data due to issues with the physical storage than with mdadm - as with
zfs it always checks the checksum and will recover from another disk
if possible, and in the event of raid disparity it always knows which
(if any) of the copies is right.

I'm hopeful that at some point I'll be able to recommend it without
reservation.  Right now, that isn't entirely the case.  I'm still
patching the 3.18 kernel series so that it actually mounts my root
partition when whatever is causing it to panic (probably also btrfs)
does so (the patch is in the queue, but hasn't made it to 3.18 yet for
some reason - I believe it has been in the other stable series for a
release or two now).

-- 
Rich



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Daniel Frey
On 04/27/2015 12:41 AM, Dale wrote:
 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing? 

I just went through this myself, and I found a NAS with four drives in
it. I actually got it as a part of some special, I couldn't even buy the
four 2TB disks included in it individually for the price of the whole NAS.

That reminds me, I should set it up. :-)

Dan



Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Neil Bothwick
On Tue, 28 Apr 2015 14:31:23 -0400, Rich Freeman wrote:

  btrfs raid5 is still fairly experimental (though now it supports
  recovery) and works more-or-less how you'd expect raid5 to work.
  Raid1 on btrfs gives you the capacity of n/2 and not n-1 disks,  
 
  You're right, I was clearly confused (an oxymoron?) when I wrote that.
 
  So RAID1 gives less capacity than RAID5 on BTRFS, but it is stable (in
  btrfs terms).
   
 
 For drives of identical size and not using compression, I'd expect
 space use on btrfs to be equivalent to the same raid level on
 mdadm+lvm+ext4.

That's only true for RAID1 when you have 2 drives, with more drives btrfs
gives more space.

3 x 2TB drives give 2TB on MD RAID1
3 x 2TB drives give 3TB on btrfs RAID1

Although you will get slightly less usable space with btrfs because of
the space used for metadata, but I'm not sure how significant that is.


-- 
Neil Bothwick

QOTD:
The only easy way to tell a hamster from a gerbil is that the
gerbil has more dark meat.


pgpquCoMcld_F.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...

2015-04-28 Thread Martin Vaeth
Philip Webb purs...@ca.inter.net wrote:

 If you're willing to wait an hour, it might be able to come up
 with a list of ways you could resolve a conflict, but basically
 all of them will be wrong, eg suggestion #1, uninstall everything.

 Really, this is a flippant response to a serious issue,

No. It is how facts are. Actually, making suggestions is an
NP-complete problem which means that if already, say, 20 possible
choices have influence to the solution (and cannot be trivially cut),
it would take hundreds of years to complete. If you come up with an
algorithm which can do essentially better, you have probably solved
the P=NP millenium problem and can expect an incredible award.
You can be very lucky if you get *one* suggestion (which is
what portage sometimes finds with high value of --backtrack).
Checking whether the suggestion is reasonable is the user's task.




Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread Stefan G. Weichinger

I now booted from a recent sysresccd ... and it didn't assemble/detect
the LVM-PV ... *sigh*

So I couldn't even mount the LV to chroot in there.

The mdadm-RAID-devices were there and active.

I didn't want to screw around with the LVM too much as there is data on
there (yes, there are backups, but ...).

pvscan always told me something like:

No device found for PV hMMm0m-w4Ds-SU77-ATjF-iF1A-0qfq-V2IcXb

 

When I boot into Suse again, it shows up fine:

# pvdisplay
  --- Physical volume ---
  PV Name   /dev/md3
  VG Name   VG01
  PV Size   4,09 TB / not usable 4,00 TB
  Allocatable   yes
  PE Size (KByte)   4096
  Total PE  1072103
  Free PE   242919
  Allocated PE  829184
  PV UUID   hMMm0m-w4Ds-SU77-ATjF-iF1A-0qfq-V2IcXb


Do I hit some compatibility-issue?

Stefan




Re: [gentoo-user] Re: remote installation, dual boot

2015-04-28 Thread J. Roeleveld
On 28 April 2015 17:37:06 CEST, Stefan G. Weichinger li...@xunil.at wrote:
On 28.04.2015 17:30, J. Roeleveld wrote:

 I sent my files on a seperate thread last weekend.
 Did you see those?

no ... got to dig, thanks

Sent on 25th. Initramfs in subject.

Happy hunting. :)
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.