Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Michael wrote:
> On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
>> Am 23. November 2023 08:08:47 UTC schrieb Dale :
>>> Daniel Pielmeier wrote:
 Looks like it is related to -march=native.

 See bug https://bugs.gentoo.org/838373
>>> I'm not sure how you figured that out either.
>> 
>>
>> I pasted the error message into the search engine of my choice. I think
>> there were some results from the Gentoo forums which lead to the bug
>> report.
> Good catch.  I suspected it could have been caused by a kernel module 
> enabling 
> CRC in hardware missing, but I didn't think of a bug being the cause of it, 
> let alone caused by march=native.  It compiles and installs fine here with 
> march=native.


I think it only gets hit with this with certain CPUs.  Mine just happens
to be one of them for the 770T.  My main rig, which only has a slightly
newer CPU, is not hit by this. 

I'm just surprised that it is still not fixed somehow.  It sounds like
upstream tho not Gentoo.  Us Gentoo folks just happen to be hit by it
since we compile our own packages. 

I'm just glad to get it installed.  At least if something happens to
this main rig, I got something to use.  It's gonna be slow tho.  Half
the CPU cores, half the memory.  Beats nothing tho.  At least I can
still watch TV.  O_O

Thanks to all.  :-D 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Michael
On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
> Am 23. November 2023 08:08:47 UTC schrieb Dale :
> >Daniel Pielmeier wrote:
> >> Looks like it is related to -march=native.
> >> 
> >> See bug https://bugs.gentoo.org/838373
> >
> >I'm not sure how you figured that out either.
> 
> 
> 
> I pasted the error message into the search engine of my choice. I think
> there were some results from the Gentoo forums which lead to the bug
> report.

Good catch.  I suspected it could have been caused by a kernel module enabling 
CRC in hardware missing, but I didn't think of a bug being the cause of it, 
let alone caused by march=native.  It compiles and installs fine here with 
march=native.

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


Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Daniel Pielmeier
Am 23. November 2023 08:08:47 UTC schrieb Dale :
>Daniel Pielmeier wrote:
>> Looks like it is related to -march=native.
>>
>> See bug https://bugs.gentoo.org/838373
>>
>
>I'm not sure how you figured that out either.



I pasted the error message into the search engine of my choice. I think there 
were some results from the Gentoo forums which lead to the bug report.

-- 
Best regards
Daniel



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Daniel Pielmeier wrote:
> Looks like it is related to -march=native.
>
> See bug https://bugs.gentoo.org/838373
>


Nailed it.  After the post by Michael, I edited the kernel several
times.  I'm sure I ruled that thing out.  I had some crc stuff not there
but same error with or without.  I admit, I wouldn't have thought of a
kernel driver issue but the error did sort of lead that way.  Given the
CPU FLAGS is about the CPU and its instruction set, it could be a option. 

I would never have thought of the CFLAGS in make.conf.  I'm not sure how
you figured that out either.  o_O  Before trying new settings for that,
I tried newer versions of clang, llvm and their friends to see if there
was a fix that wasn't applied to older versions.  When you unmask one
thing, it snowballs a bit.  Anyway, after getting a more recent version
of clang and llvm, it still failed.  At that point, I suspected that I
had ruled out those packages.  I did some digging to find what my CFLAG
settings should be if done manually.  It took some digging tho.  Once I
set that to the manual way, it compiled successfully on the first try. 

So, my backup rig now has a web browser.  That's good.  ;-)  I wonder
why that bug report wasn't in the search results when I was digging for
the error???  If I see something Gentoo related, I always look. 

While at it.  I don't think there is a way but I may have missed it.  As
a example, when I wanted to unmask/keyword specific versions of llvm and
clang, is there a tool to find out what all else has to also be
unmasked/keyworded?  When I tried to do that for the packages I wanted,
I ended up running emerge to find more that had to be added to the
list.  This is the list I ended up with. 


sys-devel/clang
sys-devel/llvm
sys-devel/clang-common
sys-devel/clang-runtime
sys-devel/clang-toolchain-symlinks
sys-libs/compiler-rt
sys-libs/compiler-rt-sanitizers
sys-libs/libomp
sys-devel/llvm-toolchain-symlinks
sys-devel/llvmgold



It would be nice if there is a way to just run a command once and it
spits out a friendly list that can be added to the proper file.  Save
annoying some electrons and all.  ;-) 

Thanks much to you both.  I hope if someone else runs into this, this
thread pops up in the search results.  Save someone some head scratching. 

Dale

:-)  :-) 

P. S.  Switched computer case door to left side hinge the other day. 
Put in the drive trays and figuring out if there is a way to put drives
in other places and still have lots of fans.  :-D 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Daniel Pielmeier

Looks like it is related to -march=native.

See bug https://bugs.gentoo.org/838373

--
Regards
Daniel




Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Dale
Michael wrote:
> On Wednesday, 22 November 2023 02:27:01 GMT Dale wrote:
>> Howdy,
>>
>> I decided to set up the 770T as a backup system.  I'm installing the
>> basics that I would need to get started. The water heater set back my
>> new build a bit.  Anyway, Firefox fails to build with something about a
>> missing crc32.  I found a package with that name and installed it,
>> thought maybe the ebuild was missing a depend or something, still
>> fails.
> You are probably missing a number of CRC modules in your kernel, rather than 
> the Google library which you emerged.

I figured that package I emerged was a long shot.  I went into the
kernel config and enabled everything crc32 I could find.  It still
fails.  I changed one, since it has 4 options but can only enable one at
a time, and am trying again.  I don't know if this is going to work or
not.  It's chewing on it.  It's cool here so the heat helps a little.  lol 

Does anyone know exactly what kernel driver it wants?  Also, when it
runs its pre-emerge checks, why doesn't it see that it is missing and
fail with the info on what is missing?  Why wait until it fails, about
90% of the way through the compile process, and then spit out a error
that isn't really helpful  This a bug maybe??? 

Jeepers.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Michael
On Wednesday, 22 November 2023 02:27:01 GMT Dale wrote:
> Howdy,
> 
> I decided to set up the 770T as a backup system.  I'm installing the
> basics that I would need to get started. The water heater set back my
> new build a bit.  Anyway, Firefox fails to build with something about a
> missing crc32.  I found a package with that name and installed it,
> thought maybe the ebuild was missing a depend or something, still
> fails.

You are probably missing a number of CRC modules in your kernel, rather than 
the Google library which you emerged.

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


Re: [gentoo-user] Firefox to LOCalc characterset translation

2022-03-27 Thread tastytea
On 2022-03-27 23:13+0100 Michael  wrote:

> On Sunday, 27 March 2022 23:04:21 BST tastytea wrote:
> > On 2022-03-27 22:35+0100 Michael  wrote:  
> > > I can't explain why the following cut 'n paste problem happens
> > > when I select some symbols within text in Firefox and then try to
> > > insert by middle-click in LibreOffice Calc.
> > > 
> > > If I select the symbols for £ (GBP), or € (Euro) and middle click
> > > upon a cell in LOCalc, a window pops up asking "Select the
> > > Language to Use for Import".  I leave it to "Automatic" which is
> > > the default setting and the symbol plus any text is pasted with
> > > the same format as the webpage.  The symbols are then displayed
> > > correctly in LOCalc.
> > > 
> > > However, if I enter a cell by double clicking on it, or by
> > > clicking in the edit bar, then middle click to enter the
> > > selection, both £ and € symbols are entered in some strange code
> > > - e.g. \u20ac  
> > 
> > I don't know why it is doing that or how to fix it, but the strange
> > code is a unicode code point. You can enter it in many terminal
> > emulators by pressing Control + Shift + u and then 20ac + Enter or
> > display it with echo "\u20ac".
> > 
> > Kind regards, tastytea  
> 
> Hmm ... I wonder if my setup is wrong?  This is what I get in UXterm
> and Konsole:
> 
> $ echo "\u20ac"
> \u20ac

Ah sorry, in bash that's echo -e "\u20ac". I was testing with zsh,
where -e is enabled by default.

> My locale.gen contains "en_GB.UTF-8 UTF-8" so I naively assumed
> applications would be able to translate code into characters.  Well,
> other applications do with LOCalc, but Firefox won't.  :-/




Re: [gentoo-user] Firefox to LOCalc characterset translation

2022-03-27 Thread Michael
On Sunday, 27 March 2022 23:04:21 BST tastytea wrote:
> On 2022-03-27 22:35+0100 Michael  wrote:
> > I can't explain why the following cut 'n paste problem happens when I
> > select some symbols within text in Firefox and then try to insert by
> > middle-click in LibreOffice Calc.
> > 
> > If I select the symbols for £ (GBP), or € (Euro) and middle click
> > upon a cell in LOCalc, a window pops up asking "Select the Language
> > to Use for Import".  I leave it to "Automatic" which is the default
> > setting and the symbol plus any text is pasted with the same format
> > as the webpage.  The symbols are then displayed correctly in LOCalc.
> > 
> > However, if I enter a cell by double clicking on it, or by clicking
> > in the edit bar, then middle click to enter the selection, both £ and
> > € symbols are entered in some strange code - e.g. \u20ac
> 
> I don't know why it is doing that or how to fix it, but the strange code
> is a unicode code point. You can enter it in many terminal emulators by
> pressing Control + Shift + u and then 20ac + Enter or display it with
> echo "\u20ac".
> 
> Kind regards, tastytea

Hmm ... I wonder if my setup is wrong?  This is what I get in UXterm and 
Konsole:

$ echo "\u20ac"
\u20ac


My locale.gen contains "en_GB.UTF-8 UTF-8" so I naively assumed applications 
would be able to translate code into characters.  Well, other applications do 
with LOCalc, but Firefox won't.  :-/

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


Re: [gentoo-user] Firefox to LOCalc characterset translation

2022-03-27 Thread tastytea
On 2022-03-27 22:35+0100 Michael  wrote:

> I can't explain why the following cut 'n paste problem happens when I
> select some symbols within text in Firefox and then try to insert by
> middle-click in LibreOffice Calc.
> 
> If I select the symbols for £ (GBP), or € (Euro) and middle click
> upon a cell in LOCalc, a window pops up asking "Select the Language
> to Use for Import".  I leave it to "Automatic" which is the default
> setting and the symbol plus any text is pasted with the same format
> as the webpage.  The symbols are then displayed correctly in LOCalc.
> 
> However, if I enter a cell by double clicking on it, or by clicking
> in the edit bar, then middle click to enter the selection, both £ and
> € symbols are entered in some strange code - e.g. \u20ac

I don't know why it is doing that or how to fix it, but the strange code
is a unicode code point. You can enter it in many terminal emulators by
pressing Control + Shift + u and then 20ac + Enter or display it with
echo "\u20ac".

Kind regards, tastytea



Re: [gentoo-user] firefox automatic update??? [RESOLVED]

2020-11-12 Thread n952162

I discovered that I had significant filesystem corruption.



On 11/12/20 10:47 AM, n952162 wrote:


So, /usr/lib/firefox/firefox runs, and is writable only by root.  But
it can't be that the full firefox functionality gets executed in
239364 bytes!


$ type firefox
firefox is /usr/bin/firefox

$  which -a  firefox
/usr/bin/firefox

$ ll /usr/bin/firefox
lrwxrwxrwx 1 root root 24 Nov 16  2019 /usr/bin/firefox ->
/usr/lib/firefox/firefox

$ ll  /usr/lib/firefox/firefox
-rwxr-xr-x 1 root root 239364 Nov 16  2019 /usr/lib/firefox/firefox

$ file  /usr/lib/firefox/firefox
/usr/lib/firefox/firefox: ELF 32-bit LSB pie executable, Intel
80386, version 1 (SYSV), dynamically linked, interpreter
/lib/ld-linux.so.2, for GNU/Linux 3.2.0, stripped

I tried this but don't see anything that looks promising:

    $ ldd /usr/lib/firefox/firefox
    linux-gate.so.1 (0xb7fb9000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7f3f000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7f3a000)
    libstdc++.so.6 =>
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/libstdc++.so.6 (0xb7cbc000)
    libgcc_s.so.1 =>
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/libgcc_s.so.1 (0xb7c9e000)
    libc.so.6 => /lib/libc.so.6 (0xb7ac9000)
    /lib/ld-linux.so.2 (0xb7fba000)
    libm.so.6 => /lib/libm.so.6 (0xb79cf000)

It could, for example, download a binary somewhere under the current
user and that would get executed by /usr/lib/firefox/firefox.


On 11/12/20 9:51 AM, Andreas Fink wrote:

Hmm, interesting that it shows not the full path on one machine. This
should always show you the full path:
for p in `pgrep firefox` ; do ls -lh /proc/${p}/exe ; done

You could also check with the following command what will be executed:
which firefox
Use `which -a firefox` to see all possible binaries that could be found
in $PATH.
The default is that /usr/bin/firefox is a bash script that would start
the real firefox binary at some point.

To list all packages that are installed matching firefox you could use
qlist -Iv firefox
qlist is part of the app-portage/portage-utils package.

Maybe that will help to see what is actually running on your system and
where it is installed.



On Thu, 12 Nov 2020
09:19:51 +0100 n952162  wrote:


Ah, that is a good point ... assuming there's not an suid-updater
squirreled away somewhere.  I'm pretty sure that I've run firefox (lots)
since last rebuilding it on the machine in question.

Your test is good, but yields new questions:

- machine 1:

 $ pgrep -a firefox
 *2829 /usr/lib64/firefox/firefox --name firefox -P default*

 $ pgrep -V
 pgrep from procps-ng 3.3.16

- machine 2 (with automatic update):

 $ pgrep -a firefox
 *6355 firefox*

 $ pgrep -V
 pgrep from procps-ng 3.3.16

In both cases, I start by just invoking "firefox" (no aliases)



On 11/12/20 8:28 AM, Andreas Fink wrote:

On Thu, 12 Nov 2020 07:55:18 +0100
n952162  wrote:


I was just informed by firefox on one of my gentoo machines that firefox
has updated, I need to restart.

I no longer find an option to disable automatic update.  Is there no hope?

And do I have to go through another 18 hour firefox emerge to get rid of
their "update"?  Or is their binary sitting somewhere different from
"our" binary?

Oh!  Can I just remove their binary and do a resume-emerge?



When firefox is updated via emerge while it is still running, this
update is recognised by the running instance and it will tell you that
firefox was updated and needs a restart. No automatic update happened
as you assume, it was all done by the package manager.
If you insist, you can check the binary that is currently running, and
you will most certainly find out that it is not writeable by your user
account, i.e. not by the user that is running firefox:
pgrep -a firefox

Cheers
Andreas



Re: [gentoo-user] firefox automatic update???

2020-11-12 Thread n952162

So, /usr/lib/firefox/firefox runs, and is writable only by root.  But it
can't be that the full firefox functionality gets executed in 239364 bytes!


   $ type firefox
   firefox is /usr/bin/firefox

   $  which -a  firefox
   /usr/bin/firefox

   $ ll /usr/bin/firefox
   lrwxrwxrwx 1 root root 24 Nov 16  2019 /usr/bin/firefox ->
   /usr/lib/firefox/firefox

   $ ll  /usr/lib/firefox/firefox
   -rwxr-xr-x 1 root root 239364 Nov 16  2019 /usr/lib/firefox/firefox

   $ file  /usr/lib/firefox/firefox
   /usr/lib/firefox/firefox: ELF 32-bit LSB pie executable, Intel
   80386, version 1 (SYSV), dynamically linked, interpreter
   /lib/ld-linux.so.2, for GNU/Linux 3.2.0, stripped

I tried this but don't see anything that looks promising:

    $ ldd /usr/lib/firefox/firefox
    linux-gate.so.1 (0xb7fb9000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7f3f000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7f3a000)
    libstdc++.so.6 =>
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/libstdc++.so.6 (0xb7cbc000)
    libgcc_s.so.1 =>
/usr/lib/gcc/i686-pc-linux-gnu/9.3.0/libgcc_s.so.1 (0xb7c9e000)
    libc.so.6 => /lib/libc.so.6 (0xb7ac9000)
    /lib/ld-linux.so.2 (0xb7fba000)
    libm.so.6 => /lib/libm.so.6 (0xb79cf000)

It could, for example, download a binary somewhere under the current
user and that would get executed by /usr/lib/firefox/firefox.


On 11/12/20 9:51 AM, Andreas Fink wrote:

Hmm, interesting that it shows not the full path on one machine. This
should always show you the full path:
for p in `pgrep firefox` ; do ls -lh /proc/${p}/exe ; done

You could also check with the following command what will be executed:
which firefox
Use `which -a firefox` to see all possible binaries that could be found
in $PATH.
The default is that /usr/bin/firefox is a bash script that would start
the real firefox binary at some point.

To list all packages that are installed matching firefox you could use
qlist -Iv firefox
qlist is part of the app-portage/portage-utils package.

Maybe that will help to see what is actually running on your system and
where it is installed.



On Thu, 12 Nov 2020
09:19:51 +0100 n952162  wrote:


Ah, that is a good point ... assuming there's not an suid-updater
squirreled away somewhere.  I'm pretty sure that I've run firefox (lots)
since last rebuilding it on the machine in question.

Your test is good, but yields new questions:

- machine 1:

 $ pgrep -a firefox
 *2829 /usr/lib64/firefox/firefox --name firefox -P default*

 $ pgrep -V
 pgrep from procps-ng 3.3.16

- machine 2 (with automatic update):

 $ pgrep -a firefox
 *6355 firefox*

 $ pgrep -V
 pgrep from procps-ng 3.3.16

In both cases, I start by just invoking "firefox" (no aliases)



On 11/12/20 8:28 AM, Andreas Fink wrote:

On Thu, 12 Nov 2020 07:55:18 +0100
n952162  wrote:


I was just informed by firefox on one of my gentoo machines that firefox
has updated, I need to restart.

I no longer find an option to disable automatic update.  Is there no hope?

And do I have to go through another 18 hour firefox emerge to get rid of
their "update"?  Or is their binary sitting somewhere different from
"our" binary?

Oh!  Can I just remove their binary and do a resume-emerge?



When firefox is updated via emerge while it is still running, this
update is recognised by the running instance and it will tell you that
firefox was updated and needs a restart. No automatic update happened
as you assume, it was all done by the package manager.
If you insist, you can check the binary that is currently running, and
you will most certainly find out that it is not writeable by your user
account, i.e. not by the user that is running firefox:
pgrep -a firefox

Cheers
Andreas





Re: [gentoo-user] firefox automatic update???

2020-11-12 Thread Andreas Fink
Hmm, interesting that it shows not the full path on one machine. This
should always show you the full path:
for p in `pgrep firefox` ; do ls -lh /proc/${p}/exe ; done

You could also check with the following command what will be executed:
which firefox
Use `which -a firefox` to see all possible binaries that could be found
in $PATH.
The default is that /usr/bin/firefox is a bash script that would start
the real firefox binary at some point.

To list all packages that are installed matching firefox you could use
qlist -Iv firefox
qlist is part of the app-portage/portage-utils package.

Maybe that will help to see what is actually running on your system and
where it is installed.



On Thu, 12 Nov 2020
09:19:51 +0100 n952162  wrote:

> Ah, that is a good point ... assuming there's not an suid-updater
> squirreled away somewhere.  I'm pretty sure that I've run firefox (lots)
> since last rebuilding it on the machine in question.
> 
> Your test is good, but yields new questions:
> 
> - machine 1:
> 
> $ pgrep -a firefox
> *2829 /usr/lib64/firefox/firefox --name firefox -P default*
> 
> $ pgrep -V
> pgrep from procps-ng 3.3.16
> 
> - machine 2 (with automatic update):
> 
> $ pgrep -a firefox
> *6355 firefox*
> 
> $ pgrep -V
> pgrep from procps-ng 3.3.16
> 
> In both cases, I start by just invoking "firefox" (no aliases)
> 
> 
> 
> On 11/12/20 8:28 AM, Andreas Fink wrote:
> > On Thu, 12 Nov 2020 07:55:18 +0100
> > n952162  wrote:
> >  
> >> I was just informed by firefox on one of my gentoo machines that firefox
> >> has updated, I need to restart.
> >>
> >> I no longer find an option to disable automatic update.  Is there no hope?
> >>
> >> And do I have to go through another 18 hour firefox emerge to get rid of
> >> their "update"?  Or is their binary sitting somewhere different from
> >> "our" binary?
> >>
> >> Oh!  Can I just remove their binary and do a resume-emerge?
> >>
> >>  
> > When firefox is updated via emerge while it is still running, this
> > update is recognised by the running instance and it will tell you that
> > firefox was updated and needs a restart. No automatic update happened
> > as you assume, it was all done by the package manager.
> > If you insist, you can check the binary that is currently running, and
> > you will most certainly find out that it is not writeable by your user
> > account, i.e. not by the user that is running firefox:
> > pgrep -a firefox
> >
> > Cheers
> > Andreas
> >  




Re: [gentoo-user] firefox automatic update???

2020-11-12 Thread n952162

Ah, that is a good point ... assuming there's not an suid-updater
squirreled away somewhere.  I'm pretty sure that I've run firefox (lots)
since last rebuilding it on the machine in question.

Your test is good, but yields new questions:

- machine 1:

   $ pgrep -a firefox
   *2829 /usr/lib64/firefox/firefox --name firefox -P default*

   $ pgrep -V
   pgrep from procps-ng 3.3.16

- machine 2 (with automatic update):

   $ pgrep -a firefox
   *6355 firefox*

   $ pgrep -V
   pgrep from procps-ng 3.3.16

In both cases, I start by just invoking "firefox" (no aliases)



On 11/12/20 8:28 AM, Andreas Fink wrote:

On Thu, 12 Nov 2020 07:55:18 +0100
n952162  wrote:


I was just informed by firefox on one of my gentoo machines that firefox
has updated, I need to restart.

I no longer find an option to disable automatic update.  Is there no hope?

And do I have to go through another 18 hour firefox emerge to get rid of
their "update"?  Or is their binary sitting somewhere different from
"our" binary?

Oh!  Can I just remove their binary and do a resume-emerge?



When firefox is updated via emerge while it is still running, this
update is recognised by the running instance and it will tell you that
firefox was updated and needs a restart. No automatic update happened
as you assume, it was all done by the package manager.
If you insist, you can check the binary that is currently running, and
you will most certainly find out that it is not writeable by your user
account, i.e. not by the user that is running firefox:
pgrep -a firefox

Cheers
Andreas



Re: [gentoo-user] firefox automatic update???

2020-11-12 Thread Fosco
I get notifications from firefox that an updates are available.

Once I wondered if it would be able to update and I pushed the update
button, it failed (likely in escalading the auths, as Andreas pointed).

To get rid of long compilation of firefox, I use www-client/firefox-bin.
The emerged binary is firefox-bin (rather than firefox as it would be
after local compilation).

In firefox preferences, I can disable firefox updates (so that it
doesn't bother for newer versions available).

Fosco

Il 12/11/20 08:28, Andreas Fink ha scritto:
> On Thu, 12 Nov 2020 07:55:18 +0100
> n952162  wrote:
>
>> I was just informed by firefox on one of my gentoo machines that firefox
>> has updated, I need to restart.
>>
>> I no longer find an option to disable automatic update.  Is there no hope?
>>
>> And do I have to go through another 18 hour firefox emerge to get rid of
>> their "update"?  Or is their binary sitting somewhere different from
>> "our" binary?
>>
>> Oh!  Can I just remove their binary and do a resume-emerge?
>>
>>
> When firefox is updated via emerge while it is still running, this
> update is recognised by the running instance and it will tell you that
> firefox was updated and needs a restart. No automatic update happened
> as you assume, it was all done by the package manager.
> If you insist, you can check the binary that is currently running, and
> you will most certainly find out that it is not writeable by your user
> account, i.e. not by the user that is running firefox:
> pgrep -a firefox
>
> Cheers
> Andreas
>



Re: [gentoo-user] firefox automatic update???

2020-11-11 Thread Andreas Fink
On Thu, 12 Nov 2020 07:55:18 +0100
n952162  wrote:

> I was just informed by firefox on one of my gentoo machines that firefox
> has updated, I need to restart.
> 
> I no longer find an option to disable automatic update.  Is there no hope?
> 
> And do I have to go through another 18 hour firefox emerge to get rid of
> their "update"?  Or is their binary sitting somewhere different from
> "our" binary?
> 
> Oh!  Can I just remove their binary and do a resume-emerge?
> 
> 

When firefox is updated via emerge while it is still running, this
update is recognised by the running instance and it will tell you that
firefox was updated and needs a restart. No automatic update happened
as you assume, it was all done by the package manager.
If you insist, you can check the binary that is currently running, and
you will most certainly find out that it is not writeable by your user
account, i.e. not by the user that is running firefox:
pgrep -a firefox

Cheers
Andreas



Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-07 Thread Gerion Entrup
Am Dienstag, 5. Mai 2020, 18:38:26 CEST schrieb tu...@posteo.de:
> On 05/05 11:22, Matt Connell (Gmail) wrote:
> > On 2020-05-05 10:38, tu...@posteo.de wrote:
> > > Is Firefox/Waterfox able to interface with jackd?
> > 
> > Disclaimer, I do not use Jack.
> > 
> > Firefox builds, in my personal experience, are intended to be used with
> > pulseaudio and only pulseaudio.  Some people have made some shims for making
> > it worth with alsa, but they don't look sustainable.
> > 
> > As the other poster said, this endeavor is likely to result in frustration.
> > You may get it to 'work' for some value of that word, but depending on
> > expectations, it may not be worth your while.
> > 
> 
> HI all,
> 
> thanks for the repsonse.
> 
> I am using waterfox, which is not in portage. The mentioning of 
> Forefox was onlu to make its heritage clear.
> 
> I already have some "experiences" make, when it comes to other things
> for audio than alsa.
> 
> Background to my question:
> I am still searching for a equalizer solution, which does not
> uses the eq provided by the hardware (I am using a DAC, which
> does nothing else, than converting PCM into an analog signal.
> No processing whatsoever.
> 
> So the eq has to have some sort of DSP funktionality build in.
> 
> And it should be made for background processing.
> 
> Anu helpful alsa-based idea is very appreciated...
> 
> Cheers!
> Meino

I use Jack and I use Firefox with Jack. It works (mostly) without any problems.
Only when you have really a lot sound related tabs (maybe more than 6 active 
sound sources or so, Firefox makes new jack channels per tab), Firefox slows 
down a little bit.

I also very much recommend to use media-sound/cadence together with jack. There 
is also a version compatible with ladish (a jack session manager) in the 
audio-overlay [1].

media-sound/jack-rack for example provides certain equalizers.

Best,
Gerion

[1] https://github.com/gentoo-audio/audio-overlay/


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


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Dale
Michael wrote:
> On Tuesday, 5 May 2020 18:33:29 BST Mark Knecht wrote:
>> On Tue, May 5, 2020 at 9:43 AM Dale  wrote:
>>
>> 
>>
>>> Question, somewhat off topic but somewhat on topic.  I use smplayer to
>> send my videos to my TV using the second port on my video card.  I set
>> smplayer to send the audio to the TV, instead of my puter speakers.  I've
>> never used pulseaudio but with Firefox heading down that path, I might have
>> to switch.  My question is, if I switched to pulseaudio, can I tell it that
>> smplayer goes to TV and things like Firefox, Seamonkey, gnome-player and
>> such goes to the puter speakers?  From what I've read, it sounds like that
>> is pretty much what it does.  Right now, I'm using ALSA, Kmix and friends.
>>
>> Short answer - yes, I believe so.
>>
>> Long answer - I don't know how much pulseaudio will remember settings from
>> session to session. If you emerge pavucontrol (kubuntu installs it by
>> default, it appears Gentoo requires you to add it. On my system it's
>> pavucontrol-qt) you should see something akin to this, assuming this link
>> survives email
>>
>> https://drive.google.com/open?id=1B_Rgaomiru0DNmuTFUwZy-9q5p4SGo_L
>>
>> Each app has a section, each section can be routed where you please. Each
>> section has a horizontal VU meter so you can see where audio is coming
>> from.
>>
>> If you use pulseaudio then it owns the Alsa stack. You no longer
>> communicate with Alsa using the old apps. In the general case I believe
>> that alsamixer continues to work but I wouldn't bet on that for all systems
>> and all soundcards.
>>
>> HTH,
>> Mark
> Kmix displays both in different tabs.  Of course it makes sense to use a tool 
> you decided to install (e.g. pulseaudio) rather than trying to fight against 
> it with alsamixer over control of the audio.


I was even thinking if I could disable things like Kmix and such to make
it simple.  I remember years ago when everything was muted by default. 
After a fresh install, you would have to go to each audio program and
unmute in order to get sound.  Miss even one, no sound.  Having just one
seems to be more simple. 

Waiting on some downloads to finish before I can do anything.  May have
to logout and back in again anyway,  That silly sddm thingy is still
hoggin up a lot of memory.  I have to reset about every day to clear
that up.  Where's my hammer??  :/

Dale

:-)  :-)  :-)


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Matt Connell (Gmail)

On 2020-05-05 13:00, Michael wrote:

I use FF-68.7.0-r1 with USE="-pulseaudio" and it works fine producing sound.


I stand corrected then.  I wasn't able to get FF audio working without 
the pulseaudio use flag, but that may have been because I was trying to 
do so while still having pulse installed, or I was just "doing it wrong" 
with alsa, or something like that.  It was a couple of years ago and my 
memory isn't great, but I'm glad that there is a way to get it done.




Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Michael
On Tuesday, 5 May 2020 18:33:29 BST Mark Knecht wrote:
> On Tue, May 5, 2020 at 9:43 AM Dale  wrote:
> 
> 
> 
> > Question, somewhat off topic but somewhat on topic.  I use smplayer to
> 
> send my videos to my TV using the second port on my video card.  I set
> smplayer to send the audio to the TV, instead of my puter speakers.  I've
> never used pulseaudio but with Firefox heading down that path, I might have
> to switch.  My question is, if I switched to pulseaudio, can I tell it that
> smplayer goes to TV and things like Firefox, Seamonkey, gnome-player and
> such goes to the puter speakers?  From what I've read, it sounds like that
> is pretty much what it does.  Right now, I'm using ALSA, Kmix and friends.
> 
> Short answer - yes, I believe so.
> 
> Long answer - I don't know how much pulseaudio will remember settings from
> session to session. If you emerge pavucontrol (kubuntu installs it by
> default, it appears Gentoo requires you to add it. On my system it's
> pavucontrol-qt) you should see something akin to this, assuming this link
> survives email
> 
> https://drive.google.com/open?id=1B_Rgaomiru0DNmuTFUwZy-9q5p4SGo_L
> 
> Each app has a section, each section can be routed where you please. Each
> section has a horizontal VU meter so you can see where audio is coming
> from.
> 
> If you use pulseaudio then it owns the Alsa stack. You no longer
> communicate with Alsa using the old apps. In the general case I believe
> that alsamixer continues to work but I wouldn't bet on that for all systems
> and all soundcards.
> 
> HTH,
> Mark

Kmix displays both in different tabs.  Of course it makes sense to use a tool 
you decided to install (e.g. pulseaudio) rather than trying to fight against 
it with alsamixer over control of the audio.

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


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread tuxic
On 05/05 10:34, Mark Knecht wrote:
> On Tue, May 5, 2020 at 9:38 AM  wrote:
> 
> > Background to my question:
> > I am still searching for a equalizer solution, which does not
> > uses the eq provided by the hardware (I am using a DAC, which
> > does nothing else, than converting PCM into an analog signal.
> > No processing whatsoever.
> >
> > So the eq has to have some sort of DSP funktionality build in.
> >
> > And it should be made for background processing.
> >
> > Anu helpful alsa-based idea is very appreciated...
> >
> > Cheers!
> > Meino
> 
> pulseeffects possibly? I've never used it.
> 
> Good luck,
> Mark


Hi Mark,

in the meanwhile I installed quite a few pulse-related applications
and pulseaudio itsself includeing pusleeffects.

For the first, the equaliser problem is kinda solved -- I haven't
checked, whether the settings will survive a reboot.

I don't know of the quality of the sound processing of the
equaliser...but it is definetlu a step in the right direction.

Hopefully all related applications I use will cooperate... ;)

Thanks to all of us who helped! -- very appreciated!

Cheers!
Meino




Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Dale
Mark Knecht wrote:
>
>
> On Tue, May 5, 2020 at 9:43 AM Dale  > wrote:
> >
> 
> >
> > Question, somewhat off topic but somewhat on topic.  I use smplayer
> to send my videos to my TV using the second port on my video card.  I
> set smplayer to send the audio to the TV, instead of my puter
> speakers.  I've never used pulseaudio but with Firefox heading down
> that path, I might have to switch.  My question is, if I switched to
> pulseaudio, can I tell it that smplayer goes to TV and things like
> Firefox, Seamonkey, gnome-player and such goes to the puter speakers? 
> From what I've read, it sounds like that is pretty much what it does. 
> Right now, I'm using ALSA, Kmix and friends.
> >
> Short answer - yes, I believe so.
>
> Long answer - I don't know how much pulseaudio will remember settings
> from session to session. If you emerge pavucontrol (kubuntu installs
> it by default, it appears Gentoo requires you to add it. On my system
> it's pavucontrol-qt) you should see something akin to this, assuming
> this link survives email
>
> https://drive.google.com/open?id=1B_Rgaomiru0DNmuTFUwZy-9q5p4SGo_L
>
> Each app has a section, each section can be routed where you please.
> Each section has a horizontal VU meter so you can see where audio is
> coming from. 
>
> If you use pulseaudio then it owns the Alsa stack. You no longer
> communicate with Alsa using the old apps. In the general case I
> believe that alsamixer continues to work but I wouldn't bet on that
> for all systems and all soundcards. 
>
> HTH,
> Mark


That makes some sense.  I did a pretend with the USE flag enabled on the
command line just to see what all it would re-emerge and pull in as
deps.  The package you mentioned is pulled in so that should had some
function.


[ebuild  N ] media-sound/pavucontrol-qt-0.14.1


I notice KDE pulls in a new package or two as well that are some sort of
control functions.  Of course, it rebuilds several packages with the
flag change as well. 

I may give that a try.  When I first heard of it, it was pretty buggy
since it was fairly new.  It seems that those bugs were stomped on and
from more recent info, it is pretty stable and works well. 

Thanks for the info.  Helps me to decide whether to dive in or to stay
out of the water.  lol 

Dale

:-)  :-)


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Michael
On Tuesday, 5 May 2020 18:34:29 BST Mark Knecht wrote:
> On Tue, May 5, 2020 at 9:38 AM  wrote:
> 
> 
> > Background to my question:
> > I am still searching for a equalizer solution, which does not
> > uses the eq provided by the hardware (I am using a DAC, which
> > does nothing else, than converting PCM into an analog signal.
> > No processing whatsoever.
> > 
> > So the eq has to have some sort of DSP funktionality build in.
> > 
> > And it should be made for background processing.
> > 
> > Anu helpful alsa-based idea is very appreciated...
> > 
> > Cheers!
> > Meino
> 
> pulseeffects possibly? I've never used it.
> 
> Good luck,
> Mark

I use FF-68.7.0-r1 with USE="-pulseaudio" and it works fine producing sound.

There's this equaliser for alsa, but I haven't used it myself:

$ eix -l alsaequal
* media-plugins/alsaequal
 Available versions:  
   ~0.7.1   [ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" 
ABI_S390="32 64" ABI_X86="32 64 x32"]
 Homepage:https://github.com/bassdr/alsaequal
 Description: A real-time adjustable equalizer plugin for ALSA


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


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Mark Knecht
On Tue, May 5, 2020 at 9:38 AM  wrote:

> Background to my question:
> I am still searching for a equalizer solution, which does not
> uses the eq provided by the hardware (I am using a DAC, which
> does nothing else, than converting PCM into an analog signal.
> No processing whatsoever.
>
> So the eq has to have some sort of DSP funktionality build in.
>
> And it should be made for background processing.
>
> Anu helpful alsa-based idea is very appreciated...
>
> Cheers!
> Meino

pulseeffects possibly? I've never used it.

Good luck,
Mark


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Mark Knecht
On Tue, May 5, 2020 at 9:43 AM Dale  wrote:
>

>
> Question, somewhat off topic but somewhat on topic.  I use smplayer to
send my videos to my TV using the second port on my video card.  I set
smplayer to send the audio to the TV, instead of my puter speakers.  I've
never used pulseaudio but with Firefox heading down that path, I might have
to switch.  My question is, if I switched to pulseaudio, can I tell it that
smplayer goes to TV and things like Firefox, Seamonkey, gnome-player and
such goes to the puter speakers?  From what I've read, it sounds like that
is pretty much what it does.  Right now, I'm using ALSA, Kmix and friends.
>
Short answer - yes, I believe so.

Long answer - I don't know how much pulseaudio will remember settings from
session to session. If you emerge pavucontrol (kubuntu installs it by
default, it appears Gentoo requires you to add it. On my system it's
pavucontrol-qt) you should see something akin to this, assuming this link
survives email

https://drive.google.com/open?id=1B_Rgaomiru0DNmuTFUwZy-9q5p4SGo_L

Each app has a section, each section can be routed where you please. Each
section has a horizontal VU meter so you can see where audio is coming
from.

If you use pulseaudio then it owns the Alsa stack. You no longer
communicate with Alsa using the old apps. In the general case I believe
that alsamixer continues to work but I wouldn't bet on that for all systems
and all soundcards.

HTH,
Mark


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Dale
Mark Knecht wrote:
>
>
> On Tue, May 5, 2020 at 9:22 AM Matt Connell (Gmail)
> mailto:matthewdconn...@gmail.com>> wrote:
> >
> > On 2020-05-05 10:38, tu...@posteo.de  wrote:
> > > Is Firefox/Waterfox able to interface with jackd?
> >
> > Disclaimer, I do not use Jack.
> >
> > Firefox builds, in my personal experience, are intended to be used with
> > pulseaudio and only pulseaudio.  Some people have made some shims for
> > making it worth with alsa, but they don't look sustainable.
> >
> > As the other poster said, this endeavor is likely to result in
> > frustration.  You may get it to 'work' for some value of that word, but
> > depending on expectations, it may not be worth your while.
>
> I think Matt makes an excellent point. The solution you're looking for
> these days really 
> is pulseaudio, not Jack. pulseaudio handles multiple sound source
> applications, can
> route to multiple sound cards, and provides rudimentary metering so
> you can see 
> what's going on. I have no experience using it on anything other than
> KDE but these 
> days I feel it does a good job at what it's designed for. 


Question, somewhat off topic but somewhat on topic.  I use smplayer to
send my videos to my TV using the second port on my video card.  I set
smplayer to send the audio to the TV, instead of my puter speakers. 
I've never used pulseaudio but with Firefox heading down that path, I
might have to switch.  My question is, if I switched to pulseaudio, can
I tell it that smplayer goes to TV and things like Firefox, Seamonkey,
gnome-player and such goes to the puter speakers?  From what I've read,
it sounds like that is pretty much what it does.  Right now, I'm using
ALSA, Kmix and friends.

Dale

:-)  :-) 


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread tuxic
On 05/05 11:22, Matt Connell (Gmail) wrote:
> On 2020-05-05 10:38, tu...@posteo.de wrote:
> > Is Firefox/Waterfox able to interface with jackd?
> 
> Disclaimer, I do not use Jack.
> 
> Firefox builds, in my personal experience, are intended to be used with
> pulseaudio and only pulseaudio.  Some people have made some shims for making
> it worth with alsa, but they don't look sustainable.
> 
> As the other poster said, this endeavor is likely to result in frustration.
> You may get it to 'work' for some value of that word, but depending on
> expectations, it may not be worth your while.
> 

HI all,

thanks for the repsonse.

I am using waterfox, which is not in portage. The mentioning of 
Forefox was onlu to make its heritage clear.

I already have some "experiences" make, when it comes to other things
for audio than alsa.

Background to my question:
I am still searching for a equalizer solution, which does not
uses the eq provided by the hardware (I am using a DAC, which
does nothing else, than converting PCM into an analog signal.
No processing whatsoever.

So the eq has to have some sort of DSP funktionality build in.

And it should be made for background processing.

Anu helpful alsa-based idea is very appreciated...

Cheers!
Meino





Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Mark Knecht
On Tue, May 5, 2020 at 9:22 AM Matt Connell (Gmail) <
matthewdconn...@gmail.com> wrote:
>
> On 2020-05-05 10:38, tu...@posteo.de wrote:
> > Is Firefox/Waterfox able to interface with jackd?
>
> Disclaimer, I do not use Jack.
>
> Firefox builds, in my personal experience, are intended to be used with
> pulseaudio and only pulseaudio.  Some people have made some shims for
> making it worth with alsa, but they don't look sustainable.
>
> As the other poster said, this endeavor is likely to result in
> frustration.  You may get it to 'work' for some value of that word, but
> depending on expectations, it may not be worth your while.

I think Matt makes an excellent point. The solution you're looking for
these days really
is pulseaudio, not Jack. pulseaudio handles multiple sound source
applications, can
route to multiple sound cards, and provides rudimentary metering so you can
see
what's going on. I have no experience using it on anything other than KDE
but these
days I feel it does a good job at what it's designed for.


Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Matt Connell (Gmail)

On 2020-05-05 10:38, tu...@posteo.de wrote:

Is Firefox/Waterfox able to interface with jackd?


Disclaimer, I do not use Jack.

Firefox builds, in my personal experience, are intended to be used with 
pulseaudio and only pulseaudio.  Some people have made some shims for 
making it worth with alsa, but they don't look sustainable.


As the other poster said, this endeavor is likely to result in 
frustration.  You may get it to 'work' for some value of that word, but 
depending on expectations, it may not be worth your while.




Re: [gentoo-user] Firefox/Watefox and jack?

2020-05-05 Thread Mark Knecht
On Tue, May 5, 2020 at 8:38 AM  wrote:
>
> Is Firefox/Waterfox able to interface with jackd?
>
> Cheers!
> Meino
>

Personally, meaning my thoughts having used Jack for years, is that you'd
be asking for an insane numbers of problems and never ending
disappointments if you went this way.

That said:

https://jackaudio.org/applications/

at the very bottom of the page it does indicate that if you build Firefox
with custom build flags that it will connect to jackd.

A little bit of browsing makes it look (to my untrained eye) that possibly
these build flags were never fully adopted by the Firefox folks but as I
think this is an idea that's likely to produce more tears than joy I didn't
look very hard.

I use Jack every day on my system. Personally I'd never use it for general
purpose web audio.

Good luck, and if you do it let us know how it works.

Mark


Re: [gentoo-user] Firefox again - sad

2020-04-13 Thread Peter Humphrey
On Monday, 13 April 2020 11:15:26 BST Michael wrote:
> On Monday, 13 April 2020 11:08:30 BST Ian Zimmerman wrote:
> > After the latest Firefox update (68.7.0), when I try to open the menu
> > with F10, sometimes Firefox crashes (about the 3rd time today now).
> > Does anyone else see that?
> 
> Not here, on two boxen so far.
> 
> F10 brings it up and takes it down again.  No crashes.

Likewise, on all counts.

-- 
Regards,
Peter.






Re: [gentoo-user] Firefox again - sad

2020-04-13 Thread Michael
On Monday, 13 April 2020 11:08:30 BST Ian Zimmerman wrote:
> After the latest Firefox update (68.7.0), when I try to open the menu
> with F10, sometimes Firefox crashes (about the 3rd time today now).
> Does anyone else see that?

Not here, on two boxen so far.

F10 brings it up and takes it down again.  No crashes.  Perhaps you should 
launch it from a terminal to see what it complains about?


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


Re: [gentoo-user] Firefox 68.6.0-r3 local URL parsing is borked?

2020-04-03 Thread Michael
On Thursday, 2 April 2020 12:33:33 BST Michael wrote:
> Something changed in the Gentoo /usr/bin/firefox script and parsing URLs
> with spaces in the file name fails to escape the spaces and opens all sort
> tabs while trying to resolve/search for each part of the URL string.
> 
> Using /usr/lib64/firefox/firefox seems to parse the path correctly (when
> called from a local firefox.desktop file).
> 
> This looks like a bug to me, but have you noticed something similar with
> Firefox 68.6.0-r3?

Fixed in 68.6.0-r4.  Saved me reporting a bug.  ;-)


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


Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread n952162

There's a  difference between "unpin" and "dismiss".  You can "pin" your
favorites to the screen, and apparently Amazon supports Mozilla, so its
icon is "pre-pinned".  And I *can* unpin it - it goes away for that
session.  But it's pinned on the next invocation.

But, as I say, I doubt this is a nefarious conspiracy between Mozilla
and Amazon (although I wouldn't put it past them), but rather something
wrong with my installation.

But it would be interesting if anybody piped up and said they were
experiencing the same thing ...


On 2020-03-03 11:36, Michael wrote:

On Tuesday, 3 March 2020 10:29:39 GMT n952162 wrote:

Well, I can change it.  It's just that the next time I start firefox, I
have the old values back (and Amazon is pinned, again).

Hmm ... interesting ... when I go to Top Sites on a new tab and click on the
top right of a site at the Open Menu roundel, I can select to "x Dissmiss" a
site stored there and it's gone, unless/until I revisit it a few times.

I am not sure how this works if a site is in your Bookmarks and you have not
cleared your History for a while.




Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread Michael
On Tuesday, 3 March 2020 10:29:39 GMT n952162 wrote:
>
> Well, I can change it.  It's just that the next time I start firefox, I
> have the old values back (and Amazon is pinned, again).

Hmm ... interesting ... when I go to Top Sites on a new tab and click on the 
top right of a site at the Open Menu roundel, I can select to "x Dissmiss" a 
site stored there and it's gone, unless/until I revisit it a few times.

I am not sure how this works if a site is in your Bookmarks and you have not 
cleared your History for a while.

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


Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread n952162

On 2020-03-03 11:26, Michael wrote:

On Tuesday, 3 March 2020 09:57:33 GMT n952162 wrote:

On 2020-03-03 10:27, Michael wrote:

On Tuesday, 3 March 2020 03:58:12 GMT Walter Dnes wrote:

On Mon, Mar 02, 2020 at 11:16:52PM +0100, n952162 wrote


I have a banner that says that "your browser is being managed by your
organization". Oh yeah? I guess that would be gentoo. How can I break
that relationship?


Do you have Avast and/or AVG anti-virus?  See

https://support.mozilla.org/en-US/questions/1264369 (Firefox) and
https://www.howtogeek.com/410106/why-does-chrome-say-its-managed-by-your-> >> 
org anization/ (Chrome).  Some browsers have started to report when they
detect external control, whether by Windows policies, or Avast/AVG.
Firefox seems to be following the lead of Chrome here.

Are you sure this applies to Linux?

I had thought the warning shows up when some of the browser's default
settings have been changed, or additional TLS Certificates have been
loaded.  If you go to 'about:policies' you'll see anything changed there.
  In mine FF has DisableAppUpdate, because I manage this via portage and
don't need FF to notify me, or even worse try to update itself.

Yes, that's my situation.  You're right, if you click on the banner, it
takes you to about:policies and I'm happy with that policy.  When I
wrote the original post, it wasn't clear that that's all that's
affected, but I presume that's so.

The issue where it arose is that certain settings are not being recorded
for me - at least, I presume that the privacy warning tab isn't supposed
to appear on every start, and that I ought to be able to change my home
page.  As tempting as it is to see a conspiracy, once I realized that I
couldn't even unpin Amazon and have it stayed unpinned, I started
suspecting that something is wrong in my installation.

You *should* be able to change your homepage.  Go into Preferences/Home/New
Windows and Tabs.  Then set there what you prefer to see on the page when
Firefox launches or a new Tab is opened.



Well, I can change it.  It's just that the next time I start firefox, I
have the old values back (and Amazon is pinned, again).




Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread Michael
On Tuesday, 3 March 2020 09:57:33 GMT n952162 wrote:
> On 2020-03-03 10:27, Michael wrote:
> > On Tuesday, 3 March 2020 03:58:12 GMT Walter Dnes wrote:
> >> On Mon, Mar 02, 2020 at 11:16:52PM +0100, n952162 wrote
> >> 
> >>> I have a banner that says that "your browser is being managed by your
> >>> organization". Oh yeah? I guess that would be gentoo. How can I break
> >>> that relationship?
> >>> 
> >>Do you have Avast and/or AVG anti-virus?  See
> >> 
> >> https://support.mozilla.org/en-US/questions/1264369 (Firefox) and
> >> https://www.howtogeek.com/410106/why-does-chrome-say-its-managed-by-your-> 
> >> >> org anization/ (Chrome).  Some browsers have started to report when they
> >> detect external control, whether by Windows policies, or Avast/AVG. 
> >> Firefox seems to be following the lead of Chrome here.
> > 
> > Are you sure this applies to Linux?
> > 
> > I had thought the warning shows up when some of the browser's default
> > settings have been changed, or additional TLS Certificates have been
> > loaded.  If you go to 'about:policies' you'll see anything changed there.
> >  In mine FF has DisableAppUpdate, because I manage this via portage and
> > don't need FF to notify me, or even worse try to update itself.
> 
> Yes, that's my situation.  You're right, if you click on the banner, it
> takes you to about:policies and I'm happy with that policy.  When I
> wrote the original post, it wasn't clear that that's all that's
> affected, but I presume that's so.
> 
> The issue where it arose is that certain settings are not being recorded
> for me - at least, I presume that the privacy warning tab isn't supposed
> to appear on every start, and that I ought to be able to change my home
> page.  As tempting as it is to see a conspiracy, once I realized that I
> couldn't even unpin Amazon and have it stayed unpinned, I started
> suspecting that something is wrong in my installation.

You *should* be able to change your homepage.  Go into Preferences/Home/New 
Windows and Tabs.  Then set there what you prefer to see on the page when 
Firefox launches or a new Tab is opened.



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


Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread n952162

On 2020-03-03 10:27, Michael wrote:

On Tuesday, 3 March 2020 03:58:12 GMT Walter Dnes wrote:

On Mon, Mar 02, 2020 at 11:16:52PM +0100, n952162 wrote


I have a banner that says that "your browser is being managed by your
organization". Oh yeah? I guess that would be gentoo. How can I break
that relationship?

   Do you have Avast and/or AVG anti-virus?  See
https://support.mozilla.org/en-US/questions/1264369 (Firefox) and
https://www.howtogeek.com/410106/why-does-chrome-say-its-managed-by-your-org
anization/ (Chrome).  Some browsers have started to report when they detect
external control, whether by Windows policies, or Avast/AVG.  Firefox
seems to be following the lead of Chrome here.

Are you sure this applies to Linux?

I had thought the warning shows up when some of the browser's default settings
have been changed, or additional TLS Certificates have been loaded.  If you go
to 'about:policies' you'll see anything changed there.  In mine FF has
DisableAppUpdate, because I manage this via portage and don't need FF to
notify me, or even worse try to update itself.



Yes, that's my situation.  You're right, if you click on the banner, it
takes you to about:policies and I'm happy with that policy.  When I
wrote the original post, it wasn't clear that that's all that's
affected, but I presume that's so.

The issue where it arose is that certain settings are not being recorded
for me - at least, I presume that the privacy warning tab isn't supposed
to appear on every start, and that I ought to be able to change my home
page.  As tempting as it is to see a conspiracy, once I realized that I
couldn't even unpin Amazon and have it stayed unpinned, I started
suspecting that something is wrong in my installation.

Someday when I have a day or two to waste, I'll re-emerge it.





Re: [gentoo-user] firefox managed by my organization?

2020-03-03 Thread Michael
On Tuesday, 3 March 2020 03:58:12 GMT Walter Dnes wrote:
> On Mon, Mar 02, 2020 at 11:16:52PM +0100, n952162 wrote
> 
> > I have a banner that says that "your browser is being managed by your
> > organization". Oh yeah? I guess that would be gentoo. How can I break
> > that relationship?
> 
>   Do you have Avast and/or AVG anti-virus?  See
> https://support.mozilla.org/en-US/questions/1264369 (Firefox) and
> https://www.howtogeek.com/410106/why-does-chrome-say-its-managed-by-your-org
> anization/ (Chrome).  Some browsers have started to report when they detect
> external control, whether by Windows policies, or Avast/AVG.  Firefox
> seems to be following the lead of Chrome here.

Are you sure this applies to Linux?

I had thought the warning shows up when some of the browser's default settings 
have been changed, or additional TLS Certificates have been loaded.  If you go 
to 'about:policies' you'll see anything changed there.  In mine FF has 
DisableAppUpdate, because I manage this via portage and don't need FF to 
notify me, or even worse try to update itself.

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


Re: [gentoo-user] firefox managed by my organization?

2020-03-02 Thread Walter Dnes
On Mon, Mar 02, 2020 at 11:16:52PM +0100, n952162 wrote
> I have a banner that says that "your browser is being managed by your
> organization". Oh yeah? I guess that would be gentoo. How can I break
> that relationship?

  Do you have Avast and/or AVG anti-virus?  See
https://support.mozilla.org/en-US/questions/1264369 (Firefox) and
https://www.howtogeek.com/410106/why-does-chrome-say-its-managed-by-your-organization/
(Chrome).  Some browsers have started to report when they detect
external control, whether by Windows policies, or Avast/AVG.  Firefox
seems to be following the lead of Chrome here.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Firefox and script block tool/addon

2020-02-17 Thread Dale
Spackman, Chris wrote:
> On 2020/02/17 at 02:31am, Dale wrote:
>> Dale wrote:
>> I been playing with this add-on and watched some videos on it.  While
>> it does some things better, it just isn't specific enough for what I
>> need.   In some cases, if I blocked scripts with it, some sites
>> wouldn't work at all or caused other issues. In a way it's better than
>> noscript but it still just doesn't go far enough.  I wish adblock
>> would list elements the way it used to.  That worked great because I
>> could block scripts on a individual basis.  Allow the ones I need and
>> block the ones that cause issues. 
> I'm really surprised that umatrix (not ublock origin!) can't do what you
> need. As you note, it is much more granular than NoScript. Blocking
> elements at the subdomain level, you'd think, would be granular enough
> for most web pages.
>
> Are you saying you want to additionally allow / block scripts not just
> on a per-subdomain basis but on a per-individual-script basis? I've been
> using things like NoScript and uMatrix for many years, and I don't think
> even I would want to deal with that. How would you know which ones to
> allow? The Reg is showing 7, of which I allow 3. The Guardian has like
> 28, of which I allow 19. It would not be fun to try to go through all of
> those to figure out which ones are absolutely necessary. You'd be
> examining, allowing, and reloading 20 times per site, at first.
>
> Maybe the Tor Browser people would be interested in working on such an
> add on? 
>



Yes, blocking on a per script basis is what I need.  On one site, I'm
sure it has a couple dozen scripts on it.  From what I could see, I
really only need to block 2 maybe 3.  The others are needed for certain
things on the page to work. Some are needed to make the page load at all. 

The thing about getting it set up, once done, it's done.  It may take 30
minutes or a hour but once it is done, it won't require much if any
attention from then on.  As I pointed out, I used to do this in
Seamonkey with adblock.  It worked well.  In some cases, I'd block all
by default and then set exceptions for the ones I need to work. 
Whichever is easier. 

Maybe one day I'll run up on a add-on that does this.  Maybe.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Firefox and script block tool/addon

2020-02-17 Thread Spackman, Chris
On 2020/02/17 at 02:31am, Dale wrote:
> Dale wrote:

> I been playing with this add-on and watched some videos on it.  While
> it does some things better, it just isn't specific enough for what I
> need.   In some cases, if I blocked scripts with it, some sites
> wouldn't work at all or caused other issues. In a way it's better than
> noscript but it still just doesn't go far enough.  I wish adblock
> would list elements the way it used to.  That worked great because I
> could block scripts on a individual basis.  Allow the ones I need and
> block the ones that cause issues. 

I'm really surprised that umatrix (not ublock origin!) can't do what you
need. As you note, it is much more granular than NoScript. Blocking
elements at the subdomain level, you'd think, would be granular enough
for most web pages.

Are you saying you want to additionally allow / block scripts not just
on a per-subdomain basis but on a per-individual-script basis? I've been
using things like NoScript and uMatrix for many years, and I don't think
even I would want to deal with that. How would you know which ones to
allow? The Reg is showing 7, of which I allow 3. The Guardian has like
28, of which I allow 19. It would not be fun to try to go through all of
those to figure out which ones are absolutely necessary. You'd be
examining, allowing, and reloading 20 times per site, at first.

Maybe the Tor Browser people would be interested in working on such an
add on? 

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532



Re: [gentoo-user] Firefox and script block tool/addon

2020-02-17 Thread Dale
Dale wrote:
> Corpo wrote:
>> Le 24/01/2020 à 22:52, Dale a écrit :
>>> Howdy,
>>>
>>> I use Firefox and have a issue with scripts on some sites.  I have
>>> noscript installed and for the most part, it works.  That said, there is
>>> times when it doesn't do what I need.  It seems, from what I can find
>>> anyway, that you can either allow scripts or not allow scripts but can't
>>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>>> scripts to run but want to block other scripts.  With noscript, I either
>>> allow all from a site or none.  What I'd like to find is a script block
>>> tool that will list all the scripts and allow me to block some but allow
>>> others.  Believe it or not, I use to use adblock, a much older version,
>>> to do this.  I'd tell adblock to list all the objects, sort them by type
>>> and then go through the scripts until I find the magic settings that
>>> allows the site to work but not run scripts I don't want.
>>>
>>> I've installed and tried quite a few script block tools but none of them
>>> seem to do what I want to do.  I've even tried a few addons that only
>>> had a very few users, just hoping it would do this.  Has anyone ever
>>> seen a script block tool, or some other tool with a different name, that
>>> works this way?  I need a addon that allows me to refine and be
>>> selective on what scripts run and which ones are blocked. 
>>>
>>> Thanks much to all.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>>
>> umatrix maybe?
>>
>>
>>
>
> I installed it and I think it will do what I want.  I just need to
> figure out the details of how to make it get there.  Based on the
> description, it seems to be the best one yet.   Now to head over to
> youtube and see some tips and tricks.  ;-)  I might add, one website
> that was really bad seems to be a lot better.  Time will tell tho.
>
> Thanks.
>
> Dale
>
> :-)  :-) 
>


I been playing with this add-on and watched some videos on it.  While it
does some things better, it just isn't specific enough for what I need. 
In some cases, if I blocked scripts with it, some sites wouldn't work at
all or caused other issues. In a way it's better than noscript but it
still just doesn't go far enough.  I wish adblock would list elements
the way it used to.  That worked great because I could block scripts on
a individual basis.  Allow the ones I need and block the ones that cause
issues. 

Thanks for the info.  It was worth a try at least.

Dale

:-)  :-) 



Re: [gentoo-user] Firefox and script block tool/addon

2020-01-25 Thread Dale
Corpo wrote:
> Le 24/01/2020 à 22:52, Dale a écrit :
>> Howdy,
>>
>> I use Firefox and have a issue with scripts on some sites.  I have
>> noscript installed and for the most part, it works.  That said, there is
>> times when it doesn't do what I need.  It seems, from what I can find
>> anyway, that you can either allow scripts or not allow scripts but can't
>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>> scripts to run but want to block other scripts.  With noscript, I either
>> allow all from a site or none.  What I'd like to find is a script block
>> tool that will list all the scripts and allow me to block some but allow
>> others.  Believe it or not, I use to use adblock, a much older version,
>> to do this.  I'd tell adblock to list all the objects, sort them by type
>> and then go through the scripts until I find the magic settings that
>> allows the site to work but not run scripts I don't want.
>>
>> I've installed and tried quite a few script block tools but none of them
>> seem to do what I want to do.  I've even tried a few addons that only
>> had a very few users, just hoping it would do this.  Has anyone ever
>> seen a script block tool, or some other tool with a different name, that
>> works this way?  I need a addon that allows me to refine and be
>> selective on what scripts run and which ones are blocked. 
>>
>> Thanks much to all.
>>
>> Dale
>>
>> :-)  :-) 
>>
> umatrix maybe?
>
>
>


I installed it and I think it will do what I want.  I just need to
figure out the details of how to make it get there.  Based on the
description, it seems to be the best one yet.   Now to head over to
youtube and see some tips and tricks.  ;-)  I might add, one website
that was really bad seems to be a lot better.  Time will tell tho.

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Firefox and script block tool/addon

2020-01-25 Thread aisha
Try enabling clang and see what happens. llvm is a really good piece of 
software.


I generally also have pulseaudio and hwaccel enabled but thats up to 
you.


---
Aisha
blog.aisha.cc

On 2020-01-25 04:39, Dale wrote:

Hi,

I'm checking that as I type.  It may not solve all my problems but it
may certainly help.  Some scripts make one CPU core go to 100% and 
locks

up the tab the script is running on.  Firefox, to its credit, is sane
enough to allow other tabs to work tho.  At least it doesn't completely
lock up the whole thing.  Good code I guess.  ;-)  Anyway, it does that
for about 30 seconds or so, I assume it times out or something.  Still,
very annoying and worthy of just blocking the script completely. 

It appears clang is disabled.  If I read that correctly, that is the
ideal setting.


[ebuild   R   ~] www-client/firefox-72.0.1::gentoo  USE="gmp-autoupdate
screenshot startup-notification system-av1 system-icu system-jpeg
system-sqlite system-webp -bindist -clang -custom-cflags
-custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel
-jack -lto -pgo -pulseaudio (-selinux) -system-libevent -system-libvpx
-test -wayland -wifi" CPU_FLAGS_X86="-avx2"


Thanks for the tip. 

Dale

:-)  :-) 

P. S. Top posting since reply was also.  Could be device related.  I 
dunno.



aisha wrote:

Firefox currently has some issues with addons and local storage.
Do you have the use `clang` flag enabled?
This compiles firefox using clang-llvm and fixes a lot of the 
problems.


---
Aisha
www.aisha.cc

On 2020-01-24 22:52, Dale wrote:

Howdy,

I use Firefox and have a issue with scripts on some sites.  I have
noscript installed and for the most part, it works.  That said, there 
is

times when it doesn't do what I need.  It seems, from what I can find
anyway, that you can either allow scripts or not allow scripts but 
can't
pick and choose.  For example.  Let's say I'm on abc.com and I need 
some
scripts to run but want to block other scripts.  With noscript, I 
either
allow all from a site or none.  What I'd like to find is a script 
block
tool that will list all the scripts and allow me to block some but 
allow
others.  Believe it or not, I use to use adblock, a much older 
version,
to do this.  I'd tell adblock to list all the objects, sort them by 
type

and then go through the scripts until I find the magic settings that
allows the site to work but not run scripts I don't want.

I've installed and tried quite a few script block tools but none of 
them

seem to do what I want to do.  I've even tried a few addons that only
had a very few users, just hoping it would do this.  Has anyone ever
seen a script block tool, or some other tool with a different name, 
that

works this way?  I need a addon that allows me to refine and be
selective on what scripts run and which ones are blocked. 

Thanks much to all.

Dale

:-)  :-) 






Re: [gentoo-user] Firefox and script block tool/addon

2020-01-25 Thread Corpo
Le 24/01/2020 à 22:52, Dale a écrit :
> Howdy,
>
> I use Firefox and have a issue with scripts on some sites.  I have
> noscript installed and for the most part, it works.  That said, there is
> times when it doesn't do what I need.  It seems, from what I can find
> anyway, that you can either allow scripts or not allow scripts but can't
> pick and choose.  For example.  Let's say I'm on abc.com and I need some
> scripts to run but want to block other scripts.  With noscript, I either
> allow all from a site or none.  What I'd like to find is a script block
> tool that will list all the scripts and allow me to block some but allow
> others.  Believe it or not, I use to use adblock, a much older version,
> to do this.  I'd tell adblock to list all the objects, sort them by type
> and then go through the scripts until I find the magic settings that
> allows the site to work but not run scripts I don't want.
>
> I've installed and tried quite a few script block tools but none of them
> seem to do what I want to do.  I've even tried a few addons that only
> had a very few users, just hoping it would do this.  Has anyone ever
> seen a script block tool, or some other tool with a different name, that
> works this way?  I need a addon that allows me to refine and be
> selective on what scripts run and which ones are blocked. 
>
> Thanks much to all.
>
> Dale
>
> :-)  :-) 
>
umatrix maybe?




Re: [gentoo-user] Firefox and script block tool/addon

2020-01-24 Thread Dale
Hi,

I'm checking that as I type.  It may not solve all my problems but it
may certainly help.  Some scripts make one CPU core go to 100% and locks
up the tab the script is running on.  Firefox, to its credit, is sane
enough to allow other tabs to work tho.  At least it doesn't completely
lock up the whole thing.  Good code I guess.  ;-)  Anyway, it does that
for about 30 seconds or so, I assume it times out or something.  Still,
very annoying and worthy of just blocking the script completely. 

It appears clang is disabled.  If I read that correctly, that is the
ideal setting.


[ebuild   R   ~] www-client/firefox-72.0.1::gentoo  USE="gmp-autoupdate
screenshot startup-notification system-av1 system-icu system-jpeg
system-sqlite system-webp -bindist -clang -custom-cflags
-custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel
-jack -lto -pgo -pulseaudio (-selinux) -system-libevent -system-libvpx
-test -wayland -wifi" CPU_FLAGS_X86="-avx2"


Thanks for the tip. 

Dale

:-)  :-) 

P. S. Top posting since reply was also.  Could be device related.  I dunno.


aisha wrote:
> Firefox currently has some issues with addons and local storage.
> Do you have the use `clang` flag enabled?
> This compiles firefox using clang-llvm and fixes a lot of the problems.
>
> ---
> Aisha
> www.aisha.cc
>
> On 2020-01-24 22:52, Dale wrote:
>> Howdy,
>>
>> I use Firefox and have a issue with scripts on some sites.  I have
>> noscript installed and for the most part, it works.  That said, there is
>> times when it doesn't do what I need.  It seems, from what I can find
>> anyway, that you can either allow scripts or not allow scripts but can't
>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>> scripts to run but want to block other scripts.  With noscript, I either
>> allow all from a site or none.  What I'd like to find is a script block
>> tool that will list all the scripts and allow me to block some but allow
>> others.  Believe it or not, I use to use adblock, a much older version,
>> to do this.  I'd tell adblock to list all the objects, sort them by type
>> and then go through the scripts until I find the magic settings that
>> allows the site to work but not run scripts I don't want.
>>
>> I've installed and tried quite a few script block tools but none of them
>> seem to do what I want to do.  I've even tried a few addons that only
>> had a very few users, just hoping it would do this.  Has anyone ever
>> seen a script block tool, or some other tool with a different name, that
>> works this way?  I need a addon that allows me to refine and be
>> selective on what scripts run and which ones are blocked. 
>>
>> Thanks much to all.
>>
>> Dale
>>
>> :-)  :-) 
>




Re: [gentoo-user] Firefox and script block tool/addon

2020-01-24 Thread aisha

Firefox currently has some issues with addons and local storage.
Do you have the use `clang` flag enabled?
This compiles firefox using clang-llvm and fixes a lot of the problems.

---
Aisha
www.aisha.cc

On 2020-01-24 22:52, Dale wrote:

Howdy,

I use Firefox and have a issue with scripts on some sites.  I have
noscript installed and for the most part, it works.  That said, there 
is

times when it doesn't do what I need.  It seems, from what I can find
anyway, that you can either allow scripts or not allow scripts but 
can't
pick and choose.  For example.  Let's say I'm on abc.com and I need 
some
scripts to run but want to block other scripts.  With noscript, I 
either

allow all from a site or none.  What I'd like to find is a script block
tool that will list all the scripts and allow me to block some but 
allow

others.  Believe it or not, I use to use adblock, a much older version,
to do this.  I'd tell adblock to list all the objects, sort them by 
type

and then go through the scripts until I find the magic settings that
allows the site to work but not run scripts I don't want.

I've installed and tried quite a few script block tools but none of 
them

seem to do what I want to do.  I've even tried a few addons that only
had a very few users, just hoping it would do this.  Has anyone ever
seen a script block tool, or some other tool with a different name, 
that

works this way?  I need a addon that allows me to refine and be
selective on what scripts run and which ones are blocked. 

Thanks much to all.

Dale

:-)  :-) 




Re: [gentoo-user] firefox 68

2019-09-15 Thread Walter Dnes
On Sun, Sep 15, 2019 at 09:08:24AM -0700, Ian Zimmerman wrote

> Is this for real or is it a mistake to be reverted soon?  I do not
> enjoy the thought of rebuilding firefox twice in a row.

  The USE flags seem to have been around for a while.  I haven't updated
my desktop for a few weeks (I'll do it tomorrow). "emerge -pv firefox"
gives firefox-60.8.0 with...

[ebuild  N ] www-client/firefox-60.8.0::gentoo  USE="gmp-autoupdate 
screenshot -bindist -clang -custom-cflags -custom-optimization -dbus -debug 
-eme-free -geckodriver -hardened -hwaccel -jack (-neon) -pulseaudio (-selinux) 
-startup-notification -system-harfbuzz -system-icu -system-jpeg 
-system-libevent -system-libvpx -system-sqlite -test -wifi"

  Notice all the "system-*" flags.  I run Pale Moon, a Firefox fork.
The two programs have diverged over the years... but see Warning #5
in post https://forum.palemoon.org/viewtopic.php?f=62=20885

> Don't use system libs. Seriously, just don't. The only known-good
> libs are those in our source tree; don't be fooled by it working
> on simple/small applications because we are not and the balance is
> very precarious when dealing with our size of code base organically
> grown over decades.

  This might not apply to Firefox, but it probably does.  APIs change
with versions.  By using the internal libs, you know that Firefox will
be using the library versions it's expecting to see.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Firefox key shortcut buglet

2019-07-10 Thread Dale
Ian Zimmerman wrote:
> Alt-Control-R should switch between normal rendering and Reader mode.
> All the documentation available including the "tooltip" that pops up
> when I hover my mouse over the Reader icon agrees.
>
> And yet, in the File menu, there is an item "Restart (Developer)" with
> the same shortcut.  And when I in fact press this key combo, this is
> what happens: Firefox restarts.  I have no use for this, while the
> Reader shortcut is moderately useful.
>
> I haven't seen the Restart menu item before, I think it appeared with
> the last stable Firefox upgrade (60.7.2).  Is this a problem with
> upstream or the Gentoo package?  Can it be worked around, without
> leaving _all_ developer features out?
>


I've never heard of reader mode so I had to google it.  It seems you use
a binary package since you mentioned it being a Gentoo package.  I could
be mistaken on that.  I compile from source with the following USE flags.

[ebuild   R   ~] www-client/firefox-67.0.4::gentoo  USE="dbus
gmp-autoupdate screenshot startup-notification system-av1
system-harfbuzz system-icu system-jpeg system-sqlite system-webp
-bindist -clang -custom-cflags -custom-optimization -debug -eme-free
-geckodriver -hardened -hwaccel -jack -lto (-neon) -pgo -pulseaudio
(-selinux) -system-libevent -system-libvpx -test -wayland -wifi"

If the thinking is that the binary build is causing this, I'd say that
is not the case.  I seem to have the same key shortcuts for both items
as you have here as well.  Since I have several different profiles for
my Firefox, including one that I just use to test things with, I started
it and tested it.  The problem here is that something else KDE related
has that same shortcut and it catches it before Firefox does.  While I
can't duplicate what you get, I suspect if I could find and get rid of
whatever that is here, Firefox would behave the same as yours since both
have that same shortcut setting which appears to be a default and I
can't find a way to change it.  There could be a way in about:config but
I try not to mess with that to much. 

While I can't completely duplicate it, I can confirm that the shortcut
is set the same way as yours even when compiled from source.  It would
seem that it is a Firefox issue where one person doing the restart
wasn't aware that the person doing the reader view was already using
that shortcut.  May want to head over to Firefox with a can of Raid. 
There's a bug to kill.  ;-)

Hope that helps, a little at least. 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-12 Thread Wols Lists
On 10/01/19 12:28, Mick wrote:
> What about 'rsync -H' or 'tar --hard-dereference'?  Don't they cater to hard 
> links in the fs?

rsync and cp are both quite happy with hardlinks. They just keep a table
of them in memory ... a 3TB disk full of hard links will fill your
memory ...

Cheers,
Wol



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-12 Thread Wols Lists
On 10/01/19 00:55, Dale wrote:
> Just how do you do backups?  If cp -a and rsync would not work
> correctly, what do you use?  I'm just curious now.  ;-)

RAID.

I know it's not meant as a backup, and if anything happens to the
computer it could take out both drives, but at the moment I have two 3GB
drives mirrored, and I do copy stuff to archival DVD.

So if anything goes wrong I'm in trouble ... :-) That said, I'm someone
for whom things seem to "just work" - until I lend stuff to someone who
believes a good bash with a hammer is the fix for any technical gremlin :-)

Cheers,
Wol



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-10 Thread Mick
On Thursday, 10 January 2019 08:28:24 GMT J. Roeleveld wrote:
> On Thursday, January 10, 2019 1:55:59 AM CET Dale wrote:
> > Wols Lists wrote:
> > > On 07/01/19 10:46, Dale wrote:
> > >> From what I've read, that can be overcome.  If you get say a SMART
> > >> message that a drive is failing,
> > > 
> > > Yup, I have to agree that SMART isn't always reliable, but if you
> > > *monitor* it, it should give plenty of warning of the recording medium
> > > failing ...
> > 
> > Yep.  It may not detect a spindle motor that is about to fail.  I'm sure
> > it can't detect that lightening is about to strike and the drive get hit
> > with a surge either.  It can generally tell if the media is failing
> > tho.  I've read it can detect some components that are starting to fail
> > to, not all but some.  Still, even tho it can't detect everything, it is
> > better than no warning at all.  Until something better comes along, ESP
> > maybe, it will have to do.  ;-)
> > 
> > >> just remove that drive or remove the
> > >> whole LVM setup and use something else until a working drive setup can
> > >> be made.  Once ready, then move the data, if the drive still works, to
> > >> the new drive.  That is basically what I did when I swapped a smaller
> > >> drive for a larger one.  I moved the data from one drive to another. 
> > >> It
> > >> did it fairly quickly.  Someone posted that it may even be faster to do
> > >> it with LVM's pvmove than it is with cp or rsync.  I don't know how
> > >> true
> > >> that is but from what I've read, it moves the data really efficiently.
> > > 
> > > Point is, it works at a different level. Both cp and rsync are NOT
> > > guaranteed to copy your filesystem accurately - mine is full of hard
> > > links and that will give both those two a hard and nasty time.
> > > 
> > > LVM copies the block device underneath the file system, so it is less
> > > efficient in that it will copy 3GB if you have a 3GB partition, but it
> > > is far simpler in that it neither knows nor cares what the file system
> > > is doing at the next level up. Give a file-system like mine to "cp -a"
> > > and it'll bring the system to its knees trying to keep track of where
> > > everything is.
> > > 
> > > Cheers,
> > > Wol
> > 
> > That was what I read but couldn't recall enough to tell how it does it.
> > That explains why it can be done while in use to.
> > 
> > Just how do you do backups?  If cp -a and rsync would not work
> > correctly, what do you use?  I'm just curious now.  ;-)
> 
> There are backup tools that do handle hardlinks correctly. "app-backup/dar"
> comes to mind. I know this as my software-share is filled with hardlinks and
> when I restore the backup, they are all still there.
> 
> --
> Joost

What about 'rsync -H' or 'tar --hard-dereference'?  Don't they cater to hard 
links in the fs?

As a block based backup application partclone is also good.  It is very 
efficient in backing up blocks which are occupied by a fs, but not the rest of 
the empty space.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-10 Thread J. Roeleveld
On Thursday, January 10, 2019 1:55:59 AM CET Dale wrote:
> Wols Lists wrote:
> > On 07/01/19 10:46, Dale wrote:
> >> From what I've read, that can be overcome.  If you get say a SMART
> >> message that a drive is failing,
> > 
> > Yup, I have to agree that SMART isn't always reliable, but if you
> > *monitor* it, it should give plenty of warning of the recording medium
> > failing ...
> 
> Yep.  It may not detect a spindle motor that is about to fail.  I'm sure
> it can't detect that lightening is about to strike and the drive get hit
> with a surge either.  It can generally tell if the media is failing
> tho.  I've read it can detect some components that are starting to fail
> to, not all but some.  Still, even tho it can't detect everything, it is
> better than no warning at all.  Until something better comes along, ESP
> maybe, it will have to do.  ;-) 
> 
> >> just remove that drive or remove the
> >> whole LVM setup and use something else until a working drive setup can
> >> be made.  Once ready, then move the data, if the drive still works, to
> >> the new drive.  That is basically what I did when I swapped a smaller
> >> drive for a larger one.  I moved the data from one drive to another.  It
> >> did it fairly quickly.  Someone posted that it may even be faster to do
> >> it with LVM's pvmove than it is with cp or rsync.  I don't know how true
> >> that is but from what I've read, it moves the data really efficiently.
> > 
> > Point is, it works at a different level. Both cp and rsync are NOT
> > guaranteed to copy your filesystem accurately - mine is full of hard
> > links and that will give both those two a hard and nasty time.
> > 
> > LVM copies the block device underneath the file system, so it is less
> > efficient in that it will copy 3GB if you have a 3GB partition, but it
> > is far simpler in that it neither knows nor cares what the file system
> > is doing at the next level up. Give a file-system like mine to "cp -a"
> > and it'll bring the system to its knees trying to keep track of where
> > everything is.
> > 
> > Cheers,
> > Wol
> 
> That was what I read but couldn't recall enough to tell how it does it. 
> That explains why it can be done while in use to. 
> 
> Just how do you do backups?  If cp -a and rsync would not work
> correctly, what do you use?  I'm just curious now.  ;-)

There are backup tools that do handle hardlinks correctly. "app-backup/dar" 
comes to mind. I know this as my software-share is filled with hardlinks and 
when I restore the backup, they are all still there.

--
Joost





Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-09 Thread Dale
Wols Lists wrote:
> On 07/01/19 10:46, Dale wrote:
>> From what I've read, that can be overcome.  If you get say a SMART
>> message that a drive is failing,
> Yup, I have to agree that SMART isn't always reliable, but if you
> *monitor* it, it should give plenty of warning of the recording medium
> failing ...
>

Yep.  It may not detect a spindle motor that is about to fail.  I'm sure
it can't detect that lightening is about to strike and the drive get hit
with a surge either.  It can generally tell if the media is failing
tho.  I've read it can detect some components that are starting to fail
to, not all but some.  Still, even tho it can't detect everything, it is
better than no warning at all.  Until something better comes along, ESP
maybe, it will have to do.  ;-) 


>> just remove that drive or remove the
>> whole LVM setup and use something else until a working drive setup can
>> be made.  Once ready, then move the data, if the drive still works, to
>> the new drive.  That is basically what I did when I swapped a smaller
>> drive for a larger one.  I moved the data from one drive to another.  It
>> did it fairly quickly.  Someone posted that it may even be faster to do
>> it with LVM's pvmove than it is with cp or rsync.  I don't know how true
>> that is but from what I've read, it moves the data really efficiently. 
> Point is, it works at a different level. Both cp and rsync are NOT
> guaranteed to copy your filesystem accurately - mine is full of hard
> links and that will give both those two a hard and nasty time.
>
> LVM copies the block device underneath the file system, so it is less
> efficient in that it will copy 3GB if you have a 3GB partition, but it
> is far simpler in that it neither knows nor cares what the file system
> is doing at the next level up. Give a file-system like mine to "cp -a"
> and it'll bring the system to its knees trying to keep track of where
> everything is.
>
> Cheers,
> Wol
>

That was what I read but couldn't recall enough to tell how it does it. 
That explains why it can be done while in use to. 

Just how do you do backups?  If cp -a and rsync would not work
correctly, what do you use?  I'm just curious now.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-09 Thread Wols Lists
On 07/01/19 10:46, Dale wrote:
> From what I've read, that can be overcome.  If you get say a SMART
> message that a drive is failing,

Yup, I have to agree that SMART isn't always reliable, but if you
*monitor* it, it should give plenty of warning of the recording medium
failing ...

> just remove that drive or remove the
> whole LVM setup and use something else until a working drive setup can
> be made.  Once ready, then move the data, if the drive still works, to
> the new drive.  That is basically what I did when I swapped a smaller
> drive for a larger one.  I moved the data from one drive to another.  It
> did it fairly quickly.  Someone posted that it may even be faster to do
> it with LVM's pvmove than it is with cp or rsync.  I don't know how true
> that is but from what I've read, it moves the data really efficiently. 

Point is, it works at a different level. Both cp and rsync are NOT
guaranteed to copy your filesystem accurately - mine is full of hard
links and that will give both those two a hard and nasty time.

LVM copies the block device underneath the file system, so it is less
efficient in that it will copy 3GB if you have a 3GB partition, but it
is far simpler in that it neither knows nor cares what the file system
is doing at the next level up. Give a file-system like mine to "cp -a"
and it'll bring the system to its knees trying to keep track of where
everything is.

Cheers,
Wol



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-08 Thread gevisz
пн, 7 янв. 2019 г. в 12:21, Peter Humphrey :
>
> On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
>
> > Even from my simple setup, LVM adds more benefits to managing data and
> > drives than it does risk.  The biggest thing, placing blame where it
> > lies.  Blaming LVM for a drive dying is placing the blame on something
> > that wasn't the root of the problem.  The dying drive was the problem,
> > using LVM or not.
>
> He isn't doing that, though. As I read it, he recounted the tale of recovering
> data from a failed drive, then imagined how much worse it would be if it were
> in an LVM setup.

Yes, you are right.

May I also remind everybody that this thread was initially about a
problem with Firefox? :)



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Dale
Jack wrote:
> On 2019.01.07 14:35, Dale wrote:
>>
>>
>> But do you have any other way to get a warning?  It may not work every
>> time, especially if the spindle motor just up and dies all of a sudden
>> but it does detect some errors.  It is certainly better than having
>> nothing at all.  So far, SMART has detected errors and warned me for the
>> two drives I've had fail.  My neighbor had a drive to fail and it gave
>> warnings as well, during boot up but SMART still spit our errors.  Thing
>> is, the owner ignored it until it wouldn't boot anymore.  By that time,
>> it was toast.  They ran windoze.  When SMART does warn, it pays to
>> listen.  ;-)  Mine emails me when any error is reported. 
>>
>> Thing is, a bad drive will always risk the loss of data.  Always has. 
>> Monitoring SMART is better than nothing and generally gives some
>> warning.  It's not perfect but there is nothing else that does any
>> better that I've heard or read about.  It's the reason everyone should
>> back up data they can't afford to lose. 
>>
>> Dale
>>
>> :-)  :-)
> I do agree it is better than nothing, and I agree if SMART warns you,
> you better listen.  I just wouldn't bet the farm (or even a small
> garden) on it.  I'm coming closer and closer to just mirroring
> everything I can't easily recreate.  It doubles my disk costs, but
> should save me some future grief.
>


Currently, I have a 3TB and a 6TB drive using LVM.  It is mounted as a
roughly 8TB partition.  I have a external 8TB drive that I backup to,
over eSATA at the moment but it has a USB connection as well.  I also
have SMART set to email me at the first signs of trouble.  Hopefully I
will get a SMART warning.  If not, I hope my backups are up to date.  I
try to backup at least once a day.  The biggest thing I don't want to
lose is my emails and some videos.  Thing is, I have a plan B.  If a
drive gives me a warning, I've got a plan C as well. 

I agree that we shouldn't bet the farm on anything.  There is always
something unexpected that can happen. Still, backups, surge protection,
UPS power, cloud storage for those who can.  Those are all options. 
Just pick what works.  Hope for the best but be ready for the worst. 

Dale

:-)  :-)



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Jack

On 2019.01.07 14:35, Dale wrote:

Jack wrote:
> On 2019.01.07 05:46, Dale wrote:
>> Peter Humphrey wrote:
>> > On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
>> >
>> >> Even from my simple setup, LVM adds more benefits to managing  
data

>> and
>> >> drives than it does risk.  The biggest thing, placing blame  
where it

>> >> lies.  Blaming LVM for a drive dying is placing the blame on
>> something
>> >> that wasn't the root of the problem.  The dying drive was the
>> problem,
>> >> using LVM or not.
>> > He isn't doing that, though. As I read it, he recounted the tale  
of

>> recovering
>> > data from a failed drive, then imagined how much worse it would  
be

>> if it were
>> > in an LVM setup. [Reported speech and mixed-up tenses causing me  
a

>> problem
>> > here...]
>> >
>> > Thanks Gevisz, that was interesting. What we used to call a
>> cautionary tale.
>> >
>>
>> From what I've read, that can be overcome.  If you get say a SMART
>> message that a drive is failing, just remove that drive or remove  
the
>> whole LVM setup and use something else until a working drive setup  
can
>> be made.  Once ready, then move the data, if the drive still  
works, to
>> the new drive.  That is basically what I did when I swapped a  
smaller
>> drive for a larger one.  I moved the data from one drive to  
another.  It
>> did it fairly quickly.  Someone posted that it may even be faster  
to do
>> it with LVM's pvmove than it is with cp or rsync.  I don't know  
how true
>> that is but from what I've read, it moves the data really  
efficiently. 

>> If the drive has a very limited time before failure, speed is
>> important.  If the drive is completely dead, replace the drive and  
hope

>> the backups are good.  Either way, LVM or not, a failing drive is a
>> failing drive.  The data has to be moved if the drive still works  
or the
>> data is gone if it just up and dies.  The biggest thing, watching  
the
>> SMART messages about the health of the drive.  In the past when  
I've had
>> a drive fail, I got error messages well ahead of time.  On one  
drive, I
>> removed the drive, set it aside, ordered a replacement drive,  
installed
>> both drives and copied the data over.  After I did all that, I  
played
>> with the drive until it failed a day or so later.  Lucky?  Most  
likely. 

>> Still, it gave me time to transfer things over. 
>>
>> While I get that LVM adds a layer to things, it also adds some  
options

>> as well.  Those options can prove helpful if one uses them. 
>>
>> Just my thinking.
>>
>> Dale
> The only problem with all that is that SMART is far from completely
> reliable.  I recently had a drive fail, and the resulting fsck on  
the

> next reboot messed up many files.  (Not a Gentoo system, although I
> don't think that made any difference.)  After getting running  
again, I
> did several SMART tests, including the full self-test, and it  
reported

> ZERO errors.  A few weeks later, it did the same thing, and shortly
> after that, it failed totally.  I had done a few more full  
self-tests

> before final failure, and all came back clean.  I'd really love to
> find out there was something I did wrong in the testing, but I don't
> think so.  I have not yet completely given up on trying to recover
> stuff from that drive, but as time goes on, there is less and less
> that I haven't rebuilt or replaced by re-downloading or changing  
lost

> passwords, so it's less and less important.  (That was a different
> drive from the one I messed up myself, as discussed in another  
recent

> thread here.)
>
> Jack
>


But do you have any other way to get a warning?  It may not work every
time, especially if the spindle motor just up and dies all of a sudden
but it does detect some errors.  It is certainly better than having
nothing at all.  So far, SMART has detected errors and warned me for  
the

two drives I've had fail.  My neighbor had a drive to fail and it gave
warnings as well, during boot up but SMART still spit our errors.   
Thing
is, the owner ignored it until it wouldn't boot anymore.  By that  
time,

it was toast.  They ran windoze.  When SMART does warn, it pays to
listen.  ;-)  Mine emails me when any error is reported. 

Thing is, a bad drive will always risk the loss of data.  Always has. 
Monitoring SMART is better than nothing and generally gives some
warning.  It's not perfect but there is nothing else that does any
better that I've heard or read about.  It's the reason everyone should
back up data they can't afford to lose. 

Dale

:-)  :-)
I do agree it is better than nothing, and I agree if SMART warns you,  
you better listen.  I just wouldn't bet the farm (or even a small  
garden) on it.  I'm coming closer and closer to just mirroring  
everything I can't easily recreate.  It doubles my disk costs, but  
should save me some future grief.


Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Dale
Jack wrote:
> On 2019.01.07 05:46, Dale wrote:
>> Peter Humphrey wrote:
>> > On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
>> >
>> >> Even from my simple setup, LVM adds more benefits to managing data
>> and
>> >> drives than it does risk.  The biggest thing, placing blame where it
>> >> lies.  Blaming LVM for a drive dying is placing the blame on
>> something
>> >> that wasn't the root of the problem.  The dying drive was the
>> problem,
>> >> using LVM or not.
>> > He isn't doing that, though. As I read it, he recounted the tale of
>> recovering
>> > data from a failed drive, then imagined how much worse it would be
>> if it were
>> > in an LVM setup. [Reported speech and mixed-up tenses causing me a
>> problem
>> > here...]
>> >
>> > Thanks Gevisz, that was interesting. What we used to call a
>> cautionary tale.
>> >
>>
>> From what I've read, that can be overcome.  If you get say a SMART
>> message that a drive is failing, just remove that drive or remove the
>> whole LVM setup and use something else until a working drive setup can
>> be made.  Once ready, then move the data, if the drive still works, to
>> the new drive.  That is basically what I did when I swapped a smaller
>> drive for a larger one.  I moved the data from one drive to another.  It
>> did it fairly quickly.  Someone posted that it may even be faster to do
>> it with LVM's pvmove than it is with cp or rsync.  I don't know how true
>> that is but from what I've read, it moves the data really efficiently. 
>> If the drive has a very limited time before failure, speed is
>> important.  If the drive is completely dead, replace the drive and hope
>> the backups are good.  Either way, LVM or not, a failing drive is a
>> failing drive.  The data has to be moved if the drive still works or the
>> data is gone if it just up and dies.  The biggest thing, watching the
>> SMART messages about the health of the drive.  In the past when I've had
>> a drive fail, I got error messages well ahead of time.  On one drive, I
>> removed the drive, set it aside, ordered a replacement drive, installed
>> both drives and copied the data over.  After I did all that, I played
>> with the drive until it failed a day or so later.  Lucky?  Most likely. 
>> Still, it gave me time to transfer things over. 
>>
>> While I get that LVM adds a layer to things, it also adds some options
>> as well.  Those options can prove helpful if one uses them. 
>>
>> Just my thinking.
>>
>> Dale
> The only problem with all that is that SMART is far from completely
> reliable.  I recently had a drive fail, and the resulting fsck on the
> next reboot messed up many files.  (Not a Gentoo system, although I
> don't think that made any difference.)  After getting running again, I
> did several SMART tests, including the full self-test, and it reported
> ZERO errors.  A few weeks later, it did the same thing, and shortly
> after that, it failed totally.  I had done a few more full self-tests
> before final failure, and all came back clean.  I'd really love to
> find out there was something I did wrong in the testing, but I don't
> think so.  I have not yet completely given up on trying to recover
> stuff from that drive, but as time goes on, there is less and less
> that I haven't rebuilt or replaced by re-downloading or changing lost
> passwords, so it's less and less important.  (That was a different
> drive from the one I messed up myself, as discussed in another recent
> thread here.)
>
> Jack
>


But do you have any other way to get a warning?  It may not work every
time, especially if the spindle motor just up and dies all of a sudden
but it does detect some errors.  It is certainly better than having
nothing at all.  So far, SMART has detected errors and warned me for the
two drives I've had fail.  My neighbor had a drive to fail and it gave
warnings as well, during boot up but SMART still spit our errors.  Thing
is, the owner ignored it until it wouldn't boot anymore.  By that time,
it was toast.  They ran windoze.  When SMART does warn, it pays to
listen.  ;-)  Mine emails me when any error is reported. 

Thing is, a bad drive will always risk the loss of data.  Always has. 
Monitoring SMART is better than nothing and generally gives some
warning.  It's not perfect but there is nothing else that does any
better that I've heard or read about.  It's the reason everyone should
back up data they can't afford to lose. 

Dale

:-)  :-)



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Mick
On Monday, 7 January 2019 16:30:41 GMT Jack wrote:
> On 2019.01.07 05:46, Dale wrote:
> > Peter Humphrey wrote:
> > > On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
> > >> Even from my simple setup, LVM adds more benefits to managing data
> > 
> > and
> > 
> > >> drives than it does risk.  The biggest thing, placing blame where
> > 
> > it
> > 
> > >> lies.  Blaming LVM for a drive dying is placing the blame on
> > 
> > something
> > 
> > >> that wasn't the root of the problem.  The dying drive was the
> > 
> > problem,
> > 
> > >> using LVM or not.
> > > 
> > > He isn't doing that, though. As I read it, he recounted the tale of
> > 
> > recovering
> > 
> > > data from a failed drive, then imagined how much worse it would be
> > 
> > if it were
> > 
> > > in an LVM setup. [Reported speech and mixed-up tenses causing me a
> > 
> > problem
> > 
> > > here...]
> > > 
> > > Thanks Gevisz, that was interesting. What we used to call a
> > 
> > cautionary tale.
> > 
> > 
> > From what I've read, that can be overcome.  If you get say a SMART
> > message that a drive is failing, just remove that drive or remove the
> > whole LVM setup and use something else until a working drive setup can
> > be made.  Once ready, then move the data, if the drive still works, to
> > the new drive.  That is basically what I did when I swapped a smaller
> > drive for a larger one.  I moved the data from one drive to another. 
> > It
> > did it fairly quickly.  Someone posted that it may even be faster to
> > do
> > it with LVM's pvmove than it is with cp or rsync.  I don't know how
> > true
> > that is but from what I've read, it moves the data really
> > efficiently. 
> > If the drive has a very limited time before failure, speed is
> > important.  If the drive is completely dead, replace the drive and
> > hope
> > the backups are good.  Either way, LVM or not, a failing drive is a
> > failing drive.  The data has to be moved if the drive still works or
> > the
> > data is gone if it just up and dies.  The biggest thing, watching the
> > SMART messages about the health of the drive.  In the past when I've
> > had
> > a drive fail, I got error messages well ahead of time.  On one drive,
> > I
> > removed the drive, set it aside, ordered a replacement drive,
> > installed
> > both drives and copied the data over.  After I did all that, I played
> > with the drive until it failed a day or so later.  Lucky?  Most
> > likely. 
> > Still, it gave me time to transfer things over. 
> > 
> > While I get that LVM adds a layer to things, it also adds some options
> > as well.  Those options can prove helpful if one uses them. 
> > 
> > Just my thinking.
> > 
> > Dale
> 
> The only problem with all that is that SMART is far from completely
> reliable.  I recently had a drive fail, and the resulting fsck on the
> next reboot messed up many files.  (Not a Gentoo system, although I
> don't think that made any difference.)  After getting running again, I
> did several SMART tests, including the full self-test, and it reported
> ZERO errors.  A few weeks later, it did the same thing, and shortly
> after that, it failed totally.  I had done a few more full self-tests
> before final failure, and all came back clean.  I'd really love to find
> out there was something I did wrong in the testing, but I don't think
> so.  I have not yet completely given up on trying to recover stuff from
> that drive, but as time goes on, there is less and less that I haven't
> rebuilt or replaced by re-downloading or changing lost passwords, so
> it's less and less important.  (That was a different drive from the one
> I messed up myself, as discussed in another recent thread here.)
> 
> Jack

Depending on the type of errors reported by SMART, by the time you notice 
errors in tests the risk of losing data is already quite high.  Checking 
deteriorating trends with smartctl won't hurt though.

The filesystem problems you were getting may have been coincidental with the 
impending hardware failure, rather than their cause.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Jack

On 2019.01.07 05:46, Dale wrote:

Peter Humphrey wrote:
> On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
>
>> Even from my simple setup, LVM adds more benefits to managing data  
and
>> drives than it does risk.  The biggest thing, placing blame where  
it
>> lies.  Blaming LVM for a drive dying is placing the blame on  
something
>> that wasn't the root of the problem.  The dying drive was the  
problem,

>> using LVM or not.
> He isn't doing that, though. As I read it, he recounted the tale of  
recovering
> data from a failed drive, then imagined how much worse it would be  
if it were
> in an LVM setup. [Reported speech and mixed-up tenses causing me a  
problem

> here...]
>
> Thanks Gevisz, that was interesting. What we used to call a  
cautionary tale.

>

From what I've read, that can be overcome.  If you get say a SMART
message that a drive is failing, just remove that drive or remove the
whole LVM setup and use something else until a working drive setup can
be made.  Once ready, then move the data, if the drive still works, to
the new drive.  That is basically what I did when I swapped a smaller
drive for a larger one.  I moved the data from one drive to another.   
It
did it fairly quickly.  Someone posted that it may even be faster to  
do
it with LVM's pvmove than it is with cp or rsync.  I don't know how  
true
that is but from what I've read, it moves the data really  
efficiently. 

If the drive has a very limited time before failure, speed is
important.  If the drive is completely dead, replace the drive and  
hope

the backups are good.  Either way, LVM or not, a failing drive is a
failing drive.  The data has to be moved if the drive still works or  
the

data is gone if it just up and dies.  The biggest thing, watching the
SMART messages about the health of the drive.  In the past when I've  
had
a drive fail, I got error messages well ahead of time.  On one drive,  
I
removed the drive, set it aside, ordered a replacement drive,  
installed

both drives and copied the data over.  After I did all that, I played
with the drive until it failed a day or so later.  Lucky?  Most  
likely. 

Still, it gave me time to transfer things over. 

While I get that LVM adds a layer to things, it also adds some options
as well.  Those options can prove helpful if one uses them. 

Just my thinking.

Dale
The only problem with all that is that SMART is far from completely  
reliable.  I recently had a drive fail, and the resulting fsck on the  
next reboot messed up many files.  (Not a Gentoo system, although I  
don't think that made any difference.)  After getting running again, I  
did several SMART tests, including the full self-test, and it reported  
ZERO errors.  A few weeks later, it did the same thing, and shortly  
after that, it failed totally.  I had done a few more full self-tests  
before final failure, and all came back clean.  I'd really love to find  
out there was something I did wrong in the testing, but I don't think  
so.  I have not yet completely given up on trying to recover stuff from  
that drive, but as time goes on, there is less and less that I haven't  
rebuilt or replaced by re-downloading or changing lost passwords, so  
it's less and less important.  (That was a different drive from the one  
I messed up myself, as discussed in another recent thread here.)


Jack


Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Dale
Peter Humphrey wrote:
> On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:
>
>> Even from my simple setup, LVM adds more benefits to managing data and
>> drives than it does risk.  The biggest thing, placing blame where it
>> lies.  Blaming LVM for a drive dying is placing the blame on something
>> that wasn't the root of the problem.  The dying drive was the problem,
>> using LVM or not. 
> He isn't doing that, though. As I read it, he recounted the tale of 
> recovering 
> data from a failed drive, then imagined how much worse it would be if it were 
> in an LVM setup. [Reported speech and mixed-up tenses causing me a problem 
> here...]
>
> Thanks Gevisz, that was interesting. What we used to call a cautionary tale.
>

>From what I've read, that can be overcome.  If you get say a SMART
message that a drive is failing, just remove that drive or remove the
whole LVM setup and use something else until a working drive setup can
be made.  Once ready, then move the data, if the drive still works, to
the new drive.  That is basically what I did when I swapped a smaller
drive for a larger one.  I moved the data from one drive to another.  It
did it fairly quickly.  Someone posted that it may even be faster to do
it with LVM's pvmove than it is with cp or rsync.  I don't know how true
that is but from what I've read, it moves the data really efficiently. 
If the drive has a very limited time before failure, speed is
important.  If the drive is completely dead, replace the drive and hope
the backups are good.  Either way, LVM or not, a failing drive is a
failing drive.  The data has to be moved if the drive still works or the
data is gone if it just up and dies.  The biggest thing, watching the
SMART messages about the health of the drive.  In the past when I've had
a drive fail, I got error messages well ahead of time.  On one drive, I
removed the drive, set it aside, ordered a replacement drive, installed
both drives and copied the data over.  After I did all that, I played
with the drive until it failed a day or so later.  Lucky?  Most likely. 
Still, it gave me time to transfer things over. 

While I get that LVM adds a layer to things, it also adds some options
as well.  Those options can prove helpful if one uses them. 

Just my thinking.

Dale

:-)  :-) 



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-07 Thread Peter Humphrey
On Sunday, 6 January 2019 22:13:31 GMT Dale wrote:

> Even from my simple setup, LVM adds more benefits to managing data and
> drives than it does risk.  The biggest thing, placing blame where it
> lies.  Blaming LVM for a drive dying is placing the blame on something
> that wasn't the root of the problem.  The dying drive was the problem,
> using LVM or not. 

He isn't doing that, though. As I read it, he recounted the tale of recovering 
data from a failed drive, then imagined how much worse it would be if it were 
in an LVM setup. [Reported speech and mixed-up tenses causing me a problem 
here...]

Thanks Gevisz, that was interesting. What we used to call a cautionary tale.

-- 
Regards,
Peter.






Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-06 Thread Dale
gevisz wrote:
> вс, 6 янв. 2019 г. в 15:57, Peter Humphrey :
>> On Sunday, 6 January 2019 11:05:10 GMT gevisz wrote:
>>
>>> I never used LVM as I believe that it increases the chance of [losing]
>>> all the information on hard disks.
>> Interesting. Would you like to explain why?
> I had once a 40GB HDD failure and I have managed to restore
> all the data on it by repeatedly putting it in a fridge what enabled
> me to dd its partions for about 10 minutes or so. But in that case
> the partitions were relatively small and the disk mounted quick
> and easy. Now imagine that have failed a 4TB HDD disk that is
> part of much bigger LVM volume. Moreover, suppose that it is
> impossible to restore that part of the failed HDD disk that indexes
> all that LVM volume...
>
>

The thing to remember tho, the drive failed.  That is why you had the
problem.  That isn't the fault of LVM.  That is a defective drive.  From
what I've read, you can have a drive fail, remove that drive and lose
the data from it but keep what is on other drives.  If you have all your
files on a single drive with no LVM and that drives fails suddenly, what
is different?  The important part, monitoring your drives and at the
first sign of problems, replace the drive.  That is true whether you use
LVM or not.  Right? 

I might add, long before I started using LVM, I've had drives to fail
and either had to backup real quick or lose data.  While LVM can cause a
problem, I suspect it is rare if managed properly.  For me, and many
others, it adds many benefits to managing data.  Just recently, my home
partition was starting to fill up.  It was made up of two 3TB drives.  I
replaced one of the 3TB drives with a 6TB drive.  Because I use LVM, it
was painless and easy.  If I hadn't been using LVM, like in the past, it
would have been much harder to do.  I might add, I would have had to
replace with larger drives, which also cost a good bit more. 

Even from my simple setup, LVM adds more benefits to managing data and
drives than it does risk.  The biggest thing, placing blame where it
lies.  Blaming LVM for a drive dying is placing the blame on something
that wasn't the root of the problem.  The dying drive was the problem,
using LVM or not. 

Back to Firefox, I recently did a emerge -e world with no change.  It
still does it on occasion.  So, it's not some weird quirk where
something needs to be rebuilt after a upgrade.  Still a annoying
problem.  Thinking on that firefox-bin package next.  :/

Dale

:-)  :-) 



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-06 Thread Mick
On Sunday, 6 January 2019 17:07:35 GMT gevisz wrote:
> вс, 6 янв. 2019 г. в 15:57, Peter Humphrey :
> > On Sunday, 6 January 2019 11:05:10 GMT gevisz wrote:
> > > I never used LVM as I believe that it increases the chance of [losing]
> > > all the information on hard disks.
> > 
> > Interesting. Would you like to explain why?
> 
> I had once a 40GB HDD failure and I have managed to restore
> all the data on it by repeatedly putting it in a fridge what enabled
> me to dd its partions for about 10 minutes or so. But in that case
> the partitions were relatively small and the disk mounted quick
> and easy. Now imagine that have failed a 4TB HDD disk that is
> part of much bigger LVM volume. Moreover, suppose that it is
> impossible to restore that part of the failed HDD disk that indexes
> all that LVM volume...

There's also the probability of corruption of the LVM table on the disk.  
Arguably a small probability, but nevertheless one additional reference table 
for things to go wrong, should Murphy and his law have anything to do with it.  
I also prefer to keep disks with critical data as simple as possible, plan 
ahead of applying partitioning schemes for particular use case requirements 
and consequently I do not use LVM.  On the other hand, there are use cases 
where LVM can be invaluable - ill defined or ever changing disk space 
requirements where over-provisioning of spare space can be expensive.  So as 
with most things in life it is a balancing act.  ;-)

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-06 Thread gevisz
вс, 6 янв. 2019 г. в 15:57, Peter Humphrey :
>
> On Sunday, 6 January 2019 11:05:10 GMT gevisz wrote:
>
> > I never used LVM as I believe that it increases the chance of [losing]
> > all the information on hard disks.
>
> Interesting. Would you like to explain why?

I had once a 40GB HDD failure and I have managed to restore
all the data on it by repeatedly putting it in a fridge what enabled
me to dd its partions for about 10 minutes or so. But in that case
the partitions were relatively small and the disk mounted quick
and easy. Now imagine that have failed a 4TB HDD disk that is
part of much bigger LVM volume. Moreover, suppose that it is
impossible to restore that part of the failed HDD disk that indexes
all that LVM volume...



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-06 Thread Peter Humphrey
On Sunday, 6 January 2019 11:05:10 GMT gevisz wrote:

> I never used LVM as I believe that it increases the chance of [losing]
> all the information on hard disks.

Interesting. Would you like to explain why?

-- 
Regards,
Peter.






Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-06 Thread gevisz
вс, 6 янв. 2019 г. в 02:54, Dale :
>
> gevisz wrote:
> > вт, 1 янв. 2019 г. в 06:45, Dale :
> >> With the newer Firefox versions, I've noticed something weird about
> >> downloading files.  Usually these are videos using a download helper for
> >> videos and sometimes it is a normal file download, depends on the site.
> >> Either way, I get something odd at times.  So far, I've yet to see any
> >> rhyme or reason to it.  I can't figure out what triggers it.  This is
> >> what it does.  I start a download, either using a video helper add on or
> >> downloading as a file.  I give it a name and location and it shows in
> >> the download window that it is downloading.  However, if I go to the
> >> directory where it should be, sometimes nothing shows up.  It will
> >> complete the download and then show that it failed after finishing the
> >> download.  However, if I notice that it is not in the directory where it
> >> should be and I go back to the download window, hit pause and then
> >> resume, it starts over from the beginning and then shows up in the
> >> directory where it should be.  Most of the time, it shows up that it is
> >> downloading and it is where it should be without be doing anything
> >> further but sometimes, it doesn't.
> >>
> >> One other thing that it does on rare occasions.  It will show it is
> >> downloading for a good while, sometimes more than half way, then
> >> disappear in the directory as if it is deleted but still show that it is
> >> downloading in the download window.  I've only seen it do that a few
> >> times but it is annoying to look and make sure it is downloading a file
> >> that takes a hour or more only to have it disappear part way through.
> >>
> >> This started with the new multi-process versions or whatever it is
> >> called of Firefox.  It acts like a permissions problem or something to
> >> me.  It either thinks it doesn't have write permissions at the start or
> >> thinks it loses them part way through or something.  If it only did this
> >> when using the add on, I'd think it is that but it also does it when I'm
> >> downloading as a file with no add on being used.  Either way, I'm not
> >> sure what to look into really.  I'm not even sure what to google for to
> >> see if anyone else is noticing this.  What does one call this problem???
> >>
> > I experience similar problems with downloading files in Firefox for quite
> > a long time. I cannot say for how long time exactly, but estimating it
> > from memory: for about a few years. Yes, t is quite annoying but
> > currently I have already got the habit to open download manager
> > every time I download a file, stop downloading it and then restart again.
> > (I even try to do the same automatically while using other web browsers
> >  like chromium or google-chrome. :)
> >
> > However, I believe that it has nothing to do with "the newer Firefox 
> > versions"
> > as I still use Firefox version 52.9.0 (compiled without clang) and all these
> > troubles with downloading files started even on much more earlier versions.
> >
>
> Interesting.  I don't recall it ever doing this with the older versions
> but maybe whatever it is is just now hitting me for some reason.  That's
> the thing about random problems, they are random.  Still, at least I
> know it is not just me.
>
> Since you mention chromium etc, that makes me wonder if it is the
> browser at all.  Could it be something else?  A permissions issue
> maybe?  Some sort of file system problem?  Could it be a common package
> that these browsers depend on?  Which leads to this question.  Do you
> use LVM or ext4 or both?  I use LVM and ext4 here.  Odds are, we both
> have the same dependencies installed so not sure how to figure out if it
> is one of those.

I should clarify: I experience the said download problem only in Firefox,
never with Chromium or Google-chrome. I have mentioned Chromium
and Google-chrome only to indicate that my habit of opening download
manager became so unconscious that I try to open download manager
even in Chromium and Google-chrome, when it is not needed.

Luckily, the hot keys for opening download manager in Firefox and
Chromium/Google-chrome do not coincide, so I just end up opening
something else and then realize that download manager is not needed.

I never used LVM as I believe that it increases the chance of loosing
all the information on hard disks.

And yes, I do use ext4 as it is the default file system for Linux.

P.S. Most often, I download html pages and have noticed that the
said download problem does not arise when I download html pages
in the so called "read" view, that is after pressing that little book icon
in the Firefox URL address line, whereas downloading the same pages
from a usual default view, with a lot of additional files, almost sure
leads to the said download problem.



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-05 Thread Dale
gevisz wrote:
> вт, 1 янв. 2019 г. в 06:45, Dale :
>> With the newer Firefox versions, I've noticed something weird about
>> downloading files.  Usually these are videos using a download helper for
>> videos and sometimes it is a normal file download, depends on the site.
>> Either way, I get something odd at times.  So far, I've yet to see any
>> rhyme or reason to it.  I can't figure out what triggers it.  This is
>> what it does.  I start a download, either using a video helper add on or
>> downloading as a file.  I give it a name and location and it shows in
>> the download window that it is downloading.  However, if I go to the
>> directory where it should be, sometimes nothing shows up.  It will
>> complete the download and then show that it failed after finishing the
>> download.  However, if I notice that it is not in the directory where it
>> should be and I go back to the download window, hit pause and then
>> resume, it starts over from the beginning and then shows up in the
>> directory where it should be.  Most of the time, it shows up that it is
>> downloading and it is where it should be without be doing anything
>> further but sometimes, it doesn't.
>>
>> One other thing that it does on rare occasions.  It will show it is
>> downloading for a good while, sometimes more than half way, then
>> disappear in the directory as if it is deleted but still show that it is
>> downloading in the download window.  I've only seen it do that a few
>> times but it is annoying to look and make sure it is downloading a file
>> that takes a hour or more only to have it disappear part way through.
>>
>> This started with the new multi-process versions or whatever it is
>> called of Firefox.  It acts like a permissions problem or something to
>> me.  It either thinks it doesn't have write permissions at the start or
>> thinks it loses them part way through or something.  If it only did this
>> when using the add on, I'd think it is that but it also does it when I'm
>> downloading as a file with no add on being used.  Either way, I'm not
>> sure what to look into really.  I'm not even sure what to google for to
>> see if anyone else is noticing this.  What does one call this problem???
>>
> I experience similar problems with downloading files in Firefox for quite
> a long time. I cannot say for how long time exactly, but estimating it
> from memory: for about a few years. Yes, t is quite annoying but
> currently I have already got the habit to open download manager
> every time I download a file, stop downloading it and then restart again.
> (I even try to do the same automatically while using other web browsers
>  like chromium or google-chrome. :)
>
> However, I believe that it has nothing to do with "the newer Firefox versions"
> as I still use Firefox version 52.9.0 (compiled without clang) and all these
> troubles with downloading files started even on much more earlier versions.
>
>


Interesting.  I don't recall it ever doing this with the older versions
but maybe whatever it is is just now hitting me for some reason.  That's
the thing about random problems, they are random.  Still, at least I
know it is not just me. 

Since you mention chromium etc, that makes me wonder if it is the
browser at all.  Could it be something else?  A permissions issue
maybe?  Some sort of file system problem?  Could it be a common package
that these browsers depend on?  Which leads to this question.  Do you
use LVM or ext4 or both?  I use LVM and ext4 here.  Odds are, we both
have the same dependencies installed so not sure how to figure out if it
is one of those. 

At least I'm not alone in this, although I hate that you are having this
issue too.  It is annoying. 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox, downloading files and odd behavior.

2019-01-05 Thread gevisz
вт, 1 янв. 2019 г. в 06:45, Dale :
>
> With the newer Firefox versions, I've noticed something weird about
> downloading files.  Usually these are videos using a download helper for
> videos and sometimes it is a normal file download, depends on the site.
> Either way, I get something odd at times.  So far, I've yet to see any
> rhyme or reason to it.  I can't figure out what triggers it.  This is
> what it does.  I start a download, either using a video helper add on or
> downloading as a file.  I give it a name and location and it shows in
> the download window that it is downloading.  However, if I go to the
> directory where it should be, sometimes nothing shows up.  It will
> complete the download and then show that it failed after finishing the
> download.  However, if I notice that it is not in the directory where it
> should be and I go back to the download window, hit pause and then
> resume, it starts over from the beginning and then shows up in the
> directory where it should be.  Most of the time, it shows up that it is
> downloading and it is where it should be without be doing anything
> further but sometimes, it doesn't.
>
> One other thing that it does on rare occasions.  It will show it is
> downloading for a good while, sometimes more than half way, then
> disappear in the directory as if it is deleted but still show that it is
> downloading in the download window.  I've only seen it do that a few
> times but it is annoying to look and make sure it is downloading a file
> that takes a hour or more only to have it disappear part way through.
>
> This started with the new multi-process versions or whatever it is
> called of Firefox.  It acts like a permissions problem or something to
> me.  It either thinks it doesn't have write permissions at the start or
> thinks it loses them part way through or something.  If it only did this
> when using the add on, I'd think it is that but it also does it when I'm
> downloading as a file with no add on being used.  Either way, I'm not
> sure what to look into really.  I'm not even sure what to google for to
> see if anyone else is noticing this.  What does one call this problem???
>

I experience similar problems with downloading files in Firefox for quite
a long time. I cannot say for how long time exactly, but estimating it
from memory: for about a few years. Yes, t is quite annoying but
currently I have already got the habit to open download manager
every time I download a file, stop downloading it and then restart again.
(I even try to do the same automatically while using other web browsers
 like chromium or google-chrome. :)

However, I believe that it has nothing to do with "the newer Firefox versions"
as I still use Firefox version 52.9.0 (compiled without clang) and all these
troubles with downloading files started even on much more earlier versions.



Re: [gentoo-user] Firefox and Thunderbird compile issue

2018-11-18 Thread Daniel Frey
On 11/18/18 02:47, Alarig Le Lay wrote:
> Hi Daniel,
> 
> Didi you tried to remove the temporary directory (inside /var/tmp) and
> re-emerge id again? It looks like an incorrectly decompressed archive.
> 

I just tried this, to no avail.

I'm trying to rebuild the installed packages I have under dev-python/*
but I'm not sure it will help.

Dan



Re: [gentoo-user] Firefox and Thunderbird compile issue

2018-11-18 Thread Alarig Le Lay
Hi Daniel,

Didi you tried to remove the temporary directory (inside /var/tmp) and
re-emerge id again? It looks like an incorrectly decompressed archive.

-- 
Alarig



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread Dale
gevisz wrote:
> вс, 16 сент. 2018 г. в 11:09, Dale :
>>
>> I have nine Firefox profiles here.  Any problems I have had have turned
>> out to be a bad add on.  Sometimes I turn off auto update and new
>> Firefox doesn't like old add on.
> Probably, you meant that problems with old add ons arise when firefox
> auto update is turned on. If so, I do agree.

Well, that is sometimes why I turn auto update off on some add ons. 
Sometimes, since I am on a older version of Firefox, newer add ons don't
work.  I might add, some older add ons won't work with newer Firefox at
all.  Firefox disables them and works just not with the add on.  Tab
utilities is one of them. 


>> It is rare that I have Firefox crash.
> Unfortunately, even a rare Firefox crash has long standing consequences. :(
>

I use session manager on most profiles and even if it does crash, I can
go back right away.  I don't recall losing anything.  On some profiles,
I have dozens of tabs open, sometimes close to and even over 100. 


>> It may get slow at times but it keeps chugging along.  Generally I have
>> four or five profiles running and sometimes even more.  I use different
>> profiles for different tasks with different add ons.  I've noticed that
>> the more add ons one has, the slower it tends to get.  I sort of spread
>> them out a bit.
> If multiple Firefox profiles do not increase the probability of its crash
> any more, than it is a good news because they are really useful.
>
> Anyway, I still afraid to use them so far.
>

I been using profiles for a few years with no issues.  My biggest cause
of problems is incompatibility of add ons when either Firefox or the add
on gets updated.  It may be worth checking into again.  Could be that
all the new coding fixed issues you had before.  One thing about it, you
can always remove the newer profiles and go back to the old way. 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread Mick
On Sunday, 16 September 2018 12:32:53 BST gevisz wrote:
> вс, 16 сент. 2018 г. в 11:09, Dale :
> > Mick wrote:
> > > On Sunday, 16 September 2018 08:19:30 BST gevisz wrote:
> > >> пт, 7 сент. 2018 г. в 19:05, Mick :
> > >>> On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
> > >>> 
> > >>> Something else I came across causing FF crashes here, was a bug with
> > >>> profile- sync-daemon (recent thread of mine refers).  I don't know if
> > >>> you
> > >>> use psd, but I wasn't aware of this psd bug when you posted about your
> > >>> problems.  I only mention it now as another thing to check next time
> > >>> you
> > >>> have FF crashing on you.
> > >> 
> > >> Thank you for additional information.
> > >> 
> > >> I have read in this mailing list (may be it was your thread) that using
> > >> profiles in firefox is another source of crashes. So, I do not use
> > >> profiles, and now hope that it means that I do not use psd as well. :)
> > > 
> > > Ah! No, they are too different things.
> > > 
> > > I have not read anywhere that the use of multiple user profiles causes
> > > FF to crash.  Perhaps some addons may do.
> > > <>
> > 
> > I have nine Firefox profiles here.  Any problems I have had have turned
> > out to be a bad add on.  Sometimes I turn off auto update and new
> > Firefox doesn't like old add on.
> 
> Probably, you meant that problems with old add ons arise when firefox
> auto update is turned on. If so, I do agree.
> 
> > It is rare that I have Firefox crash.
> 
> Unfortunately, even a rare Firefox crash has long standing consequences. :(
> 
> > It may get slow at times but it keeps chugging along.  Generally I have
> > four or five profiles running and sometimes even more.  I use different
> > profiles for different tasks with different add ons.  I've noticed that
> > the more add ons one has, the slower it tends to get.  I sort of spread
> > them out a bit.
> 
> If multiple Firefox profiles do not increase the probability of its crash
> any more, than it is a good news because they are really useful.
> 
> Anyway, I still afraid to use them so far.

I also have more than one profiles, with different/no addons and 
configurations and have not experienced any crashes on my PC.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread gevisz
вс, 16 сент. 2018 г. в 11:09, Dale :
>
> Mick wrote:
> > On Sunday, 16 September 2018 08:19:30 BST gevisz wrote:
> >> пт, 7 сент. 2018 г. в 19:05, Mick :
> >>> On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
> >>>
> >>> Something else I came across causing FF crashes here, was a bug with
> >>> profile- sync-daemon (recent thread of mine refers).  I don't know if you
> >>> use psd, but I wasn't aware of this psd bug when you posted about your
> >>> problems.  I only mention it now as another thing to check next time you
> >>> have FF crashing on you.
> >> Thank you for additional information.
> >>
> >> I have read in this mailing list (may be it was your thread) that using
> >> profiles in firefox is another source of crashes. So, I do not use
> >> profiles, and now hope that it means that I do not use psd as well. :)
> > Ah! No, they are too different things.
> >
> > I have not read anywhere that the use of multiple user profiles causes FF to
> > crash.  Perhaps some addons may do.
> > <>
>
> I have nine Firefox profiles here.  Any problems I have had have turned
> out to be a bad add on.  Sometimes I turn off auto update and new
> Firefox doesn't like old add on.

Probably, you meant that problems with old add ons arise when firefox
auto update is turned on. If so, I do agree.

> It is rare that I have Firefox crash.

Unfortunately, even a rare Firefox crash has long standing consequences. :(

> It may get slow at times but it keeps chugging along.  Generally I have
> four or five profiles running and sometimes even more.  I use different
> profiles for different tasks with different add ons.  I've noticed that
> the more add ons one has, the slower it tends to get.  I sort of spread
> them out a bit.

If multiple Firefox profiles do not increase the probability of its crash
any more, than it is a good news because they are really useful.

Anyway, I still afraid to use them so far.



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread gevisz
вс, 16 сент. 2018 г. в 10:50, Mick :
>
> On Sunday, 16 September 2018 08:19:30 BST gevisz wrote:
> > пт, 7 сент. 2018 г. в 19:05, Mick :
> > > On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
> > >
> > > Something else I came across causing FF crashes here, was a bug with
> > > profile- sync-daemon (recent thread of mine refers).  I don't know if you
> > > use psd, but I wasn't aware of this psd bug when you posted about your
> > > problems.  I only mention it now as another thing to check next time you
> > > have FF crashing on you.
> >
> > Thank you for additional information.
> >
> > I have read in this mailing list (may be it was your thread) that using
> > profiles in firefox is another source of crashes. So, I do not use
> > profiles, and now hope that it means that I do not use psd as well. :)
>
> Ah! No, they are too different things.
>
> I have not read anywhere that the use of multiple user profiles causes FF to
> crash.  Perhaps some addons may do.

Multiple profiles for the same user.

> The use of psd on the other hand is a useful package, minimising the writing
> cycles of the browser's cache to disk.  If your PC is running on SDD or hybrid
> disks and has enough RAM, then a profile-sync-daemon (when it is not buggy)
> should be a good thing.

Ok, thank you for the information. I still use only HDDs. So, I
probably do not need psd so far.



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread Dale
Mick wrote:
> On Sunday, 16 September 2018 08:19:30 BST gevisz wrote:
>> пт, 7 сент. 2018 г. в 19:05, Mick :
>>> On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
>>>
>>> Something else I came across causing FF crashes here, was a bug with
>>> profile- sync-daemon (recent thread of mine refers).  I don't know if you
>>> use psd, but I wasn't aware of this psd bug when you posted about your
>>> problems.  I only mention it now as another thing to check next time you
>>> have FF crashing on you.
>> Thank you for additional information.
>>
>> I have read in this mailing list (may be it was your thread) that using
>> profiles in firefox is another source of crashes. So, I do not use
>> profiles, and now hope that it means that I do not use psd as well. :)
> Ah! No, they are too different things.
>
> I have not read anywhere that the use of multiple user profiles causes FF to 
> crash.  Perhaps some addons may do.
> <>

I have nine Firefox profiles here.  Any problems I have had have turned
out to be a bad add on.  Sometimes I turn off auto update and new
Firefox doesn't like old add on.  It is rare that I have Firefox crash. 
It may get slow at times but it keeps chugging along.  Generally I have
four or five profiles running and sometimes even more.  I use different
profiles for different tasks with different add ons.  I've noticed that
the more add ons one has, the slower it tends to get.  I sort of spread
them out a bit. 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread Mick
On Sunday, 16 September 2018 08:19:30 BST gevisz wrote:
> пт, 7 сент. 2018 г. в 19:05, Mick :
> > On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
> > 
> > Something else I came across causing FF crashes here, was a bug with
> > profile- sync-daemon (recent thread of mine refers).  I don't know if you
> > use psd, but I wasn't aware of this psd bug when you posted about your
> > problems.  I only mention it now as another thing to check next time you
> > have FF crashing on you.
> 
> Thank you for additional information.
> 
> I have read in this mailing list (may be it was your thread) that using
> profiles in firefox is another source of crashes. So, I do not use
> profiles, and now hope that it means that I do not use psd as well. :)

Ah! No, they are too different things.

I have not read anywhere that the use of multiple user profiles causes FF to 
crash.  Perhaps some addons may do.

The use of psd on the other hand is a useful package, minimising the writing 
cycles of the browser's cache to disk.  If your PC is running on SDD or hybrid 
disks and has enough RAM, then a profile-sync-daemon (when it is not buggy) 
should be a good thing.
-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-16 Thread gevisz
пт, 7 сент. 2018 г. в 19:05, Mick :
>
> On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
>
> Something else I came across causing FF crashes here, was a bug with profile-
> sync-daemon (recent thread of mine refers).  I don't know if you use psd, but
> I wasn't aware of this psd bug when you posted about your problems.  I only
> mention it now as another thing to check next time you have FF crashing on
> you.

Thank you for additional information.

I have read in this mailing list (may be it was your thread) that using profiles
in firefox is another source of crashes. So, I do not use profiles, and now hope
that it means that I do not use psd as well. :)



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-07 Thread Mick
On Friday, 7 September 2018 16:32:40 BST gevisz wrote:
> пт, 27 июл. 2018 г. в 18:30, Mick :
> > This looks like a radeon video driver problem.  You could go into a loop
> > of
> > rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve,
> > or you could wait for/keyword later versions of these packages.
> 
> Just now, I have finished updating my system. It was after a more than
> a month of not doing so because of the summer heat. So, there was
> a lot of packages to update, including mesa.
> 
> After the update, the problem with firefox crashing on privat24.ua
> logging page dissappeared. So, it looks like your advise to rebuild
> xorg, mesa, etc. was right. Thank you.

You're welcome. I've been bitten by similar problems in the past and quite 
often there is no way out other than reverting an update and waiting for a 
later more polished version of a package.

Something else I came across causing FF crashes here, was a bug with profile-
sync-daemon (recent thread of mine refers).  I don't know if you use psd, but 
I wasn't aware of this psd bug when you posted about your problems.  I only 
mention it now as another thing to check next time you have FF crashing on 
you.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-09-07 Thread gevisz
пт, 27 июл. 2018 г. в 18:30, Mick :
>
> This looks like a radeon video driver problem.  You could go into a loop of
> rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve, or
> you could wait for/keyword later versions of these packages.

Just now, I have finished updating my system. It was after a more than
a month of not doing so because of the summer heat. So, there was
a lot of packages to update, including mesa.

After the update, the problem with firefox crashing on privat24.ua
logging page dissappeared. So, it looks like your advise to rebuild
xorg, mesa, etc. was right. Thank you.



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-08-01 Thread gevisz
2018-08-02 3:16 GMT+03:00 Adam Carter :
>> > I would do something like 'emerge -1 xorg-server xorg-drivers
>> > @x11-module-rebuild mesa llvm clang' then restart X and try again.
>>
>> Thank you for your reply.
>>
>> Initially, I understood the above recomendation as the suggestion to
>> rebuild the packages mentioned above with different use flags.
>>
>> Do you think that rebuilding them with the same use flags may help?
>
>
> It can, for example, if the major version of the kernel has changed but you
> havent rebuild xorg since (I only recall having this issue once).

Ok, thank you. I will try to do it in a two weeks.
(Currently, is still too hot to start so massive recompilation.)

> If you use newuse and changed-deps with emerge its probably less likely to
> find other issues.
>
>>
>> The said problem appeared just since the intallation of the new
>> Gentoo system in January-February 2018 and not since changing
>> the major version of gcc this spring.
>>
>> P.S. clang is not installed on my Gentoo system at all.
>>
>
> I've checked the dependencies on my system, and firefox is pulling that in
> for me, but checking the ebuilds you can see it becomes a dependency from
> v60 onwards;
>
> /usr/portage/www-client/firefox $ ls
> files/   firefox-52.9.0.ebuild   Manifest
> firefox-52.6.0.ebuild  firefox-60.1.0.ebuild   metadata.xml
> firefox-52.8.0.ebuild  firefox-61.0-r1.ebuild
> /usr/portage/www-client/firefox $ grep clang *
> grep: files: Is a directory
> firefox-60.1.0.ebuild:>=sys-devel/clang-4.0.1
> firefox-60.1.0.ebuild:has_version "sys-devel/clang:${LLVM_SLOT}"
> firefox-61.0-r1.ebuild:>=sys-devel/clang-4.0.1
> firefox-61.0-r1.ebuild:has_version "sys-devel/clang:${LLVM_SLOT}"
> /usr/portage/www-client/firefox $

Ok, thank you. I still have FF version 5.8.0 (64 bit).
It is the latest stable version on amd64.



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-08-01 Thread Adam Carter
>
> > I would do something like 'emerge -1 xorg-server xorg-drivers
> > @x11-module-rebuild mesa llvm clang' then restart X and try again.
>
> Thank you for your reply.
>
> Initially, I understood the above recomendation as the suggestion to
> rebuild the packages mentioned above with different use flags.
>
> Do you think that rebuilding them with the same use flags may help?
>

It can, for example, if the major version of the kernel has changed but you
havent rebuild xorg since (I only recall having this issue once).

If you use newuse and changed-deps with emerge its probably less likely to
find other issues.


> The said problem appeared just since the intallation of the new
> Gentoo system in January-February 2018 and not since changing
> the major version of gcc this spring.
>
> P.S. clang is not installed on my Gentoo system at all.
>
>
I've checked the dependencies on my system, and firefox is pulling that in
for me, but checking the ebuilds you can see it becomes a dependency from
v60 onwards;

/usr/portage/www-client/firefox $ ls
files/   firefox-52.9.0.ebuild   Manifest
firefox-52.6.0.ebuild  firefox-60.1.0.ebuild   metadata.xml
firefox-52.8.0.ebuild  firefox-61.0-r1.ebuild
/usr/portage/www-client/firefox $ grep clang *
grep: files: Is a directory
firefox-60.1.0.ebuild:>=sys-devel/clang-4.0.1
firefox-60.1.0.ebuild:has_version "sys-devel/clang:${LLVM_SLOT}"
firefox-61.0-r1.ebuild:>=sys-devel/clang-4.0.1
firefox-61.0-r1.ebuild:has_version "sys-devel/clang:${LLVM_SLOT}"
/usr/portage/www-client/firefox $


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-08-01 Thread gevisz
2018-08-01 2:41 GMT+03:00 Adam Carter :
>> > It even more strengthens my impression than I should first
>> > play with reconfiguring the kernel.
>>
>> I have loaded the new Gentoo system using the kernel from the old one
>> with no change in Firefox behaviour on https://www.privat24.ua/#login
>> page: it crashed as was described before.
>>
>> So, playing with the kernel configuration will not help. :(
>
>
> I think this "This looks like a radeon video driver problem.  You could go
> into a loop of rebuilding xorg, mesa, dev-libs/nss, what-ever and see if
> things improve" is the best suggestion so far.
>
> I would do something like 'emerge -1 xorg-server xorg-drivers
> @x11-module-rebuild mesa llvm clang' then restart X and try again.

Thank you for your reply.

Initially, I understood the above recomendation as the suggestion to
rebuild the packages mentioned above with different use flags.

Do you think that rebuilding them with the same use flags may help?

The said problem appeared just since the intallation of the new
Gentoo system in January-February 2018 and not since changing
the major version of gcc this spring.

P.S. clang is not installed on my Gentoo system at all.



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-31 Thread Adam Carter
>
> > It even more strengthens my impression than I should first
> > play with reconfiguring the kernel.
>
> I have loaded the new Gentoo system using the kernel from the old one
> with no change in Firefox behaviour on https://www.privat24.ua/#login
> page: it crashed as was described before.
>
> So, playing with the kernel configuration will not help. :(
>

I think this "This looks like a radeon video driver problem.  You could go
into a loop of rebuilding xorg, mesa, dev-libs/nss, what-ever and see if
things improve" is the best suggestion so far.

I would do something like 'emerge -1 xorg-server xorg-drivers
@x11-module-rebuild mesa llvm clang' then restart X and try again.


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-29 Thread gevisz
2018-07-28 15:24 GMT+03:00 gevisz :
> 2018-07-27 23:02 GMT+03:00 Mick :
>> On Friday, 27 July 2018 19:49:45 BST gevisz wrote:
>>> 2018-07-27 18:29 GMT+03:00 Mick :
>>> > On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
>>> >> 2018-07-27 15:44 GMT+03:00 gevisz :
>>> >> > Updating world without global -pam, -polkit and -consolekit use flags
>>> >> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
>>> >> > described above: it is still cannot display the page
>>> >> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed."
>>> >> > message.
>>> >> >
>>> >> > So, I will probably revert changes tomorrow.
>>> >> >
>>> >> > Playing with strace has been put on todo list.
>>> >>
>>> >> Last lines of the log file after runnig the following command
>>> >>
>>> >> $ strace -o strace.log qupzilla https://www.privat24.ua/
>>> >> QupZilla: 0 extensions loaded
>>> >> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
>>> >> Root Certs, loaded==false: NSS error code: -8018
>>> >> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
>>> >> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
>>> >
>>> > Mozilla is using libnss to check the validity of the website certificate
>>> > with the OCSP of the CA issuer of the certificate (digicert.com).  For
>>> > some reason it seems the connection is interrupted.  See lines 605 to 621
>>> > here:
>>> >
>>> > https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
>>> > nss_ocsp.cc.html
>>> >
>>> > The connection may be interrupted because the browser/tab crashes (see
>>> > below).>
>>> >> r300 FP: Compiler Error:
>>> >> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/driv
>>> >> ers /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
>>> >> translate_rgb_opcode: Unknown opcode DDY
>>> >> Using a dummy shader instead.
>>> >> QupZilla: Crashed :( Saving backtrace in
>>> >> /home/gevis/.config/qupzilla/crashlog ...
>>> >> Backtrace successfully saved in
>>> >> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
>>> >> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
>>> >>
>>> >> are the following:
>>> >>
>>> >> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
>>> >> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
>>> >> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
>>> >> = 0x7f22f565
>>> >> +++ killed by SIGABRT +++
>>> >
>>> > This looks like a radeon video driver problem.  You could go into a loop
>>> > of
>>> > rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve,
>>> > or you could wait for/keyword later versions of these packages.
>>>
>>> Thank you for the tip. In this case, I should first try reconfigure the
>>> kernel.
>>> > Alternatively, you could try reporting this to the application devs and
>>> > see
>>> > what they say.
>>>
>>> Do you mean developpers of FF/QZ?
>>
>> Yes, although unless this is a known bug they may point you to the devs of 
>> the
>> radeon drivers.  I've been around this loop a couple of times (sigh ...)
>
> Ok. Thank you.
>
> It even more strengthens my impression than I should first
> play with reconfiguring the kernel.

I have loaded the new Gentoo system using the kernel from the old one
with no change in Firefox behaviour on https://www.privat24.ua/#login
page: it crashed as was described before.

So, playing with the kernel configuration will not help. :(



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-28 Thread gevisz
2018-07-27 23:02 GMT+03:00 Mick :
> On Friday, 27 July 2018 19:49:45 BST gevisz wrote:
>> 2018-07-27 18:29 GMT+03:00 Mick :
>> > On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
>> >> 2018-07-27 15:44 GMT+03:00 gevisz :
>> >> > Updating world without global -pam, -polkit and -consolekit use flags
>> >> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
>> >> > described above: it is still cannot display the page
>> >> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed."
>> >> > message.
>> >> >
>> >> > So, I will probably revert changes tomorrow.
>> >> >
>> >> > Playing with strace has been put on todo list.
>> >>
>> >> Last lines of the log file after runnig the following command
>> >>
>> >> $ strace -o strace.log qupzilla https://www.privat24.ua/
>> >> QupZilla: 0 extensions loaded
>> >> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
>> >> Root Certs, loaded==false: NSS error code: -8018
>> >> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
>> >> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
>> >
>> > Mozilla is using libnss to check the validity of the website certificate
>> > with the OCSP of the CA issuer of the certificate (digicert.com).  For
>> > some reason it seems the connection is interrupted.  See lines 605 to 621
>> > here:
>> >
>> > https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
>> > nss_ocsp.cc.html
>> >
>> > The connection may be interrupted because the browser/tab crashes (see
>> > below).>
>> >> r300 FP: Compiler Error:
>> >> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/driv
>> >> ers /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
>> >> translate_rgb_opcode: Unknown opcode DDY
>> >> Using a dummy shader instead.
>> >> QupZilla: Crashed :( Saving backtrace in
>> >> /home/gevis/.config/qupzilla/crashlog ...
>> >> Backtrace successfully saved in
>> >> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
>> >> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
>> >>
>> >> are the following:
>> >>
>> >> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
>> >> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
>> >> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
>> >> = 0x7f22f565
>> >> +++ killed by SIGABRT +++
>> >
>> > This looks like a radeon video driver problem.  You could go into a loop
>> > of
>> > rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve,
>> > or you could wait for/keyword later versions of these packages.
>>
>> Thank you for the tip. In this case, I should first try reconfigure the
>> kernel.
>> > Alternatively, you could try reporting this to the application devs and
>> > see
>> > what they say.
>>
>> Do you mean developpers of FF/QZ?
>
> Yes, although unless this is a known bug they may point you to the devs of the
> radeon drivers.  I've been around this loop a couple of times (sigh ...)

Ok. Thank you.

It even more strengthens my impression than I should first
play with reconfiguring the kernel.

I will do it a bit later, when the summer heat becames more tolerable. :)



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 19:49:45 BST gevisz wrote:
> 2018-07-27 18:29 GMT+03:00 Mick :
> > On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
> >> 2018-07-27 15:44 GMT+03:00 gevisz :
> >> > Updating world without global -pam, -polkit and -consolekit use flags
> >> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
> >> > described above: it is still cannot display the page
> >> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed."
> >> > message.
> >> > 
> >> > So, I will probably revert changes tomorrow.
> >> > 
> >> > Playing with strace has been put on todo list.
> >> 
> >> Last lines of the log file after runnig the following command
> >> 
> >> $ strace -o strace.log qupzilla https://www.privat24.ua/
> >> QupZilla: 0 extensions loaded
> >> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
> >> Root Certs, loaded==false: NSS error code: -8018
> >> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
> >> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
> > 
> > Mozilla is using libnss to check the validity of the website certificate
> > with the OCSP of the CA issuer of the certificate (digicert.com).  For
> > some reason it seems the connection is interrupted.  See lines 605 to 621
> > here:
> > 
> > https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
> > nss_ocsp.cc.html
> > 
> > The connection may be interrupted because the browser/tab crashes (see
> > below).> 
> >> r300 FP: Compiler Error:
> >> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/driv
> >> ers /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> >> translate_rgb_opcode: Unknown opcode DDY
> >> Using a dummy shader instead.
> >> QupZilla: Crashed :( Saving backtrace in
> >> /home/gevis/.config/qupzilla/crashlog ...
> >> Backtrace successfully saved in
> >> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
> >> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
> >> 
> >> are the following:
> >> 
> >> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
> >> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
> >> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
> >> = 0x7f22f565
> >> +++ killed by SIGABRT +++
> > 
> > This looks like a radeon video driver problem.  You could go into a loop
> > of
> > rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve,
> > or you could wait for/keyword later versions of these packages.
> 
> Thank you for the tip. In this case, I should first try reconfigure the
> kernel.
> > Alternatively, you could try reporting this to the application devs and
> > see
> > what they say.
> 
> Do you mean developpers of FF/QZ?

Yes, although unless this is a known bug they may point you to the devs of the 
radeon drivers.  I've been around this loop a couple of times (sigh ...)
-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 18:29 GMT+03:00 Mick :
> On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
>> 2018-07-27 15:44 GMT+03:00 gevisz :
>> > Updating world without global -pam, -polkit and -consolekit use flags
>> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
>> > described above: it is still cannot display the page
>> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed." message.
>> >
>> > So, I will probably revert changes tomorrow.
>> >
>> > Playing with strace has been put on todo list.
>>
>> Last lines of the log file after runnig the following command
>>
>> $ strace -o strace.log qupzilla https://www.privat24.ua/
>> QupZilla: 0 extensions loaded
>> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
>> Root Certs, loaded==false: NSS error code: -8018
>> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
>> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
>
> Mozilla is using libnss to check the validity of the website certificate with
> the OCSP of the CA issuer of the certificate (digicert.com).  For some reason
> it seems the connection is interrupted.  See lines 605 to 621 here:
>
> https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
> nss_ocsp.cc.html
>
> The connection may be interrupted because the browser/tab crashes (see below).
>
>
>> r300 FP: Compiler Error:
>> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
>> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
>> translate_rgb_opcode: Unknown opcode DDY
>> Using a dummy shader instead.
>> QupZilla: Crashed :( Saving backtrace in
>> /home/gevis/.config/qupzilla/crashlog ...
>> Backtrace successfully saved in
>> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
>> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
>>
>> are the following:
>>
>> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
>> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
>> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
>> = 0x7f22f565
>> +++ killed by SIGABRT +++
>
>
> This looks like a radeon video driver problem.  You could go into a loop of
> rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve, or
> you could wait for/keyword later versions of these packages.

Thank you for the tip. In this case, I should first try reconfigure the kernel.

> Alternatively, you could try reporting this to the application devs and see
> what they say.

Do you mean developpers of FF/QZ?



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 14:00:43 BST gevisz wrote:
> 2018-07-27 15:44 GMT+03:00 gevisz :
> > Updating world without global -pam, -polkit and -consolekit use flags
> > in /etc/portage/make.conf have not changed the behaviour of Fireforx
> > described above: it is still cannot display the page
> > https://www.privat24.ua/ and shows "Gah. Your tab just crashed." message.
> > 
> > So, I will probably revert changes tomorrow.
> > 
> > Playing with strace has been put on todo list.
> 
> Last lines of the log file after runnig the following command
> 
> $ strace -o strace.log qupzilla https://www.privat24.ua/
> QupZilla: 0 extensions loaded
> [15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
> Root Certs, loaded==false: NSS error code: -8018
> [15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com

Mozilla is using libnss to check the validity of the website certificate with 
the OCSP of the CA issuer of the certificate (digicert.com).  For some reason 
it seems the connection is interrupted.  See lines 605 to 621 here:

https://code.woboq.org/qt5/qtwebengine/src/3rdparty/chromium/net/cert_net/
nss_ocsp.cc.html

The connection may be interrupted because the browser/tab crashes (see below).


> r300 FP: Compiler Error:
> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> translate_rgb_opcode: Unknown opcode DDY
> Using a dummy shader instead.
> QupZilla: Crashed :( Saving backtrace in
> /home/gevis/.config/qupzilla/crashlog ...
> Backtrace successfully saved in
> /home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
> zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/
> 
> are the following:
> 
> clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=68524671}) = 0
> ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
> mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x107616000)
> = 0x7f22f565
> +++ killed by SIGABRT +++


This looks like a radeon video driver problem.  You could go into a loop of 
rebuilding xorg, mesa, dev-libs/nss, what-ever and see if things improve, or 
you could wait for/keyword later versions of these packages.

Alternatively, you could try reporting this to the application devs and see 
what they say.

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 15:44 GMT+03:00 gevisz :
> Updating world without global -pam, -polkit and -consolekit use flags
> in /etc/portage/make.conf have not changed the behaviour of Fireforx
> described above: it is still cannot display the page https://www.privat24.ua/
> and shows "Gah. Your tab just crashed." message.
>
> So, I will probably revert changes tomorrow.
>
> Playing with strace has been put on todo list.

Last lines of the log file after runnig the following command

$ strace -o strace.log qupzilla https://www.privat24.ua/
QupZilla: 0 extensions loaded
[15707:15725:0727/155144.939329:ERROR:nss_util.cc(808)] After loading
Root Certs, loaded==false: NSS error code: -8018
[15707:15719:0727/155145.900259:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.900327:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.900384:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[15707:15719:0727/155145.904387:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.904448:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[15707:15719:0727/155145.904496:ERROR:nss_ocsp.cc(591)] No
URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
r300 FP: Compiler Error:
/var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers/r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
translate_rgb_opcode: Unknown opcode DDY
Using a dummy shader instead.
QupZilla: Crashed :( Saving backtrace in
/home/gevis/.config/qupzilla/crashlog ...
Backtrace successfully saved in
/home/gevis/.config/qupzilla/crashlog/Crash-2018-07-27T15:51:49.txt
zsh: abort  strace -o strace.log qupzilla https://www.privat24.ua/

are the following:

read(5, "\1\0\0\0\0\0\0\0", 16) = 8
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988321461}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988368394}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988415817}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988467639}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, events=POLLIN}], 4, 0) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=988568839}) = 0
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, events=POLLIN}], 4, 0) = 1 ([{fd=5,
revents=POLLIN}])
read(5, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="&\0\2\0y\2\0\0", iov_len=8}], 1) = 8
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=990082928}) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\231\7\5\0\21\0\300\1\1\0\0\0\1\0\0\0\30\0\0\0",
iov_len=20}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3)
= 20
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
ioctl(8, DRM_IOCTL_RADEON_GEM_CREATE, 0x7ffd31773080) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_SET_TILING, 0x7ffd3177311c) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=995358529}) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_WAIT_IDLE, 0x7ffd31773250) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1166, tv_nsec=995480262}) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_MMAP, 0x7ffd31773280) = 0
mmap(NULL, 6868992, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x1073e4000)
= 0x7f22f585
futex(0x55f78fd2d4f4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fd2d4a0, FUTEX_WAKE_PRIVATE, 1) = 1
munmap(0x7f22f585, 6868992) = 0
ioctl(8, DRM_IOCTL_GEM_CLOSE, 0x7ffd31773358) = 0
futex(0x55f78fe276a8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fe276a8, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x55f78fe276a8, FUTEX_WAKE_PRIVATE, 1) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_WAIT_IDLE, 0x7ffd31773900) = 0
ioctl(8, DRM_IOCTL_GEM_CLOSE, 0x7ffd317738d8) = 0
ioctl(8, DRM_IOCTL_RADEON_GEM_CREATE, 0x7ffd317737a0) = 0
futex(0x55f78fd2d4f4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55f78fd2d4a0, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, 
[{iov_base="\231\10\10\0\21\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
iov_len=32}], 1) = 32
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="+\7\1\0", iov_len=4}, {iov_base=NULL,
iov_len=0}, {iov_base="", iov_len=0}], 3) = 4
futex(0x55f78fcb7c08, FUTEX_WAKE_PRIVATE, 1) = 1
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
clock_gettime(CLOCK_MONOTONIC, {tv_sec=1167, tv_nsec=5347019}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=44, 

Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 14:13 GMT+03:00 gevisz :
> 2018-07-27 13:57 GMT+03:00 Mick :
>> On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
>>> 2018-07-27 12:44 GMT+03:00 Mick :
>>
>>> > PAM is used to separate applications from the underlying
>>> > authentication mechanisms.  It checks OS user/account/passwd/session
>>> > authentications when required by applications.  This is the backbone
>>> > of managing Linux authentications today, although some applications
>>> > retain their own application level authentication mechanism (e.g. SSH).
>>>
>>> So, do you think that global -pam use flag can cause Firefox
>>> and QupZilla to crash on loging web-pages?
>>
>> You can run them with strace to see if they are trying to access any pam
>> modules, but I would think it unlikely.
>
> Thank you for the tip. I will try to use strace after reading about it.
>
> However, currently I already deleted grobal -pam use flag and
> started to update world with the new settings. Some new packages
> are currently installing and some other are recompiling.

Updating world without global -pam, -polkit and -consolekit use flags
in /etc/portage/make.conf have not changed the behaviour of Fireforx
described above: it is still cannot display the page https://www.privat24.ua/
and shows "Gah. Your tab just crashed." message.

So, I will probably revert changes tomorrow.

Playing with strace has been put on todo list.

Any more adeas?



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 13:57 GMT+03:00 Mick :
> On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
>> 2018-07-27 12:44 GMT+03:00 Mick :
>
>> > PAM is used to separate applications from the underlying
>> > authentication mechanisms.  It checks OS user/account/passwd/session
>> > authentications when required by applications.  This is the backbone
>> > of managing Linux authentications today, although some applications
>> > retain their own application level authentication mechanism (e.g. SSH).
>>
>> So, do you think that global -pam use flag can cause Firefox
>> and QupZilla to crash on loging web-pages?
>
> You can run them with strace to see if they are trying to access any pam
> modules, but I would think it unlikely.

Thank you for the tip. I will try to use strace after reading about it.

However, currently I already deleted grobal -pam use flag and
started to update world with the new settings. Some new packages
are currently installing and some other are recompiling.

> I bet this is something to do with the graphics drivers.  Later versions of
> browsers are heavy on hardware acceleration and can stress some graphics
> drivers causing crashes like this.  Geolocation and other pop ups use the GPU
> to create rendering effects and this could be the cause of the crash.

I doubt this because the same works on old Gentoo intallation on
the same computer. But I can not be sure, of course. :)



Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 11:44:08 BST gevisz wrote:
> 2018-07-27 12:44 GMT+03:00 Mick :

> > PAM is used to separate applications from the underlying
> > authentication mechanisms.  It checks OS user/account/passwd/session
> > authentications when required by applications.  This is the backbone
> > of managing Linux authentications today, although some applications
> > retain their own application level authentication mechanism (e.g. SSH).
> 
> So, do you think that global -pam use flag can cause Firefox
> and QupZilla to crash on loging web-pages?

You can run them with strace to see if they are trying to access any pam 
modules, but I would think it unlikely.

I bet this is something to do with the graphics drivers.  Later versions of 
browsers are heavy on hardware acceleration and can stress some graphics 
drivers causing crashes like this.  Geolocation and other pop ups use the GPU 
to create rendering effects and this could be the cause of the crash.

PS.  My wife's FF started crashing recently whenever she closes a single tab - 
but not every time.  :-/

-- 
Regards,
Mick

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


Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread gevisz
2018-07-27 12:44 GMT+03:00 Mick :
> On Friday, 27 July 2018 09:16:30 BST gevisz wrote:
>> I have two Gentoo systems on the same AMD Athlon 64 X2 computer.
>>
>> The old one was installed in July 2013 with
>> default/linux/amd64/13.0/desktop/gnome (stable)
>> profile and was updated till the middle of
>> July 2017. Initially it hosted Gnome2
>> but later I have switched to XFCE4.
>>
>> The new one was installed in January-February 2018
>> with default/linux/amd64/17.0/desktop (stable)
>> profile and was last updated yesterday. From the
>> very beginning it hosted no DE, only Awesome WM
>> and dbus.
>>
>> The home directory is the same and still remembers
>> Ubuntu 6.04 installation in 2006.
>>
>> On the old system, I had the problem that chromium
>> very often (but not always!) asked me for some
>> (keyring?) password when I opened a new www-page.
>>
>> Recompilation of it with different user flags did not help.
>
> Go to:
>
> chrome://settings/passwords
>
> Then disable "Offer to save passwords".  It should not ask
> you to save passwords thereafter.

Thank you for your reply.

Chromium asked for a password to keyring or something like
that and did it on opening almost any page, even that that
definitely did not need any password authentication.

So, it was something else than just saving password for pages.

But it does not matter much now because I currently do not
use Chromium any more because it compiles more than 26 hours
on my computer.

>> I thought that that was because of the gnome-keyring,
>> consolekit or policykit packages but without any proof.
>
> From what I understand Chrome/ium will ask the desktop
> password manager to handle the saving of website passwords.

I guess he [Chromium] asked me for the password from
a password manager I may be used in previous intallation
of Ubuntu 5 or 10 years ago. However, I never give him
that password (because did not remember any such
password or even when I could create it in the past), so
he asked almost every time he opened new page. :)

> Policykit/polkit provides a centralised mechanism for
> non-privileged processes to communicate with privileged
> ones; e.g. when a plain user wants to hibernate/shutdown,
> disable NICs, etc.
>
>  https://lwn.net/Articles/258592/
>
> Consolekit tracks user sessions and allows switching between
> users on the same PC without logging out.

I am using my computer alone, so I guess that I do not need it.

> As far as I know with the switch to systemd and its built-in
> seat/user/session management mechanisms Consolekit
> is no longer maintained.

I do not use systemd.

>> So, while installing the new Gentoo system, I decided
>> to avoid installing any package that needs gnome-keyring,
>> consolekit or policykit packages.
>
> I think you shouldn't have needed to do all this.
>
>> I have also set -pam -consolekit and -policykit in my
>> /etc/portage/make.conf
>
> PAM is used to separate applications from the underlying
> authentication mechanisms.  It checks OS user/account/passwd/session
> authentications when required by applications.  This is the backbone
> of managing Linux authentications today, although some applications
> retain their own application level authentication mechanism (e.g. SSH).

So, do you think that global -pam use flag can cause Firefox
and QupZilla to crash on loging web-pages?

> I don't think setting USE="-pam" is advisable for most dekstop use cases.
>
>> Chromium indeed never asked me for the mentioned
>> above password on the new Gentoo system.
>>
>> But I get another problem on the new Gentoo system:
>> Firefox and Qupzilla both crash on some (login) www-pages.
>>
>> Namely, Firefox shows the "Gah. Your tab just crashed"
>> when I try to log into my Yahoo e-mail account.
>>
>> This happens only after entering login and password,
>> so not good enough to reproduce.
>>
>> However, it shows the same message just after staying
>> about 3-5 seconds on the following internet banking
>> login page: https://www.privat24.ua/#login
>> No login or password needed. :)
>>
>> The last error messages sent to terminal by FF while I
>> try to open the last www-page are the following:
>>
>> [Parent 4099] WARNING: pipe error (56): Connection reset by peer:
>
> The server disconnected you.
>
>
>> file
>> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi
>> um/src/chrome/common/ipc_channel_posix.cc, line 322
>
> I'm not sure if your firefox build is the same like shown here,

Yes, the same.

> but line 322 shows a I/O message loop where it checks if a connection
> is running so that it can respond.
>
> The page in question pops up a couple of things, after loading the initial
> page, including geolocation.

Geolocation frame pops up, but on the old Gentoo system
it does not lead to the tab crash.

> It may have something to do with this.
>
>> ###!!! [Parent][MessageChannel] Error:
>> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
>> send/recv
>
> It seems the 

Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system

2018-07-27 Thread Mick
On Friday, 27 July 2018 09:16:30 BST gevisz wrote:
> I have two Gentoo systems on the same AMD Athlon 64 X2 computer.
> 
> The old one was installed in July 2013 with
> default/linux/amd64/13.0/desktop/gnome (stable)
> profile and was updated till the middle of
> July 2017. Initially it hosted Gnome2
> but later I have switched to XFCE4.
> 
> The new one was installed in January-February 2018
> with default/linux/amd64/17.0/desktop (stable)
> profile and was last updated yesterday. From the
> very beginning it hosted no DE, only Awesome WM
> and dbus.
> 
> The home directory is the same and still remembers
> Ubuntu 6.04 installation in 2006.
> 
> On the old system, I had the problem that chromium
> very often (but not always!) asked me for some
> (keyring?) password when I opened a new www-page.
> 
> Recompilation of it with different user flags did not help.

Go to:

chrome://settings/passwords

Then disable "Offer to save passwords".  It should not ask you to save 
passwords thereafter.


> I thought that that was because of the gnome-keyring,
> consolekit or policykit packages but without any proof.

>From what I understand Chrome/ium will ask the desktop password manager to 
handle the saving of website passwords.

Policykit/polkit provides a centralised mechanism for non-privileged processes 
to communicate with privileged ones; e.g. when a plain user wants to 
hibernate/shutdown, disable NICs, etc. 

 https://lwn.net/Articles/258592/

Consolekit tracks user sessions and allows switching between users on the same 
PC without logging out.  As far as I know with the switch to systemd and its 
built-in seat/user/session management mechanisms Consolekit is no longer 
maintained.


> So, while installing the new Gentoo system, I decided
> to avoid installing any package that needs gnome-keyring,
> consolekit or policykit packages.

I think you shouldn't have needed to do all this.


> I have also set -pam -consolekit and -policykit in my
> /etc/portage/make.conf

PAM is used to separate applications from the underlying authentication 
mechanisms.  It checks OS user/account/passwd/session authentications when 
required by applications.  This is the backbone of managing Linux 
authentications today, although some applications retain their own application 
level authentication mechanism (e.g. SSH).

I don't think setting USE="-pam" is advisable for most dekstop use cases.


> Chromium indeed never asked me for the mentioned
> above password on the new Gentoo system.
> 
> But I get another problem on the new Gentoo system:
> Firefox and Qupzilla both crash on some (login) www-pages.
> 
> Namely, Firefox shows the "Gah. Your tab just crashed"
> when I try to log into my Yahoo e-mail account.
> 
> This happens only after entering login and password,
> so not good enough to reproduce.
> 
> However, it shows the same message just after staying
> about 3-5 seconds on the following internet banking
> login page: https://www.privat24.ua/#login
> No login or password needed. :)
> 
> The last error messages sent to terminal by FF while I
> try to open the last www-page are the following:
> 
> [Parent 4099] WARNING: pipe error (56): Connection reset by peer: 

The server disconnected you.


> file
> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi
> um/src/chrome/common/ipc_channel_posix.cc, line 322

I'm not sure if your firefox build is the same like shown here, but line 322 
shows a I/O message loop where it checks if a connection is running so that it 
can respond.

The page in question pops up a couple of things, after loading the initial 
page, including geolocation.  It may have something to do with this.


> ###!!! [Parent][MessageChannel] Error:
> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
> send/recv

It seems the connection has been reset by the server, two processes running on 
your browser using IPC can't go anywhere and are torn down, but I'm no 
developer to know for sure.


> As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login
> completely, with the following messages sent to terminal:
> 
> [4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No
> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[snip ...]

The browser is trying to check ocsp.digicert.com for the validity of the 
certificate, but there is some error with the URL.  Then (I'm guessing) 
there's some pop up in the browser to inform you of this error, which causes a 
mesa rendering fault with the output shown below:

> r300 FP: Compiler Error:
> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
> translate_rgb_opcode: Unknown opcode DDY
> Using a dummy shader instead.
> QupZilla: Crashed :( Saving backtrace in
> /home/user/.config/qupzilla/crashlog ...
> Backtrace successfully saved in
> /home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt
> 
> The 

Re: [gentoo-user] Firefox & ALSA

2018-07-05 Thread Andrew Lowe
On 05/07/18 08:54, Adam Carter wrote:
>         Does anyone know of a reason why this would happen?
> 
> 
> Is firefox built with pulseaudio? If so, check the pavucontrol settings
> too (media-sound/pavucontrol)
> 
> Perhaps VLC is talking directly to ALSA, but firefox is talking to
> pulseaudio to get to ALSA, and there's an issue with pulse hence the
> discrepancy between VLC and firefox.

No PulseAudio on the machine, Lennart makes my skin crawl, and I think
you can infer from that that there has never been PulseAudio on the
machine. It basically boils down to:

Before holiday -> Firefox/Youtube makes noise.

Go away for a holiday

Come back from holiday

Turn on computer -> no boot, "dead in the water", "this is an ex-parrot".
...
...
...
etc

Whilst writing this I had a brain wave. Was Firefox
hardcoded/defaulting to "reading/writing/working" the first discovered
sound card? I subsequently removed the tricks that I had done to get VLC
working and rebooted. No sound as expected. "lspci -nn | grep -i audio"
and "aplayer -l" shows the nVidia chip to be first:

0a:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition
Audio Controller [10de:10f1] (rev a1)
0c:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device
[1022:1457]

so can I disable the HDMI sound chip with an ebuild option in the nvidia
ebuild - it appears not. Next can I reorder the discovery/assignment
process?

More googling found:

https://www.linuxquestions.org/questions/linux-hardware-18/wrong-sound-card-order-in-alsa-4175544059/

and

http://docs.slackware.com/howtos:hardware:audio_and_snd-hda-intel

which resulted in me having to rebuild my kernel as I usually have
everything linked in, no modules, and updating the

/etc/modprobe.d/alsa.conf

file. I added the lines below. Note that the vid & pid values for the
AMD are now assigned first.

alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=0 vid=1022 pid=1457
options snd-hda-intel index=1 vid=10de pid=10f1

A reboot and I now have sound everywhere - YEAH!!

There is every chance that someone way more versed in the innards of
the boot process may indicate holes in the above but hey, it works.

Andrew



Re: [gentoo-user] Firefox & ALSA

2018-07-04 Thread Adam Carter
>
> Does anyone know of a reason why this would happen?
>

Is firefox built with pulseaudio? If so, check the pavucontrol settings too
(media-sound/pavucontrol)

Perhaps VLC is talking directly to ALSA, but firefox is talking to
pulseaudio to get to ALSA, and there's an issue with pulse hence the
discrepancy between VLC and firefox.


Re: [gentoo-user] Firefox & ALSA

2018-07-04 Thread Dale
Andrew Lowe wrote:
> Hi all,
>   As mentioned in a few emails in the last couple of days, I had a
> machine fail so I've taken the disks and attempted to put them into a
> new AMD Ryzen machine. After a fiddle around with the Sysrescue CD and a
> kernel rebuild, I got the machine booting.
>
>   Sound was a bit of a problem but eventually I had VLC making noise
> again. Firefox/youtube is another matter. Before the older machine
> failed, Youtube, within Firefox, made noise. Now, in the new machine it
> does not. I have not updated Firefox or ALSA since the rebuild. I
> haven't updated this machine in ages, so Firefox is currently sitting at
> V56, installed 27/10/17.
>
>   Does anyone know of a reason why this would happen?
>
>   Andrew
>
>


Just for giggles, make sure nothing is muted and that the levels are at
reasonable levels in order to hear sounds.  Lately here, the PCM setting
seems to go to 10 or so for some reason which is about muted.  I can
play something with smplayer one time and have to adjust the PCM
setting, a hour later, it is down to 10 or so again and I have to set it
back to 90 or 100.  I have yet to figure out why it is doing that but it
is annoying to no end. 

If you are hitting the same problem, maybe we can figure out what is
changing that setting.  If that's not it.  Well, now we know.  ;-) 

Dale

:-)  :-) 



  1   2   3   4   5   6   7   8   >