Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-21 Thread Rich Freeman
On Sun, Jan 21, 2018 at 8:41 PM, Corbin Bird  wrote:
> On 01/18/2018 02:43 PM, Rich Freeman wrote:
>> cat /sys/devices/system/cpu/vulnerabilities/meltdown
>
> Strange, get this response from kernel 4.9.76-r1

In the 4.9 series it was added in 4.9.77 upstream, unless Gentoo backported it.

>
> Did you compile your kernel with "vendor support" for Intel enabled?

Yes, though this is an AMD processor.  I'm pretty sure your issue is
just that you don't have the needed patch.

-- 
Rich




Re: [gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-21 Thread Corbin Bird
On 01/18/2018 02:43 PM, Rich Freeman wrote:
> cat /sys/devices/system/cpu/vulnerabilities/meltdown

Strange, get this response from kernel 4.9.76-r1
> Darkstar ~ # cat /sys/devices/system/cpu/vulnerabilities/meltdown
> cat: /sys/devices/system/cpu/vulnerabilities/meltdown: No such file or
> directory

/proc/cpuinfo has not changed.
> Darkstar ~ # cat /proc/cpuinfo
> processor    : 0
> vendor_id    : AuthenticAMD
> cpu family    : 21
> model        : 2
> model name    : AMD FX(tm)-9590 Eight-Core Processor
> stepping    : 0
> microcode    : 0x600084f
> cpu MHz        : 4700.000
> cache size    : 2048 KB
> bugs        : fxsave_leak sysret_ss_attrs null_seg

Did you compile your kernel with "vendor support" for Intel enabled?

Corbin





Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread thelma
On 01/21/2018 04:00 PM, Neil Bothwick wrote:
> On Sun, 21 Jan 2018 15:21:35 -0700, the...@sys-concept.com wrote:
> 
>>> Log out, log in as root (or su from another user) and see if
>>> /var/run/user/1000 exists. Rename it to something else in case you
>>> need the contents, and then see if libreoffice works.
>>>
>>> If everything seems okay, get rid of the old version
>>>
>>> (My system has multiple users, I'm the only person logged in, and
>>> folder 1000 (my user-id) is the only one there. I guess somehow some
>>> old file has got "stuck" and needs deleting.)
>>>
>>> Cheers,
>>> Wol  
>>
>> I solved it by unmerging / emerging "libreoffice".  The system required
>> reboot, after that libreoffice start working for all users on the
>> machine.
> 
> So what solved, the reinstall or the reboot?

I suspect both.
I was rebooting it before but libreoffice did not start for user
"joseph" only for "alex"
When I unmerge / emerge libreoffice it still did not work for user "joseph"
but when I turn off the PC and rebooted next day, libreoffice all of a
sudden started working for user "joseph" (both users).

>> This is like a Windows solution, they always ask you to reboot the
>> computer :-/
> 
> /var/run is a symlink to /run, which is on a tmpfs and would be cleared
> with a reboot. It appears that Wol's suggestion of spurious files
> in /var/run could well have been the cause.

Now it is showing:
ll  /var/run/user
drwx-- 2 joseph root 40 Jan 21 16:58 1000
drwx-- 3 alex   root 60 Jan 21 16:42 1001

Joseph




Re: [gentoo-user] Pointers are not supported: KDEDModule

2018-01-21 Thread Mick
On Sunday, 21 January 2018 20:33:54 GMT R0b0t1 wrote:
> On Sun, Jan 21, 2018 at 9:45 AM, Mick  wrote:
> > I'm trying to understand why X crashes at login, with this error in
> > .xsession- errors:
> > 
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > QDBusAbstractAdaptor: Cannot relay signal
> > KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> > KDEDModule*
> > startkde: Done.
> > The X11 connection broke (error 1). Did the X11 server die?
> > QThread: Destroyed while thread is still running
> > Closing SQL connection: 
> > "kactivities_db_resources_139787921024832_readwrite" The X11 connection
> > broke: I/O error (code 1)
> > XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
> > 
> >   after 2408 requests (2408 known processed) with 0 events remaining.
> > 
> > If I restart xdm the user able to login, but the first time more often
> > than
> > not fails as above.
> 
> This seems very similar:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797979. There is
> also https://forums.gentoo.org/viewtopic-t-1056258-start-0.html with
> no replies.
> 
> Which display manager are you using? Are you using more than one monitor?
> 
> Cheers,
>  R0b0t1

Hmm ... yes, reads rather similar to mine.  The box in question is using sddm 
as a login manager, with which I have nothing but grief on various boxen and 
two monitors.  This problem started with the latest sddm update.

-- 
Regards,
Mick

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


Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread Neil Bothwick
On Sun, 21 Jan 2018 15:21:35 -0700, the...@sys-concept.com wrote:

> > Log out, log in as root (or su from another user) and see if
> > /var/run/user/1000 exists. Rename it to something else in case you
> > need the contents, and then see if libreoffice works.
> > 
> > If everything seems okay, get rid of the old version
> > 
> > (My system has multiple users, I'm the only person logged in, and
> > folder 1000 (my user-id) is the only one there. I guess somehow some
> > old file has got "stuck" and needs deleting.)
> > 
> > Cheers,
> > Wol  
> 
> I solved it by unmerging / emerging "libreoffice".  The system required
> reboot, after that libreoffice start working for all users on the
> machine.

So what solved, the reinstall or the reboot?

> This is like a Windows solution, they always ask you to reboot the
> computer :-/

/var/run is a symlink to /run, which is on a tmpfs and would be cleared
with a reboot. It appears that Wol's suggestion of spurious files
in /var/run could well have been the cause.


-- 
Neil Bothwick

"Of course, I could switch back to Windows. At least there, if I have a
problem, I don't suffer under the illusion that I could ever fix it." -
Unknown (paraphrased)


pgpG1SW_w8KDX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread thelma
On 01/21/2018 02:16 AM, Wols Lists wrote:
> On 20/01/18 01:11, the...@sys-concept.com wrote:
>> On 01/19/2018 05:25 PM, the...@sys-concept.com wrote:
>> [snip]
>>>
>>> The strange part is that on the same box I created a new "user" and
>>> Libreoffice works just fine.
>>> But it will not work when I log in.
>>>
>>> I've deleted the folder setting. /home/joseph/.config/libreoffice/
>>> and copied the same folder from new user directory back to my directory.
>>> Libreofice still will not start.
>>>
>>> Joseph
>>
>> Additional information.
>> When I try to start soffice help I'm getting this error
>>
>> soffice --help
>> X11 connection rejected because of wrong authentication.
>>
>> (process:24269): dconf-CRITICAL **: unable to create file 
>> '/var/run/user/1000/dconf/user': Permission denied.  dconf will not work 
>> properly.
>> LibreOffice 5.4.2.2.0 40m0(Build:2)
>>
>> This error does not show up when I run it as new user that I just created.
>>
>>
> This is intuition, not knowledge, but /var/run is, I think, stuff that
> should appear when you log in, and disappear when you log out.
> 
> Log out, log in as root (or su from another user) and see if
> /var/run/user/1000 exists. Rename it to something else in case you need
> the contents, and then see if libreoffice works.
> 
> If everything seems okay, get rid of the old version
> 
> (My system has multiple users, I'm the only person logged in, and folder
> 1000 (my user-id) is the only one there. I guess somehow some old file
> has got "stuck" and needs deleting.)
> 
> Cheers,
> Wol

I solved it by unmerging / emerging "libreoffice".  The system required
reboot, after that libreoffice start working for all users on the
machine.
This is like a Windows solution, they always ask you to reboot the
computer :-/

Joseph



Re: [gentoo-user] Pointers are not supported: KDEDModule

2018-01-21 Thread R0b0t1
On Sun, Jan 21, 2018 at 9:45 AM, Mick  wrote:
> I'm trying to understand why X crashes at login, with this error in .xsession-
> errors:
>
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> QDBusAbstractAdaptor: Cannot relay signal
> KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported:
> KDEDModule*
> startkde: Done.
> The X11 connection broke (error 1). Did the X11 server die?
> QThread: Destroyed while thread is still running
> Closing SQL connection:  "kactivities_db_resources_139787921024832_readwrite"
> The X11 connection broke: I/O error (code 1)
> XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
>   after 2408 requests (2408 known processed) with 0 events remaining.
>
> If I restart xdm the user able to login, but the first time more often than
> not fails as above.

This seems very similar:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797979. There is
also https://forums.gentoo.org/viewtopic-t-1056258-start-0.html with
no replies.

Which display manager are you using? Are you using more than one monitor?

Cheers,
 R0b0t1



Re: [gentoo-user] Troubleshooting mounting local filesystems

2018-01-21 Thread Daniel Frey

On 12/31/17 08:28, Daniel Frey wrote:

On 12/31/17 06:12, Jalus Bilieyich wrote:

Did you perform this action:

rc-update add localmount default

?


On my machine (as per my other post) it's in the boot runlevel.

Dan


OK, after turning on some logging I figured out what's happening.

When localmount runs /dev/sdc has not been created yet. Presumably it is 
getting created after localmount runs.


I suspect that this is because there's a delay during kernel 
initialization that loads firmware for some TV tuners I have, and after 
this I can see that /dev/sdc is created.


So the question now is... is it safe to add a delay to localmount? Or is 
there a better way (like... can I tell the kernel to wait a few seconds 
before running init?)


As this is mounted twice (local access and nfs access) in fstab, it 
would be best to fix it before localmount runs.


Dan



[gentoo-user] Pointers are not supported: KDEDModule

2018-01-21 Thread Mick
I'm trying to understand why X crashes at login, with this error in .xsession-
errors:  

QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
QDBusAbstractAdaptor: Cannot relay signal 
KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: 
KDEDModule*
startkde: Done.
The X11 connection broke (error 1). Did the X11 server die?
QThread: Destroyed while thread is still running
Closing SQL connection:  "kactivities_db_resources_139787921024832_readwrite"
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
  after 2408 requests (2408 known processed) with 0 events remaining.

If I restart xdm the user able to login, but the first time more often than 
not fails as above.
-- 
Regards,
Mick

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


Re: [gentoo-user] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread Wols Lists
On 20/01/18 01:11, the...@sys-concept.com wrote:
> On 01/19/2018 05:25 PM, the...@sys-concept.com wrote:
> [snip]
>>
>> The strange part is that on the same box I created a new "user" and
>> Libreoffice works just fine.
>> But it will not work when I log in.
>>
>> I've deleted the folder setting. /home/joseph/.config/libreoffice/
>> and copied the same folder from new user directory back to my directory.
>> Libreofice still will not start.
>>
>> Joseph
> 
> Additional information.
> When I try to start soffice help I'm getting this error
> 
> soffice --help
> X11 connection rejected because of wrong authentication.
> 
> (process:24269): dconf-CRITICAL **: unable to create file 
> '/var/run/user/1000/dconf/user': Permission denied.  dconf will not work 
> properly.
> LibreOffice 5.4.2.2.0 40m0(Build:2)
> 
> This error does not show up when I run it as new user that I just created.
> 
> 
This is intuition, not knowledge, but /var/run is, I think, stuff that
should appear when you log in, and disappear when you log out.

Log out, log in as root (or su from another user) and see if
/var/run/user/1000 exists. Rename it to something else in case you need
the contents, and then see if libreoffice works.

If everything seems okay, get rid of the old version

(My system has multiple users, I'm the only person logged in, and folder
1000 (my user-id) is the only one there. I guess somehow some old file
has got "stuck" and needs deleting.)

Cheers,
Wol