Re: [gentoo-user] new wireless router

2017-02-08 Thread thelma
On 02/08/2017 07:42 PM, allan gottlieb wrote:
> On Wed, Feb 08 2017, allan gottlieb wrote:
> 
>> Our old Linksys wireless router is starting to hang more frequently.  It
>> always comes back by cycling the power, but it is probably time to
>> upgrade.
>>
>> I am looking at the Linksys EA6900 AC1900 Samar Wi-Fi dual-band router.
>> It is wireless-AC so will be big speed improvement over our wireless G.
>>
>> We have mundane usage (laptops and cell phones) and a simple connection
>> to the internet via a optimum/cablevision modem.
>>
>> Am I correct in believing that I should be able to simply plug it in and
>> it will "just work".  I run gentoo exclusively on my laptops and my wife
>> runs some modern Windows on hers.  Cell phones are android and ios.
>>
>> Advanced security is not needed.
>>
>> thanks in advance,
>> allan
> 
> I hadn't realized the model I quoted is the refurbished version.
> I will be buying the new version.
> 
>  Linksys AC1900 Wi-Fi Wireless Dual-Band+ Router with Gigabit & USB 3.0
>  Ports, (EA6900)
> 
> sorry for the confusion.
> allan

Does it support DD-WRT?
I always replace rotor's  firmware with DD-WRT or other open source one.

--
Thelma



Re: [gentoo-user] nx / nxclient - replacement

2017-02-08 Thread thelma
On 02/06/2017 02:02 AM, Luigi 'Comio' Mantellini wrote:
> * net-misc/x2goclient
>  Available versions:  4.0.3.2 (~)4.0.4.0 (~)4.0.5.0 (~)4.0.5.1
> (~)4.0.5.2-r1 {ldap nsplugin qt5}
>  Homepage:http://www.x2go.org
>  Description: The X2Go Qt client
> 
> * net-misc/x2goserver
>  Available versions:  4.0.1.19 (~)4.0.1.19-r2 (~)4.0.1.19-r3
> (~)4.0.1.20 {+fuse postgres +sqlite}
>  Homepage:http://www.x2go.org
>  Description: The X2Go server
> 
> I never tried.
> 
> ciao
> 
> luigi
> 
> Il giorno lun 6 feb 2017 alle ore 08:55  > ha scritto:
> 
> Are there any good replacement for "nx / nxclient" in Linux?
> NX is long time gone from portage.  I hope, I can still install them
> from atic.
> This was another reason I wasn't upgrading for a long time as I need
> them to access remote boxes in GUI.
> 
> --
> Thelma
> 
> -- 
> Luigi Mantellini

I just tried x2go (server + client).
The installation and setup was a breeze in comparison to NX (server +
client).
It works nice as well over VPN and XFCE

--
Thelma







Re: [gentoo-user] new wireless router

2017-02-08 Thread allan gottlieb
On Wed, Feb 08 2017, allan gottlieb wrote:

> Our old Linksys wireless router is starting to hang more frequently.  It
> always comes back by cycling the power, but it is probably time to
> upgrade.
>
> I am looking at the Linksys EA6900 AC1900 Samar Wi-Fi dual-band router.
> It is wireless-AC so will be big speed improvement over our wireless G.
>
> We have mundane usage (laptops and cell phones) and a simple connection
> to the internet via a optimum/cablevision modem.
>
> Am I correct in believing that I should be able to simply plug it in and
> it will "just work".  I run gentoo exclusively on my laptops and my wife
> runs some modern Windows on hers.  Cell phones are android and ios.
>
> Advanced security is not needed.
>
> thanks in advance,
> allan

I hadn't realized the model I quoted is the refurbished version.
I will be buying the new version.

 Linksys AC1900 Wi-Fi Wireless Dual-Band+ Router with Gigabit & USB 3.0
 Ports, (EA6900)

sorry for the confusion.
allan



[gentoo-user] new wireless router

2017-02-08 Thread allan gottlieb
Our old Linksys wireless router is starting to hang more frequently.  It
always comes back by cycling the power, but it is probably time to
upgrade.

I am looking at the Linksys EA6900 AC1900 Samar Wi-Fi dual-band router.
It is wireless-AC so will be big speed improvement over our wireless G.

We have mundane usage (laptops and cell phones) and a simple connection
to the internet via a optimum/cablevision modem.

Am I correct in believing that I should be able to simply plug it in and
it will "just work".  I run gentoo exclusively on my laptops and my wife
runs some modern Windows on hers.  Cell phones are android and ios.

Advanced security is not needed.

thanks in advance,
allan



Re: [gentoo-user] OT: webmail for mobile devices

2017-02-08 Thread Sam Jorna
On Thu, Feb 09, 2017 at 09:31:49AM +0800, Bill Kenworthy wrote:
> Hi all,
> 
> I needed webmail access to the home mailserver for a family member
> on holiday yesterday whose VPN couldn't connect and so successfully
> installed roundcube - works but the user experience on phone screen is
> "poor".
> 
> 
> Is there a better webmail for mobile devices? - roundcube has a mobile
> theme but its a manual install outside of emerge (easy enough though I
> have not tested it.)  I ve tried squirrelmail in the past but that is
> very poor on a mobile phone.

This might be a bit of overkill, but ownCloud has a mail module that 
might be used - it just uses IMAP and SMTP to connect to whichever 
specified mail hosts. It also has "responsive" design (mobile-friendly).

It does require some additional setup though.

There are probably better, more use-specific solutions available, but 
thought I'd mention this.

-- 
Sam Jorna (wraeth)
GnuPG Key: D6180C26


signature.asc
Description: Digital signature


[gentoo-user] OT: webmail for mobile devices

2017-02-08 Thread Bill Kenworthy
Hi all,

I needed webmail access to the home mailserver for a family member
on holiday yesterday whose VPN couldn't connect and so successfully
installed roundcube - works but the user experience on phone screen is
"poor".


Is there a better webmail for mobile devices? - roundcube has a mobile
theme but its a manual install outside of emerge (easy enough though I
have not tested it.)  I ve tried squirrelmail in the past but that is
very poor on a mobile phone.

BillK





Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Rich Freeman
On Wed, Feb 8, 2017 at 7:36 PM, Neil Bothwick  wrote:
>
> It shouldn't matter that they are bind-mounted. The -x switch excludes
> anything on a different filesystem.
>

Agree, but I will note that one of the advantages of using a container
and mounting a new /dev is that you get a greatly reduced /dev which
helps protect your physical devices.

For example, here is /dev from one of my containers:

# ls -l /dev/
total 0
crw--w 1 root tty  136, 3 Feb  4 08:57 console
lrwxrwxrwx 1 root root 11 Feb  4 08:57 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Feb  4 08:57 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1, 7 Feb  4 08:57 full
drwxr-xr-x 2 root root  0 Feb  4 08:57 hugepages
lrwxrwxrwx 1 root root 25 Feb  4 08:57 initctl -> /run/systemd/initctl/fifo
lrwxrwxrwx 1 root root 28 Feb  4 08:57 log -> /run/systemd/journal/dev-log
drwxrwxrwt 2 root root 40 Feb  4 08:57 mqueue
drwxr-xr-x 2 root root 60 Feb  4 08:57 net
crw-rw-rw- 1 root root   1, 3 Feb  4 08:57 null
lrwxrwxrwx 1 root root  8 Feb  4 08:57 ptmx -> pts/ptmx
drwxr-xr-x 2 root root  0 Feb  4 08:57 pts
crw-rw-rw- 1 root root   1, 8 Feb  4 08:57 random
drwxrwxrwt 2 root root 40 Feb  4 08:57 shm
lrwxrwxrwx 1 root root 15 Feb  4 08:57 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Feb  4 08:57 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Feb  4 08:57 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5, 0 Feb  4 08:57 tty
crw-rw-rw- 1 root root   1, 9 Feb  4 08:57 urandom
crw-rw-rw- 1 root root   1, 5 Feb  4 08:57 zero

As you can see, there is limited ability for even root to accidentally
mess something up.  If you bind-mount /dev in a regular chroot
(without a hardening technology on top) and something running as root
in the chroot tries to write to /dev/sda, then it will have the
obvious result.  Note that Linux containers are not yet 100% secure so
this should be viewed as a protection against accidental damage, not
as equivalent to a VM.  Non-root processes inside a container are
considered to be pretty secure I believe, and I believe root is
supposed to be OK if it is running in a container in a separate user
namespace (so it is non-root on the host).

-- 
Rich



Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Neil Bothwick
On Wed, 8 Feb 2017 17:28:44 -0500, Walter Dnes wrote:

> > If you used the -x switch with rsync, the contents of sys, dev and
> > proc won't be copied n the first place, nor will the contents of any
> > other mounted filesystems.
> > 
> > That's if you rsynced from a running VM. If you used qemu-ndb to mount
> > the VM image without starting the VM they would have been empty to
> > start with.  
> 
>   I use "--no-devices --no-specials".  From my reading of the rsync man
> page, it should work.  It seems to work fine during a regular rsync.
> But last night when I did the first backup of my "new and improved"
> setup, it was starting to back up /home/misc/centos65/proc/kcore.  My
> USB backup drive does not have space for a 140,737,477,881,856 byte
> file. Ouch!  I think the problem is that /home/misc/centos65/proc/ and
> /home/misc/centos65/dev/ are real physical directories, with the
> contents of the real /proc and /dev bind-mounted on top of them.  They
> end up getting treated as real directories because they are real
> directories.  I explicitly blocked them in rsync's list and things are
> now OK.

It shouldn't matter that they are bind-mounted. The -x switch excludes
anything on a different filesystem.


-- 
Neil Bothwick

Reboot America.


pgp3ngzXgIpBk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-08 Thread Neil Bothwick
On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:

> Every time I try to do an upgrade, it wants to pull
> in the former PostgreSQL into an own slot:
> 
>   # emerge -avuDN @world
>   ...
>   Calculating dependencies... done!
>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo
> [9.6.0:9.6::gentoo] USE="..." ... ...
>   Would you like to merge these packages? [Yes/No] 
> 
> How can I find out why this happens?

Add --tree to you emerge invocation.


-- 
Neil Bothwick

And if you say "No", I shall be forced to shoot you.


pgpd9FEin9bhB.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Walter Dnes
On Tue, Feb 07, 2017 at 03:08:58PM -0500, Rich Freeman wrote

> I suspect sticking something like this before the chroot command might
> do the trick:
> unshare -p -f --mount-proc -m -i -u
> 
> That will create a new PID, mount, IPC, and UTS namespace for the
> chroot.  If you do the mounts after this then when the process exists
> any mounts will disappear.  If you run ps -ea inside you'll see your
> shell running as pid 1.  Now, if you set up your mounts before running
> unshare then they'll stick around since they were set up in the host
> namespace and not the container.

  Is the command sequence...

unshare -p -f --mount-proc -m -i -u
mount --bind /dev/ /home/misc/centos65/dev/
mount --bind /proc/ /home/misc/centos65/proc/
linux32 chroot /home/misc/centos65/ /bin/bash

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



Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Walter Dnes
On Tue, Feb 07, 2017 at 03:34:46PM -0500, Mike Gilbert wrote
> On Tue, Feb 7, 2017 at 3:08 PM, Rich Freeman  wrote:
> > I suspect sticking something like this before the chroot command might
> > do the trick:
> > unshare -p -f --mount-proc -m -i -u
> >
> > That will create a new PID, mount, IPC, and UTS namespace for the
> > chroot.
> 
> Using unshare may require another kernel config change. The following
> options must be enabled for that unshare command to work:
> 
> CONFIG_NAMESPACES
> CONFIG_UTS_NS
> CONFIG_IPC_NS
> CONFIG_PID_NS

  Thanks Mike and Rich.  It looks like my kernel is already properly set
up.  "Namespaces support" is forced on in "make menuconfig"

-*- Namespaces support  --->
--- Namespaces support
[*]   UTS namespace
-*-   IPC namespace
[ ]   User namespace
[*]   PID Namespaces
-*-   Network namespace

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



Re: [gentoo-user] nx / nxclient - replacement

2017-02-08 Thread thelma
On 02/07/2017 10:06 AM, Poncho wrote:
> On 06.02.2017 20:55, the...@sys-concept.com wrote:
>> On 02/06/2017 12:25 PM, Poncho wrote:
>>> On 06.02.2017 19:06, Alan McKinnon wrote:
 On 06/02/2017 12:41, Poncho wrote:
> On 06.02.2017 08:53, the...@sys-concept.com wrote:
>> Are there any good replacement for "nx / nxclient" in Linux?
>> NX is long time gone from portage.  I hope, I can still install them
>> from atic.
>> This was another reason I wasn't upgrading for a long time as I need
>> them to access remote boxes in GUI.
>>
>
> I've switched to net-misc/remmina as a replacement for nxclient.
>


 Do you have problems with remmina if your keyboard is set to something
 other than US-101?

 We had eternal problems with that at work (Mint clients) so couldn't use
 remmina with plain RDP.

>>>
>>> I'm using a Swiss German keyboard layout.
>>> I didn't have any issues while connecting to an ubuntu host running
>>> nxserver. Never tried plain RDP though.
>>
>> WOW, are you trying to say you are connecting client running "remmina"
>> to server running NX?
>> If this is the case I'm impressed.
>>
>> --
>> Thelma
>>
> 
> yes, I'm using remmina as a client on my gentoo machine to connect to a
> server that is running ubuntu and nxserver.

So "remmina" is only client software.
I have a new box on remote end, what kind of server should I use to
connect with remmina?

xnserver is no longer in portage.

--
Thelma




Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-08 Thread Mick
On Wednesday 08 Feb 2017 22:52:51 Bertram Scharpf wrote:
> Hi,
> 
> I have a running PostrgeSLQ 9.6 installed:
> 
>   # equery l postgresql
>   * Searching for postgresql ...
>   [I--] [??] dev-db/postgresql-9.6.0:9.6
> 
> Every time I try to do an upgrade, it wants to pull
> in the former PostgreSQL into an own slot:
> 
>   # emerge -avuDN @world
>   ...
>   Calculating dependencies... done!
>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo]
> USE="..." ... ...
>   Would you like to merge these packages? [Yes/No]
> 
> How can I find out why this happens?
> 
> Thanks in advance.
> 
> Bertram

Postgresql is slotted.  You can install more than one slot and run more than 
one instance of either version, on the same server.  If you do not want to 
download previous versions, you will need to mask them (in 
/etc/portage/package.mask or a named file within that).
-- 
Regards,
Mick

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


Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Walter Dnes
On Wed, Feb 08, 2017 at 08:45:03AM +, Neil Bothwick wrote

> If you used the -x switch with rsync, the contents of sys, dev and proc
> won't be copied n the first place, nor will the contents of any other
> mounted filesystems.
> 
> That's if you rsynced from a running VM. If you used qemu-ndb to mount
> the VM image without starting the VM they would have been empty to start
> with.

  I use "--no-devices --no-specials".  From my reading of the rsync man
page, it should work.  It seems to work fine during a regular rsync.
But last night when I did the first backup of my "new and improved"
setup, it was starting to back up /home/misc/centos65/proc/kcore.  My
USB backup drive does not have space for a 140,737,477,881,856 byte file.
Ouch!  I think the problem is that /home/misc/centos65/proc/ and
/home/misc/centos65/dev/ are real physical directories, with the
contents of the real /proc and /dev bind-mounted on top of them.  They
end up getting treated as real directories because they are real
directories.  I explicitly blocked them in rsync's list and things are
now OK.

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



[gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-08 Thread Bertram Scharpf
Hi,

I have a running PostrgeSLQ 9.6 installed:

  # equery l postgresql
  * Searching for postgresql ...
  [I--] [??] dev-db/postgresql-9.6.0:9.6

Every time I try to do an upgrade, it wants to pull
in the former PostgreSQL into an own slot:

  # emerge -avuDN @world
  ...
  Calculating dependencies... done!
  [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo] 
USE="..." ...
  ...
  Would you like to merge these packages? [Yes/No] 

How can I find out why this happens?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Re: x11-misc/sddm-0.14.0-r2 won't log out ... AND ... USB won't mount

2017-02-08 Thread Mick
On Monday 06 Feb 2017 19:56:51 you wrote:
> I updated to x11-misc/sddm-0.14.0-r2 and as the title says, the DM re-logs
> in once when I try to log out.  The second time it logs out properly.  What
> might be causing this strange behaviour?  Have you noticed the same?

I got some time to look into this.  I suspected polkit which I updated last 
Saturday, along with sddm, but I may be wrong ...

In summary, sddm-0.14.0-r2 is buggy and it has bitten me and probably Frank 
Steinmetzger too on this list.  The symptoms I have come across are as 
follows:

1. Inability to mount removable devices

In particular, udisksctl in a terminal does not recognise the current user and 
asks for root passwd.  All users are members of plugdev and usb groups, while 
some are also members of wheel.

2. Logout relaunches the desktop.  

Before you ask:

ssd.conf is set to 'Relogin=false'

On the second attempt to logout the desktop logs out as it should.  There is 
no such problem with shutdown, or sleep, or hibernate.

This problems happend on two systems of mine both of which start sddm with 
/etc/init.d/xdm, use OpenRC, launch the desktop (enlightenment) with an 
~.xsession file and one uses consolekit on default runlevel, while the other 
doesn't.  The same symptoms were observed when using the Plasma desktop.

Could this be due to some other reason (what?) or is it indeed a bug?
 
-- 
Regards,
Mick

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


[gentoo-user] Re: retext, PyQt, QtPrintSupport, and QObject

2017-02-08 Thread Grant Edwards
On 2017-02-08, Grant Edwards  wrote:
> I usually try to avoid Qt apps, but I needed a way to preview markdown
> text.  One option was pandoc, but it needed to install 100+ packages
> as dependancies.  Another option was retext, which only required a few
> new packages.
>
> So I installed retext.  The install seemed to go fine, but it doesn't run:
> [...]

[This was with the stable retext.]

I looked at the retext sources, and AFAICT with no command-line args
there are situations retext tries to mix QT4 and QT5 modules (that
seems obviouisly wrong, but I'm no Qt expert).  I tried forcing retext
to use qt4 only by specifying --pyqt4, but that failed in other ways.

I gave up on the stable version of retext and tried the ~amd64 version
of retext, and it wanted to install more QT5 stuff than I had patience
for.

So I finally gave up on retext and wrote my own command-line markdown
to html converter utility:


#!/usr/bin/python
import sys,markups
argc,argv = len(sys.argv),sys.argv

if argc > 3:
sys.stderr.write("usage: %s [infile [outfile]]\n" % argv[0])

if argc > 2 and argv[2] != '-':
out_file = open(argv[2],"w")
else:
out_file = sys.stdout

if argc > 1 and argv[1] != '-':
with open(sys.argv[1],"r") as f:
in_text = f.read()
else:
in_text = sys.stdin.read()

cm = markups.MarkdownMarkup().convert(in_text)
out_file.write(cm.get_whole_html())




-- 
Grant Edwards   grant.b.edwardsYow! Hold the MAYO & pass
  at   the COSMIC AWARENESS ...
  gmail.com




[gentoo-user] retext, PyQt, QtPrintSupport, and QObject

2017-02-08 Thread Grant Edwards
I usually try to avoid Qt apps, but I needed a way to preview markdown
text.  One option was pandoc, but it needed to install 100+ packages
as dependancies.  Another option was retext, which only required a few
new packages.

So I installed retext.  The install seemed to go fine, but it doesn't run:

   $ retext
   Traceback (most recent call last):
 File "/usr/lib64/python3.4/site-packages/ReText/__init__.py", line 16, in 

   from PyQt5 import QtCore, QtPrintSupport, QtGui, QtWidgets, QtWebKit, 
QtWebKitWidgets
   ImportError: cannot import name 'QtPrintSupport'
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
 File "/usr/lib/python-exec/python3.4/retext", line 23, in 
   from ReText import QtCore, QtWidgets, QtWebKit, datadirs, globalSettings
 File "/usr/lib64/python3.4/site-packages/ReText/__init__.py", line 19, in 

   from PyQt4 import QtCore, QtGui, QtWebKit
   RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the 
QObject class

Two questions:

 1) If retext requires Qt with printing support, shouldn't that be a
package dependency?  [Does retext require Qt printing support?]

 2) What is the "RuntimeError:" trying to say?  Aren't PyQt4 and PyQt5
independent from each other?  Who cares if they both wrap the same
QOobject class (in fact, I would have guessed that the both do a
_lot_ of things).  [Perhaps this is more of a Python question than
a Gentoo question?]

-- 
Grant Edwards   grant.b.edwardsYow! I just went below the
  at   poverty line!
  gmail.com




Re: [gentoo-user] [SOLVED] MacBook Pro oops with gentoo-sources-4.9.6-r1

2017-02-08 Thread Alexander Kapshuk
On Wed, Feb 8, 2017 at 8:06 PM, Mick  wrote:
> On Tuesday 07 Feb 2017 08:54:30 Alexander Kapshuk wrote:
>> On Tue, Feb 7, 2017 at 12:47 AM, Mick  wrote:
>> > Hi All,
>> >
>> > Just as I thought I was getting on top of my Gentoo installation on a
>> > MacBook, a new kernel oops unpleasantly, although it manages to boot into
>> > a Gnome desktop eventually.  No wireless is available (broadcom-sta
>> > proprietary drive is used).  Shutting down/rebooting is a hit and miss
>> > operation.  Invariably I have to hold the power button to force it to
>> > shut down.  Shutting the lid does not put it to sleep but goes into some
>> > race condition with the fans spinning like mad.  The screen is black
>> > thereafter until I force it to shutdown.
>> >
>> > Previous kernel 4.4.9 had no such problems.
>> >
>> > I attach the log output.  Please let me know if you want to see the kernel
>> > .config too.
>> >
>> > --
>> > Regards,
>> > Mick
>>
>> You could either try a more recent kernel, the current stable kernel
>> upstream being 4.9.8. Chances are this oops may have been fixed there.
>>
>> Otherwise, you could report this oops to the Gentoo kernel devs with
>> more info on where the oops happened supplied. See the
>> oops-tracing.txt doc available here,
>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/D
>> ocumentation/oops-tracing.txt?id=refs/tags/v4.9.8, for details on how to do
>> this.
>>
>> Hope this helps.
>
> Thanks Alexander, I emerged 4.9.8 and it now boots fine, shows no oops and
> shuts down without any drama.  :-)
> --
> Regards,
> Mick

Good to hear.

Thanks for letting us know.



Re: [gentoo-user] [SOLVED] MacBook Pro oops with gentoo-sources-4.9.6-r1

2017-02-08 Thread Mick
On Tuesday 07 Feb 2017 08:54:30 Alexander Kapshuk wrote:
> On Tue, Feb 7, 2017 at 12:47 AM, Mick  wrote:
> > Hi All,
> > 
> > Just as I thought I was getting on top of my Gentoo installation on a
> > MacBook, a new kernel oops unpleasantly, although it manages to boot into
> > a Gnome desktop eventually.  No wireless is available (broadcom-sta
> > proprietary drive is used).  Shutting down/rebooting is a hit and miss
> > operation.  Invariably I have to hold the power button to force it to
> > shut down.  Shutting the lid does not put it to sleep but goes into some
> > race condition with the fans spinning like mad.  The screen is black
> > thereafter until I force it to shutdown.
> > 
> > Previous kernel 4.4.9 had no such problems.
> > 
> > I attach the log output.  Please let me know if you want to see the kernel
> > .config too.
> > 
> > --
> > Regards,
> > Mick
> 
> You could either try a more recent kernel, the current stable kernel
> upstream being 4.9.8. Chances are this oops may have been fixed there.
> 
> Otherwise, you could report this oops to the Gentoo kernel devs with
> more info on where the oops happened supplied. See the
> oops-tracing.txt doc available here,
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/D
> ocumentation/oops-tracing.txt?id=refs/tags/v4.9.8, for details on how to do
> this.
> 
> Hope this helps.

Thanks Alexander, I emerged 4.9.8 and it now boots fine, shows no oops and 
shuts down without any drama.  :-)
-- 
Regards,
Mick

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


Re: [gentoo-user] SOT (Slightlt OffTopic): Scriptable Documentation system (HTML/PDF) ?

2017-02-08 Thread Meino . Cramer
Alex Thorne  [17-02-07 20:36]:
> > What can be choosen as "glue" between the
> > "outside world" and TeX?
> >
> 
> If you're looking for something to convert between different markups, e.g.
> LaTeX and HTML, perhaps Pandoc would be appropriate
> 
> http://pandoc.org/
> 
> Alex
> 
> >


Hi @all,

WHOW! Thanks a LOT for that detailed and many input! 
That helps on this side A LOT...didn't expected that
there that much ways to do it :)
NICE!

To answer the question: No, the target group reading
the docs are inhouse customers reading the software
documentation on somehow user-level.
Neither science heavy stuff nor math-loaded landscapes
of formula (I *LIKE* TeX, though)!
TeX is for typesetting what UNIX/Linux is for OSses;)
If you you use something different -- you will get something
different...
(OK, really not meant seriously...I am just in the mood
for building some phrases...;) ;) ;)

Wanted input is ASCII (called UTF-something nowadays)
- target formats are HTML and PDF and maybe xlsx (and docx).




Re: [gentoo-user] mesa-12.0.1 fails to emerge

2017-02-08 Thread Corbin Bird

On 02/08/2017 12:47 AM, Mick wrote:
> On Tuesday 07 Feb 2017 18:24:06 Corbin Bird wrote:
>> On 02/07/2017 05:02 PM, Mick wrote:
>>> How could I go beyond this point?
>>>
>>> =
>>> /var/tmp/portage/media-
>>> libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
>>> ers/clover/llvm/invocation.cpp:212:75: error: no matching function for
>>> call to ‘
>>> clang::CompilerInvocation::setLangDefaults(clang::LangOptions&,
>>> clang::InputKind
>>> , llvm::Triple, clang::LangStandard::Kind)’
>>> =
>>>
>>> Extract from compile log attached.
>>>
>>> I am running sys-devel/clang-runtime-3.9.1 like so:
>>>  Installed versions:  3.9.1(21:25:30 07/02/17)(openmp -libcxx
>>>  ABI_MIPS="-
>>>
>>> n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
>> ---
>> If you would please, post if the USE flag "opencl" is set in
>> "make.conf", or in "package.use" for any packages.
>>
>>
>> Corbin
> Yes!  It had sneaked in make.conf.  I removed it and am re-emerging now.
>
> Thanks.  :-)
---
Your Welcome.

Easy way to find the def of that USE flag ( it gave away the error ) :

~ # equery u media-libs/mesa
 + + opencl   : Enable the Clover Gallium OpenCL state tracker.

Easy way to check what else currently installed that may be using that
USE flag :

~ # equery h opencl
 * Searching for USE flag opencl ...
[IP-] [  ] media-gfx/imagemagick-6.9.7.4:0/6.9.7.4
[IP-] [  ] media-libs/mesa-17.0.0_rc2:0
[IP-] [  ] media-libs/x264-0.0.20160712:0/148
[IP-] [  ] sys-apps/hwloc-1.11.2:0/5

Corbin



Re: [gentoo-user] Delete /tmp content

2017-02-08 Thread Hogren
Hello world !


I do an answer very very very late. But I would to thanks a lot Rich,
Mick, Walter Dnes, James, and Marc Joliet, for their responses.

The basic subject make a interesting conversation.


I think my problem was that my /tmp is a LVM logical volume. The systemd
service did empty the /tmp before the mount of the tmp LV.

I don't very need to separate /tmp from the / LV. So I deleted it (the
/tmp, not the / ^^). An other solution would may be to change the good
systemd service to affect the boot order.


This TOPIC is SOLVED.


Thank you again !


Bye


Hogren


On 16/07/2016 00:18, Marc Joliet wrote:
> On Friday 15 July 2016 08:44:39 Rich Freeman wrote:
>> I checked and it looks like the default on Gentoo is to not clear
>> tmpfiles on a running system at all:
>> cat /usr/lib/tmpfiles.d/tmp.conf
>> v /tmp 1777 root root
>> v /var/tmp 1777 root root
> Which is due to https://bugs.gentoo.org/show_bug.cgi?id=490676 (I still fail 
> to understand the reasoning behind the change, but oh well).  Personally, I 
> manually override Gentoo's own override in order to retain upstream behaviour.
>




[gentoo-user] [OT] KDE config problem

2017-02-08 Thread Peter Humphrey
Hello list,

Having reverted from ~amd64 to amd64 and created a new user for myself, 
I now can't right-click on the background to change its properties. Does 
anyone here know what might be causing this, or what config files I can 
edit instead?

-- 
Regards
Peter




Re: [gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-08 Thread Valmor de Almeida
On Wed, Feb 8, 2017 at 3:35 AM, naveen  wrote:
[snip]
> Hi Valmor,
>
> I am presently running gentoo as a VM(virtualbox) on macos seirra.
> I have app-emulation/virtualbox-guest-additions-5.0.32:0 and
> x11-drivers/xf86-video-virtualbox-5.0.32:0 installed and running.

Hi Naveen,

What kernel are you using? I just found a way out:

https://forums.gentoo.org/viewtopic-p-8029046.html#8029046

but required a number iterations experimenting with kernel versions
and ebuilds for virtualbox-guest-additions.

Thanks,

--
Valmor

> I didn't face any problems while compiling/installing the package.
> Could you specify the issues you faced while installing/upgrading
> virtualbox-guest-additions package. I have used VMware Fusion barely
> so I don't have enough experience to comment
> on the overall quality it delivers or packages pertaining to it in
> portage.
>
> Regards,
> Naveen
>
>
>
>
>
>



Re: [gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-08 Thread Valmor de Almeida
On Wed, Feb 8, 2017 at 2:06 AM, John Covici  wrote:
[snip]
>
> I have it working fine under vmware fusion and I have updated since
> the install.  I don't ust X on that box, so you may have a different
> result.

Thanks for the input. Yeah I will need X running on the guest.
--
Valmor

>
> The only gotcha I had was that vmware would not install the tools, but
> I found the iso image and mounted it and did it myself.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici
>  cov...@ccs.covici.com
>



Re: [gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed

2017-02-08 Thread Valmor de Almeida
On Mon, Feb 6, 2017 at 9:25 PM, Valmor de Almeida  wrote:
> On Mon, Feb 6, 2017 at 5:10 PM, Alan McKinnon  wrote:
>> On 06/02/2017 23:45, Valmor de Almeida wrote:
>>>
>>> Hello,
>>>
>>> Any idea on how to fix this on a gentoo virtualbox guest?
>>> Virtualbox-guest-additions will not emerge. The xf86-video build fails:
>>>
>>> [snip]
>>>   if (static_branch_unlikely(_key))
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
>>> expected primary-expression before
>>>   !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
>>>
>>> lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
>>> definition of macro
>>>  # define unlikely(x) __builtin_expect(!!(x), 0)
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
>>> expansion of macro static_key_enabled
>>>  #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
>>> /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
>>> expansion of macro ‘ static_branch_unlikely
>>>   if (static_branch_unlikely(_key))
>>> ***
>>> [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-5.0.32/work/VirtualBox-5.0.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o
>>> *** Exiting with status 2
>>>  ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile 
>>> phase):
>>   ^
>>
>> This is what is failing, not virtualbox-guest-additions
>
> Correct. The driver package gets pulled in.
>
>>
>> Try downgrade those drivers
>
> Tried every ebuild available for an older version and no luck; which
> makes me think something else is causing this. Compiler? some option
> in the kernel?

Here is what worked after many iterations:

https://forums.gentoo.org/viewtopic-p-8029046.html#8029046

--
Valmor

>
> Thanks,
> --
> Valmor
>
>>
>> --
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>>



Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-08 Thread Neil Bothwick
On Tue, 7 Feb 2017 20:33:57 -0500, Walter Dnes wrote:

>   Here's how I did it...
> 
> * Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the
>   64-bit host linux (Gentoo)
> 
> * rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a
>   QEMU VM to /home/misc/centos65
> 
> * rm
> -rf /home/misc/centos65/dev /home/misc/centos65/sys /home/misc/centos65/proc

If you used the -x switch with rsync, the contents of sys, dev and proc
won't be copied n the first place, nor will the contents of any other
mounted filesystems.

That's if you rsynced from a running VM. If you used qemu-ndb to mount
the VM image without starting the VM they would have been empty to start
with.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.


pgpw8e2REmx8M.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-08 Thread naveen
On Wed, Feb 08, 2017 at 01:12:13AM -0500, Valmor de Almeida wrote:
> Hello,
> 
> I would appreciate inputs on emulation of Gentoo on a Mac OSX.
> 
> For many years I have been using VirtualBox on the Mac as a host and a
> Gentoo guest. It seems it is becoming difficult to get the
> virtualbox-guest-additions package to compile and install on the
> Gentoo guest. I don't know whether this is a difficulty coming from
> the virtualbox package itself. However, I am considering an emulation
> alternative such as VMWare Fusion to avoid problems with portage
> updates. I wonder whether the experience with the packages that need
> to be installed on the Gentoo guest side for VMWare are less
> problematic than the corresponding virtualbox packages.
> 
> Thank you.
> 
> --
> Valmor
> 

Hi Valmor,

I am presently running gentoo as a VM(virtualbox) on macos seirra.
I have app-emulation/virtualbox-guest-additions-5.0.32:0 and
x11-drivers/xf86-video-virtualbox-5.0.32:0 installed and running.
I didn't face any problems while compiling/installing the package.
Could you specify the issues you faced while installing/upgrading
virtualbox-guest-additions package. I have used VMware Fusion barely 
so I don't have enough experience to comment
on the overall quality it delivers or packages pertaining to it in
portage.

Regards,
Naveen