절전/일시 중지 상태로 전환하려고 하면 Linux가 중단되는 경우가 있습니다.

절전/일시 중지 상태로 전환하려고 하면 Linux가 중단되는 경우가 있습니다.

때때로 내 PC(Linux Mint 18.1)가 비활성 후 자체적으로 잠자기/일시 중지를 시도할 때 작동이 중단됩니다. 내가 돌아왔을 때 모니터는 대기 상태였지만 컴퓨터는 여전히 작동 중이었습니다(팬과 조명은 여전히 ​​켜져 있었습니다). 마우스, 키보드가 응답하지 않습니다. 이 문제를 해결하려면 하드 리셋을 해야 했습니다.

이 문제가 언제, 왜 내 시스템에 발생했는지 모르겠습니다. 이는 몇 달 전에 설치한 Wi-Fi 어댑터(TP-Link TL-WDN4800 N900)와 관련이 있을 수 있습니다.

다른 커널(4.4.0.93, 4.10.0.33, 4.11.0.14)을 사용하여 문제를 해결하려고 시도했지만 운이 없었습니다.

ATI 그래픽 어댑터가 있지만 관련 내용을 변경하지 않았으며 문제가 시작되기 전에 작동했습니다.

/var/log/syslog이것은 기계가 정지되기 전의 마지막 부분입니다.

15:53:12 NetworkManager[1275]: <info>  [1504014792.3767] manager: sleep requested (sleeping: no  enabled: yes)
15:53:12 NetworkManager[1275]: <info>  [1504014792.3768] manager: sleeping...
15:53:12 NetworkManager[1275]: <info>  [1504014792.3769] manager: NetworkManager state is now ASLEEP
15:53:12 NetworkManager[1275]: <info>  [1504014792.3773] device (wls1): state change: activated -> deactivating (reason 'sleeping') [100 110 37]
15:53:12 NetworkManager[1275]: <info>  [1504014792.3867] device (wls1): state change: deactivating -> disconnected (reason 'sleeping') [110 30 37]
15:53:12 avahi-daemon[1209]: Withdrawing address record for [ADDR REMOVED] on wls1.
15:53:12 avahi-daemon[1209]: Leaving mDNS multicast group on interface wls1.IPv6 with address [ADDR REMOVED].
15:53:12 avahi-daemon[1209]: Interface wls1.IPv6 no longer relevant for mDNS.
15:53:12 NetworkManager[1275]: <info>  [1504014792.4195] dhcp4 (wls1): canceled DHCP transaction, DHCP client pid 16722
15:53:12 NetworkManager[1275]: <info>  [1504014792.4196] dhcp4 (wls1): state changed bound -> done
15:53:12 kernel: [29251.790575] wls1: deauthenticating from [ADDR REMOVED] by local choice (Reason: 3=DEAUTH_LEAVING)
15:53:12 wpa_supplicant[1472]: wls1: CTRL-EVENT-DISCONNECTED bssid=[ADDR REMOVED] reason=3 locally_generated=1
15:53:12 NetworkManager[1275]: <info>  [1504014792.4250] dns-mgr: Removing DNS information from /sbin/resolvconf
15:53:12 avahi-daemon[1209]: Withdrawing address record for 192.168.178.14 on wls1.
15:53:12 avahi-daemon[1209]: Leaving mDNS multicast group on interface wls1.IPv4 with address 192.168.178.14.
15:53:12 avahi-daemon[1209]: Interface wls1.IPv4 no longer relevant for mDNS.
15:53:12 wpa_supplicant[1472]: wls1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
15:53:12 kernel: [29251.799071] cfg80211: World regulatory domain updated:
15:53:12 kernel: [29251.799075] cfg80211:  DFS Master region: unset
15:53:12 kernel: [29251.799077] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
15:53:12 kernel: [29251.799081] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
15:53:12 kernel: [29251.799084] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
15:53:12 kernel: [29251.799086] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
15:53:12 kernel: [29251.799089] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
15:53:12 kernel: [29251.799092] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
15:53:12 kernel: [29251.799095] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
15:53:12 kernel: [29251.799097] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
15:53:12 kernel: [29251.799099] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
15:53:12 dbus[1251]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
15:53:12 NetworkManager[1275]: <warn>  [1504014792.4609] sup-iface[[ADDR REMOVED],wls1]: connection disconnected (reason -3)
15:53:12 NetworkManager[1275]: <info>  [1504014792.4610] device (wls1): supplicant interface state: completed -> disconnected
15:53:12 NetworkManager[1275]: <info>  [1504014792.4617] device (wls1): state change: disconnected -> unmanaged (reason 'sleeping') [30 10 37]
15:53:12 systemd[1]: Starting Network Manager Script Dispatcher Service...
15:53:12 systemd[1]: Reached target Sleep.
15:53:12 systemd[1]: Starting Suspend...
15:53:12 dbus[1251]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
15:53:12 systemd[1]: Started Network Manager Script Dispatcher Service.
15:53:12 nm-dispatcher: req:1 'down' [wls1]: new request (2 scripts)
15:53:12 nm-dispatcher: req:1 'down' [wls1]: start running ordered scripts...
15:53:12 wpa_supplicant[1472]: nl80211: deinit ifname=wls1 disabled_11b_rates=0
15:53:13 ntpd[1683]: Deleting interface #11 wls1, 192.168.178.14#123, interface stats: received=136, sent=136, dropped=0, active_time=3772 secs
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: [ADDR REMOVED] local addr 192.168.178.14 -> <null>
15:53:13 ntpd[1683]: Deleting interface #12 wls1, [ADDR REMOVED]#123, interface stats: received=0, sent=0, dropped=0, active_time=3772 secs
15:53:22 systemd-sleep[17957]: Selected interface 'wls1'
15:53:22 systemd-sleep[17957]: 'SUSPEND' command timed out.
15:53:22 systemd-sleep[17959]: /lib/systemd/system-sleep/wpasupplicant failed with error code 254.
15:53:22 systemd-sleep[17957]: Suspending system...

이 문제를 해결하는 방법을 아는 사람이 있나요?

답변1

일부 응용 프로그램에는 활성 상태에서 최대 절전 모드를 비활성화하는 옵션이 있습니다. 예를 들어 Transmission-gtk에는 옵션이 있습니다 Inhibit hibernation when torrents are active. 선택을 취소해 보세요(제 경우에는 문제가 해결되었습니다).

PS Arch 리눅스, AMD Phenom2 등

관련 정보