2012년 2월 6일 월요일

Suspend to Ram에 생긴 그간의 문제 해결

그 동안 debian wheezy의 hibernation은 잘 동작하였다.
그러니 suspend에 필요한 기본적인 동작들은 완벽하다.
하지만 Suspend to Ram에서 복구하는 기능은 마우스 커서가 살아있는 상태에서
멈춰서 버린다. 그래서 Ctrl+Alt+F1으로 관리자 터미널을 띄워서 재부팅하였다.
그리고 /var/log/pm-suspend.log의 기록들을 확인해 보았다.
다음과 같은 실패 항목들이 나타난다.


/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

자세한 내용들을 찾아 보려고 googling을 해보았지만, 시원한 해결책은 없었다.
그져 네트워크 문제라고 유추해 볼 뿐이다.

네트워크의 가장 기초적인 설정을 살펴 보았다. 다음과 같이 되어있었다.


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

#auto wlan0
#iface wlan0 inet dhcp
# wpa-ssid networkname
# wpa-psk password

아. 이 모든 것들은 필요에 따라 조금씩 수정해 보왔던 내 탓이다.
그래도 잘 동작했었다. 가끔씩 resume이 안되었을 때가 있었지만.
그리고 suspend to Ram은 잘 사용하지도 않는다.

그래서 다시 되돌려 놓았다. 문제되는 NetworkManager와 wpa-ssid, wpa-psk항목들을 제외하고, 그러니 되돌아 왔다.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager
iface eth0 inet dhcp

auto wlan0
#iface wlan0 inet dhcp
# wpa-ssid networkname
# wpa-psk password

이로써 Suspend to Ram도 잘 동작하였다.

댓글 없음:

댓글 쓰기