Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 11:06:34 +0000
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Pasi Koivisto <pasi@me.com>
Cc:        freebsd-xfce@freebsd.org
Subject:   Re: I keep getting errors about power-manager in my logs
Message-ID:  <20160205110634.be601b5813f6e66731e416cd@gmail.com>
In-Reply-To: <1454419518.2207.7.camel@me.com>
References:  <1454109164.41619.8.camel@me.com> <20160201182124.a2d6efd0083ea86c336e6430@gmail.com> <1454419518.2207.7.camel@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 02 Feb 2016 14:25:18 +0100
Pasi Koivisto <pasi@me.com> wrote:

> Hi and thanks for helping Olivier!
> 
> > Please could you post complete log somewhere. Kill the xfce4-power
> > -manager daemon, then restarts it.
> > 
> > % xfce4-power-manager --quit
> > % xfce4-power-manager --no-daemon --debug --dump
> 
> This is my log without the rules.
> https://dpaste.de/pkZK
> This is my log with the rules.
> https://dpaste.de/HyHZ
> 
> When I tried xfce4-power-manager --no-daemon --debug --dump I got a
> core dump and all that was added to the log file was this:
> 
> Feb  2 14:07:17 X230 su: pasi to root on /dev/pts/0
> Feb  2 14:07:55 X230 sm-mta[2059]: unable to qualify my own domain name
> (X230) -- using short name
> Feb  2 14:07:55 X230 sm-msp-queue[2197]: My unqualified host name
> (X230) unknown; sleeping for retry
> Feb  2 14:08:49 X230 gcr-prompter[2242]: GLib-GObject: The property
> GtkSettings:gtk-button-images is deprecated and shouldn't be used
> anymore. It will be removed in a future version.
> Feb  2 14:08:49 X230 gcr-prompter[2242]: Gtk: GtkDialog mapped without
> a transient parent. This is discouraged.
> Feb  2 14:08:55 X230 sm-msp-queue[2197]: unable to qualify my own
> domain name (X230) -- using short name
> Feb  2 14:09:03 X230 kernel: error: [drm:pid909:gen6_sanitize_pm]
> *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected
> 00070000, was 16070000
> Feb  2 14:09:41 X230 su: pasi to root on /dev/pts/0
> Feb  2 14:10:09 X230 kernel: pid 2367 (xfce4-power-manager), uid 0:
> exited on signal 5 (core dumped)
> 
> Link to the dump file.
> https://www.dropbox.com/s/paw3jqxj4t0k9c3/xfce4-power-manager.core?dl=0
> 
> 
> > xfce4-session contains information how to create / add rules. Try:
> > 
> > % pkg query %M xfce4-session
> 
> I removed everything I have tried and created the rules following the
> examples in the pkg message. And this is how it looks:
> 
> In /usr/local/etc/polkit-1/rules.d/60-xfce-power.rules
> 
> polkit.addRule(function (action, subject) {
>   if (action.id == "org.freedesktop.consolekit.system.restart" ||
>       action.id == "org.freedesktop.consolekit.system.stop"
>       && subject.isInGroup("pasi")) {
>     return polkit.Result.YES;
>   }
> });
> 
> polkit.addRule(function (action, subject) {
>   if (action.id == "org.freedesktop.consolekit.system.suspend"
>       && subject.isInGroup("pasi")) {
>     return polkit.Result.YES;
>   }
> });
> 
> 
> Kind regards
> Pasi
> 
> 

Hi,

Sorry for the delay, I was away from my computer for my day job.

Unfortunately gdb complains about core dump. Can you post command of uname -a?

As I use ConsoleKit2 (fork of ConsoleKit), suspend/resume support is better, debug output is different.

Are you able to recompile some ports? If not, give me result of following commands:

% pkg query %ro consolekit
% pkg -vv | grep url | awk -F' ' '{printf "%s\n", $3}'

Regards,

-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160205110634.be601b5813f6e66731e416cd>