我刚刚在 Acer Aspire V3-771G-73638G500Maii 上安装了 LinuxMint15。
冬眠有效。但挂起至 RAM 则不然。
单击暂停时:几秒钟后屏幕变灰然后关闭。网络关闭。计算机的风扇停止旋转。电源 LED 缓慢闪烁橙色。电池 LED 仍然亮着。总而言之,这是我所期望的。
单击电源按钮时,风扇打开。电源 LED 呈蓝色。硬盘 LED 闪烁几次。到目前为止,它看起来就像我所期望的那样。但随后:屏幕仍然关闭。网络仍然处于关闭状态。在挂起之前启动的正在运行的“猫”不会继续运行(即硬盘 LED 不会开始频繁闪烁)。
再次单击电源按钮没有任何反应。需要关闭电源。 Ctrl-Alt-SysRq-REISUB 不引导系统。
这让我相信这不仅仅是重新激活显卡的问题,而是系统没有运行的问题。
系统具有全盘加密,因此此问题可能是系统选择了错误的显卡(屏幕上没有显示任何内容)并等待密码,但盲目输入密码没有任何作用(即运行的“cat”没有任何作用)继续)。
到底是怎么回事?我该如何修复它,以便挂起到内存(和恢复)真正起作用?
系统信息:
Linux mint15 3.8.0-25-generic #37-Ubuntu SMP 星期四 6 月 6 日 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
两个显卡 (lshw):
description: VGA compatible controller
product: GK107M [GeForce GT 740M]
vendor: NVIDIA Corporation
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
我很确定它只使用 Intel 卡(syslog 或 Xorg.0.log 中没有任何关于 nv、nvidia、nouveau 的信息)。我将其添加到 /etc/default/grub 中,以便从休眠状态恢复图形:
GRUB_GFXPAYLOAD_LINUX=text
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
系统具有全盘加密。
pm-挂起.log:
Initial commandline parameters:
Sat Oct 12 11:10:07 CEST 2013: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux aspire 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Module Size Used by
autofs4 36475 1
rfcomm 42641 16
bnep 18036 2
parport_pc 28152 0
ppdev 17073 0
binfmt_misc 17500 1
nfsd 248016 2
auth_rpcgss 40632 1 nfsd
nfs_acl 12837 1 nfsd
nfs 164047 0
lockd 76670 2 nfs,nfsd
sunrpc 235585 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
fscache 57430 1 nfs
ext2 72837 1
uvcvideo 80847 0
videobuf2_vmalloc 13056 1 uvcvideo
videobuf2_memops 13202 1 videobuf2_vmalloc
videobuf2_core 40513 1 uvcvideo
videodev 129260 2 uvcvideo,videobuf2_core
coretemp 13355 0
kvm_intel 132891 0
kvm 443165 1 kvm_intel
joydev 17377 0
arc4 12615 2
snd_hda_codec_hdmi 36913 1
snd_hda_codec_realtek 78399 1
ath9k 149924 0
ath9k_common 14055 1 ath9k
snd_hda_intel 39619 3
ath9k_hw 413680 2 ath9k_common,ath9k
snd_hda_codec 136453 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
ath 23827 3 ath9k_common,ath9k,ath9k_hw
snd_pcm 97451 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
mac80211 606457 1 ath9k
snd_seq_midi 13324 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30180 1 snd_seq_midi
snd_seq 61554 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
cfg80211 510937 3 ath,ath9k,mac80211
snd_timer 29425 2 snd_pcm,snd_seq
ath3k 12918 0
acer_wmi 32467 0
sparse_keymap 13890 1 acer_wmi
mac_hid 13205 0
snd 68876 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
btusb 22474 0
psmouse 95870 0
mei 41158 0
bluetooth 228619 23 bnep,ath3k,btusb,rfcomm
lp 17759 0
parport 46345 3 lp,ppdev,parport_pc
rtsx_pci_ms 13011 0
lpc_ich 17061 0
memstick 16554 1 rtsx_pci_ms
soundcore 12680 1 snd
serio_raw 13215 0
microcode 22881 0
dm_multipath 22843 0
scsi_dh 14843 1 dm_multipath
btrfs 785967 0
zlib_deflate 26885 1 btrfs
libcrc32c 12615 1 btrfs
dm_crypt 22820 1
raid10 48088 0
raid456 65844 0
async_memcpy 12529 1 raid456
async_raid6_recov 12795 1 raid456
async_pq 12912 1 raid456
async_xor 12777 2 async_pq,raid456
async_tx 13291 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
raid6_pq 97812 2 async_pq,async_raid6_recov
raid1 35240 0
raid0 17159 0
multipath 13145 0
linear 12894 0
dm_raid45 76725 0
xor 17116 2 async_xor,dm_raid45
dm_mirror 21946 0
dm_region_hash 20820 1 dm_mirror
dm_log 18529 3 dm_region_hash,dm_mirror,dm_raid45
rtsx_pci_sdmmc 17475 0
ghash_clmulni_intel 13259 0
aesni_intel 55399 2
aes_x86_64 17255 1 aesni_intel
xts 12885 1 aesni_intel
lrw 13257 1 aesni_intel
gf128mul 14951 2 lrw,xts
ablk_helper 13597 1 aesni_intel
cryptd 20373 4 ghash_clmulni_intel,aesni_intel,ablk_helper
i915 600396 0
video 19390 2 i915,acer_wmi
i2c_algo_bit 13413 1 i915
ahci 25731 2
drm_kms_helper 49394 1 i915
libahci 31364 1 ahci
rtsx_pci 33355 2 rtsx_pci_ms,rtsx_pci_sdmmc
atl1c 41071 0
wmi 19070 1 acer_wmi
drm 286028 2 i915,drm_kms_helper
total used free shared buffers cached
Mem: 7993996 902544 7091452 0 54568 441044
-/+ buffers/cache: 406932 7587064
Swap: 8200188 0 8200188
/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 /etc/pm/sleep.d/10_grub-common suspend suspend:
/etc/pm/sleep.d/10_grub-common suspend suspend: success.
Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate 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
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
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/95anacron suspend suspend:
stop: Unknown instance:
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Using last known working set of 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:
/usr/lib/pm-utils/sleep.d/99video: 22: /usr/lib/pm-utils/sleep.d/99video: shopt: not found
kernel.acpi_video_flags = 0
Allocated buffer at 0x11000 (base is 0x0)
ES: 0x1100 EBX: 0x0000
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Running hook /etc/pm/sleep.d/novatel_3g_suspend suspend suspend:
/etc/pm/sleep.d/novatel_3g_suspend suspend suspend: success.
Sat Oct 12 11:10:09 CEST 2013: performing suspend
答案1
我安装了 uswsusp 并且可以正常工作:
s2ram -f -a 1
非常感谢@frostschutz,他让我运行hibernate-ram
,但失败了:
hibernate-ram:Warning: Tuxonice binary signature file not found.
s2ram: unknown machine, see s2ram(8) and the USuspendRamForce option
hibernate-ram: Aborting.
从而让我尝试一下s2ram
。
从视觉上看,它以完全相同的方式暂停(灰屏,然后关闭),但恢复实际上有效。
不幸的是它打破了冬眠。哦,好吧,无法赢得一切。