Re: [gentoo-user] ZFS

2013-09-19 Thread Dale
Grant wrote:
>>> Interesting news related to ZFS:
>>>
>>> http://open-zfs.org/wiki/Main_Page
>> I wonder if this will be added to the kernel at some point in the
>> future?  May even be their intention?
> I think the CDDL license is what's keeping ZFS out of the kernel,
> although some argue that it should be integrated anyway.  OpenZFS
> retains the same license.
>
> - Grant
>
> .
>

Then I wonder why it seems to have forked?  

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Pandu Poluan
On Thu, Sep 19, 2013 at 11:49 AM, 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
>

Plan carefully how you are going to create the vdev's before you add
them to a pool.

Once a vdev has been created and added to a pool, you can't ever
un-add and/or replace them.

(You always can replace a component of a vdev -- e.g., if one physical
drive fails -- but you can't remove a vdev in its entirety).


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



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] ZFS

2013-09-19 Thread Pandu Poluan
On Thu, Sep 19, 2013 at 2:40 PM, Dale  wrote:
> Grant wrote:
 Interesting news related to ZFS:

 http://open-zfs.org/wiki/Main_Page
>>> I wonder if this will be added to the kernel at some point in the
>>> future?  May even be their intention?
>> I think the CDDL license is what's keeping ZFS out of the kernel,
>> although some argue that it should be integrated anyway.  OpenZFS
>> retains the same license.
>>
>> - Grant
>>
>> .
>>
>
> Then I wonder why it seems to have forked?  
>

At the moment, only to 'decouple' ZFS development from Illumos development.

Changing a license require the approval of all rightsholders, and that
takes time.

At least, with a decoupling, ZFS can quickly improve to fulfill the
needs of its users, no longer depending on Illumos' dev cycle.


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Pandu Poluan
On Thu, Sep 19, 2013 at 2:44 PM, Hinnerk van Bruinehsen
 wrote:
> 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
>

Especially with SSDs. One must find out the blocksize used by his/her SSDs.

With spinning disks, setting ashift=12 is enough since no spinning
disks have sectors larger than 2^12 bytes.

With SSDs, one might have to set ashift=13 or even ashift=14.

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Stefan G. Weichinger
Am 19.09.2013 09:47, schrieb Pandu Poluan:

> Especially with SSDs. One must find out the blocksize used by his/her SSDs.
> 
> With spinning disks, setting ashift=12 is enough since no spinning
> disks have sectors larger than 2^12 bytes.
> 
> With SSDs, one might have to set ashift=13 or even ashift=14.

May I suggest that we should somehow collect all these small but
important issues for reference? Wiki?

Stefan




Re: [gentoo-user] ZFS

2013-09-19 Thread Joerg Schilling
Grant  wrote:

> >> Interesting news related to ZFS:
> >>
> >> http://open-zfs.org/wiki/Main_Page
> >
> > I wonder if this will be added to the kernel at some point in the
> > future?  May even be their intention?
>
> I think the CDDL license is what's keeping ZFS out of the kernel,
> although some argue that it should be integrated anyway.  OpenZFS
> retains the same license.

As long as there are people that claim ZFS was derived from the Linux kernel 
(i.e. is a derived work from GPL code and thus needs to be put under GPL), 
there seems to be a problem.

I am not sure whether it is possible to educate these people...

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] ZFS

2013-09-19 Thread Joerg Schilling
Dale  wrote:

> Grant wrote:
> >>> Interesting news related to ZFS:
> >>>
> >>> http://open-zfs.org/wiki/Main_Page
> >> I wonder if this will be added to the kernel at some point in the
> >> future?  May even be their intention?
> > I think the CDDL license is what's keeping ZFS out of the kernel,
> > although some argue that it should be integrated anyway.  OpenZFS
> > retains the same license.
> >
> > - Grant
> >
> > .
> >
>
> Then I wonder why it seems to have forked?  

Why do you believe it has forked?
This project does not even has a source code repository and the fact that
they refer to illumos for sources makes me wonder whether it is open for 
contributing.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] PYTHON_TARGETS issue

2013-09-19 Thread Burak Arslan
Hi,

When I try:

# emerge -uDNp world, I get this error:

!!! The ebuild selected to satisfy
">=app-accessibility/speech-dispatcher-0.8:=" has unmet requirements.
- app-accessibility/speech-dispatcher-0.8-r2::gentoo USE="alsa espeak
python -ao -flite -nas -pulseaudio -static-libs"
PYTHON_TARGETS="-python3_2 -python3_3"

  The following REQUIRED_USE flag constraints are unsatisfied:
python? ( any-of ( python_targets_python3_2 python_targets_python3_3 ) )

among other ones. But I have:

# emerge --info | egrep 'PYTHON_TARGETS="[^"]+"' -o
PYTHON_TARGETS="python2_7 python3_3"
PYTHON_TARGETS="python2_7 python3_3"

Any suggestions?

Best,
Burak




Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Tanstaafl

On 2013-09-19 3:44 AM, Hinnerk van Bruinehsen 
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).


Yikes...

Ok, shouldn't there be a tool or tools to help with this? Ie, boot up on 
a bootable tools disk on the system with all drives connected, then let 
it 'analyze' your system, maybe ask you some questions (ie, how you will 
be configuring the drives/RAID, etc), then spit out an optimized config 
for you?


It is starting to sound like you need to be a dang engineer just to use 
ZFS...




Re: [gentoo-user] ZFS

2013-09-19 Thread Dale
Joerg Schilling wrote:
> Dale  wrote:
>
>> Grant wrote:
> Interesting news related to ZFS:
>
> http://open-zfs.org/wiki/Main_Page
 I wonder if this will be added to the kernel at some point in the
 future?  May even be their intention?
>>> I think the CDDL license is what's keeping ZFS out of the kernel,
>>> although some argue that it should be integrated anyway.  OpenZFS
>>> retains the same license.
>>>
>>> - Grant
>>>
>>> .
>>>
>> Then I wonder why it seems to have forked?  
> Why do you believe it has forked?
> This project does not even has a source code repository and the fact that
> they refer to illumos for sources makes me wonder whether it is open for 
> contributing.
>
> Jörg
>

Well, it seemed to me that it either changed its name or forked or
something.  I was hoping that whatever the reason for this, it would
eventually be in the kernel like ext* and others.  It seems that is not
the case.  That's why I was asking questions. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] ZFS

2013-09-19 Thread Joerg Schilling
Dale  wrote:

> > Why do you believe it has forked?
> > This project does not even has a source code repository and the fact that
> > they refer to illumos for sources makes me wonder whether it is open for 
> > contributing.
> >
> > Jörg
> >
>
> Well, it seemed to me that it either changed its name or forked or
> something.  I was hoping that whatever the reason for this, it would
> eventually be in the kernel like ext* and others.  It seems that is not
> the case.  That's why I was asking questions. 

It is in the Kernel...

It may not be in the Linux kernel ;-)

It seems that they just came out of their caves and created a web page.
Note that until recently, they used secret mailing lists.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] Unable to catch kernel crash dump

2013-09-19 Thread Grant
I've been getting a kernel oops for awhile that is worse than ever in
3.11.1.  It seems to be related to my XHCI USB port.  I followed the
instructions here:

http://wiki.gentoo.org/wiki/Kernel_Crash_Dumps

but /proc/vmcore doesn't exist after I reboot the system after a
crash.  I did notice that I was getting a lot of white text dumped to
the screen against a black background before I followed the
instructions in the wiki, but after following them the screen just
freezes when it crashes.

Does anyone know what I might be doing wrong or how to find out?

- Grant



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread 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).
>
> Yikes...
>
> Ok, shouldn't there be a tool or tools to help with this? Ie, boot up on a
> bootable tools disk on the system with all drives connected, then let it
> 'analyze' your system, maybe ask you some questions (ie, how you will be
> configuring the drives/RAID, etc), then spit out an optimized config for
> you?

I'm also interested to know the procedure for getting this right.

> It is starting to sound like you need to be a dang engineer just to use
> ZFS...

I thought the SSD issue was completely separate from ZFS and
applicable to any other filesystem as well.  Someone please correct me
if I'm wrong.

- Grant



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Pandu Poluan
On Thu, Sep 19, 2013 at 5:37 PM, Tanstaafl  wrote:
> On 2013-09-19 3:44 AM, Hinnerk van Bruinehsen 
>> 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).
>
>
> Yikes...
>
> Ok, shouldn't there be a tool or tools to help with this? Ie, boot up on a
> bootable tools disk on the system with all drives connected, then let it
> 'analyze' your system, maybe ask you some questions (ie, how you will be
> configuring the drives/RAID, etc), then spit out an optimized config for
> you?
>
> It is starting to sound like you need to be a dang engineer just to use
> ZFS...
>

Just do ashift=12 and you're good to go. No need to analyze further.

The reason I said that because in the future, *all* drives will have 4
KiB sectors. Currently, many drives still have 512 B sectors. But when
one day your drive dies and you need to replace it, will you be able
to find a drive with 512 B sectors?

Unlikely.

That's why, even if your drives are currently of the 'classic' 512 B
ones, go with ashift=12 anyway.

For SSDs, the situation is murkier. Many SSDs 'lie' about their actual
sector size, reporting to the OS that their sector size is 512 B (or 4
KiB). No tool can pierce this veil of smokescreen. The only way is to
do research on the Internet.

IIRC, a ZFS developer has embedded -- or planned to embed -- a small
database into the ZFS utilities to conclusively determine what
settings will be optimal. I forgot who exactly. Maybe @ryao can pipe
in (hello Richard! If you're watching this thread, feel free to add
more info).


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread 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).
>>
>> Yikes...
>>
>> Ok, shouldn't there be a tool or tools to help with this? Ie, boot up on a
>> bootable tools disk on the system with all drives connected, then let it
>> 'analyze' your system, maybe ask you some questions (ie, how you will be
>> configuring the drives/RAID, etc), then spit out an optimized config for
>> you?
>>
>> It is starting to sound like you need to be a dang engineer just to use
>> ZFS...
>>
>
> Just do ashift=12 and you're good to go. No need to analyze further.
>
> The reason I said that because in the future, *all* drives will have 4
> KiB sectors. Currently, many drives still have 512 B sectors. But when
> one day your drive dies and you need to replace it, will you be able
> to find a drive with 512 B sectors?
>
> Unlikely.
>
> That's why, even if your drives are currently of the 'classic' 512 B
> ones, go with ashift=12 anyway.
>
> For SSDs, the situation is murkier. Many SSDs 'lie' about their actual
> sector size, reporting to the OS that their sector size is 512 B (or 4
> KiB). No tool can pierce this veil of smokescreen. The only way is to
> do research on the Internet.

OK, so figure out what SSD you're using and Google to find the correct ashift?

- Grant



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Grant
>> Especially with SSDs. One must find out the blocksize used by his/her SSDs.
>>
>> With spinning disks, setting ashift=12 is enough since no spinning
>> disks have sectors larger than 2^12 bytes.
>>
>> With SSDs, one might have to set ashift=13 or even ashift=14.
>
> May I suggest that we should somehow collect all these small but
> important issues for reference? Wiki?

This could be useful:

http://www.funtoo.org/wiki/ZFS_Install_Guide

- Grant



Re: [gentoo-user] Re: ZFS

2013-09-19 Thread Pandu Poluan
On Thu, Sep 19, 2013 at 8:01 PM, Grant  wrote:
 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).
>>>
>>> Yikes...
>>>
>>> Ok, shouldn't there be a tool or tools to help with this? Ie, boot up on a
>>> bootable tools disk on the system with all drives connected, then let it
>>> 'analyze' your system, maybe ask you some questions (ie, how you will be
>>> configuring the drives/RAID, etc), then spit out an optimized config for
>>> you?
>>>
>>> It is starting to sound like you need to be a dang engineer just to use
>>> ZFS...
>>>
>>
>> Just do ashift=12 and you're good to go. No need to analyze further.
>>
>> The reason I said that because in the future, *all* drives will have 4
>> KiB sectors. Currently, many drives still have 512 B sectors. But when
>> one day your drive dies and you need to replace it, will you be able
>> to find a drive with 512 B sectors?
>>
>> Unlikely.
>>
>> That's why, even if your drives are currently of the 'classic' 512 B
>> ones, go with ashift=12 anyway.
>>
>> For SSDs, the situation is murkier. Many SSDs 'lie' about their actual
>> sector size, reporting to the OS that their sector size is 512 B (or 4
>> KiB). No tool can pierce this veil of smokescreen. The only way is to
>> do research on the Internet.
>
> OK, so figure out what SSD you're using and Google to find the correct ashift?
>
> - Grant
>

Kind of like that, yes. Find out exactly the size of the SSD's
"internal sectors" (for lack of better term), and find the log2 to it.

But don't go higher than ashift=14

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



[gentoo-user] Kompozer, anyone?

2013-09-19 Thread Peter Humphrey
Hi list,

I used to use Kompozer (part of the Mozilla suite) but time has passed and now 
the libraries it needs are no longer in portage. That's using the binary. 
Attempting to build it from source according to these instructions [1] fails 
too because the script can't find some other libraries. The project seems to be 
dead, or at least moribund, and hasn't been updated since version 0.8b3 which 
relied on gcc 4.2.

Has anyone managed to get it to compile?

Or maybe there's another WYSIWIG HTML editor?

I use BlueFish most of the time, but just occasionally Kompozer has been 
useful too, and it would be a shame if it just died.

-- 
Regards,
Peter




Re: [gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread Yohan Pereira
On 19/09/13 at 05:14pm, gevisz wrote:
> I would like to build sane-backend only for one specific scanner.
> 
> However, there are a huge lot of different USE flags for other scanners
> that are already switched on by default.
> 
> Is there any easy way to switch them off?
> 
> Something like:
> 
>   media-gfx/sane-backends -sane_backends* sane_backends_hp
> 
> Exactly that way does not work, but may be something like that...
> 
> ...instead of directly switching off every one of them.

you can try 

media-gfx/sane-backends -* sane_backends_hp 

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain



[gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread gevisz
I would like to build sane-backend only for one specific scanner.

However, there are a huge lot of different USE flags for other scanners
that are already switched on by default.

Is there any easy way to switch them off?

Something like:

  media-gfx/sane-backends -sane_backends* sane_backends_hp

Exactly that way does not work, but may be something like that...

...instead of directly switching off every one of them.


[gentoo-user] DVD: Video->Yes, Audio-> But actor can be heard speaking!

2013-09-19 Thread meino . cramer
Hi,

I've got a mysterious (at least to me ;) effect on system:
When playing DVDs with different players (vlc/mplayer)
video and audio seem to be ok.
With one exception:
I only /see/ the actors moving their mouths...there his
not a single voice audible.
Background sound and everything else is fine.

I tried to increase the volume of "all suspicious"
levels of alsamixer and checked for muted channels
but no success.

I recompiled mplayer and vlc -- no effect.

System:
Linux 3.10.12 #1 SMP PREEMPT x86_64 AMD Phenom(tm) II X6 1090T Processor 
AuthenticAMD GNU/Linux
media-libs/alsa-lib 1.0.27.2  (-alisp -debug -doc -python ABI_MIPS="-n32 -n64 
-o32" ABI_X86="64 -32 -x32" PYTHON_SINGLE_TARGET="python2_7" 
PYTHON_TARGETS="python2_7")
and two simple speakers (stereo) via simple earphone jack

What is going on here? ;)

Thank you very much for any help in advance!
mcc






Re: [gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread Frank Steinmetzger
On Thu, Sep 19, 2013 at 07:58:05PM +0530, Yohan Pereira wrote:

> > I would like to build sane-backend only for one specific scanner.
> > 
> > However, there are a huge lot of different USE flags for other scanners
> > that are already switched on by default.
> > 
> > Is there any easy way to switch them off?
> > […]
> > ...instead of directly switching off every one of them.
> 
> you can try 
> 
> media-gfx/sane-backends -* sane_backends_hp 

as eix tells you:

 SANE_BACKENDS="+abaton +agfafocus +apple ..."

It’s not just use flags, but an expanding variable. So if you put
SANE_BACKENDS="your device here" into make conf, only the specified
driver will be built. It’s the same principle that goes with VIDEO_CARDS
and LINGUAS, for example.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The best secret of all: to be a genius and be the only one to know.


signature.asc
Description: Digital signature


Re: [gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread Neil Bothwick
On Thu, 19 Sep 2013 17:14:02 +0300, gevisz wrote:

> I would like to build sane-backend only for one specific scanner.
> 
> However, there are a huge lot of different USE flags for other scanners
> that are already switched on by default.
> 
> Is there any easy way to switch them off?

Yes, switch on the one you want. The only time all the backends are
enabled are when SANE_BACKENDS is not defined. Set that to the scanner
you have in make.conf and that is all you will get.


-- 
Neil Bothwick

NOTE: In order to control energy costs the light at the end
of the tunnel has been shut off until further notice...


signature.asc
Description: PGP signature


Re: [gentoo-user] DVD: Video->Yes, Audio-> But actor can be heard speaking!

2013-09-19 Thread Frank Steinmetzger
On Thu, Sep 19, 2013 at 05:08:24PM +0200, meino.cra...@gmx.de wrote:
> Hi,
> 
> I've got a mysterious (at least to me ;) effect on system:
> When playing DVDs with different players (vlc/mplayer)
> video and audio seem to be ok.
> With one exception:
> I only /see/ the actors moving their mouths...there his
> not a single voice audible.
> Background sound and everything else is fine.
> 
> I tried to increase the volume of "all suspicious"
> levels of alsamixer and checked for muted channels
> but no success.
> 
> I recompiled mplayer and vlc -- no effect.

Sounds like your channel mixing is misconfigured. Unfortunately I can
only give you that pointer, but not how to dereference it. ;-)
The player thinks you have some kind of surround system, so you only
hear two out of x channels.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Dyslexics of the world, untie!


signature.asc
Description: Digital signature


Re: [gentoo-user] Kompozer, anyone?

2013-09-19 Thread Frank Steinmetzger
On Thu, Sep 19, 2013 at 03:32:22PM +0100, Peter Humphrey wrote:
> Hi list,
> 
> I used to use Kompozer (part of the Mozilla suite) but time has passed and 
> now 
> the libraries it needs are no longer in portage. That's using the binary. 
> Attempting to build it from source according to these instructions [1] fails 
> too because the script can't find some other libraries. The project seems to 
> be 
> dead, or at least moribund, and hasn't been updated since version 0.8b3 which 
> relied on gcc 4.2.
> 
> Has anyone managed to get it to compile?
> 
> Or maybe there's another WYSIWIG HTML editor?

Is it not part of the Mozilla suite anymore? Try seamonkey or
seamonkey-bin, which is the current incarnation of the suite.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The whale is the smallest mammal on Earth, if it just weren’t so big.


signature.asc
Description: Digital signature


Re: [gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread Wang Xuerui
2013/9/19 gevisz :
> I would like to build sane-backend only for one specific scanner.
>
> However, there are a huge lot of different USE flags for other scanners
> that are already switched on by default.
>
> Is there any easy way to switch them off?
>
> Something like:
>
>   media-gfx/sane-backends -sane_backends* sane_backends_hp
>
> Exactly that way does not work, but may be something like that...
>
> ...instead of directly switching off every one of them.

According to the Package Manager Specification, the variable should
not be incremental, i.e. any value set would override *any* defaults
or previously set values. So just do SANE_BACKENDS="xxx" in your
make.conf, same as what you'd do for VIDEO_CARDS and the like.

Hope it helps :)



Re: [gentoo-user] DVD: Video->Yes, Audio-> But actor can be heard speaking!

2013-09-19 Thread meino . cramer
Frank Steinmetzger  [13-09-19 17:40]:
> On Thu, Sep 19, 2013 at 05:08:24PM +0200, meino.cra...@gmx.de wrote:
> > Hi,
> > 
> > I've got a mysterious (at least to me ;) effect on system:
> > When playing DVDs with different players (vlc/mplayer)
> > video and audio seem to be ok.
> > With one exception:
> > I only /see/ the actors moving their mouths...there his
> > not a single voice audible.
> > Background sound and everything else is fine.
> > 
> > I tried to increase the volume of "all suspicious"
> > levels of alsamixer and checked for muted channels
> > but no success.
> > 
> > I recompiled mplayer and vlc -- no effect.
> 
> Sounds like your channel mixing is misconfigured. Unfortunately I can
> only give you that pointer, but not how to dereference it. ;-)
> The player thinks you have some kind of surround system, so you only
> hear two out of x channels.
> -- 
> Gruß | Greetings | Qapla’
> Please do not share anything from, with or about me with any Facebook service.
> 
> Dyslexics of the world, untie!


HiFrank,

thanks for your help! I will try to use it as *help. :)

Whats interesting with all that is: "previously" (read "before 
that problem") everyhing works fine.
And then ...once in a sudden... "something" had shuffled the
channels.

Is there any /sys/... or /proc/... entry to which I could shout "stereo"
to switch back to good 'ole stereo instead of this surround stuff ?

Best regards,
mcc









Re: [gentoo-user] DVD: Video->Yes, Audio-> But actor can be heard speaking!

2013-09-19 Thread Raffaele BELARDI
On 09/19/2013 05:36 PM, Frank Steinmetzger wrote:
> On Thu, Sep 19, 2013 at 05:08:24PM +0200, meino.cra...@gmx.de 
> wrote:
>> Hi,
>> 
>> I've got a mysterious (at least to me ;) effect on system: When 
>> playing DVDs with different players (vlc/mplayer) video and
>> audio seem to be ok. With one exception: I only /see/ the actors
>> moving their mouths...there his not a single voice audible.
>> Background sound and everything else is fine.
>> 
> Sounds like your channel mixing is misconfigured. Unfortunately I 
> can only give you that pointer, but not how to dereference it. ;-)
>  The player thinks you have some kind of surround system, so you 
> only hear two out of x channels.
> 

alsamixer (from command line) should show if ALSA is configured for
multichannel mode and give the option to change to plain stereo.

Re: [gentoo-user] Switching off a long list of USE flags

2013-09-19 Thread gevisz
2013/9/19 Wang Xuerui 

> 2013/9/19 gevisz :
> > I would like to build sane-backend only for one specific scanner.
> >
> > However, there are a huge lot of different USE flags for other scanners
> > that are already switched on by default.
> >
> > Is there any easy way to switch them off?
> >
> > Something like:
> >
> >   media-gfx/sane-backends -sane_backends* sane_backends_hp
> >
> > Exactly that way does not work, but may be something like that...
> >
> > ...instead of directly switching off every one of them.
>
> According to the Package Manager Specification, the variable should
> not be incremental, i.e. any value set would override *any* defaults
> or previously set values. So just do SANE_BACKENDS="xxx" in your
> make.conf, same as what you'd do for VIDEO_CARDS and the like.
>
> Hope it helps :)
>

Yes,

SANE_BACKENDS="hp"

works,

SANE_BACKENDS="+hp3500"

does not.

Thank you for all who replied.


[gentoo-user] re: duplicated packages

2013-09-19 Thread Alexander Kapshuk
Howdy,

Is having duplicate packages a good or a bad thing in gentoo? I'm clear
about having duplicate packages for the kernel. I'm using the more
recent one, but hanging on to the old one just in case.

Perhaps, the reason for having duplicate packages is the fact that
various packages I have installed on the system may require a different
version of a package I may already have installed. Is that it?

_box0=; equery list --duplicates '*'
 * Searching for * ...
[IP-] [  ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2
[IP-] [  ] app-text/docbook-xml-dtd-4.4-r2:4.4
[IP-] [  ] dev-lang/python-2.7.5-r2:2.7
[IP-] [  ] dev-lang/python-3.2.5-r2:3.2
[IP-] [  ] dev-libs/openssl-0.9.8y:0.9.8
[IP-] [  ] dev-libs/openssl-1.0.1e-r1:0
[IP-] [  ] media-libs/lcms-1.19:0
[IP-] [  ] media-libs/lcms-2.3:2
[IP-] [  ] sys-devel/autoconf-2.13:2.1
[IP-] [  ] sys-devel/autoconf-2.69:2.5
[IP-] [  ] sys-devel/automake-1.10.3:1.10
[IP-] [  ] sys-devel/automake-1.12.6:1.12
[IP-] [  ] sys-devel/automake-1.13.4:1.13
[IP-] [M ] sys-kernel/gentoo-sources-3.8.13:3.8.13
[IP-] [  ] sys-kernel/gentoo-sources-3.10.7:3.10.7
[IP-] [  ] virtual/libusb-0:0
[IP-] [  ] virtual/libusb-1:1
[IP-] [  ] x11-libs/gtk+-2.24.17:2
[IP-] [  ] x11-libs/gtk+-3.4.4:3
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
_
Thanks.



Re: [gentoo-user] re: duplicated packages

2013-09-19 Thread Alan McKinnon
On 19/09/2013 20:58, Alexander Kapshuk wrote:
> Howdy,
> 
> Is having duplicate packages a good or a bad thing in gentoo? I'm clear
> about having duplicate packages for the kernel. I'm using the more
> recent one, but hanging on to the old one just in case.
> 
> Perhaps, the reason for having duplicate packages is the fact that
> various packages I have installed on the system may require a different
> version of a package I may already have installed. Is that it?
> 
> _box0=; equery list --duplicates '*'
>  * Searching for * ...
> [IP-] [  ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2
> [IP-] [  ] app-text/docbook-xml-dtd-4.4-r2:4.4
> [IP-] [  ] dev-lang/python-2.7.5-r2:2.7
> [IP-] [  ] dev-lang/python-3.2.5-r2:3.2
> [IP-] [  ] dev-libs/openssl-0.9.8y:0.9.8
> [IP-] [  ] dev-libs/openssl-1.0.1e-r1:0
> [IP-] [  ] media-libs/lcms-1.19:0
> [IP-] [  ] media-libs/lcms-2.3:2
> [IP-] [  ] sys-devel/autoconf-2.13:2.1
> [IP-] [  ] sys-devel/autoconf-2.69:2.5
> [IP-] [  ] sys-devel/automake-1.10.3:1.10
> [IP-] [  ] sys-devel/automake-1.12.6:1.12
> [IP-] [  ] sys-devel/automake-1.13.4:1.13
> [IP-] [M ] sys-kernel/gentoo-sources-3.8.13:3.8.13
> [IP-] [  ] sys-kernel/gentoo-sources-3.10.7:3.10.7
> [IP-] [  ] virtual/libusb-0:0
> [IP-] [  ] virtual/libusb-1:1
> [IP-] [  ] x11-libs/gtk+-2.24.17:2
> [IP-] [  ] x11-libs/gtk+-3.4.4:3
> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
> _
> Thanks.
> 



They are not duplicates they are called SLOTS

And you have them for a reason - one thing needs package A version X,
something else needs package A version Y. Usually, you can have only
one, SLOTS let you have more than one that can co-exist.

Don't worry about them, let them be. You need them.



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




Re: [gentoo-user] re: duplicated packages

2013-09-19 Thread Alexander Kapshuk
On 09/19/2013 10:50 PM, Alan McKinnon wrote:
> On 19/09/2013 20:58, Alexander Kapshuk wrote:
>> Howdy,
>>
>> Is having duplicate packages a good or a bad thing in gentoo? I'm clear
>> about having duplicate packages for the kernel. I'm using the more
>> recent one, but hanging on to the old one just in case.
>>
>> Perhaps, the reason for having duplicate packages is the fact that
>> various packages I have installed on the system may require a different
>> version of a package I may already have installed. Is that it?
>>
>> _box0=; equery list --duplicates '*'
>>  * Searching for * ...
>> [IP-] [  ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2
>> [IP-] [  ] app-text/docbook-xml-dtd-4.4-r2:4.4
>> [IP-] [  ] dev-lang/python-2.7.5-r2:2.7
>> [IP-] [  ] dev-lang/python-3.2.5-r2:3.2
>> [IP-] [  ] dev-libs/openssl-0.9.8y:0.9.8
>> [IP-] [  ] dev-libs/openssl-1.0.1e-r1:0
>> [IP-] [  ] media-libs/lcms-1.19:0
>> [IP-] [  ] media-libs/lcms-2.3:2
>> [IP-] [  ] sys-devel/autoconf-2.13:2.1
>> [IP-] [  ] sys-devel/autoconf-2.69:2.5
>> [IP-] [  ] sys-devel/automake-1.10.3:1.10
>> [IP-] [  ] sys-devel/automake-1.12.6:1.12
>> [IP-] [  ] sys-devel/automake-1.13.4:1.13
>> [IP-] [M ] sys-kernel/gentoo-sources-3.8.13:3.8.13
>> [IP-] [  ] sys-kernel/gentoo-sources-3.10.7:3.10.7
>> [IP-] [  ] virtual/libusb-0:0
>> [IP-] [  ] virtual/libusb-1:1
>> [IP-] [  ] x11-libs/gtk+-2.24.17:2
>> [IP-] [  ] x11-libs/gtk+-3.4.4:3
>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>> _
>> Thanks.
>>
>
>
> They are not duplicates they are called SLOTS
>
> And you have them for a reason - one thing needs package A version X,
> something else needs package A version Y. Usually, you can have only
> one, SLOTS let you have more than one that can co-exist.
>
> Don't worry about them, let them be. You need them.
>
>
>
No worries.

Thanks.




Re: [gentoo-user] Kompozer, anyone?

2013-09-19 Thread Peter Humphrey
On Thursday 19 Sep 2013 17:32:16 Frank Steinmetzger wrote:

> Is it not part of the Mozilla suite anymore? Try seamonkey or
> seamonkey-bin, which is the current incarnation of the suite.

Yes, I find that Seamonkey has a Composer component, but it seems not to have a 
CSS editor like that of the old Kompozer. That's the one thing I was hoping to 
find in it!

Now for some heavy searching for alternatives...

-- 
Regards,
Peter




Re: [gentoo-user] Kompozer, anyone?

2013-09-19 Thread Mick
On Thursday 19 Sep 2013 21:24:15 Peter Humphrey wrote:
> On Thursday 19 Sep 2013 17:32:16 Frank Steinmetzger wrote:
> > Is it not part of the Mozilla suite anymore? Try seamonkey or
> > seamonkey-bin, which is the current incarnation of the suite.
> 
> Yes, I find that Seamonkey has a Composer component, but it seems not to
> have a CSS editor like that of the old Kompozer. That's the one thing I
> was hoping to find in it!
> 
> Now for some heavy searching for alternatives...

Bluefish and komodo-edit-bin (which is resource hungry):

  https://bugs.gentoo.org/show_bug.cgi?id=171944

-- 
Regards,
Mick


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


Re: [gentoo-user] ZFS

2013-09-19 Thread Douglas J Hunley
On Tue, Sep 17, 2013 at 12:32 PM,  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


-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


Re: [gentoo-user] ZFS

2013-09-19 Thread Douglas J Hunley
On Tue, Sep 17, 2013 at 1:54 PM, Stefan G. Weichinger wrote:

> I have to set up a server w/ 8x 1TB in about 2 weeks and consider ZFS as
> well, at least for data. So root-fs would go onto 2x 1TB hdds with
> conventional partitioning and something like ext4.
>
> 6x 1TB would be available for data ... on one hand for a file-server
> part ... on the other hand for VMs based on KVM.
>

1TB drives are right on the border of switching from RAIDZ to RAIDZ2.
You'll see people argue for both sides at this size, but the 'saner
default' would be to use RAIDZ2. You're going to lose storage space, but
gain an extra parity drive (think RAID6). Consumer grade hard drives are
/going/ to fail during a resilver (Murphy's Law) and that extra parity
drive is going to save your bacon.

I create

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


Re: [gentoo-user] ZFS

2013-09-19 Thread Douglas J Hunley
On Tue, Sep 17, 2013 at 12:32 PM,  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


-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


Re: [gentoo-user] re: duplicated packages

2013-09-19 Thread Dale
Alexander Kapshuk wrote:
> On 09/19/2013 10:50 PM, Alan McKinnon wrote:
>> On 19/09/2013 20:58, Alexander Kapshuk wrote:
>>> Howdy,
>>>
>>> Is having duplicate packages a good or a bad thing in gentoo? I'm clear
>>> about having duplicate packages for the kernel. I'm using the more
>>> recent one, but hanging on to the old one just in case.
>>>
>>> Perhaps, the reason for having duplicate packages is the fact that
>>> various packages I have installed on the system may require a different
>>> version of a package I may already have installed. Is that it?
>>>
>>> _box0=; equery list --duplicates '*'
>>>  * Searching for * ...
>>> [IP-] [  ] app-text/docbook-xml-dtd-4.1.2-r6:4.1.2
>>> [IP-] [  ] app-text/docbook-xml-dtd-4.4-r2:4.4
>>> [IP-] [  ] dev-lang/python-2.7.5-r2:2.7
>>> [IP-] [  ] dev-lang/python-3.2.5-r2:3.2
>>> [IP-] [  ] dev-libs/openssl-0.9.8y:0.9.8
>>> [IP-] [  ] dev-libs/openssl-1.0.1e-r1:0
>>> [IP-] [  ] media-libs/lcms-1.19:0
>>> [IP-] [  ] media-libs/lcms-2.3:2
>>> [IP-] [  ] sys-devel/autoconf-2.13:2.1
>>> [IP-] [  ] sys-devel/autoconf-2.69:2.5
>>> [IP-] [  ] sys-devel/automake-1.10.3:1.10
>>> [IP-] [  ] sys-devel/automake-1.12.6:1.12
>>> [IP-] [  ] sys-devel/automake-1.13.4:1.13
>>> [IP-] [M ] sys-kernel/gentoo-sources-3.8.13:3.8.13
>>> [IP-] [  ] sys-kernel/gentoo-sources-3.10.7:3.10.7
>>> [IP-] [  ] virtual/libusb-0:0
>>> [IP-] [  ] virtual/libusb-1:1
>>> [IP-] [  ] x11-libs/gtk+-2.24.17:2
>>> [IP-] [  ] x11-libs/gtk+-3.4.4:3
>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
>>> [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
>>> _
>>> Thanks.
>>>
>>
>> They are not duplicates they are called SLOTS
>>
>> And you have them for a reason - one thing needs package A version X,
>> something else needs package A version Y. Usually, you can have only
>> one, SLOTS let you have more than one that can co-exist.
>>
>> Don't worry about them, let them be. You need them.
>>
>>
>>
> No worries.
>
> Thanks.
>
>
>

As a example, if you were to remove python2.7, its been nice knowing
you.  lol  There is no telling what all that would break and that is
just one package.  I get a shiver up my spine just thinking about it. 
It's always good to ask about this sort of thing.  The 20/20 rear view
mirror view can bite.  ;-) 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!