You are not logged in.

#1 2016-06-18 11:16:45

xhpohanka
Member
Registered: 2014-10-21
Posts: 17

Computer freezes when waking up

Hi,
I have installed Archlinux on embedded pc (http://displaysolutions.samsung.com/pro … sories/307) with AMD A4-3310MX APU with Radeon(tm) HD Graphics.
Everything runs fine but the computer freezes when waking up from suspend (S3 sleep mode). Logs from entering the suspend looks ok (I have tried pm-utils and systemd commands) and unfortunately there are no new lines in logs after waking up. The only thing that happens after pressing power button is waking of the monitor showing the same screen as before suspend. Then I have to do hard reset.

I tried both last and lts kernel.
Here is some info

Journalctl:

Jun 17 23:25:55 localhost NetworkManager[231]: <info>  [1466198755.8248] manager: startup complete
Jun 17 23:25:57 localhost login[238]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Jun 17 23:25:57 localhost systemd[1]: Created slice User Slice of root.
Jun 17 23:25:57 localhost systemd[1]: Starting User Manager for UID 0...
Jun 17 23:25:57 localhost systemd-logind[227]: New session c2 of user root.
Jun 17 23:25:57 localhost systemd[441]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Jun 17 23:25:57 localhost systemd[1]: Started Session c2 of user root.
Jun 17 23:25:57 localhost systemd[441]: Listening on Sound System.
Jun 17 23:25:57 localhost systemd[441]: Starting D-Bus User Message Bus Socket.
Jun 17 23:25:57 localhost systemd[441]: Reached target Paths.
Jun 17 23:25:57 localhost systemd[441]: Reached target Timers.
Jun 17 23:25:57 localhost systemd[441]: Listening on D-Bus User Message Bus Socket.
Jun 17 23:25:57 localhost systemd[441]: Reached target Sockets.
Jun 17 23:25:57 localhost systemd[441]: Reached target Basic System.
Jun 17 23:25:57 localhost systemd[441]: Reached target Default.
Jun 17 23:25:57 localhost systemd[441]: Startup finished in 33ms.
Jun 17 23:25:57 localhost systemd[1]: Started User Manager for UID 0.
Jun 17 23:25:57 localhost login[238]: ROOT LOGIN ON tty1
Jun 17 23:26:03 localhost sudo[491]:     root : TTY=tty1 ; PWD=/root ; USER=root ; COMMAND=list /usr/bin/pacman --color auto -S community/vbetool
Jun 17 23:26:03 localhost sudo[492]:     root : TTY=tty1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/pacman --color auto -S community/vbetool
Jun 17 23:26:03 localhost sudo[492]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Jun 17 23:26:09 localhost sudo[492]: pam_unix(sudo:session): session closed for user root
Jun 17 23:26:39 localhost kernel: ipmi_si: There appears to be no BMC at this location
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9443] manager: sleep requested (sleeping: no  enabled: yes)
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9443] manager: sleeping...
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9444] device (wlp0s16f0u1): state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9445] dhcp4 (wlp0s16f0u1): canceled DHCP transaction
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9445] dhcp4 (wlp0s16f0u1): state changed bound -> done
Jun 17 23:27:23 localhost NetworkManager[231]: <info>  [1466198843.9456] dns-mgr: Removing DNS information from /usr/bin/resolvconf
Jun 17 23:27:23 localhost kernel: wlp0s16f0u1: deauthenticating from f8:1a:67:9f:df:82 by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 17 23:27:24 localhost NetworkManager[231]: <info>  [1466198844.0103] manager: NetworkManager state is now ASLEEP
Jun 17 23:27:24 localhost wpa_supplicant[273]: wlp0s16f0u1: CTRL-EVENT-DISCONNECTED bssid=f8:1a:67:9f:df:82 reason=3 locally_generated=1
Jun 17 23:27:24 localhost NetworkManager[231]: <info>  [1466198844.0530] policy: setting system hostname to 'localhost.localdomain' (no default device)
Jun 17 23:27:24 localhost dbus[230]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jun 17 23:27:24 localhost dbus[230]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Jun 17 23:27:24 localhost systemd[1]: Starting Hostname Service...
Jun 17 23:27:24 localhost systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 17 23:27:24 localhost wpa_supplicant[273]: nl80211: deinit ifname=wlp0s16f0u1 disabled_11b_rates=0
Jun 17 23:27:24 localhost dbus[230]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jun 17 23:27:24 localhost systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 17 23:27:24 localhost nm-dispatcher[648]: req:1 'down' [wlp0s16f0u1]: new request (0 scripts)
Jun 17 23:27:24 localhost nm-dispatcher[648]: req:1 'down' [wlp0s16f0u1]: completed: no scripts
Jun 17 23:27:24 localhost dbus[230]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jun 17 23:27:24 localhost systemd[1]: Started Hostname Service.
Jun 17 23:27:24 localhost.localdomain systemd-hostnamed[636]: Changed host name to 'localhost.localdomain'
Jun 17 23:27:24 localhost.localdomain nm-dispatcher[648]: req:2 'hostname': new request (0 scripts)
Jun 17 23:27:24 localhost.localdomain nm-dispatcher[648]: req:2 'hostname': completed: no scripts
Jun 17 23:27:29 localhost.localdomain systemd-logind[227]: Delay lock is active (UID 420/kodi, PID 294/kodi.bin) but inhibitor timeout is reached.
Jun 17 23:27:29 localhost.localdomain systemd[1]: Reached target Sleep.
Jun 17 23:27:29 localhost.localdomain systemd[1]: Starting Suspend...
Jun 17 23:27:29 localhost.localdomain systemd-sleep[657]: Suspending system...
-- Reboot --
Jun 17 23:28:13 localhost systemd-journald[144]: Runtime journal (/run/log/journal/) is 8.0M, max 73.7M, 65.7M free.
Jun 17 23:28:14 localhost systemd-journald[144]: System journal (/var/log/journal/) is 104.0M, max 1.4G, 1.3G free.
Jun 17 23:28:14 localhost systemd-journald[144]: Time spent on flushing to /var is 1.450ms for 2 entries.
Jun 17 23:28:14 localhost kernel: Linux version 4.6.2-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160602 (GCC) ) #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016
Jun 17 23:28:14 localhost kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=89335873-accb-4cb7-a8bd-734d300914ec rw quiet acpi_osi=Linux "acpi_osi=!Windows 2012"
Jun 17 23:28:14 localhost kernel: x86/fpu: Legacy x87 FPU detected.
Jun 17 23:28:14 localhost kernel: x86/fpu: Using 'eager' FPU context switches.
Jun 17 23:28:14 localhost kernel: e820: BIOS-provided physical RAM map:
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x0000000000100000-0x000000005e15afff] usable
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005e15b000-0x000000005f385fff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005f386000-0x000000005f485fff] ACPI NVS
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005f486000-0x000000005f505fff] ACPI data
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005f506000-0x000000005f51dfff] usable
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005f51e000-0x000000005f920fff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005f921000-0x000000005fdfffff] usable
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x000000005fe00000-0x000000005fffffff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fecfffff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
Jun 17 23:28:14 localhost kernel: BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
Jun 17 23:28:14 localhost kernel: NX (Execute Disable) protection: active

pm-suspend.log:

Initial commandline parameters: 
Fri Jun 17 23:29:23 CEST 2016: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux localhost 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
Module                  Size  Used by
sha256_ssse3           32768  0
sha256_generic         24576  2 sha256_ssse3
hmac                   16384  1
drbg                   32768  1
ansi_cprng             16384  0
ctr                    16384  1
ccm                    20480  1
arc4                   16384  2
mousedev               20480  0
amdkfd                114688  1
hid_logitech_hidpp     28672  0
amd_iommu_v2           20480  1 amdkfd
ath9k_htc              65536  0
radeon               1474560  6
ath9k_common           32768  1 ath9k_htc
ath9k_hw              442368  2 ath9k_common,ath9k_htc
ath                    28672  3 ath9k_common,ath9k_htc,ath9k_hw
mac80211              655360  1 ath9k_htc
kvm_amd                65536  0
kvm                   499712  1 kvm_amd
irqbypass              16384  1 kvm
r8169                  77824  0
ipmi_si                49152  0
cfg80211              495616  4 ath,ath9k_common,mac80211,ath9k_htc
pcspkr                 16384  0
ttm                    81920  1 radeon
ipmi_msghandler        40960  1 ipmi_si
serio_raw              16384  0
mii                    16384  1 r8169
evdev                  24576  9
input_leds             16384  0
joydev                 20480  0
led_class              16384  2 ath9k_htc,input_leds
mac_hid                16384  0
hid_logitech_dj        20480  0
rfkill                 20480  3 cfg80211
snd_hda_codec_hdmi     45056  1
drm_kms_helper        114688  1 radeon
sp5100_tco             16384  0
shpchp                 32768  0
snd_hda_intel          32768  4
k10temp                16384  0
i2c_piix4              24576  0
snd_hda_codec         106496  2 snd_hda_codec_hdmi,snd_hda_intel
drm                   294912  9 ttm,drm_kms_helper,radeon
snd_hda_core           61440  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
syscopyarea            16384  1 drm_kms_helper
fjes                   28672  0
sysfillrect            16384  1 drm_kms_helper
snd_pcm                86016  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 radeon
snd_timer              28672  1 snd_pcm
snd                    65536  13 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
acpi_cpufreq           20480  0
soundcore              16384  1 snd
tpm_tis                20480  0
tpm                    36864  1 tpm_tis
video                  36864  0
button                 16384  0
processor              32768  3 acpi_cpufreq
sch_fq_codel           20480  6
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  520192  2
crc16                  16384  1 ext4
jbd2                   90112  1 ext4
mbcache                16384  3 ext4
hid_generic            16384  0
usbhid                 45056  0
hid                   114688  4 hid_generic,usbhid,hid_logitech_dj,hid_logitech_hidpp
sd_mod                 36864  3
atkbd                  24576  0
libps2                 16384  1 atkbd
ahci                   36864  2
libahci                28672  1 ahci
xhci_pci               16384  0
xhci_hcd              159744  1 xhci_pci
ehci_pci               16384  0
libata                196608  2 ahci,libahci
ohci_pci               16384  0
ohci_hcd               45056  1 ohci_pci
ehci_hcd               69632  1 ehci_pci
usbcore               200704  8 ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,ath9k_htc,xhci_hcd,xhci_pci
scsi_mod              155648  2 libata,sd_mod
usb_common             16384  1 usbcore
i8042                  24576  1 libps2
serio                  20480  4 serio_raw,atkbd,i8042
              total        used        free      shared  buff/cache   available
Mem:        1510812      189084     1107380        2948      214348     1166316
Swap:             0           0           0

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Jun 17 23:29:23 CEST 2016: performing suspend

lspci -k

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
    Subsystem: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Sumo [Radeon HD 6480G]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Sumo [Radeon HD 6480G]
    Kernel driver in use: radeon
    Kernel modules: radeon
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode] (rev 40)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode]
    Kernel driver in use: ahci
    Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
    Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
    Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    Kernel driver in use: k10temp
    Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 04)
    Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
    Kernel driver in use: r8169
    Kernel modules: r8169
02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
02:00.3 IPMI SMIC interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
    Kernel driver in use: ipmi_si
    Kernel modules: ipmi_si

Can someone help me to solve this issue?

thanks
Jan

Offline

Board footer

Powered by FluxBB