Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread Neil Bothwick
On Thu, 15 Jun 2017 07:29:14 +0200, J. Roeleveld wrote:

> Android and iphones can be accessed as a USB drive. Doesn't this work?

No they can't, at least not the modern Android phones. allowing two
systems to mount the same filesystem is a recipe for disaster. That's why
we have MTP, which would be the perfect answer... if it worked reliably.

I avoid all those issues by installing SSHhelper on Android and copying
files with scp you can also open ssh views in Dolphin if the mouse is
more your thing.


-- 
Neil Bothwick

Deja Moo: The feeling that you heard this bull somewhere before.


pgp_LAkSonOCJ.pgp
Description: OpenPGP digital signature


[gentoo-user] XFCE "Set Title" hotkey

2017-06-14 Thread Bill Kenworthy
Hi,

I am using the XFCE4 Terminal in drop down mode on an XFCE4
desktop.  Something has caused the "Set Title" hotkey to be set with the
letter "o" trapping that key whenever it is pressed.  Very frustrating
as "o" is a common letter :)

I've checked everywhere I can think of so I am now looking for
ideas/suggestions where this might be set/overridden?  Other systems I
have are fine so it probably something I accidentally altered.

 

BillK





Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread J. Roeleveld
On June 14, 2017 10:43:33 PM GMT+02:00, Daniel Frey  wrote:
>On 06/14/2017 12:47 PM, Mick wrote:
>> 
>> A long shot, but you never know if it will help in your case. 
>(Re)install 
>> kde-apps/kwalletd-16.04.3-r1 and see if all this multiple-asking for 
>> permission goes away.  It may just be that the KDE application in
>question was 
>> working well with kwalletd:4, but not kwalletd:5.
>> 
>
>I'll try that later on, too busy digging in my yard. Stopped for a
>break.
>
>I should mention I don't use kwallet, I turn that crap off.
>
>The device doing all the prompting was the phone itself. The phone
>usually would ask once for permission but it seems to ask so quickly
>you
>can't respond to them causing the mtp driver to barf.
>
>Dan

Android and iphones can be accessed as a USB drive. Doesn't this work?

I found MTP unreliable both with Linux and MS Windows.

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



Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread Daniel Frey
On 06/14/2017 12:47 PM, Mick wrote:
> 
> A long shot, but you never know if it will help in your case.  (Re)install 
> kde-apps/kwalletd-16.04.3-r1 and see if all this multiple-asking for 
> permission goes away.  It may just be that the KDE application in question 
> was 
> working well with kwalletd:4, but not kwalletd:5.
> 

I'll try that later on, too busy digging in my yard. Stopped for a break.

I should mention I don't use kwallet, I turn that crap off.

The device doing all the prompting was the phone itself. The phone
usually would ask once for permission but it seems to ask so quickly you
can't respond to them causing the mtp driver to barf.

Dan



Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread R0b0t1
On Wed, Jun 14, 2017 at 10:05 AM, Daniel Frey  wrote:
>
> Does anyone know why KDE/mtp would exhibit this type of behaviour?
>

Unfortunately I don't have an installation to reproduce this with but
I'd blame the underlying MTP implementation first. It may have changed
unbeknownst to KDE and thus KDE tries to connect repeatedly, or KDE is
invoking it incorrectly. Is there anywhere you can see log messages?

When I was trying to actually use my mobile device as advertised it
was recommended I use the command line MTP tools - at the very least
this will give you better errors. More recently I've regressed to
using SD cards (and met a few people who do the same, even on
Windows), which can be a pain if it's behind the battery cover.



Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread Mick
On Wednesday 14 Jun 2017 08:05:47 Daniel Frey wrote:
> Well, did I just have an exercise in frustration.
> 
> I needed to get a couple pictures off my phone (using MTP) so I plugged
> it into my computer. It asked for permission on my phone, I allowed it -
> then KDE reports the MTP process died.
> 
> So I tried a second time but faster tapping 'allow' on my phone and got
> it to list directory contents.
> 
> I selected the five pictures I needed, and dragged and dropped them to
> their destination (Pictures folder).
> 
> The phone then asked for permission five time in about 500ms - not
> enough to allow them.
> 
> So the MTP process crapped out again.
> 
> I repeated this three times and cursed at KDE (it used to work, I
> haven't had to copy files off my phone in more than six months) and
> emailed them to myself.
> 
> Does anyone know why KDE/mtp would exhibit this type of behaviour?
> 
> Dan

A long shot, but you never know if it will help in your case.  (Re)install 
kde-apps/kwalletd-16.04.3-r1 and see if all this multiple-asking for 
permission goes away.  It may just be that the KDE application in question was 
working well with kwalletd:4, but not kwalletd:5.

-- 
Regards,
Mick

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


Re: [gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread james
On 06/14/17 14:42, Mick wrote:
> On Wednesday 14 Jun 2017 13:10:16 Grant Edwards wrote:
>> Starting a few months back, I've noticed that on some of my machines,
>> Firefox has started to use rediculous amounts of CPU and memory. It
>> will burn 100% of a CPU for minutes at a time while apparently doing
>> nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
>> thing thing in Chrome uses 0% CPU (once pages are rendered) and less
>> that 1/10 the RAM.
>>
>> I've got the same version of Firefox with the same set of extensions
>> on other machines that don't seem to have issues.
>>
>> Is there any useful troubleshooting one can do (e.g. uninstalling
>> extensions one at a time)?  Or is it finally time to give up on
>> Firefox?
> 
> It may be hardware acceleration trouble.  What video card are you using?  I 
> have noticed hard lock ups on FF, LibreOffice and even Kmail (more rare) on 
> two different systems with AMD/Radeon video cards.  The keyboard becomes 
> totally unresponsive.  This has started since the last Xorg/Mesa update, but 
> I 
> haven't had the time to look into it.  The logs do not show anything 
> meaningful.  FF was particularly troublesome on version 45.8.0, but with 
> 52.1.0-r1 seems to have settled down.

I have one system with a fanless radeon card ::
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]


that goes blank, locks keyboard and requires a hard system reset,
sporadically.Sometimes months, sometimes a few days. It always comes
back fine after reboot. Numerous memory scans finds nothing wrong with
ram. It locks up sporadically, unrelated to load/hardware usage, neither
specific to an application. I suspect the video driver and associated
codes, but have not found it.  Then again, I have not looked in a robust
manner. If you look at Phoronix, there is heavy work on most aspects of
the greater AMD/radeon area of linux.


I just hope some more modern fanless video cards (radeon) become
available, as what I use is old. I was/am preparing to work on
radeontop. Some folks boot windows and use vendor supplied diagnostic
tools when a gremlin appears in the radeon hardware. My card(s) are so
old, I'm waiting on newer fanless cards (have not looked lately to see
what's is out there that is fanless, radeon and priced lower). All in
all, I love radeon/AMD video cards; ymmv.


radeontop needs tlc, so anyone could jump my efforts as that ebuild/code
needs some updates. I'm not sure when I'll get to (proxy) fix it up;
but it monitors the radeon cards by categories of GPU/resource
utilization, if certain apps are killing your video/system. Not sure
what new features are in the newer versions. I do have a plethora of
older radeon cards to test, if somebody wanted to proxy maintain
radeontop, as I'm not sure when I'll get to it.


https://github.com/clbr/radeontop


Bad year for this old fart, in several domains


hth,
James




Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread thelma
On 06/14/2017 12:32 PM, Neil Bothwick wrote:
> On Wed, 14 Jun 2017 09:18:29 -0600, the...@sys-concept.com wrote:
> 
>> My 2-months old system is giving me 1-long 3-short beeps.
>> No, video display.
>> I've swapped the video cards, it is not it.
>>
>> Is it a motherboard?
>> Asus 970 PRO GAMING AURA Mobo
> 
> https://www.asus.com/support/faq/1029959 saus "No VGA detected". If the
> card is OK, it could be the slot. Is there also on-board video?

No, this card doesn't have on-board video (I wish it had).
Since I swapped the video card (and it didn't help) the problem points
to the motherboard.

--
Thelma




Re: [gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread Mick
On Wednesday 14 Jun 2017 13:10:16 Grant Edwards wrote:
> Starting a few months back, I've noticed that on some of my machines,
> Firefox has started to use rediculous amounts of CPU and memory. It
> will burn 100% of a CPU for minutes at a time while apparently doing
> nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
> thing thing in Chrome uses 0% CPU (once pages are rendered) and less
> that 1/10 the RAM.
> 
> I've got the same version of Firefox with the same set of extensions
> on other machines that don't seem to have issues.
> 
> Is there any useful troubleshooting one can do (e.g. uninstalling
> extensions one at a time)?  Or is it finally time to give up on
> Firefox?

It may be hardware acceleration trouble.  What video card are you using?  I 
have noticed hard lock ups on FF, LibreOffice and even Kmail (more rare) on 
two different systems with AMD/Radeon video cards.  The keyboard becomes 
totally unresponsive.  This has started since the last Xorg/Mesa update, but I 
haven't had the time to look into it.  The logs do not show anything 
meaningful.  FF was particularly troublesome on version 45.8.0, but with 
52.1.0-r1 seems to have settled down.

-- 
Regards,
Mick

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


Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2017 09:18:29 -0600, the...@sys-concept.com wrote:

> My 2-months old system is giving me 1-long 3-short beeps.
> No, video display.
> I've swapped the video cards, it is not it.
> 
> Is it a motherboard?
> Asus 970 PRO GAMING AURA Mobo

https://www.asus.com/support/faq/1029959 saus "No VGA detected". If the
card is OK, it could be the slot. Is there also on-board video?


-- 
Neil Bothwick

Beware of cover disks bearing upgrades.


pgpIC49OZbdvL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Mick
On Wednesday 14 Jun 2017 18:00:38 Ian Bloss wrote:
> https://www.asus.com/support/faq/1029959
> Pretty sad, most manuals I've seen have a troubleshooting section

Google is your friend in this case:

 https://www.asus.com/us/support/faq/1029959/

and Richard is right, the POST beeps look like a VGA problem.


PS.  Can we please refrain from top posting on this M/L?

-- 
Regards,
Mick

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


Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Ian Bloss
https://www.asus.com/support/faq/1029959
Pretty sad, most manuals I've seen have a troubleshooting section

On Wed, Jun 14, 2017, 10:22 AM Mick  wrote:

> On Wednesday 14 Jun 2017 10:19:31 the...@sys-concept.com wrote:
>
> > I'll know in few days, but I suspect you are correct. The motherboard
> > will need to be replaced.
> >
> > Though most likely I'll select a different motherboard if that will be
> > possible.
> >
> > --
> > Thelma
>
> I'd check again the PSU output provides the correct voltage 220V or 110V
> AC.
>
> Remove and reseat the RAM modules, try one at a time and check if the beeps
> change.
>
> Replace the video card, which you've done already.
>
> If none of the above moves you further down the road of booting, send the
> board back.
>
> --
> Regards,
> Mick


Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Mick
On Wednesday 14 Jun 2017 10:19:31 the...@sys-concept.com wrote:

> I'll know in few days, but I suspect you are correct. The motherboard
> will need to be replaced.
> 
> Though most likely I'll select a different motherboard if that will be
> possible.
> 
> --
> Thelma

I'd check again the PSU output provides the correct voltage 220V or 110V AC.

Remove and reseat the RAM modules, try one at a time and check if the beeps 
change.

Replace the video card, which you've done already.

If none of the above moves you further down the road of booting, send the 
board back.

-- 
Regards,
Mick

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


Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread thelma

On 06/14/2017 09:21 AM, Ian Bloss wrote:
> Read the mother board manual, should tell you what the beeps are and how to
> troubleshoot them

The manual does not describe any beep sequence (at least I can not find them):
https://www.asus.com/ca-en/Motherboards/970-PRO-GAMING-AURA/HelpDesk_Manual/
 
> On Wed, Jun 14, 2017, 8:18 AM  wrote:
> 
>> My 2-months old system is giving me 1-long 3-short beeps.
>> No, video display.
>> I've swapped the video cards, it is not it.
>>
>> Is it a motherboard?
>> Asus 970 PRO GAMING AURA Mobo
>>
>> I've taken the system to the outfit that put it together (under warranty).
>>
>> --
>> Thelma
>>
>>
> 



Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread thelma
On 06/14/2017 09:24 AM, Rich Freeman wrote:
> I think on ASUS that code means no VGA detected.
> 
> I'm not sure if modern firmwares still output to port 80, but if so
> that might be another way to narrow it down assuming you have a card.
> 
> I'm sure there are faults on the motherboard side that could result in
> problems accessing the video card even if the card is otherwise
> functioning.  A physical slot problem certainly could do it.
> 
> I suspect you'll end up replacing the motherboard one way or another...
> 
> --
> Rich

I'll know in few days, but I suspect you are correct. The motherboard
will need to be replaced.

Though most likely I'll select a different motherboard if that will be
possible.

--
Thelma

> 
> On Wed, Jun 14, 2017 at 11:18 AM,   wrote:
>> My 2-months old system is giving me 1-long 3-short beeps.
>> No, video display.
>> I've swapped the video cards, it is not it.
>>
>> Is it a motherboard?
>> Asus 970 PRO GAMING AURA Mobo
>>
>> I've taken the system to the outfit that put it together (under warranty).



Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Rich Freeman
I think on ASUS that code means no VGA detected.

I'm not sure if modern firmwares still output to port 80, but if so
that might be another way to narrow it down assuming you have a card.

I'm sure there are faults on the motherboard side that could result in
problems accessing the video card even if the card is otherwise
functioning.  A physical slot problem certainly could do it.

I suspect you'll end up replacing the motherboard one way or another...

--
Rich

On Wed, Jun 14, 2017 at 11:18 AM,   wrote:
> My 2-months old system is giving me 1-long 3-short beeps.
> No, video display.
> I've swapped the video cards, it is not it.
>
> Is it a motherboard?
> Asus 970 PRO GAMING AURA Mobo
>
> I've taken the system to the outfit that put it together (under warranty).
>
> --
> Thelma
>



-- 
Rich



Re: [gentoo-user] 1-long 3-short beeps

2017-06-14 Thread Ian Bloss
Read the mother board manual, should tell you what the beeps are and how to
troubleshoot them

On Wed, Jun 14, 2017, 8:18 AM  wrote:

> My 2-months old system is giving me 1-long 3-short beeps.
> No, video display.
> I've swapped the video cards, it is not it.
>
> Is it a motherboard?
> Asus 970 PRO GAMING AURA Mobo
>
> I've taken the system to the outfit that put it together (under warranty).
>
> --
> Thelma
>
>


[gentoo-user] 1-long 3-short beeps

2017-06-14 Thread thelma
My 2-months old system is giving me 1-long 3-short beeps.
No, video display.
I've swapped the video cards, it is not it.

Is it a motherboard?
Asus 970 PRO GAMING AURA Mobo

I've taken the system to the outfit that put it together (under warranty).

-- 
Thelma



[gentoo-user] KDE 5 MTP failure

2017-06-14 Thread Daniel Frey
Well, did I just have an exercise in frustration.

I needed to get a couple pictures off my phone (using MTP) so I plugged
it into my computer. It asked for permission on my phone, I allowed it -
then KDE reports the MTP process died.

So I tried a second time but faster tapping 'allow' on my phone and got
it to list directory contents.

I selected the five pictures I needed, and dragged and dropped them to
their destination (Pictures folder).

The phone then asked for permission five time in about 500ms - not
enough to allow them.

So the MTP process crapped out again.

I repeated this three times and cursed at KDE (it used to work, I
haven't had to copy files off my phone in more than six months) and
emailed them to myself.

Does anyone know why KDE/mtp would exhibit this type of behaviour?

Dan



Re: [gentoo-user] pkcs#11

2017-06-14 Thread james
On 06/13/17 23:07, R0b0t1 wrote:
> On Tue, Jun 13, 2017 at 1:26 PM, james  wrote:
>> Hello one and all,
>>
>> I was looking at planet.gentoo.org and saw several (ultrabug) posts
>> that involve pkcs#11; particularly related to the yubikey device.
>> Looking around, there are SmartCards (SC) that be used in lieu of
>> the Yubikey, and other schemes some with some without 2FactorAuth.
>>
> 
> Can you provide a link for those? Is it just the Yubikey-style
> authentication that is at fault, or their smartcard functionality as
> well?

Listen, at this point, there is no fault/failure; I'm merely noodling
around and learning and developing some keen interests in many aspects
of pkcs. As a hardware guy, I'm just curious. Obviously many countries
have clandestine programs to deeply inspect inside of silicon, GAN
and many other types of materials, to the point of understanding things
at a very low level. I'm not on that pathway; more or less taking a
systems approach to characterize a billion cockroaches to develop
strategies, just for me and my buds at gentoo user. No vision, just
curiosity at this point.

But, lately, the cat has jumped the Faraday cage so many different ways
that it's hard to distinguish interlopers from true genius. ymmv.

> 
>> Here is a source of 'Generic' SC::
>> https://github.com/OpenSC/OpenSC/wiki/Supported-hardware-%28smart-cards-and-USB-tokens%29
>>
>>
>> Has anyone a simple, basic implemention of pksc#11 ? That uses one of
>> those Generic SC?
>>
>>
>> I guess what I'm really looking for is a master list of ebuilds
>> (overlays) that one has or possible could use to implement any form of
>> PKCS#11 on a gentoo server, workstation, or embedded system? I've been
>> googling on this a bit, but my keyword combos have not been very fruitful.
>>
> 
> What are you trying to do with PKCS? Authenticate user accounts?

That would be pkcs#12 and such, no? Basic, diversified hardware
explorations, hopefully without pissing any body off.
Noodle around with hardware (pkcs#11) as well as tangents into the
superfluous and minutia. Where ever the math takes me. OK?



>> Any of this on a gentoo-hardened profile?   Amd64 would be perfect
>> but any processor/platform running any form of gentoo, would be keen.
>> Work on another, like Debian or Arch would be of interest, too.
>> Discussion or suggestions are most welcome, as this is not my normal
>> area of interest. Any PCKS#11 (or as embodied in newer standards) usage
>> on a gentoo cloud would be most exciting, for me.
>>
> 
> Most things work by default on hardened, particularly if they don't
> involve multimedia.

Those little proprietary vendor embedded security products have mostly
been hacked, if you believe in fairy-dust, magic and bullshit. That
said, with math, there is *always* a way around  anything that man
creates. ymmv. No, I'm not the goal-keeper, just an inquisitive old man.


 Tue, Jun 13, 2017 at 4:41 PM, james  wrote:
>> On 06/13/17 14:40, Alon Bar-Lev wrote:
>>> On 13 June 2017 at 21:26, james  wrote:
>>>
>>> 
>>>
 I guess what I'm really looking for is a master list of ebuilds
 (overlays) that one has or possible could use to implement any form of
 PKCS#11 on a gentoo server, workstation, or embedded system? I've been
 googling on this a bit, but my keyword combos have not been very fruitful.
>>>
>>> Hi,
>>>
>>> You have at least these:
>>>
>>> https://packages.gentoo.org/packages/dev-libs/softhsm
>>> https://packages.gentoo.org/packages/dev-libs/opensc
>>> https://packages.gentoo.org/packages/dev-libs/opencryptoki
>>> https://packages.gentoo.org/packages/app-crypt/coolkey
>>>
>>> Regards,
>>> Alon
>>>
>>
>>
>> Yes thanks for the info above; and more using eix <-R|-cC>  |
>> grep  and other such searches.
>>
>>
>> I should have been more detailed in my first post, apologies. I'm more
>> or less looking for complete projects where someone at least moderately
>> documented the steps, gotchas, nuances, etc etc. In theory, they're not
>> too difficult. On the practical side, there's an ocean of fragmented
>> minutia, depending on what you try, exactly. I guess I was look for a
>> bit of a 'well worn' pathway, that included experimentation with the
>> physical card side of things, gentoo centric. A book/website on
>> practical pkcs#11  linux implementation?
>>
> 
> You would probably be interested in https://inversepath.com/usbarmory.

Yep. Seen that one too, but nice pass. I wonder if it runs on a hardened
embedded linux or a vendor stack of binaries. I'm not certain the vendor
stacks have been robustly testing, if you consider the hardware tools
available at a foundry labs run buy governments. In our limited world
(without extraordinarily expensive hardware devices) it is probably
secure. Graduate student kids a major universities, with some access,
are mostly closely monitored.

 Perhaps a risc-V project that I missed somewhere, would be very
enlightening? Surely a loosely related set of documents, links and
wiki 

Re: [gentoo-user] emerge update problem with blocking packages

2017-06-14 Thread allan gottlieb
On Tue, Jun 13 2017, Quico Jurado wrote:

> Hello list!
>
> I'm trying to update @world, and I'm getting a problem with blocking
> packages which I'm not sure if I understand. It looks like a circular
> blocking problem, but not sure.
>
> Here's what emerge is telling me:
>
> [ebuild U  ] app-text/texlive-2016::gentoo [2015::gentoo] USE="X
> context detex dvi2tty extra graphics humanities jadetex luatex omega png
> pstricks publishers science tex4ht texi2html truetype xetex xindy xml -cjk
> -epspdf -games -metapost -music -pdfannotextractor" L10N="-af -ar -as -bg
> -bn -br -ca -cs -cy -da -de -el -en -en-GB -eo -es -et -eu -fa -fi -fr -ga
> -gl -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kn -ko -la -lo -lt
> -lv -ml -mn -mr -nb -nl -nn -no -or -pa -pl -pt -rm -ro -ru -sa -sco -sk
> -sl -sq -sr -sv -ta -te -th -tk -tr -uk -vi -zh" 0 KiB
> [blocks B  ]  (" dev-texlive/texlive-basic-2016)
> [blocks B  ]  (" dev-texlive/texlive-latex-2016)
> [blocks B  ]  (" dev-texlive/texlive-langgerman-2016, dev-texlive/texlive-langcyrillic-2016)
> [blocks B  ]  (" dev-texlive/texlive-basic-2016)
> [blocks B  ]  (" dev-texlive/texlive-basic-2016)
> [blocks B  ]  (" dev-texlive/texlive-basic-2016)
>
> Total: 40 packages (36 upgrades, 1 new, 1 in new slot, 2 reinstalls, 2
> uninstalls), Size of downloads: 500,112 KiB
> Conflict: 9 blocks (6 unsatisfied)
>
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
>
> And this is the update command that I'm running:
>
> emerge -uvaND --with-bdeps=y --backtrack=100 @world
>
> Any help is much appreciated.
>
> Cheers!

This is bug 606730   https://bugs.gentoo.org/show_bug.cgi?id=606730

allan



Re: [gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread Dale
Grant Edwards wrote:
> Starting a few months back, I've noticed that on some of my machines,
> Firefox has started to use rediculous amounts of CPU and memory. It
> will burn 100% of a CPU for minutes at a time while apparently doing
> nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
> thing thing in Chrome uses 0% CPU (once pages are rendered) and less
> that 1/10 the RAM.
>
> I've got the same version of Firefox with the same set of extensions
> on other machines that don't seem to have issues.
>
> Is there any useful troubleshooting one can do (e.g. uninstalling
> extensions one at a time)?  Or is it finally time to give up on
> Firefox?
>

I would start here:  about:about  There you should have these: 

about:addons-memory

about:memory

about:performance

One of those may shed some light or lead to something.  I hope anyway. 
In the past, I've found that sometimes two add-ons can clash and one or
the other has to be disabled to correct this until that add-on is fixed.

Dale

:-)  :-) 



Re: [gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread Radoje Stojisic
Which version of Firefox do you use? The latest version 54 has multi processor 
architecture included. Otherwise use about:performance the check what uses the 
most RAM. 



Am 14. Juni 2017 15:10:16 MESZ schrieb Grant Edwards 
:
>Starting a few months back, I've noticed that on some of my machines,
>Firefox has started to use rediculous amounts of CPU and memory. It
>will burn 100% of a CPU for minutes at a time while apparently doing
>nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
>thing thing in Chrome uses 0% CPU (once pages are rendered) and less
>that 1/10 the RAM.
>
>I've got the same version of Firefox with the same set of extensions
>on other machines that don't seem to have issues.
>
>Is there any useful troubleshooting one can do (e.g. uninstalling
>extensions one at a time)?  Or is it finally time to give up on
>Firefox?
>
>-- 
>Grant Edwards   grant.b.edwardsYow! Are you still
>an
>  at   ALCOHOLIC?
>  gmail.com

Greetings 
Radi 

Re: [gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread R0b0t1
On Wed, Jun 14, 2017 at 8:10 AM, Grant Edwards
 wrote:
> Starting a few months back, I've noticed that on some of my machines,
> Firefox has started to use rediculous amounts of CPU and memory. It
> will burn 100% of a CPU for minutes at a time while apparently doing
> nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
> thing thing in Chrome uses 0% CPU (once pages are rendered) and less
> that 1/10 the RAM.
>

You should pay attention to which web pages you are visiting because
this is almost always due to misbehaving JavaScript. You can use
`htop` to display custom thread names and Firefox will name the
threads so that you can tell which ones are running the JavaScript
engine.

I'm using 500MB or so with a few pages open. 1-2GB seems normal. Be
sure that the resource usage statistics mean what you think they mean.

I did recently have an issue where a Firefox instance on Windows that
had been running for a month or so started to become unresponsive, but
restarting it fixed it.

> I've got the same version of Firefox with the same set of extensions
> on other machines that don't seem to have issues.
>
> Is there any useful troubleshooting one can do (e.g. uninstalling
> extensions one at a time)?  Or is it finally time to give up on
> Firefox?
>

You can "refresh firefox"
(https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings)
which removes your profile, its addons, and all associated settings.
This is faster than reinstalling it and from what I can tell
accomplishes the same thing.

For the longest time Firefox was far better than Chromium at resource
usage simply due to how Chromium is structured. Since that can't
really change I am wary to say Firefox is worse in that regard. If
anything has happened it seems like there is a new bug or a regression
that you could report.

R0b0t1.



Re: [gentoo-user] emerge update problem with blocking packages

2017-06-14 Thread Quico Jurado
Thanks everyone for their advice. As someone suggested I ended up unmerging
the packages tagged as 2015 that were causing the block, then the update
took care of emerging those packages back in their most recent version
2016.

Regards

On Wed, Jun 14, 2017 at 12:23 AM, IceAmber  wrote:

> I have the same problem several days ago, and solved it by reemerging the
> blocking packages.
>
> On Wed, Jun 14, 2017 at 1:38 PM, Uwe Haider  wrote:
>
>>
>>
>> Am 14.06.2017 um 07:14 schrieb Quico Jurado:
>> > Hello list!
>> >
>> > I'm trying to update @world, and I'm getting a problem with blocking
>> > packages which I'm not sure if I understand. It looks like a circular
>> > blocking problem, but not sure.
>> >
>> > Here's what emerge is telling me:
>> >
>> > [ebuild U  ] app-text/texlive-2016::gentoo [2015::gentoo] USE="X
>> > context detex dvi2tty extra graphics humanities jadetex luatex omega png
>> > pstricks publishers science tex4ht texi2html truetype xetex xindy xml
>> > -cjk -epspdf -games -metapost -music -pdfannotextractor" L10N="-af -ar
>> > -as -bg -bn -br -ca -cs -cy -da -de -el -en -en-GB -eo -es -et -eu -fa
>> > -fi -fr -ga -gl -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kn -ko
>> > -la -lo -lt -lv -ml -mn -mr -nb -nl -nn -no -or -pa -pl -pt -rm -ro -ru
>> > -sa -sco -sk -sl -sq -sr -sv -ta -te -th -tk -tr -uk -vi -zh" 0 KiB
>> > [blocks B  ] > > ("> > dev-texlive/texlive-basic-2016)
>> > [blocks B  ] > > ("> > dev-texlive/texlive-latex-2016)
>> > [blocks B  ] > > ("> > dev-texlive/texlive-langgerman-2016, dev-texlive/texlive-langcyrill
>> ic-2016)
>> > [blocks B  ] > > ("> > dev-texlive/texlive-basic-2016)
>> > [blocks B  ] > > ("> > dev-texlive/texlive-basic-2016)
>> > [blocks B  ] > > ("> > dev-texlive/texlive-basic-2016)
>> >
>> > Total: 40 packages (36 upgrades, 1 new, 1 in new slot, 2 reinstalls, 2
>> > uninstalls), Size of downloads: 500,112 KiB
>> > Conflict: 9 blocks (6 unsatisfied)
>> >
>> >  * Error: The above package list contains packages which cannot be
>> >  * installed at the same time on the same system.
>> >
>> >
>> > And this is the update command that I'm running:
>> >
>> > emerge -uvaND --with-bdeps=y --backtrack=100 @world
>> >
>> > Any help is much appreciated.
>> >
>> > Cheers!
>>
>> Maybe you have an amd64? All texlive-packages are keyworded for amd64 ->
>> try eix -I texlive to see 
>>
>> So you may use package.unmask to make it work
>> --
>> Uwe Haider
>> uwe.hai...@gmx.net
>>
>>
>


[gentoo-user] Memory/CPU usage in recent versions of Firefox

2017-06-14 Thread Grant Edwards
Starting a few months back, I've noticed that on some of my machines,
Firefox has started to use rediculous amounts of CPU and memory. It
will burn 100% of a CPU for minutes at a time while apparently doing
nothing.  Opening 2-3 tabs will use up 1-2 GB of RAM.  Doing the same
thing thing in Chrome uses 0% CPU (once pages are rendered) and less
that 1/10 the RAM.

I've got the same version of Firefox with the same set of extensions
on other machines that don't seem to have issues.

Is there any useful troubleshooting one can do (e.g. uninstalling
extensions one at a time)?  Or is it finally time to give up on
Firefox?

-- 
Grant Edwards   grant.b.edwardsYow! Are you still an
  at   ALCOHOLIC?
  gmail.com




Re: [gentoo-user] pkcs#11

2017-06-14 Thread james
On 06/13/17 23:07, R0b0t1 wrote:
> On Tue, Jun 13, 2017 at 1:26 PM, james  wrote:
>> Hello one and all,
>>
>> I was looking at planet.gentoo.org and saw several (ultrabug) posts
>> that involve pkcs#11; particularly related to the yubikey device.
>> Looking around, there are SmartCards (SC) that be used in lieu of
>> the Yubikey, and other schemes some with some without 2FactorAuth.
>>
> 
> Can you provide a link for those? Is it just the Yubikey-style
> authentication that is at fault, or their smartcard functionality as
> well?

Opensc website lists national and generic Smart card information.

> 
>> Here is a source of 'Generic' SC::
>> https://github.com/OpenSC/OpenSC/wiki/Supported-hardware-%28smart-cards-and-USB-tokens%29
>>
>>
>> Has anyone a simple, basic implemention of pksc#11 ? That uses one of
>> those Generic SC?
>>
>>
>> I guess what I'm really looking for is a master list of ebuilds
>> (overlays) that one has or possible could use to implement any form of
>> PKCS#11 on a gentoo server, workstation, or embedded system? I've been
>> googling on this a bit, but my keyword combos have not been very fruitful.
>>
> 
> What are you trying to do with PKCS? Authenticate user accounts?

Implement pkcs#11 using/testing a variety of schemes with various IoT
devices, like printers

https://twitter.com/flashman/status/871896475902631936

> 
>>
>> Any of this on a gentoo-hardened profile?   Amd64 would be perfect
>> but any processor/platform running any form of gentoo, would be keen.
>> Work on another, like Debian or Arch would be of interest, too.
>> Discussion or suggestions are most welcome, as this is not my normal
>> area of interest. Any PCKS#11 (or as embodied in newer standards) usage
>> on a gentoo cloud would be most exciting, for me.
>>
> 
> Most things work by default on hardened, particularly if they don't
> involve multimedia.

Every used 'DPI' or deep packet inspection or similar tools? Just look
at embedded systems from 10 years ago; many are compromised. The modern
(IoT) devices that use MQTT are even more hacked.  Got to defcon
and poke around a bit

> 
> 
> On Tue, Jun 13, 2017 at 4:41 PM, james  wrote:
>> On 06/13/17 14:40, Alon Bar-Lev wrote:
>>> On 13 June 2017 at 21:26, james  wrote:
>>>
>>> 
>>>
 I guess what I'm really looking for is a master list of ebuilds
 (overlays) that one has or possible could use to implement any form of
 PKCS#11 on a gentoo server, workstation, or embedded system? I've been
 googling on this a bit, but my keyword combos have not been very fruitful.
>>>
>>> Hi,
>>>
>>> You have at least these:
>>>
>>> https://packages.gentoo.org/packages/dev-libs/softhsm
>>> https://packages.gentoo.org/packages/dev-libs/opensc
>>> https://packages.gentoo.org/packages/dev-libs/opencryptoki
>>> https://packages.gentoo.org/packages/app-crypt/coolkey
>>>
>>> Regards,
>>> Alon
>>>
>>
>>
>> Yes thanks for the info above; and more using eix <-R|-cC>  |
>> grep  and other such searches.
>>
>>
>> I should have been more detailed in my first post, apologies. I'm more
>> or less looking for complete projects where someone at least moderately
>> documented the steps, gotchas, nuances, etc etc. In theory, they're not
>> too difficult. On the practical side, there's an ocean of fragmented
>> minutia, depending on what you try, exactly. I guess I was look for a
>> bit of a 'well worn' pathway, that included experimentation with the
>> physical card side of things, gentoo centric. A book/website on
>> practical pkcs#11  linux implementation?
>>
> 
> You would probably be interested in https://inversepath.com/usbarmory.
> 
> You should read the technical explanations of the technology involved
> and then ask specific questions.
> 
>>
>> I also have look at some of the semiconductor vendor solutions, but
>> there is little detail other than 'purchase' the interesting parts
>> inside of fpga code or an asic, which does me no good. But implemented
>> on an embedded microP with some  flexibility would be good, as long as
>> the processor is one that also runs embedded (gentoo) linux. So any
>> dev-boards (RaspPI-3 or ?) would be keen that have any sort of pkcs
>> demo, I could purchase from a semiconductor vendor? Any ideas along that
>> venue would also work for me.
>>
> 
> This topic is probably a bit too specific for a vendor to have created
> a demo board for it. You will find most parts have development boards,
> most of them including some kind of USB connectivity. See above for an
> example part - the part used for the USB Armory is interesting because
> it supports what is essentially Secure Boot and you can ensure that
> only signed code is run, barring expensive (~$1-10m) reverse
> engineering of the processor's die.
> 
>>
>> Perhaps some detail on hardening the platform, tool-chain and
>> musl/ulibc/glibc as that's another fundamental part of the effort, I
>> find scant info on. Codes bases such as this one in python [A] are
>> interesting, but not complete. Bas