您尚未登录。

#1 2015-07-02 07:17:23

wxg4net
会员
注册时间: 2012-01-07
帖子: 272

开机后,第一次待机后立即被唤醒.请问该如何寻其根源

第一次待机log如下

7月 02 06:39:52 pc kernel: PM: Entering mem sleep
7月 02 06:39:52 pc kernel: Suspending console(s) (use no_console_suspend to debug)
7月 02 06:39:55 pc kernel: sd 3:0:0:0: [sda] Synchronizing SCSI cache
7月 02 06:39:55 pc kernel: serial 00:05: disabled
7月 02 06:39:55 pc kernel: serial 00:05: System wakeup disabled by ACPI
7月 02 06:39:55 pc kernel: parport_pc 00:01: disabled
7月 02 06:39:55 pc kernel: sd 3:0:0:0: [sda] Stopping disk
7月 02 06:39:55 pc kernel: PM: suspend of devices complete after 377.482 msecs
7月 02 06:39:55 pc kernel: PM: late suspend of devices complete after 0.308 msecs
7月 02 06:39:55 pc kernel: ehci-pci 0000:00:02.1: System wakeup enabled by ACPI
7月 02 06:39:55 pc kernel: ohci-pci 0000:00:02.0: System wakeup enabled by ACPI
7月 02 06:39:55 pc kernel: PM: noirq suspend of devices complete after 13.042 msecs
7月 02 06:39:55 pc kernel: ACPI: Preparing to enter system sleep state S3
7月 02 06:39:55 pc kernel: PM: Saving platform NVS memory
7月 02 06:39:55 pc kernel: Disabling non-boot CPUs ...
7月 02 06:39:55 pc kernel: kvm: disabling virtualization on CPU1
7月 02 06:39:55 pc kernel: smpboot: CPU 1 is now offline
7月 02 06:39:55 pc kernel: ACPI: Low-level resume complete
7月 02 06:39:55 pc kernel: PM: Restoring platform NVS memory
7月 02 06:39:55 pc kernel: microcode: CPU0: new patch_level=0x010000c8
7月 02 06:39:55 pc kernel: LVT offset 1 assigned for vector 0x400
7月 02 06:39:55 pc kernel: IBS: LVT offset 1 assigned
7月 02 06:39:55 pc kernel: Enabling non-boot CPUs ...
7月 02 06:39:55 pc kernel: x86: Booting SMP configuration:
7月 02 06:39:55 pc kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
7月 02 06:39:55 pc kernel: Initializing CPU#1
7月 02 06:39:55 pc kernel: kvm: enabling virtualization on CPU1
7月 02 06:39:55 pc kernel: CPU1 is up
7月 02 06:39:55 pc kernel: ACPI: Waking up from system sleep state S3
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: ehci-pci 0000:00:02.1: System wakeup disabled by ACPI
7月 02 06:39:55 pc kernel: ohci-pci 0000:00:02.0: System wakeup disabled by ACPI
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: pci 0000:00:00.0: Found enabled HT MSI Mapping
7月 02 06:39:55 pc kernel: PM: noirq resume of devices complete after 12.338 msecs
7月 02 06:39:55 pc kernel: PM: early resume of devices complete after 0.234 msecs
7月 02 06:39:55 pc kernel: rtc_cmos 00:00: System wakeup disabled by ACPI
7月 02 06:39:55 pc kernel: parport_pc 00:01: activated
7月 02 06:39:55 pc kernel: serial 00:05: activated
7月 02 06:39:55 pc kernel: ata2: port disabled--ignoring
7月 02 06:39:55 pc kernel: sd 3:0:0:0: [sda] Starting disk
7月 02 06:39:55 pc kernel: forcedeth 0000:00:07.0 eth0: MSI enabled
7月 02 06:39:55 pc kernel: forcedeth 0000:00:07.0 eth0: no link during initialization
7月 02 06:39:55 pc kernel: usb 2-10: reset high-speed USB device number 5 using ehci-pci
7月 02 06:39:55 pc kernel: usb 1-4: reset low-speed USB device number 3 using ohci-pci
7月 02 06:39:55 pc kernel: ata3: SATA link down (SStatus 0 SControl 300)
7月 02 06:39:55 pc kernel: ata6: SATA link down (SStatus 0 SControl 300)
7月 02 06:39:55 pc kernel: ata5: SATA link down (SStatus 0 SControl 300)
7月 02 06:39:55 pc kernel: PM: resume of devices complete after 924.020 msecs
7月 02 06:39:55 pc kernel: PM: Finishing wakeup.


Arch Linux User

离线

#2 2015-07-03 01:59:41

applelam
苹果林里有很多苹果树
所在地: China
注册时间: 2015-07-02
帖子: 13

Re: 开机后,第一次待机后立即被唤醒.请问该如何寻其根源

离线

#3 2015-07-03 07:40:26

wxg4net
会员
注册时间: 2012-01-07
帖子: 272

Re: 开机后,第一次待机后立即被唤醒.请问该如何寻其根源

/etc/pm/config.d/
SUSPEND_MODULES="ehci_hcd uhci_hcd ohci_hcd usbcore
这个似乎有效. 看来我的搜索关键词有待提高

@applelam thx


Arch Linux User

离线

#4 2015-07-03 16:52:32

applelam
苹果林里有很多苹果树
所在地: China
注册时间: 2015-07-02
帖子: 13

Re: 开机后,第一次待机后立即被唤醒.请问该如何寻其根源

顺便一提,我搜索过程是这样的:
system remuse standby linux log

啊,删掉错字
system standby linux log

发现人家在用 suspend 而不是 standby
system suspend wakeup linux log

这样就找到了。

离线

页脚