当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 解决:系统Suspend失败
帖子发表于 : 2016-02-14 12:59 
头像

注册: 2014-02-07 17:31
帖子: 453
系统: Xubuntu 14.04.5 64位
送出感谢: 40
接收感谢: 33
我觉得我还是另辟一个新帖……https://www.ubuntu.org.cn/viewtopic.php?f=126&t=475159

vickycq 写道:
无论是 pm-suspend 还是 systemctl suspend 都提供众多调试选项,也可以在进入待机/唤醒时运行自定义脚本,对捣乱的设备/模块加以“特殊关照”。


昨晚我碰到了……
此次出现这问题,我记得之前做过一个操作:执行sudo apt-get autoremove把已不再使用的旧内核删除了。
因为我的笔记本在这3天中已使用过多次待机,都很正常,惟有当旧内核被删除后的这次待机——失败了
kashu:/etc/pm/sleep.d$ w | head -1
13:30:11 up 3 days, 23:31, 5 users, load average: 0.12, 0.09, 0.16
我让系统挂起后,它立即又自动唤醒了,完整的事件日志信息如下:
代码:
Feb 14 03:54:23 kashu kernel: [195201.761499] PM: Syncing filesystems ... done.
Feb 14 03:54:23 kashu kernel: [195201.783171] PM: Preparing system for mem sleep
Feb 14 03:54:23 kashu kernel: [195201.783320] Freezing user space processes ... (elapsed 0.001 seconds) done.
Feb 14 03:54:23 kashu kernel: [195201.784918] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 14 03:54:23 kashu kernel: [195201.786048] PM: Entering mem sleep
Feb 14 03:54:23 kashu kernel: [195201.786119] Suspending console(s) (use no_console_suspend to debug)
Feb 14 03:54:23 kashu kernel: [195201.786415] sd 5:0:0:0: [sdb] Synchronizing SCSI cache
Feb 14 03:54:23 kashu kernel: [195201.786458] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Feb 14 03:54:23 kashu kernel: [195201.786689] sd 5:0:0:0: [sdb] Stopping disk
Feb 14 03:54:23 kashu kernel: [195201.787525] sd 0:0:0:0: [sda] Stopping disk
Feb 14 03:54:23 kashu kernel: [195202.659485] PM: suspend of devices complete after 872.248 msecs
Feb 14 03:54:23 kashu kernel: [195202.675462] PM: late suspend of devices complete after 15.956 msecs
Feb 14 03:54:23 kashu kernel: [195202.675921] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Feb 14 03:54:23 kashu kernel: [195202.676037] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
Feb 14 03:54:23 kashu kernel: [195202.691564] PM: noirq suspend of devices complete after 16.081 msecs
Feb 14 03:54:23 kashu kernel: [195202.691756] ACPI: Preparing to enter system sleep state S3
Feb 14 03:54:23 kashu kernel: [195202.692074] PM: Saving platform NVS memory
Feb 14 03:54:23 kashu kernel: [195202.692571] Disabling non-boot CPUs ...
Feb 14 03:54:23 kashu kernel: [195202.692622] intel_pstate CPU 1 exiting
Feb 14 03:54:23 kashu kernel: [195202.692796] Broke affinity for irq 17
Feb 14 03:54:23 kashu kernel: [195202.693818] kvm: disabling virtualization on CPU1
Feb 14 03:54:23 kashu kernel: [195202.795517] smpboot: CPU 1 is now offline
Feb 14 03:54:23 kashu kernel: [195202.795880] intel_pstate CPU 2 exiting
Feb 14 03:54:23 kashu kernel: [195202.797039] kvm: disabling virtualization on CPU2
Feb 14 03:54:23 kashu kernel: [195202.899602] smpboot: CPU 2 is now offline
Feb 14 03:54:23 kashu kernel: [195202.899948] intel_pstate CPU 3 exiting
Feb 14 03:54:23 kashu kernel: [195202.900070] Broke affinity for irq 16
Feb 14 03:54:23 kashu kernel: [195202.900088] Broke affinity for irq 23
Feb 14 03:54:23 kashu kernel: [195202.900091] Broke affinity for irq 45
Feb 14 03:54:23 kashu kernel: [195202.901095] kvm: disabling virtualization on CPU3
Feb 14 03:54:23 kashu kernel: [195203.003725] smpboot: CPU 3 is now offline
Feb 14 03:54:23 kashu kernel: [195203.005075] ACPI: Low-level resume complete
Feb 14 03:54:23 kashu kernel: [195203.005118] PM: Restoring platform NVS memory
Feb 14 03:54:23 kashu kernel: [195203.005556] CPU0: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.005579] Enabling non-boot CPUs ...
Feb 14 03:54:23 kashu kernel: [195203.005621] x86: Booting SMP configuration:
Feb 14 03:54:23 kashu kernel: [195203.005622] smpboot: Booting Node 0 Processor 1 APIC 0x2
Feb 14 03:54:23 kashu kernel: [195203.016954] CPU1: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.016981] kvm: enabling virtualization on CPU1
Feb 14 03:54:23 kashu kernel: [195203.019248] Intel pstate controlling: cpu 1
Feb 14 03:54:23 kashu kernel: [195203.019318] CPU1 is up
Feb 14 03:54:23 kashu kernel: [195203.019336] smpboot: Booting Node 0 Processor 2 APIC 0x1
Feb 14 03:54:23 kashu kernel: [195203.030666] CPU2: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.030692] kvm: enabling virtualization on CPU2
Feb 14 03:54:23 kashu kernel: [195203.032924] Intel pstate controlling: cpu 2
Feb 14 03:54:23 kashu kernel: [195203.032973] CPU2 is up
Feb 14 03:54:23 kashu kernel: [195203.032988] smpboot: Booting Node 0 Processor 3 APIC 0x3
Feb 14 03:54:23 kashu kernel: [195203.044311] CPU3: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.044333] kvm: enabling virtualization on CPU3
Feb 14 03:54:23 kashu kernel: [195203.046597] Intel pstate controlling: cpu 3
Feb 14 03:54:23 kashu kernel: [195203.046647] CPU3 is up
Feb 14 03:54:23 kashu kernel: [195203.049830] ACPI: Waking up from system sleep state S3
Feb 14 03:54:23 kashu kernel: [195203.602052] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602278] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602349] PM: noirq resume of devices complete after 16.364 msecs
Feb 14 03:54:23 kashu kernel: [195203.602599] PM: early resume of devices complete after 0.226 msecs
Feb 14 03:54:23 kashu kernel: [195203.602636] mei_me 0000:00:16.0: irq 43 for MSI/MSI-X
Feb 14 03:54:23 kashu kernel: [195203.603182] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
Feb 14 03:54:23 kashu kernel: [195203.621930] sd 0:0:0:0: [sda] Starting disk
Feb 14 03:54:23 kashu kernel: [195203.621941] sd 5:0:0:0: [sdb] Starting disk
Feb 14 03:54:23 kashu kernel: [195203.638005] [drm] Wrong MCH_SSKPD value: 0x20100406
Feb 14 03:54:23 kashu kernel: [195203.638006] [drm] This can cause pipe underruns and display issues.
Feb 14 03:54:23 kashu kernel: [195203.638006] [drm] Please upgrade your BIOS to fix this.
Feb 14 03:54:23 kashu kernel: [195203.942252] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Feb 14 03:54:23 kashu kernel: [195203.942627] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:23 kashu kernel: [195203.942631] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:23 kashu kernel: [195203.942633] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943176] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:23 kashu kernel: [195203.943177] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943179] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943331] ata1.00: configured for UDMA/133
Feb 14 03:54:23 kashu kernel: [195204.030355] usb 1-1.2: reset low-speed USB device number 10 using ehci-pci
Feb 14 03:54:23 kashu kernel: [195204.315409] PM: resume of devices complete after 711.993 msecs
Feb 14 03:54:23 kashu kernel: [195204.315575] PM: Finishing wakeup.
Feb 14 03:54:23 kashu kernel: [195204.315576] Restarting tasks ...
Feb 14 03:54:23 kashu kernel: [195204.321855] usb 1-1.1: USB disconnect, device number 11
Feb 14 03:54:23 kashu acpid: input device has been disconnected, fd 17
Feb 14 03:54:23 kashu kernel: [195204.326147] done.
Feb 14 03:54:23 kashu kernel: [195204.326157] video LNXVIDEO:00: Restoring backlight state
Feb 14 03:54:23 kashu acpid: input device has been disconnected, fd 18
Feb 14 03:54:23 kashu kernel: [195204.395694] psmouse serio2: synaptics: queried max coordinates: x [..5584], y [..4434]
Feb 14 03:54:23 kashu kernel: [195204.574955] usb 1-1.1: new low-speed USB device number 12 using ehci-pci
Feb 14 03:54:23 kashu kernel: [195204.672845] usb 1-1.1: New USB device found, idVendor=0e8f, idProduct=0020
Feb 14 03:54:23 kashu kernel: [195204.672850] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 14 03:54:23 kashu kernel: [195204.672853] usb 1-1.1: Product: PS2toUSB Adapter
Feb 14 03:54:23 kashu kernel: [195204.672855] usb 1-1.1: Manufacturer: GASIA
Feb 14 03:54:23 kashu kernel: [195204.675881] input: GASIA PS2toUSB Adapter as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:0E8F:0020.000F/input/input64
Feb 14 03:54:23 kashu kernel: [195204.676045] hid-generic 0003:0E8F:0020.000F: input,hidraw0: USB HID v1.10 Keyboard [GASIA PS2toUSB Adapter] on usb-0000:00:1a.0-1.1/input0
Feb 14 03:54:23 kashu kernel: [195204.680511] input: GASIA PS2toUSB Adapter as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:0E8F:0020.0010/input/input65
Feb 14 03:54:23 kashu kernel: [195204.680689] hid-generic 0003:0E8F:0020.0010: input,hidraw1: USB HID v1.10 Mouse [GASIA PS2toUSB Adapter] on usb-0000:00:1a.0-1.1/input1
Feb 14 03:54:23 kashu mtp-probe: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Feb 14 03:54:23 kashu mtp-probe: bus: 1, device: 12 was not an MTP device
Feb 14 03:54:24 kashu kernel: [195205.155633] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
Feb 14 03:54:24 kashu kernel: [195205.632162] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Feb 14 03:54:24 kashu kernel: [195205.655210] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:24 kashu kernel: [195205.655216] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:24 kashu kernel: [195205.655220] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:24 kashu kernel: [195205.659606] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:24 kashu kernel: [195205.659611] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:24 kashu kernel: [195205.659614] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:24 kashu kernel: [195205.661553] ata6.00: configured for UDMA/133
Feb 14 03:54:24 kashu anacron[20009]: Anacron 2.3 started on 2016-02-14
Feb 14 03:54:24 kashu anacron[20009]: Will run job `cron.daily' in 5 min.
Feb 14 03:54:24 kashu anacron[20009]: Jobs will be executed sequentially
Feb 14 03:54:25 kashu kernel: [195206.228267] xhci_hcd 0000:00:14.0: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.228277] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
Feb 14 03:54:25 kashu kernel: [195206.229379] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
Feb 14 03:54:25 kashu kernel: [195206.229400] xhci_hcd 0000:00:14.0: irq 48 for MSI/MSI-X
Feb 14 03:54:25 kashu kernel: [195206.229467] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
Feb 14 03:54:25 kashu kernel: [195206.229469] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 14 03:54:25 kashu kernel: [195206.229470] usb usb3: Product: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.229471] usb usb3: Manufacturer: Linux 3.16.0-60-generic xhci_hcd
Feb 14 03:54:25 kashu kernel: [195206.229472] usb usb3: SerialNumber: 0000:00:14.0
Feb 14 03:54:25 kashu kernel: [195206.229614] hub 3-0:1.0: USB hub found
Feb 14 03:54:25 kashu kernel: [195206.229627] hub 3-0:1.0: 4 ports detected
Feb 14 03:54:25 kashu kernel: [195206.248910] xhci_hcd 0000:00:14.0: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.248918] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
Feb 14 03:54:25 kashu kernel: [195206.248998] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
Feb 14 03:54:25 kashu kernel: [195206.249001] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 14 03:54:25 kashu kernel: [195206.249003] usb usb4: Product: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.249005] usb usb4: Manufacturer: Linux 3.16.0-60-generic xhci_hcd
Feb 14 03:54:25 kashu kernel: [195206.249007] usb usb4: SerialNumber: 0000:00:14.0
Feb 14 03:54:25 kashu kernel: [195206.249203] hub 4-0:1.0: USB hub found
Feb 14 03:54:25 kashu kernel: [195206.249218] hub 4-0:1.0: 4 ports detected
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> wake requested (sleeping: yes  enabled: yes)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> waking up and re-enabling...
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): bringing up device.
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): deactivating device (reason 'managed') [2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): bringing up device.
Feb 14 03:54:25 kashu dnsmasq[4261]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4261]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4261]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> NetworkManager state is now CONNECTED_GLOBAL
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): bringing up device.
Feb 14 03:54:25 kashu dnsmasq[1482]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[1482]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[1482]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4350]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4219]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4385]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4350]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4350]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4219]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4219]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4385]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4385]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): preparing device.
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): deactivating device (reason 'managed') [2]
Feb 14 03:54:25 kashu kernel: [195206.480135] r8169 0000:03:00.0 eth0: link down
Feb 14 03:54:25 kashu kernel: [195206.480141] r8169 0000:03:00.0 eth0: link down
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> NetworkManager state is now DISCONNECTED



Feb 14 03:54:23 kashu kernel: [195203.049830] ACPI: Waking up from system sleep state S3
Feb 14 03:54:23 kashu kernel: [195203.602052] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602278] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI



为了解决此问题,我在网上找了条命令(http://askubuntu.com/questions/552345/can-not-suspend-my-laptop-asus),运行后,再suspend,就成功了
代码:
先查看一下:
kashu:/var/log$ for i in XHC EHC1 EHC2; do grep $i /proc/acpi/wakeup | grep enabled; done
XHC     S4   *enabled   pci:0000:00:14.0
EHC1     S4   *enabled   pci:0000:00:1d.0
EHC2     S4   *enabled   pci:0000:00:1a.0

kashu:/var/log$ for device in XHC EHC1 EHC2;do grep $device /proc/acpi/wakeup|grep -sq enabled && echo $device|sudo tee /proc/acpi/wakeup;done


我在网上查了一下,最好把脚本写入到/etc/pm/sleep.d中:
http://thecodecentral.com/2011/01/18/fi ... orking-bug

我想说的是,这种N多年前就已出现的老问题,却始终并反复在新版本的Ubuntu/Xubuntu(包括LTS版本)中能遭遇到,而且是很多人能遇到……
包括大家很熟悉的笔记本屏幕亮度无法保存的问题,N多年前开始就有这问题

到底是系统制作商漫不经心的缘故?还是这种问题的处理对系统制作商而言是心有余而力不足呢?或者这是用户的错误?
我觉得想要用好Xubuntu/Ubuntu确实不是很容易,对于新手而言,碰到的困难会更多。但我还是想继续用…… :Haha


_________________


OS: Xubuntu 14.04.5 LTS 64-bit
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
RAM: 12GB DDR3 1333MHz
128GB SSD + 2TB HDD
神舟优雅A480B-I5B 购于 2012.08

YouTube频道:https://www.youtube.com/channel/UCGSPXZ7DbSc8QDuDYX8L6Qg


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 解决:系统Suspend失败
帖子发表于 : 2016-03-23 9:21 

注册: 2013-05-26 6:58
帖子: 2157
系统: Debian 9
送出感谢: 893
接收感谢: 30
kashu 写道:
我觉得我还是另辟一个新帖……https://www.ubuntu.org.cn/viewtopic.php?f=126&t=475159

vickycq 写道:
无论是 pm-suspend 还是 systemctl suspend 都提供众多调试选项,也可以在进入待机/唤醒时运行自定义脚本,对捣乱的设备/模块加以“特殊关照”。


昨晚我碰到了……
此次出现这问题,我记得之前做过一个操作:执行sudo apt-get autoremove把已不再使用的旧内核删除了。
因为我的笔记本在这3天中已使用过多次待机,都很正常,惟有当旧内核被删除后的这次待机——失败了
kashu:/etc/pm/sleep.d$ w | head -1
13:30:11 up 3 days, 23:31, 5 users, load average: 0.12, 0.09, 0.16
我让系统挂起后,它立即又自动唤醒了,完整的事件日志信息如下:
代码:
Feb 14 03:54:23 kashu kernel: [195201.761499] PM: Syncing filesystems ... done.
Feb 14 03:54:23 kashu kernel: [195201.783171] PM: Preparing system for mem sleep
Feb 14 03:54:23 kashu kernel: [195201.783320] Freezing user space processes ... (elapsed 0.001 seconds) done.
Feb 14 03:54:23 kashu kernel: [195201.784918] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 14 03:54:23 kashu kernel: [195201.786048] PM: Entering mem sleep
Feb 14 03:54:23 kashu kernel: [195201.786119] Suspending console(s) (use no_console_suspend to debug)
Feb 14 03:54:23 kashu kernel: [195201.786415] sd 5:0:0:0: [sdb] Synchronizing SCSI cache
Feb 14 03:54:23 kashu kernel: [195201.786458] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Feb 14 03:54:23 kashu kernel: [195201.786689] sd 5:0:0:0: [sdb] Stopping disk
Feb 14 03:54:23 kashu kernel: [195201.787525] sd 0:0:0:0: [sda] Stopping disk
Feb 14 03:54:23 kashu kernel: [195202.659485] PM: suspend of devices complete after 872.248 msecs
Feb 14 03:54:23 kashu kernel: [195202.675462] PM: late suspend of devices complete after 15.956 msecs
Feb 14 03:54:23 kashu kernel: [195202.675921] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Feb 14 03:54:23 kashu kernel: [195202.676037] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
Feb 14 03:54:23 kashu kernel: [195202.691564] PM: noirq suspend of devices complete after 16.081 msecs
Feb 14 03:54:23 kashu kernel: [195202.691756] ACPI: Preparing to enter system sleep state S3
Feb 14 03:54:23 kashu kernel: [195202.692074] PM: Saving platform NVS memory
Feb 14 03:54:23 kashu kernel: [195202.692571] Disabling non-boot CPUs ...
Feb 14 03:54:23 kashu kernel: [195202.692622] intel_pstate CPU 1 exiting
Feb 14 03:54:23 kashu kernel: [195202.692796] Broke affinity for irq 17
Feb 14 03:54:23 kashu kernel: [195202.693818] kvm: disabling virtualization on CPU1
Feb 14 03:54:23 kashu kernel: [195202.795517] smpboot: CPU 1 is now offline
Feb 14 03:54:23 kashu kernel: [195202.795880] intel_pstate CPU 2 exiting
Feb 14 03:54:23 kashu kernel: [195202.797039] kvm: disabling virtualization on CPU2
Feb 14 03:54:23 kashu kernel: [195202.899602] smpboot: CPU 2 is now offline
Feb 14 03:54:23 kashu kernel: [195202.899948] intel_pstate CPU 3 exiting
Feb 14 03:54:23 kashu kernel: [195202.900070] Broke affinity for irq 16
Feb 14 03:54:23 kashu kernel: [195202.900088] Broke affinity for irq 23
Feb 14 03:54:23 kashu kernel: [195202.900091] Broke affinity for irq 45
Feb 14 03:54:23 kashu kernel: [195202.901095] kvm: disabling virtualization on CPU3
Feb 14 03:54:23 kashu kernel: [195203.003725] smpboot: CPU 3 is now offline
Feb 14 03:54:23 kashu kernel: [195203.005075] ACPI: Low-level resume complete
Feb 14 03:54:23 kashu kernel: [195203.005118] PM: Restoring platform NVS memory
Feb 14 03:54:23 kashu kernel: [195203.005556] CPU0: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.005579] Enabling non-boot CPUs ...
Feb 14 03:54:23 kashu kernel: [195203.005621] x86: Booting SMP configuration:
Feb 14 03:54:23 kashu kernel: [195203.005622] smpboot: Booting Node 0 Processor 1 APIC 0x2
Feb 14 03:54:23 kashu kernel: [195203.016954] CPU1: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.016981] kvm: enabling virtualization on CPU1
Feb 14 03:54:23 kashu kernel: [195203.019248] Intel pstate controlling: cpu 1
Feb 14 03:54:23 kashu kernel: [195203.019318] CPU1 is up
Feb 14 03:54:23 kashu kernel: [195203.019336] smpboot: Booting Node 0 Processor 2 APIC 0x1
Feb 14 03:54:23 kashu kernel: [195203.030666] CPU2: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.030692] kvm: enabling virtualization on CPU2
Feb 14 03:54:23 kashu kernel: [195203.032924] Intel pstate controlling: cpu 2
Feb 14 03:54:23 kashu kernel: [195203.032973] CPU2 is up
Feb 14 03:54:23 kashu kernel: [195203.032988] smpboot: Booting Node 0 Processor 3 APIC 0x3
Feb 14 03:54:23 kashu kernel: [195203.044311] CPU3: Thermal monitoring handled by SMI
Feb 14 03:54:23 kashu kernel: [195203.044333] kvm: enabling virtualization on CPU3
Feb 14 03:54:23 kashu kernel: [195203.046597] Intel pstate controlling: cpu 3
Feb 14 03:54:23 kashu kernel: [195203.046647] CPU3 is up
Feb 14 03:54:23 kashu kernel: [195203.049830] ACPI: Waking up from system sleep state S3
Feb 14 03:54:23 kashu kernel: [195203.602052] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602278] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602349] PM: noirq resume of devices complete after 16.364 msecs
Feb 14 03:54:23 kashu kernel: [195203.602599] PM: early resume of devices complete after 0.226 msecs
Feb 14 03:54:23 kashu kernel: [195203.602636] mei_me 0000:00:16.0: irq 43 for MSI/MSI-X
Feb 14 03:54:23 kashu kernel: [195203.603182] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
Feb 14 03:54:23 kashu kernel: [195203.621930] sd 0:0:0:0: [sda] Starting disk
Feb 14 03:54:23 kashu kernel: [195203.621941] sd 5:0:0:0: [sdb] Starting disk
Feb 14 03:54:23 kashu kernel: [195203.638005] [drm] Wrong MCH_SSKPD value: 0x20100406
Feb 14 03:54:23 kashu kernel: [195203.638006] [drm] This can cause pipe underruns and display issues.
Feb 14 03:54:23 kashu kernel: [195203.638006] [drm] Please upgrade your BIOS to fix this.
Feb 14 03:54:23 kashu kernel: [195203.942252] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Feb 14 03:54:23 kashu kernel: [195203.942627] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:23 kashu kernel: [195203.942631] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:23 kashu kernel: [195203.942633] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943176] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:23 kashu kernel: [195203.943177] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943179] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:23 kashu kernel: [195203.943331] ata1.00: configured for UDMA/133
Feb 14 03:54:23 kashu kernel: [195204.030355] usb 1-1.2: reset low-speed USB device number 10 using ehci-pci
Feb 14 03:54:23 kashu kernel: [195204.315409] PM: resume of devices complete after 711.993 msecs
Feb 14 03:54:23 kashu kernel: [195204.315575] PM: Finishing wakeup.
Feb 14 03:54:23 kashu kernel: [195204.315576] Restarting tasks ...
Feb 14 03:54:23 kashu kernel: [195204.321855] usb 1-1.1: USB disconnect, device number 11
Feb 14 03:54:23 kashu acpid: input device has been disconnected, fd 17
Feb 14 03:54:23 kashu kernel: [195204.326147] done.
Feb 14 03:54:23 kashu kernel: [195204.326157] video LNXVIDEO:00: Restoring backlight state
Feb 14 03:54:23 kashu acpid: input device has been disconnected, fd 18
Feb 14 03:54:23 kashu kernel: [195204.395694] psmouse serio2: synaptics: queried max coordinates: x [..5584], y [..4434]
Feb 14 03:54:23 kashu kernel: [195204.574955] usb 1-1.1: new low-speed USB device number 12 using ehci-pci
Feb 14 03:54:23 kashu kernel: [195204.672845] usb 1-1.1: New USB device found, idVendor=0e8f, idProduct=0020
Feb 14 03:54:23 kashu kernel: [195204.672850] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 14 03:54:23 kashu kernel: [195204.672853] usb 1-1.1: Product: PS2toUSB Adapter
Feb 14 03:54:23 kashu kernel: [195204.672855] usb 1-1.1: Manufacturer: GASIA
Feb 14 03:54:23 kashu kernel: [195204.675881] input: GASIA PS2toUSB Adapter as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:0E8F:0020.000F/input/input64
Feb 14 03:54:23 kashu kernel: [195204.676045] hid-generic 0003:0E8F:0020.000F: input,hidraw0: USB HID v1.10 Keyboard [GASIA PS2toUSB Adapter] on usb-0000:00:1a.0-1.1/input0
Feb 14 03:54:23 kashu kernel: [195204.680511] input: GASIA PS2toUSB Adapter as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:0E8F:0020.0010/input/input65
Feb 14 03:54:23 kashu kernel: [195204.680689] hid-generic 0003:0E8F:0020.0010: input,hidraw1: USB HID v1.10 Mouse [GASIA PS2toUSB Adapter] on usb-0000:00:1a.0-1.1/input1
Feb 14 03:54:23 kashu mtp-probe: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Feb 14 03:54:23 kashu mtp-probe: bus: 1, device: 12 was not an MTP device
Feb 14 03:54:24 kashu kernel: [195205.155633] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
Feb 14 03:54:24 kashu kernel: [195205.632162] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Feb 14 03:54:24 kashu kernel: [195205.655210] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:24 kashu kernel: [195205.655216] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:24 kashu kernel: [195205.655220] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:24 kashu kernel: [195205.659606] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Feb 14 03:54:24 kashu kernel: [195205.659611] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 14 03:54:24 kashu kernel: [195205.659614] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Feb 14 03:54:24 kashu kernel: [195205.661553] ata6.00: configured for UDMA/133
Feb 14 03:54:24 kashu anacron[20009]: Anacron 2.3 started on 2016-02-14
Feb 14 03:54:24 kashu anacron[20009]: Will run job `cron.daily' in 5 min.
Feb 14 03:54:24 kashu anacron[20009]: Jobs will be executed sequentially
Feb 14 03:54:25 kashu kernel: [195206.228267] xhci_hcd 0000:00:14.0: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.228277] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
Feb 14 03:54:25 kashu kernel: [195206.229379] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
Feb 14 03:54:25 kashu kernel: [195206.229400] xhci_hcd 0000:00:14.0: irq 48 for MSI/MSI-X
Feb 14 03:54:25 kashu kernel: [195206.229467] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
Feb 14 03:54:25 kashu kernel: [195206.229469] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 14 03:54:25 kashu kernel: [195206.229470] usb usb3: Product: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.229471] usb usb3: Manufacturer: Linux 3.16.0-60-generic xhci_hcd
Feb 14 03:54:25 kashu kernel: [195206.229472] usb usb3: SerialNumber: 0000:00:14.0
Feb 14 03:54:25 kashu kernel: [195206.229614] hub 3-0:1.0: USB hub found
Feb 14 03:54:25 kashu kernel: [195206.229627] hub 3-0:1.0: 4 ports detected
Feb 14 03:54:25 kashu kernel: [195206.248910] xhci_hcd 0000:00:14.0: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.248918] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
Feb 14 03:54:25 kashu kernel: [195206.248998] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
Feb 14 03:54:25 kashu kernel: [195206.249001] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 14 03:54:25 kashu kernel: [195206.249003] usb usb4: Product: xHCI Host Controller
Feb 14 03:54:25 kashu kernel: [195206.249005] usb usb4: Manufacturer: Linux 3.16.0-60-generic xhci_hcd
Feb 14 03:54:25 kashu kernel: [195206.249007] usb usb4: SerialNumber: 0000:00:14.0
Feb 14 03:54:25 kashu kernel: [195206.249203] hub 4-0:1.0: USB hub found
Feb 14 03:54:25 kashu kernel: [195206.249218] hub 4-0:1.0: 4 ports detected
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> wake requested (sleeping: yes  enabled: yes)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> waking up and re-enabling...
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): bringing up device.
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): deactivating device (reason 'managed') [2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (wlan0): bringing up device.
Feb 14 03:54:25 kashu dnsmasq[4261]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4261]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4261]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> NetworkManager state is now CONNECTED_GLOBAL
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): bringing up device.
Feb 14 03:54:25 kashu dnsmasq[1482]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[1482]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[1482]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4350]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4219]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4385]: reading /etc/resolv.conf
Feb 14 03:54:25 kashu dnsmasq[4350]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4350]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4219]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4219]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu dnsmasq[4385]: using nameserver 8.8.4.4#53
Feb 14 03:54:25 kashu dnsmasq[4385]: using nameserver 8.8.8.8#53
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): preparing device.
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> (eth0): deactivating device (reason 'managed') [2]
Feb 14 03:54:25 kashu kernel: [195206.480135] r8169 0000:03:00.0 eth0: link down
Feb 14 03:54:25 kashu kernel: [195206.480141] r8169 0000:03:00.0 eth0: link down
Feb 14 03:54:25 kashu NetworkManager[1144]: <info> NetworkManager state is now DISCONNECTED



Feb 14 03:54:23 kashu kernel: [195203.049830] ACPI: Waking up from system sleep state S3
Feb 14 03:54:23 kashu kernel: [195203.602052] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Feb 14 03:54:23 kashu kernel: [195203.602278] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI



为了解决此问题,我在网上找了条命令(http://askubuntu.com/questions/552345/can-not-suspend-my-laptop-asus),运行后,再suspend,就成功了
代码:
先查看一下:
kashu:/var/log$ for i in XHC EHC1 EHC2; do grep $i /proc/acpi/wakeup | grep enabled; done
XHC     S4   *enabled   pci:0000:00:14.0
EHC1     S4   *enabled   pci:0000:00:1d.0
EHC2     S4   *enabled   pci:0000:00:1a.0

kashu:/var/log$ for device in XHC EHC1 EHC2;do grep $device /proc/acpi/wakeup|grep -sq enabled && echo $device|sudo tee /proc/acpi/wakeup;done


我在网上查了一下,最好把脚本写入到/etc/pm/sleep.d中:
http://thecodecentral.com/2011/01/18/fi ... orking-bug

我想说的是,这种N多年前就已出现的老问题,却始终并反复在新版本的Ubuntu/Xubuntu(包括LTS版本)中能遭遇到,而且是很多人能遇到……
包括大家很熟悉的笔记本屏幕亮度无法保存的问题,N多年前开始就有这问题

到底是系统制作商漫不经心的缘故?还是这种问题的处理对系统制作商而言是心有余而力不足呢?或者这是用户的错误?
我觉得想要用好Xubuntu/Ubuntu确实不是很容易,对于新手而言,碰到的困难会更多。但我还是想继续用…… :Haha



引用:
到底是系统制作商漫不经心的缘故?还是这种问题的处理对系统制作商而言是心有余而力不足呢?或者这是用户的错误?

一种说法是"自由软件的开发者就是其用户"
另一种说法是Ubuntu这类商业支持的发行版会故意留一些坑来引诱用户购买他们的技术支持.

以前编译内核时,/boot目录下提供的内核配置文件居然还是有微小错误的...(虽然错误微小但影响可不小,折腾了一段时间才成功编译装上能用的内核)


_________________
Linux桌面优化综合贴[2017.09.18](欢迎各位补充或指正误区)
[2016.03.10]会C语言但看不懂英文文档的点这里,一个用C语言编写的简陋学习工具
单硬盘通过iso文件实机安装Debian的方法
重启或操作fcitx时失去响应的一个解决方法,不妨试试看


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译