Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't power down properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Sat Mar 15, 2014 3:31 pm    Post subject: Can't power down properly Reply with quote

Hello,

I have some trouble since the migration to systemd with the powering off of my machine. I tried shutting down via gdm & via console, both seems to hang.

Here is what I see in journactl:
Code:

-- Reboot --
mar 15 10:21:36 sanctuary gdm[2327]: GLib-GObject: g_object_unref: assertion 'object->ref_count > 0' failed
mar 15 10:21:35 sanctuary systemd[1]: Stopped System Logger Daemon.
mar 15 10:21:35 sanctuary gnome-session[26744]: Avertissement du gestionnaire de fenêtres : Log level 16: gnome-shell: Fatal IO error 4 (Appel système interrompu) on X server :0.
mar 15 10:21:35 sanctuary gdm[2327]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
mar 15 10:21:35 sanctuary gnome-session[26744]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
mar 15 10:21:35 sanctuary sshd[2335]: Received signal 15; terminating.
mar 15 10:21:34 sanctuary gdm-launch-environment][26741]: pam_systemd(gdm-launch-environment:session): Failed to release session: Connection was disconnected before a reply was received
mar 15 10:21:34 sanctuary acpid[2318]: exiting
mar 15 10:21:34 sanctuary dbus[2320]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
mar 15 10:21:35 sanctuary dbus-daemon[2320]: dbus[2320]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
mar 15 10:21:35 sanctuary gdm[2327]: GLib-GObject: g_object_ref: assertion 'object->ref_count > 0' failed
mar 15 10:21:35 sanctuary gnome-session[26744]: We are no longer a registered authentication agent.
mar 15 10:21:35 sanctuary gnome-session[26744]: PolicyKit daemon disconnected from the bus.
mar 15 10:21:35 sanctuary systemd[1]: Stopped target Remote File Systems.
mar 15 10:21:35 sanctuary systemd[1]: Stopping Remote File Systems.
mar 15 10:21:35 sanctuary systemd[1]: Stopped Permit User Sessions.
mar 15 10:21:35 sanctuary systemd[1]: Stopped OpenSSH server daemon.
mar 15 10:21:35 sanctuary systemd[1]: Stopping Permit User Sessions...
mar 15 10:21:35 sanctuary systemd[1]: Removed slice system-getty.slice.
mar 15 10:21:35 sanctuary systemd[1]: Stopping system-getty.slice.
mar 15 10:21:34 sanctuary systemd[1]: Stopped GNOME Display Manager.
mar 15 10:21:34 sanctuary systemd[1]: Stopped Getty on tty1.
mar 15 10:21:34 sanctuary systemd[1]: Stopped D-Bus System Message Bus.
mar 15 10:21:34 sanctuary systemd[1]: Stopped ACPI event daemon.
mar 15 10:21:34 sanctuary systemd[1]: Stopped Login Service.
mar 15 10:21:34 sanctuary systemd[1]: Removed slice user-1000.slice.
mar 15 10:21:34 sanctuary systemd[1]: Stopping user-1000.slice.
mar 15 10:21:34 sanctuary systemd[1]: Stopping System Logger Daemon...
mar 15 10:21:34 sanctuary systemd[1]: Stopping ACPI event daemon...
mar 15 10:21:34 sanctuary systemd[1]: Stopping D-Bus System Message Bus...
mar 15 10:21:34 sanctuary systemd[1]: Stopping Getty on tty1...
mar 15 10:21:34 sanctuary systemd[1]: Stopped target Login Prompts.
mar 15 10:21:34 sanctuary systemd[1]: Stopping Login Prompts.
mar 15 10:21:34 sanctuary systemd[1]: Stopping Login Service...
mar 15 10:21:34 sanctuary systemd[1]: Stopping OpenSSH server daemon...
mar 15 10:21:34 sanctuary systemd[1]: Stopping Plex Media Server for Linux...
mar 15 10:21:34 sanctuary systemd[1]: Stopped target Multi-User System.
mar 15 10:21:34 sanctuary systemd[1]: Stopping Multi-User System.
mar 15 10:21:34 sanctuary systemd[1]: Stopping GNOME Display Manager...
mar 15 10:21:34 sanctuary systemd[1]: Stopped target Graphical Interface.
mar 15 10:21:34 sanctuary systemd[1]: Stopping Graphical Interface.
...


gdm seems to shutdown properly, i'm back to tty but i don't have any control (keyboard & mouse are unresponsive) & as you can see, sshd is also stopped (the --Reboot-- line is cause by pressing the hardware switch)

I have been googling for weeks for an answer but to no avail...

do any of you have any idea that could help me? if you need some info, don't hesitate to ask (my system is up to date and I use the desktop profile)

Thanks in advance,
_________________
Sleep my friend and you will see, dream is my reality.....
Back to top
View user's profile Send private message
BartNL
n00b
n00b


Joined: 29 Aug 2004
Posts: 65

PostPosted: Sat Mar 15, 2014 7:18 pm    Post subject: Reply with quote

Do you have upower installed? What is the output of groups? Is there any acpi support in your kernel?
Back to top
View user's profile Send private message
jaymz
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 171
Location: /dev/chair

PostPosted: Sun Mar 16, 2014 7:55 am    Post subject: Reply with quote

hi,

yes upower is installed and up to date.

support for ACPI is there (it worked before systemd)
Code:

cat /usr/src/linux/.config | grep -i acpi
CONFIG_X86_64_ACPI_NUMA=y
# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_I2C=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
# ACPI drivers
# ACPI drivers
# CONFIG_SENSORS_ACPI_POWER is not set
CONFIG_DMA_ACPI=y
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_ACPI_CMPC is not set


and here is the output for groups for my user:
Code:

lp wheel video android vboxusers bsv games

_________________
Sleep my friend and you will see, dream is my reality.....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum