[gentoo-user] Kernel 4.12.5 hard lockups, nothing in logs.

2017-08-19 Thread Bill Kenworthy
Hi all,
I am getting random lockups on kernel 4.12.5.

Three intel hosts (atom, early i7, i7 haswell) - its worse after a
suspend resume session.  Because these are in use Ive gone back to
4.9.34 which is stable.

I also have some VM's and an MS surface pro 4 which are stable on
4.12.5, 6 and 8) - confusing!

Is anyone else seeing this?

BillK



Re: [gentoo-user] Symlinked directories and rsync

2017-08-19 Thread Walter Dnes
On Sat, Aug 19, 2017 at 09:59:47AM +0100, Mick wrote

> I've also found that 'rsync -a -l' does the job, but other tools
> exist to achieve the same:

  Thanks; I'll try that next time I do an rsync to the "hot backup"
machine.

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



Re: [gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12

2017-08-19 Thread Ralph Seichter
On 20.08.17 00:15, Craig MacKinder wrote:

> It sounds like this vmxnet3 bug causing intermittent interface problems
> https://bugzilla.kernel.org/show_bug.cgi?id=191201
> Try adding this to the VMware guest advanced settings.
> vmxnet3.rev.30 = FALSE
> And restart the guests.

Interesting idea. However, the host server is running KVM, not VMware.
If I am not mistaken, the bug you mentioned is specific to VMware? I
also don't have the option to define VM host server settings beyond the
choice of network adapter type, as the host is run by a third party.

I have included support for both Intel E1000 and VirtIO networking in my
Linux kernels, with the hosting company recommending VirtIO. Choosing
one over the other does not seem to affect the nameserver timeout
problem.

-Ralph




Re: [gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12

2017-08-19 Thread Craig MacKinder
It sounds like this vmxnet3 bug causing intermittent interface problems
https://bugzilla.kernel.org/show_bug.cgi?id=191201
Try adding this to the VMware guest advanced settings.
vmxnet3.rev.30 = FALSE
And restart the guests.

--
Craig

On Aug 19, 2017, at 11:28 AM, Ralph Seichter 
> wrote:

It seems strange to me as I write it, but since I updated one of my
virtual servers from Kernel version 4.9.34 to 4.12.5, the server (Gentoo
Linux running as a KVM guest) is experiencing timeouts when trying to
connect to DNS resolvers. For the Kernel update, I followed the same
steps I used for years, like

 cd /usr/src/linux
 zcat /proc/config.gz >.config
 make silentoldconfig (answering "no" whereever possible)
 make ...

After booting with Kernel 4.12, commands like "dig +trace 
www.ibm.com"
work just fine for a while, duration depending on server load, but after
some threshold is passed, all further attempts to contact resolvers fail
due to timeouts.

I have tried running a local, caching resolver (BIND 9) on the server,
like I usually do, and also tried using the hoster's dedicated resolvers.
With Kernel 4.12, I see timeouts in both cases. These problems do not
occur when I boot with the 4.9 Kernel which I have been using for the
past two months.

It is also worth noting that I updated two other servers to Kernel 4.12
without any issues, but these are "real" servers, not VMs. At this point
I am searching for ways to debug the issue, vaguely suspecting some KVM
magic behind it (without any proof). I know that Kernel 4.11 introduced
several KVM related changes, but that's about it.

I appreciate all pointers.

-Ralph



[gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12

2017-08-19 Thread Ralph Seichter
It seems strange to me as I write it, but since I updated one of my
virtual servers from Kernel version 4.9.34 to 4.12.5, the server (Gentoo
Linux running as a KVM guest) is experiencing timeouts when trying to
connect to DNS resolvers. For the Kernel update, I followed the same
steps I used for years, like

  cd /usr/src/linux
  zcat /proc/config.gz >.config
  make silentoldconfig (answering "no" whereever possible)
  make ...

After booting with Kernel 4.12, commands like "dig +trace www.ibm.com"
work just fine for a while, duration depending on server load, but after
some threshold is passed, all further attempts to contact resolvers fail
due to timeouts.

I have tried running a local, caching resolver (BIND 9) on the server,
like I usually do, and also tried using the hoster's dedicated resolvers.
With Kernel 4.12, I see timeouts in both cases. These problems do not
occur when I boot with the 4.9 Kernel which I have been using for the
past two months.

It is also worth noting that I updated two other servers to Kernel 4.12
without any issues, but these are "real" servers, not VMs. At this point
I am searching for ways to debug the issue, vaguely suspecting some KVM
magic behind it (without any proof). I know that Kernel 4.11 introduced
several KVM related changes, but that's about it.

I appreciate all pointers.

-Ralph



[gentoo-user] Re: Symlinked directories and rsync

2017-08-19 Thread Ian Zimmerman
On 2017-08-19 09:59, Mick wrote:

> > > Am I missing something glaringly obvious, or is this a limitation
> > > of rsync?  If so, is there another tool that can copy over
> > > symlinked directories properly?
> > 
> > I always use -av which copies simlinks correctly.  -H is necessary
> > to copy hardlinks.  If you need it -l also ensures this.
> 
> I've also found that 'rsync -a -l' does the job, but other tools exist
> to achieve the same:
> 
> https://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html
> 
> https://linux.die.net/man/1/star (look for the section 'Incremental Backups'

For the purposes about which Walter asks, I do not symlink directories,
I symlink the files.  IOW, I create what is known as "symlink farms".
There are also multiple tools for doing that:

1.  lndir, in the x11-misc/lndir package on gentoo

2.  on a GNU system, cp -rsT

3.  symlink-tree script in older releases of GNU automake (on my gentoo
system, in the sys-devel/automake-1.11.6-r1 package)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



Re: [gentoo-user] How to update glibc

2017-08-19 Thread Branko Grubic
On Sat, 19 Aug 2017 11:39:40 -0300
Raphael MD  wrote:

> Hi,
> 
> Emerge is asking to update glibc because old is masked and it'll be
> removed.
> 
> But, how to update glibc?
> Gentoo only talk about to update gcc, but my gcc it's up to date.
> 
> Thanks

Just upgrade it, glibc is backwards compatible, no extra procedures
regarding it.



[gentoo-user] How to update glibc

2017-08-19 Thread Raphael MD
Hi,

Emerge is asking to update glibc because old is masked and it'll be removed.

But, how to update glibc?
Gentoo only talk about to update gcc, but my gcc it's up to date.

Thanks


Re: [gentoo-user] KDE application icons

2017-08-19 Thread Mick
On Saturday, 19 August 2017 10:38:27 BST Mick wrote:
> On Saturday, 19 August 2017 07:05:25 BST Marc Joliet wrote:
> > Am Freitag, 18. August 2017, 15:21:40 CEST schrieb Mick:
> > > Hi All,
> > > 
> > > I noticed the KDE-Plasma-Frameworks (choose what you like) application
> > > icons are missing and have been missing since the move to plasma:5
> > > started.  I thought my set up will catch up eventually, but it hasn't.
> > > This is now becoming a problem with Kmail:5, and the decorations of the
> > > main window when, e.g. I want to cancel fetching messages but can't see
> > > the cancel button at the progress bar located in the bottom right of the
> > > Kmail main window.  I could make a guess as to the area I am supposed to
> > > click on, but it is better that I see exactly what I am clicking on.
> > > 
> > > Is there a particular package I'm supposed to install to make such
> > > application icons show up, which my selective installation of KDE apps
> > > does
> > > not cover?
> > 
> > I'll be on vacation for two weeks, so I won't be able to follow up, but
> > perhaps it might help to see what's on my system (using kmail as an
> > example):
> > 
> > % qfile (find /usr/share/icons/ -iname \*kmail\*)
> > kde-apps/kmail (/usr/share/icons/hicolor/16x16/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/22x22/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/32x32/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/48x48/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/64x64/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/128x128/apps/kmail.png)
> > kde-apps/kmail (/usr/share/icons/hicolor/scalable/apps/kmail.svgz)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/16x16/apps/
> > kmail.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/22x22/apps/
> > kmail.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/32x32/apps/
> > kmail.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/48x48/apps/
> > kmail.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
> > kmail.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
> > kmail2.png)
> > kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/256x256/apps/
> > kmail2.png)
> > kde-frameworks/breeze-icons (/usr/share/icons/breeze/apps/48/kmail.svg)
> > kde-frameworks/breeze-icons
> > (/usr/share/icons/breeze-dark/apps/48/kmail.svg)
> > 
> > HTH
> 
> Thanks Mark, this is very useful!
> 
> I have identical icons to what you list above, but they do not show up.
> 
> Hmm ... I wonder if they are sourced as an environment variable when kmail,
> dolphin, et al. are launched within the Plasma desktop, but this environemt
> variable is not around when the same applications are launched from within a
> different non-plasma desktop (I'm using enlightenment).
> 
> I need to do some more testing, but I'm grateful for any ideas to bottom
> this out.

I think I found the culrit:

$ kmail
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.pim.webengineviewer:  It's not necessary to check database now
this does not work on a KActionCollection containing actions!
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
org.kde.akonadi.ETM: Subtree:  13 QSet(13, 28, 27, 26, 25, 24, 23, 37, 22, 21, 
20, 19, 18, 17, 16, 15, 14)
org.kde.akonadi.ETM: collection: "INBOX"
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted

while dolhpin shows:

Attempted to re-run an already running session.
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPainter::begin: Paint device returned engine == 0, type: 2

and I have the following qpainter components:

$ locate qpainter
/usr/include/qt4/Qt/qpainter.h
/usr/include/qt4/Qt/qpainterpath.h
/usr/include/qt4/QtGui/qpainter.h
/usr/include/qt4/QtGui/qpainterpath.h
/usr/include/qt4/QtGui/private/qpainter_p.h
/usr/include/qt4/QtGui/private/qpainterpath_p.h
/usr/include/qt5/QtGui/qpainter.h
/usr/include/qt5/QtGui/qpainterpath.h
/usr/include/qt5/QtGui/5.7.1/QtGui/private/qpainter_p.h
/usr/include/qt5/QtGui/5.7.1/QtGui/private/qpainterpath_p.h
/usr/include/qt5/QtMultimediaWidgets/5.7.1/QtMultimediaWidgets/private/
qpaintervideosurface_p.h
/usr/share/sip/PyQt4/QtGui/qpainter.sip
/usr/share/sip/PyQt4/QtGui/qpainterpath.sip

So, I wonder what QPainter engine is it looking for ... ?
-- 
Regards,
Mick

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


Re: [gentoo-user] KDE application icons

2017-08-19 Thread Mick
On Saturday, 19 August 2017 07:05:25 BST Marc Joliet wrote:
> Am Freitag, 18. August 2017, 15:21:40 CEST schrieb Mick:
> > Hi All,
> > 
> > I noticed the KDE-Plasma-Frameworks (choose what you like) application
> > icons are missing and have been missing since the move to plasma:5
> > started.  I thought my set up will catch up eventually, but it hasn't. 
> > This is now becoming a problem with Kmail:5, and the decorations of the
> > main window when, e.g. I want to cancel fetching messages but can't see
> > the cancel button at the progress bar located in the bottom right of the
> > Kmail main window.  I could make a guess as to the area I am supposed to
> > click on, but it is better that I see exactly what I am clicking on.
> > 
> > Is there a particular package I'm supposed to install to make such
> > application icons show up, which my selective installation of KDE apps
> > does
> > not cover?
> 
> I'll be on vacation for two weeks, so I won't be able to follow up, but
> perhaps it might help to see what's on my system (using kmail as an
> example):
> 
> % qfile (find /usr/share/icons/ -iname \*kmail\*)
> kde-apps/kmail (/usr/share/icons/hicolor/16x16/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/22x22/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/32x32/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/48x48/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/64x64/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/128x128/apps/kmail.png)
> kde-apps/kmail (/usr/share/icons/hicolor/scalable/apps/kmail.svgz)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/16x16/apps/
> kmail.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/22x22/apps/
> kmail.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/32x32/apps/
> kmail.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/48x48/apps/
> kmail.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
> kmail.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
> kmail2.png)
> kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/256x256/apps/
> kmail2.png)
> kde-frameworks/breeze-icons (/usr/share/icons/breeze/apps/48/kmail.svg)
> kde-frameworks/breeze-icons (/usr/share/icons/breeze-dark/apps/48/kmail.svg)
> 
> HTH

Thanks Mark, this is very useful!  

I have identical icons to what you list above, but they do not show up.

Hmm ... I wonder if they are sourced as an environment variable when kmail, 
dolphin, et al. are launched within the Plasma desktop, but this environemt 
variable is not around when the same applications are launched from within a 
different non-plasma desktop (I'm using enlightenment).

I need to do some more testing, but I'm grateful for any ideas to bottom this 
out.
-- 
Regards,
Mick

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


Re: [gentoo-user] Symlinked directories and rsync

2017-08-19 Thread Mick
On Saturday, 19 August 2017 06:33:27 BST John Covici wrote:
> On Sat, 19 Aug 2017 00:56:55 -0400,
> 
> Walter Dnes wrote:
> >   I've RTFM'd, and it looks like there is no way to get rsync to copy
> > 
> > over symlinked directories as symlinks.  E.g. I build Pale Moon browser
> > from source for 3 machines at home.  I prefer downloading the source
> > once and symlinking to it from 3 different working directories.  I also
> > have a personal project where I analyze the same text data files in 3
> > different ways.  It makes things so much simpler to use the same code,
> > with different runtime parameters.  So I symlink the main data directory
> > to 3 working directories.  Even "better" (or worse) I've got a situation
> > where I symlink directories to... other symlinked directories.  Yes;
> > symlinks pointing to symlinks work, even for directories.
> > 
> >   Unfortunately, rsync will not create a symlink where appropriate, but
> > 
> > will de-reference the symlink, and duplicate multiple gigabytes of data
> > needlessly.  I eventually gave up trying, and made a tarball, and pushed
> > it over to my "hot backup" machine, and extracted it there.  That works
> > OK for the initial setup, but is painfull for "minor incremental"
> > updates.
> > 
> >   Am I missing something glaringly obvious, or is this a limitation of
> > 
> > rsync?  If so, is there another tool that can copy over symlinked
> > directories properly?
> 
> I always use -av which copies simlinks correctly.  -H is necessary to
> copy hardlinks.  If you need it -l also ensures this.

I've also found that 'rsync -a -l' does the job, but other tools exist to 
achieve the same:

https://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html

https://linux.die.net/man/1/star (look for the section 'Incremental Backups'

HTH.
-- 
Regards,
Mick

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


Re: [gentoo-user] Online hosting recommendation - VMs?

2017-08-19 Thread Mick
On Saturday, 19 August 2017 03:13:05 BST Stroller wrote:
> > On 18 Aug 2017, at 13:28, Todd Goodman  wrote:

> > You'll need to look into the free tier to be sure.  You can always set
> > alerts to email you if you're getting close to getting charged.
> Thanks for your help.
> 
> Looks like the free tier is a bit skinny on storage - only 5GB.
> 
> Linode's pricing pitch, "simple pricing, no calculator needed", puts
> Amazon's rates to shame.
> 
> Stroller.

I'm going back a couple of years when I used to calculate the cost of AWS for 
work purposes.  The break even time of the cheapest AWS combo Vs self-hosting 
of a LAMP was around 2.4 years.  Now, the self-hosting was a really old and 
underutilised leased corporate data centre at rather expensive prices.  In 
most cases the report that went back to the Board said:  re-negotiate and 
extend the lease of the corporate data centre for software or storage you 
intend running in the long run.  If you want to test some web app, then by all 
means use AWS, *until* you have negotiated a better self-hosting deal.  BTW, 
the elastic AWS deal was almost always prohibitively expensive.  The above 
calculations refer to prepaying AWS for the utilisation required plus some 
margin to achieve the cheapest possible deal.  I appreciate that multi-year 
corporate deals enjoy better discounts by suppliers than you or I walking 
through the door, so YMMV.

For my current low demand needs, if I could have fibre to the premises where I 
live, I would consider hosting at home and would look for a friend to provide 
a hot standby and off premises back up.
-- 
Regards,
Mick

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


Re: [gentoo-user] KDE application icons

2017-08-19 Thread Marc Joliet
Am Freitag, 18. August 2017, 15:21:40 CEST schrieb Mick:
> Hi All,
> 
> I noticed the KDE-Plasma-Frameworks (choose what you like) application icons
> are missing and have been missing since the move to plasma:5 started.  I
> thought my set up will catch up eventually, but it hasn't.  This is now
> becoming a problem with Kmail:5, and the decorations of the main window
> when, e.g. I want to cancel fetching messages but can't see the cancel
> button at the progress bar located in the bottom right of the Kmail main
> window.  I could make a guess as to the area I am supposed to click on, but
> it is better that I see exactly what I am clicking on.
> 
> Is there a particular package I'm supposed to install to make such
> application icons show up, which my selective installation of KDE apps does
> not cover?

I'll be on vacation for two weeks, so I won't be able to follow up, but 
perhaps it might help to see what's on my system (using kmail as an example):

% qfile (find /usr/share/icons/ -iname \*kmail\*)
kde-apps/kmail (/usr/share/icons/hicolor/16x16/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/22x22/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/32x32/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/48x48/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/64x64/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/128x128/apps/kmail.png)
kde-apps/kmail (/usr/share/icons/hicolor/scalable/apps/kmail.svgz)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/16x16/apps/
kmail.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/22x22/apps/
kmail.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/32x32/apps/
kmail.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/48x48/apps/
kmail.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
kmail.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/128x128/apps/
kmail2.png)
kde-frameworks/oxygen-icons (/usr/share/icons/oxygen/base/256x256/apps/
kmail2.png) 


kde-frameworks/breeze-icons (/usr/share/icons/breeze/apps/48/kmail.svg) 


   
kde-frameworks/breeze-icons (/usr/share/icons/breeze-dark/apps/48/kmail.svg)

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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