suspend/freeze

637 views
Skip to first unread message

youling 257

unread,
Apr 20, 2017, 9:16:43 AM4/20/17
to Android-x86

<5>[  105.337591] Cannot set affinity for irq 8
<6>[  105.338903] smpboot: CPU 1 is now offline
<6>[  105.357340] smpboot: CPU 2 is now offline
<38>[  105.368849] type=1400 audit(1492691181.156:969): avc: denied { read } for pid=4506 comm="IntentService[D" name="su" dev="mmcblk1p9" ino=14932 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file permissive=1
<6>[  105.380550] smpboot: CPU 3 is now offline
<6>[  105.385867] PM: Syncing filesystems ... done.
<7>[  105.723332] PM: Preparing system for sleep (freeze)
<38>[  105.726587] type=1400 audit(1492691181.521:970): avc: denied { read } for pid=5098 comm="kworker/u8:4" name="firmware" dev="mmcblk1p9" ino=17992 scontext=u:r:kernel:s0 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file permissive=1
<6>[  105.734524] Freezing user space processes ... (elapsed 0.004 seconds) done.
<6>[  105.739247] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
<7>[  105.740476] PM: Suspending system (freeze)
<4>[  105.740481] Suspending console(s) (use no_console_suspend to debug)
<3>[  105.754328] dpm_run_callback(): platform_pm_suspend+0x0/0x37 returns -5
<3>[  105.754334] PM: Device alarmtimer failed to suspend: error -5
<3>[  105.754512] PM: Some devices failed to suspend, or early wake event detected
<4>[  105.754555] hub 1-0:1.0: Unbalanced pm_runtime_enable!
<4>[  105.754575] usb usb1-port1: Unbalanced pm_runtime_enable!
<4>[  105.754594] usb usb1-port2: Unbalanced pm_runtime_enable!
<4>[  105.754613] usb usb1-port3: Unbalanced pm_runtime_enable!
<4>[  105.754631] usb usb1-port4: Unbalanced pm_runtime_enable!
<4>[  105.754649] usb usb1-port5: Unbalanced pm_runtime_enable!
<4>[  105.754666] usb usb1-port6: Unbalanced pm_runtime_enable!
<4>[  105.754722] hub 2-0:1.0: Unbalanced pm_runtime_enable!
<4>[  105.754741] usb usb2-port1: Unbalanced pm_runtime_enable!
<4>[  105.754870] hub 1-1:1.0: Unbalanced pm_runtime_enable!
<4>[  105.754889] usb 1-1-port1: Unbalanced pm_runtime_enable!
<4>[  105.754907] usb 1-1-port2: Unbalanced pm_runtime_enable!
<4>[  105.754925] usb 1-1-port3: Unbalanced pm_runtime_enable!
<4>[  105.754943] usb 1-1-port4: Unbalanced pm_runtime_enable!
<4>[  105.755013] usbhid 1-1.1:1.0: Unbalanced pm_runtime_enable!
<4>[  105.755058] usbhid 1-1.1:1.1: Unbalanced pm_runtime_enable!
<4>[  105.755129] usb-storage 1-1.2:1.0: Unbalanced pm_runtime_enable!
<4>[  105.755223] hub 1-1.3:1.0: Unbalanced pm_runtime_enable!
<4>[  105.755254] usb 1-1.3-port1: Unbalanced pm_runtime_enable!
<4>[  105.755272] usb 1-1.3-port2: Unbalanced pm_runtime_enable!
<4>[  105.755310] usb 1-1.3-port3: Unbalanced pm_runtime_enable!
<4>[  105.755334] usb 1-1.3-port4: Unbalanced pm_runtime_enable!
<4>[  105.755381] ax88179_178a 1-1.3.1:1.0: Unbalanced pm_runtime_enable!
<4>[  105.755463] usbhid 1-1.3.2:1.0: Unbalanced pm_runtime_enable!
<6>[  105.755640] Suspended for 28799.448 seconds
<6>[  105.756048] PM: resume of devices complete after 1.527 msecs
<7>[  105.757076] PM: Finishing wakeup.
<6>[  105.757079] Restarting tasks ... done.
<6>[  105.882868] binder: undelivered transaction 76438
<6>[  106.821755] x86: Booting SMP configuration:
<6>[  106.821765] smpboot: Booting Node 0 Processor 1 APIC 0x2
<6>[  106.831331] Initializing CPU#1
<6>[  106.846150] smpboot: Booting Node 0 Processor 2 APIC 0x4
<6>[  106.846655] Initializing CPU#2
<6>[  106.907796] smpboot: Booting Node 0 Processor 3 APIC 0x6
<6>[  106.907980] Initializing CPU#3
<4>[  107.699454] audit: audit_lost=415 audit_rate_limit=20 audit_backlog_limit=64
<3>[  107.699463] audit: rate limit exceeded


<6>[  118.223743] smpboot: CPU 1 is now offline
<6>[  118.258725] smpboot: CPU 2 is now offline
<6>[  118.296432] smpboot: CPU 3 is now offline
<6>[  118.307254] PM: Syncing filesystems ... done.
<7>[  118.331060] PM: Preparing system for sleep (freeze)
<6>[  118.332513] Freezing user space processes ... (elapsed 0.004 seconds) done.
<6>[  118.336711] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
<7>[  118.338272] PM: Suspending system (freeze)
<4>[  118.338276] Suspending console(s) (use no_console_suspend to debug)
<5>[  118.352094] sd 0:0:0:0: [sda] Synchronizing SCSI cache
<3>[  118.353698] dpm_run_callback(): platform_pm_suspend+0x0/0x37 returns -5
<3>[  118.353705] PM: Device alarmtimer failed to suspend: error -5
<3>[  118.360374] PM: Some devices failed to suspend, or early wake event detected
<6>[  118.360582] Suspended for 28799.536 seconds
<4>[  118.360712] hub 1-0:1.0: Unbalanced pm_runtime_enable!
<4>[  118.360719] usb usb1-port1: Unbalanced pm_runtime_enable!
<4>[  118.360726] usb usb1-port2: Unbalanced pm_runtime_enable!
<4>[  118.360732] usb usb1-port3: Unbalanced pm_runtime_enable!
<4>[  118.360738] usb usb1-port4: Unbalanced pm_runtime_enable!
<4>[  118.360744] usb usb1-port5: Unbalanced pm_runtime_enable!
<4>[  118.360750] usb usb1-port6: Unbalanced pm_runtime_enable!
<4>[  118.360756]  ep_81: Unbalanced pm_runtime_enable!
<4>[  118.360762]  ep_00: Unbalanced pm_runtime_enable!
<4>[  118.360773] hub 2-0:1.0: Unbalanced pm_runtime_enable!
<4>[  118.360779] usb usb2-port1: Unbalanced pm_runtime_enable!
<4>[  118.360785]  ep_81: Unbalanced pm_runtime_enable!
<4>[  118.360791]  ep_00: Unbalanced pm_runtime_enable!
<4>[  118.360799] mmc_host mmc0: Unbalanced pm_runtime_enable!
<4>[  118.360807] mmc_host mmc1: Unbalanced pm_runtime_enable!
<4>[  118.360815] mmc_host mmc2: Unbalanced pm_runtime_enable!
<4>[  118.360831] hub 1-1:1.0: Unbalanced pm_runtime_enable!
<4>[  118.360837] usb 1-1-port1: Unbalanced pm_runtime_enable!
<4>[  118.360843] usb 1-1-port2: Unbalanced pm_runtime_enable!
<4>[  118.360849] usb 1-1-port3: Unbalanced pm_runtime_enable!
<4>[  118.360855] usb 1-1-port4: Unbalanced pm_runtime_enable!
<4>[  118.360861]  ep_81: Unbalanced pm_runtime_enable!
<4>[  118.360867]  ep_00: Unbalanced pm_runtime_enable!
<4>[  118.360879] usbhid 1-1.1:1.0: Unbalanced pm_runtime_enable!
<4>[  118.360893]  ep_81: Unbalanced pm_runtime_enable!
<4>[  118.360901] usbhid 1-1.1:1.1: Unbalanced pm_runtime_enable!
<4>[  118.360909]  ep_82: Unbalanced pm_runtime_enable!
<4>[  118.360915]  ep_00: Unbalanced pm_runtime_enable!
<4>[  118.360925] usb-storage 1-1.2:1.0: Unbalanced pm_runtime_enable!
<6>[  118.675022] PM: resume of devices complete after 314.632 msecs
<7>[  118.676098] PM: Finishing wakeup.
<6>[  118.676104] Restarting tasks ... 


[   79.241498] Cannot set affinity for irq 8
[   79.242822] smpboot: CPU 1 is now offline
[   79.266475] smpboot: CPU 2 is now offline
[   79.290391] smpboot: CPU 3 is now offline
[   79.294815] PM: Syncing filesystems ... done.
[   79.587204] PM: Preparing system for sleep (freeze)
[   79.596148] Freezing user space processes ... (elapsed 0.003 seconds) done.
[   79.599727] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
[   79.600697] PM: Suspending system (freeze)
[   79.600701] Suspending console(s) (use no_console_suspend to debug)
[   79.614776] dpm_run_callback(): platform_pm_suspend+0x0/0x37 returns -5
[   79.614783] PM: Device alarmtimer failed to suspend: error -5
[   79.614968] PM: Some devices failed to suspend, or early wake event detected
[   79.615015] hub 1-0:1.0: Unbalanced pm_runtime_enable!
[   79.615037] usb usb1-port1: Unbalanced pm_runtime_enable!
[   79.615058] usb usb1-port2: Unbalanced pm_runtime_enable!
[   79.615078] usb usb1-port3: Unbalanced pm_runtime_enable!
[   79.615099] usb usb1-port4: Unbalanced pm_runtime_enable!
[   79.615119] usb usb1-port5: Unbalanced pm_runtime_enable!
[   79.615139] usb usb1-port6: Unbalanced pm_runtime_enable!
[   79.615203] hub 2-0:1.0: Unbalanced pm_runtime_enable!
[   79.615224] usb usb2-port1: Unbalanced pm_runtime_enable!
[   79.615384] hub 1-1:1.0: Unbalanced pm_runtime_enable!
[   79.615404] usb 1-1-port1: Unbalanced pm_runtime_enable!
[   79.615424] usb 1-1-port2: Unbalanced pm_runtime_enable!
[   79.615444] usb 1-1-port3: Unbalanced pm_runtime_enable!
[   79.615464] usb 1-1-port4: Unbalanced pm_runtime_enable!
[   79.615558] usbhid 1-1.1:1.0: Unbalanced pm_runtime_enable!
[   79.615612] usbhid 1-1.1:1.1: Unbalanced pm_runtime_enable!
[   79.615690] usb-storage 1-1.2:1.0: Unbalanced pm_runtime_enable!
[   79.615790] hub 1-1.3:1.0: Unbalanced pm_runtime_enable!
[   79.615925] Suspended for 28799.616 seconds
[   79.616064] usb 1-1.3-port1: Unbalanced pm_runtime_enable!
[   79.616070] usb 1-1.3-port2: Unbalanced pm_runtime_enable!
[   79.616076] usb 1-1.3-port3: Unbalanced pm_runtime_enable!
[   79.616082] usb 1-1.3-port4: Unbalanced pm_runtime_enable!
[   79.616093] ax88179_178a 1-1.3.1:1.0: Unbalanced pm_runtime_enable!
[   79.616115] usbhid 1-1.3.2:1.0: Unbalanced pm_runtime_enable!
[   79.616441] PM: resume of devices complete after 1.463 msecs
[   79.617554] PM: Finishing wakeup.
[   79.617558] Restarting tasks ... done.
[   82.763265] x86: Booting SMP configuration:
[   82.763276] smpboot: Booting Node 0 Processor 1 APIC 0x2
[   82.763369] Initializing CPU#1
[   82.781266] smpboot: Booting Node 0 Processor 2 APIC 0x4
[   82.792050] Initializing CPU#2
[   82.815705] type=1400 audit(1492721349.098:844): avc: denied { read } for pid=4396 comm="chiztech.swapps" name="vendor" dev="mmcblk1p9" ino=16243 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file permissive=1
[   82.820545] smpboot: Booting Node 0 Processor 3 APIC 0x6
[   82.821481] Initializing CPU#3


[  264.564015] smpboot: CPU 1 is now offline
[  264.599564] smpboot: CPU 2 is now offline
[  264.622563] smpboot: CPU 3 is now offline
[  264.630287] PM: Syncing filesystems ... done.
[  264.645351] PM: Preparing system for sleep (freeze)
[  264.645712] Freezing user space processes ... 
[  284.649169] Freezing of tasks failed after 20.003 seconds (2 tasks refusing to freeze, wq_busy=0):
[  284.649245] Binder:3258_3   D    0  3306   2952 0x00000004
[  284.649267] Call Trace:
[  284.649300]  ? __schedule+0x5b3/0x75f
[  284.649320]  ? schedule+0x75/0x85
[  284.649337]  ? schedule_timeout+0x28/0x270
[  284.649359]  ? autoremove_wake_function+0x14/0x34
[  284.649377]  ? wait_for_common+0xe4/0x10b
[  284.649396]  ? wake_up_q+0x46/0x46
[  284.649415]  ? f2fs_issue_flush+0xac/0xd9
[  284.649437]  ? f2fs_do_sync_file+0x4bf/0x5a4
[  284.649458]  ? f2fs_sync_file+0x18/0x1a
[  284.649479]  ? vfs_fsync_range+0x6e/0x80
[  284.649497]  ? vfs_fsync+0x19/0x1b
[  284.649561]  ? do_fsync+0x2c/0x42
[  284.649579]  ? do_fast_syscall_32+0x8b/0xef
[  284.649599]  ? entry_SYSENTER_32+0x4e/0x7c
[  284.649716] measurement-1   D    0  4387   2952 0x00000004
[  284.649736] Call Trace:
[  284.649755]  ? __schedule+0x5b3/0x75f
[  284.649773]  ? schedule+0x75/0x85
[  284.649790]  ? schedule_timeout+0x28/0x270
[  284.649810]  ? autoremove_wake_function+0x14/0x34
[  284.649828]  ? wait_for_common+0xe4/0x10b
[  284.649846]  ? wake_up_q+0x46/0x46
[  284.649864]  ? f2fs_issue_flush+0xac/0xd9
[  284.649885]  ? f2fs_do_sync_file+0x4bf/0x5a4
[  284.649906]  ? f2fs_sync_file+0x18/0x1a
[  284.649925]  ? vfs_fsync_range+0x6e/0x80
[  284.649943]  ? vfs_fsync+0x19/0x1b
[  284.649960]  ? do_fsync+0x2c/0x42
[  284.649977]  ? do_fast_syscall_32+0x8b/0xef
[  284.649997]  ? entry_SYSENTER_32+0x4e/0x7c
[  284.650094] Restarting tasks ... done.
[  284.798337] x86: Booting SMP configuration:
[  284.798347] smpboot: Booting Node 0 Processor 1 APIC 0x2
[  284.798435] Initializing CPU#1
[  284.801096] binder: undelivered transaction 103959
[  284.801121] binder: undelivered transaction 103958
[  284.801162] binder: undelivered transaction 103955
[  284.801168] binder: send failed reply for transaction 103962 to 3829:4845
[  284.823881] smpboot: Booting Node 0 Processor 2 APIC 0x4
[  284.823997] Initializing CPU#2
[  284.848069] smpboot: Booting Node 0 Processor 3 APIC 0x6
[  284.849146] Initializing CPU#3

5dmesg.txt
1dmesg.txt
3dmesg.txt
4dmesg.txt
2dmesg.txt
Message has been deleted

youling 257

unread,
Apr 20, 2017, 10:06:48 AM4/20/17
to Android-x86
poweroff.doubleclick=1 ,sleep.earlysuspend=1
now,sleep.earlysuspend=1 can wake up,"1" enable earlysuspend,"0" disable .

在 2017年4月20日星期四 UTC+8下午9:16:43,youling 257写道:

youling 257

unread,
Apr 20, 2017, 1:37:22 PM4/20/17
to Android-x86
is it right ? suspend working ?
<3>[  105.754328] dpm_run_callback(): platform_pm_suspend+0x0/0x37 returns -5
<3>[  105.754334] PM: Device alarmtimer failed to suspend: error -5
<3>[  105.754512] PM: Some devices failed to suspend, or early wake event detected

在 2017年4月20日星期四 UTC+8下午9:16:43,youling 257写道:

youling 257

unread,
Apr 20, 2017, 2:39:14 PM4/20/17
to Android-x86
[  303.630865] Cannot set affinity for irq 8
[  893.963499] smpboot: CPU 1 is now offline
[  893.996727] smpboot: CPU 2 is now offline
[  894.023510] smpboot: CPU 3 is now offline
[  894.030078] PM: Syncing filesystems ... done.
[  894.130727] PM: Preparing system for sleep (freeze)
[  894.133374] Freezing user space processes ... (elapsed 0.009 seconds) done.
[  894.142584] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
[  894.145374] PM: Suspending system (freeze)
[  894.145382] Suspending console(s) (use no_console_suspend to debug)
[  894.163151] RTL8723BS:  suspend start
[  894.169960] dpm_run_callback(): platform_pm_suspend+0x0/0x37 returns -16
[  894.169971] PM: Device alarmtimer failed to suspend: error -16
[  894.386640] RTL8723BS: nolinked power save leave
[  894.596894] RTL8723BS: rtw_cmd_thread(wlan0) stop_req:1, break
[  894.599142] RTL8723BS: rtw_dev_unload: driver not in IPS
[  894.610224] RTL8723BS: rtw suspend success in 447 ms
[  894.610259] PM: Some devices failed to suspend, or early wake event detected
[  894.610451] hub 1-0:1.0: Unbalanced pm_runtime_enable!
[  894.610455] usb usb1-port1: Unbalanced pm_runtime_enable!
[  894.610458] usb usb1-port2: Unbalanced pm_runtime_enable!
[  894.610460] usb usb1-port3: Unbalanced pm_runtime_enable!
[  894.610463] usb usb1-port4: Unbalanced pm_runtime_enable!
[  894.610466] usb usb1-port5: Unbalanced pm_runtime_enable!
[  894.610468] usb usb1-port6: Unbalanced pm_runtime_enable!
[  894.610471]  ep_81: Unbalanced pm_runtime_enable!
[  894.610473]  ep_00: Unbalanced pm_runtime_enable!
[  894.610478] hub 2-0:1.0: Unbalanced pm_runtime_enable!
[  894.610481] usb usb2-port1: Unbalanced pm_runtime_enable!
[  894.610484]  ep_81: Unbalanced pm_runtime_enable!
[  894.610486]  ep_00: Unbalanced pm_runtime_enable!
[  894.610491] mmc_host mmc0: Unbalanced pm_runtime_enable!
[  894.610497] RTL8723BS: resume start
[  894.619049] rtl8723bs: accquire FW from file:rtlwifi/rtl8723bs_nic.bin
[  896.132948] RTL8723BS: rtw_resume_common:0 in 1522 ms
[  896.133969] PM: resume of devices complete after 1523.696 msecs
[  896.134943] PM: Finishing wakeup.
[  896.134948] Restarting tasks ... done.
[  906.217991] mmc1: Timeout waiting for hardware interrupt
[ 2158.911191] Initializing CPU#3
6dmesg.txt

youling 257

unread,
Apr 21, 2017, 11:08:30 AM4/21/17
to Android-x86
Ubuntu suspend

[  394.730948] PM: Syncing filesystems ... 
[  394.771501] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  394.906444] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  394.906563] done.
[  394.906571] PM: Preparing system for sleep (freeze)
[  394.908045] Freezing user space processes ... (elapsed 0.004 seconds) done.
[  394.912820] Freezing remaining freezable tasks ... (elapsed 0.005 seconds) done.
[  394.918300] PM: Suspending system (freeze)
[  394.918308] Suspending console(s) (use no_console_suspend to debug)
[  394.934434] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  394.935017] serial 00:02: disabled
[  394.935141] RTL8723BS:  suspend start
[  394.935476] RTL8723BS: rtw_cmd_thread(wlan0) stop_req:1, break
[  394.936709] RTL8723BS: rtw_dev_unload: driver not in IPS
[  394.952851] RTL8723BS: rtw suspend success in 17 ms
[  395.624857] PM: suspend of devices complete after 690.797 msecs
[  395.624861] PM: suspend devices took 0.706 seconds
[  395.671455] PM: late suspend of devices complete after 46.557 msecs
[  395.687512] PM: noirq suspend of devices complete after 16.025 msecs
[  395.687522] PM: suspend-to-idle
[  420.266972] Suspended for 23.443 seconds
[  420.267500] PM: resume from suspend-to-idle
[  420.296594] PM: noirq resume of devices complete after 28.760 msecs
[  420.349686] PM: early resume of devices complete after 52.667 msecs
[  420.350733] rtc_cmos 00:00: System wakeup disabled by ACPI
[  420.421515] RTL8723BS: resume start
[  420.426654] rtl8723bs: accquire FW from file:rtlwifi/rtl8723bs_nic.bin
[  422.911765] ax88179_178a 1-1.3.1:1.0 enx000ec6c360ac: ax88179 - Link status is: 1
[  423.743964] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  423.955906] RTL8723BS: rtw_resume_common:0 in 3533 ms
[  423.956416] PM: resume of devices complete after 3605.191 msecs
[  423.957443] PM: resume devices took 3.607 seconds
[  423.957453] PM: Finishing wakeup.
[  423.957456] Restarting tasks ... done.

Message has been deleted
Message has been deleted

youling 257

unread,
Apr 24, 2017, 11:19:40 AM4/24/17
to Android-x86
core-m cube i7 suspend on Android x86 .
[   69.188535] CPU3: update max cpu_capacity 1024
[   69.190463] CPU2: update max cpu_capacity 589
[   69.192440] CPU3: update max cpu_capacity 1024
[   69.198602] smpboot: CPU 1 is now offline
[   69.224549] CPU0: update max cpu_capacity 1024
[   69.231987] smpboot: CPU 2 is now offline
[   69.249416] smpboot: CPU 3 is now offline
[   69.254889] PM: suspend entry 2017-04-24 12:57:48.447318529 UTC
[   69.254892] PM: Syncing filesystems ... done.
[   69.256254] PM: Preparing system for sleep (mem)
[   69.257193] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   69.258578] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   69.259628] PM: Suspending system (mem)
[   69.259694] Suspending console(s) (use no_console_suspend to debug)
[   69.262829] sd 3:0:0:0: [sda] Synchronizing SCSI cache
[   69.264673] rtc_cmos 00:01: suspend, ctrl 02
[   69.264675] rtc_cmos 00:01: System wakeup disabled by ACPI
[   69.267276] sd 3:0:0:0: [sda] Stopping disk
[   69.270040] RTL871X:  suspend start
[   69.270177] RTL871X: rtw_cmd_thread(wlan0) stop_req:1, break
[   69.270786] RTL871X: rtw_dev_unload: driver not in IPS
[   69.280403] RTL871X: rtw_dev_unload: driver not in IPS
[   69.482319] RTL871X: rtw suspend success in 212 ms
[   69.606568] PM: suspend of devices complete after 346.573 msecs
[   69.618607] PM: late suspend of devices complete after 12.030 msecs
[   69.619583] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
[   69.630463] PM: noirq suspend of devices complete after 11.851 msecs
[   69.631465] ACPI: Preparing to enter system sleep state S3
[   69.651233] ACPI : EC: EC stopped
[   69.651234] PM: Saving platform NVS memory
[   69.651324] Disabling non-boot CPUs ...
[   69.656219] ACPI: Low-level resume complete
[   69.656349] ACPI : EC: EC started
[   69.656351] PM: Restoring platform NVS memory
[   69.657116] ACPI: Waking up from system sleep state S3
[   70.216962] power_supply BAT0: power_supply_changed
[   70.216966] power_supply BAT0: power_supply_changed_work
[   70.216970] power_supply BAT0: power_supply_update_bat_leds 2
[   70.216977] power_supply BAT0: uevent
[   70.216979] power_supply BAT0: POWER_SUPPLY_NAME=BAT0
[   70.216983] power_supply BAT0: prop STATUS=Discharging
[   70.216986] power_supply BAT0: prop PRESENT=1
[   70.216989] power_supply BAT0: prop TECHNOLOGY=Unknown
[   70.216991] power_supply BAT0: prop CYCLE_COUNT=0
[   70.216994] power_supply BAT0: prop VOLTAGE_NOW=7400000
[   70.216997] power_supply BAT0: prop POWER_NOW=155000
[   70.217000] power_supply BAT0: prop ENERGY_FULL_DESIGN=43000000
[   70.217002] power_supply BAT0: prop ENERGY_FULL=40800000
[   70.217005] power_supply BAT0: prop ENERGY_NOW=18040000
[   70.217007] power_supply BAT0: prop CAPACITY=44
[   70.217010] power_supply BAT0: prop CAPACITY_LEVEL=Normal
[   70.217013] power_supply BAT0: prop MODEL_NAME=SR Real Battery
[   70.217015] power_supply BAT0: prop MANUFACTURER=Intel SR 1
[   70.217018] power_supply BAT0: prop SERIAL_NUMBER=123456789
[   70.662951] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[   70.674015] PM: noirq resume of devices complete after 11.195 msecs
[   71.190029] PM: early resume of devices complete after 515.997 msecs
[   71.212521] sd 3:0:0:0: [sda] Starting disk
[   71.215492] rtc_cmos 00:01: resume, ctrl 22
[   71.250570] xhci_hcd 0000:00:14.0: port 7 resume PLC timeout
[   71.266219] xhci_hcd 0000:00:14.0: port 4 resume PLC timeout
[   71.281862] xhci_hcd 0000:00:14.0: port 2 resume PLC timeout
[   71.281885] hpet1: lost 2 rtc interrupts
[   71.509932] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   71.511198] ata4.00: configured for UDMA/133
[   71.548058] usb 1-3: reset high-speed USB device number 2 using xhci_hcd
[   71.866059] usb 1-5: reset high-speed USB device number 3 using xhci_hcd
[   72.183063] usb 1-6: reset high-speed USB device number 4 using xhci_hcd
[   72.347516] RTL871X: resume start
[   72.500044] usb 1-8: reset high-speed USB device number 5 using xhci_hcd
[   72.934731] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:3,3
[   72.934732] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL
[   73.748364] RTL871X: rtw_resume_common:0 in 1401 ms
[   74.280965] PM: resume of devices complete after 3090.958 msecs
[   74.284466] PM: Finishing wakeup.
[   74.284468] Restarting tasks ...
Message has been deleted

spin877

unread,
Apr 25, 2017, 3:34:39 PM4/25/17
to Android-x86
With this patch 
and the mainline kernel 4.11.0-rc6 torvalds and android 7.1.1 work.


p.s.


I noticed, if I use the power button, it goes into suspend mode, But if I give the command brutally "echo freeze> /sys/power/state"


I restart my tablet.
Maybe it's a problem of mine.

Now I will try, set up, full kernel, jwrdegoede in android 7.1.1

youling 257

unread,
Apr 25, 2017, 5:48:43 PM4/25/17
to Android-x86
of course will reboot ,happen it on Ubuntu my tablet . if your tablet dsdt GPI1 .
ACPI / PMIC: xpower: Add support for the GPI1 regulator to the OpRegi… ,ACPI / PMIC: xpower: Fix power_table addresses ,fixed reboot .
must use sleep.earlysuspend=1 will go into suspend . sleep.earlysuspend=0 only cpu offline . 

在 2017年4月26日星期三 UTC+8上午3:34:39,spin877写道:

youling 257

unread,
May 29, 2017, 9:22:48 AM5/29/17
to Android-x86

[ 143.548536] Cannot set affinity for irq 8
[ 143.550017] smpboot: CPU 1 is now offline
[ 143.582938] smpboot: CPU 2 is now offline
[ 143.602904] smpboot: CPU 3 is now offline
[ 143.620505] PM: Syncing filesystems ... done.
[ 143.642942] PM: Preparing system for sleep (freeze)
[ 143.650777] Freezing user space processes ... (elapsed 0.004 seconds) done.
[ 143.655092] OOM killer disabled.
[ 143.655096] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 143.656191] PM: Suspending system (freeze)
[ 143.656195] Suspending console(s) (use no_console_suspend to debug)
[ 143.659264] dpm_run_callback(): platform_pm_suspend+0x0/0x35 returns -5
[ 143.659269] PM: Device alarmtimer failed to suspend: error -5
[ 143.659394] PM: Some devices failed to suspend, or early wake event detected
[ 143.659518] Suspended for 28799.330 seconds
[ 143.659578] hub 1-0:1.0: Unbalanced pm_runtime_enable!
[ 143.659582] usb usb1-port1: Unbalanced pm_runtime_enable!
[ 143.659586] usb usb1-port2: Unbalanced pm_runtime_enable!
[ 143.659589] usb usb1-port3: Unbalanced pm_runtime_enable!
[ 143.659593] usb usb1-port4: Unbalanced pm_runtime_enable!
[ 143.659596] usb usb1-port5: Unbalanced pm_runtime_enable!
[ 143.659599] usb usb1-port6: Unbalanced pm_runtime_enable!
[ 143.659607] hub 2-0:1.0: Unbalanced pm_runtime_enable!
[ 143.659611] usb usb2-port1: Unbalanced pm_runtime_enable!
[ 143.659626] hub 1-1:1.0: Unbalanced pm_runtime_enable!
[ 143.659629] usb 1-1-port1: Unbalanced pm_runtime_enable!
[ 143.659633] usb 1-1-port2: Unbalanced pm_runtime_enable!
[ 143.659636] usb 1-1-port3: Unbalanced pm_runtime_enable!
[ 143.659639] usb 1-1-port4: Unbalanced pm_runtime_enable!
[ 143.659647] usbhid 1-1.1:1.0: Unbalanced pm_runtime_enable!
[ 143.659657] usbhid 1-1.1:1.1: Unbalanced pm_runtime_enable!
[ 143.659666] usb-storage 1-1.2:1.0: Unbalanced pm_runtime_enable!
[ 143.659677] hub 1-1.3:1.0: Unbalanced pm_runtime_enable!
[ 143.659682] usb 1-1.3-port1: Unbalanced pm_runtime_enable!
[ 143.659685] usb 1-1.3-port2: Unbalanced pm_runtime_enable!
[ 143.659689] usb 1-1.3-port3: Unbalanced pm_runtime_enable!
[ 143.659692] usb 1-1.3-port4: Unbalanced pm_runtime_enable!
[ 143.659699] ax88179_178a 1-1.3.1:1.0: Unbalanced pm_runtime_enable!
[ 143.659708] usbhid 1-1.3.2:1.0: Unbalanced pm_runtime_enable!
[ 143.659964] PM: resume of devices complete after 0.564 msecs
[ 143.660615] PM: Finishing wakeup.
[ 143.660617] OOM killer enabled.
[ 143.660621] Restarting tasks ... done.


[ 154.091886] mmc2: Timeout waiting for hardware cmd interrupt.
[ 154.091897] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 154.091904] mmc2: sdhci: Sys addr: 0x37079200 | Version: 0x0000b502
[ 154.091911] mmc2: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 154.091917] mmc2: sdhci: Argument: 0x59b40000 | Trn mode: 0x00000000
[ 154.091923] mmc2: sdhci: Present: 0x01fa0000 | Host ctl: 0x00000001
[ 154.091929] mmc2: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 154.091936] mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 154.091942] mmc2: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 154.091948] mmc2: sdhci: Int enab: 0x00ff0043 | Sig enab: 0x00ff0043
[ 154.091954] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 154.091960] mmc2: sdhci: Caps: 0x076864b2 | Caps_1: 0x00000000
[ 154.091967] mmc2: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 154.091973] mmc2: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 154.091979] mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 154.091984] mmc2: sdhci: Host ctl2: 0x00000000
[ 154.091990] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 154.091994] mmc2: sdhci: ============================================
[ 164.331893] mmc2: Timeout waiting for hardware cmd interrupt.
[ 164.331903] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 164.331911] mmc2: sdhci: Sys addr: 0x37079200 | Version: 0x0000b502
[ 164.331917] mmc2: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 164.331923] mmc2: sdhci: Argument: 0x59b40000 | Trn mode: 0x00000000
[ 164.331929] mmc2: sdhci: Present: 0x01fa0000 | Host ctl: 0x00000001
[ 164.331935] mmc2: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 164.331941] mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 164.331947] mmc2: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 164.331954] mmc2: sdhci: Int enab: 0x00ff0043 | Sig enab: 0x00ff0043
[ 164.331960] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 164.331966] mmc2: sdhci: Caps: 0x076864b2 | Caps_1: 0x00000000
[ 164.331972] mmc2: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 164.331978] mmc2: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 164.331984] mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 164.331989] mmc2: sdhci: Host ctl2: 0x00000000
[ 164.331995] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 164.331999] mmc2: sdhci: ============================================


[ 174.572202] mmc2: Timeout waiting for hardware cmd interrupt.
[ 174.572226] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 174.572243] mmc2: sdhci: Sys addr: 0x37079200 | Version: 0x0000b502
[ 174.572258] mmc2: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 174.572272] mmc2: sdhci: Argument: 0x59b40000 | Trn mode: 0x00000000
[ 174.572286] mmc2: sdhci: Present: 0x01fa0000 | Host ctl: 0x00000001
[ 174.572300] mmc2: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 174.572313] mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 174.572327] mmc2: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 174.572341] mmc2: sdhci: Int enab: 0x00ff0043 | Sig enab: 0x00ff0043
[ 174.572355] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 174.572369] mmc2: sdhci: Caps: 0x076864b2 | Caps_1: 0x00000000
[ 174.572384] mmc2: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 174.572397] mmc2: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 174.572411] mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 174.572423] mmc2: sdhci: Host ctl2: 0x00000000
[ 174.572436] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 174.572447] mmc2: sdhci: ============================================
[ 184.811886] mmc2: Timeout waiting for hardware cmd interrupt.
[ 184.811896] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 184.811903] mmc2: sdhci: Sys addr: 0x37079200 | Version: 0x0000b502
[ 184.811910] mmc2: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 184.811916] mmc2: sdhci: Argument: 0x59b40000 | Trn mode: 0x00000000
[ 184.811923] mmc2: sdhci: Present: 0x01fa0000 | Host ctl: 0x00000001
[ 184.811929] mmc2: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 184.811935] mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[ 184.811941] mmc2: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 184.811947] mmc2: sdhci: Int enab: 0x00ff0043 | Sig enab: 0x00ff0043
[ 184.811953] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 184.811959] mmc2: sdhci: Caps: 0x076864b2 | Caps_1: 0x00000000
[ 184.811965] mmc2: sdhci: Cmd: 0x00000d1a | Max curr: 0x00000000
[ 184.811971] mmc2: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 184.811977] mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 184.811982] mmc2: sdhci: Host ctl2: 0x00000000
[ 184.811988] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[ 184.811992] mmc2: sdhci: ============================================
[ 184.812100] mmc2: card 59b4 removed
Message has been deleted

youling 257

unread,
Jun 8, 2017, 1:32:24 PM6/8/17
to Android-x86

[ 123.607846] PM: Syncing filesystems ... done.
[ 123.656438] PM: Preparing system for sleep (freeze)
[ 123.657432] type=1400 audit(1496942957.618:1193): avc: denied { read } for pid=6 comm="kworker/u8:0" name="firmware" dev="mmcblk1p9" ino=17992 scontext=u:r:kernel:s0 tcontext=u:object_r:unlabeled:s0 tclass=lnk_file permissive=1
[ 123.668834] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 123.671734] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 123.673413] PM: Suspending system (freeze)
[ 123.673417] Suspending console(s) (use no_console_suspend to debug)
[ 123.769764] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=media-cpu-dai
[ 123.770239] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=ssp0-port
[ 123.771927] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 123.772486] serial 00:02: disabled
[ 123.772518] rtc_cmos 00:00: suspend, ctrl 02
[ 123.772523] rtc_cmos 00:00: System wakeup disabled by ACPI
[ 123.772536] gslx680 i2c-MSSL1680:00: gsl_ts_suspend: suspending device
[ 123.775042] RTL8723BS: suspend start
[ 123.775061] RTL8723BS: rtw_cmd_thread(wlan0) stop_req:1, break
[ 123.776232] RTL8723BS: rtw_dev_unload: driver not in IPS
[ 123.786934] RTL8723BS: rtw suspend success in 12 ms
[ 124.668992] PM: suspend of devices complete after 897.375 msecs
[ 124.718363] PM: late suspend of devices complete after 49.351 msecs
[ 124.733713] PM: noirq suspend of devices complete after 15.318 msecs
[ 124.733727] PM: suspend-to-idle
[ 127.124514] Suspended for 2.390 seconds
[ 127.125048] PM: resume from suspend-to-idle
[ 127.158855] PM: noirq resume of devices complete after 33.715 msecs
[ 127.214328] PM: early resume of devices complete after 55.073 msecs
[ 127.218882] RTL8723BS: resume start
[ 127.235524] rtl8723bs: accquire FW from file:rtlwifi/rtl8723bs_nic.bin
[ 127.332385] gslx680 i2c-MSSL1680:00: gsl_ts_resume: resuming device
[ 127.450502] rtc_cmos 00:00: Could not get RTC status
[ 127.450516] rtc_cmos 00:00: resume, ctrl 22
[ 128.783670] RTL8723BS: rtw_resume_common:0 in 1565 ms
[ 128.784253] PM: resume of devices complete after 1569.906 msecs
[ 128.784350] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=media-cpu-dai
[ 128.784578] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp0-port
[ 128.785832] PM: Finishing wakeup.
[ 128.785838] Restarting tasks ... 

在 2017年6月9日星期五 UTC+8上午12:43:57,youling 257写道:
4.9.31 kernel,no “android-4.9”,many my patches 


[ 353.029673] smpboot: CPU 1 is now offline
[ 353.052272] smpboot: CPU 2 is now offline
[ 353.076838] smpboot: CPU 3 is now offline
[ 353.087502] PM: Syncing filesystems ... done.
[ 353.122720] PM: Preparing system for sleep (freeze)
[ 353.123807] Freezing user space processes ... (elapsed 0.004 seconds) done.
[ 353.128367] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
[ 353.131079] PM: Suspending system (freeze)
[ 353.131131] Suspending console(s) (use no_console_suspend to debug)
[ 353.222995] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=media-cpu-dai
[ 353.223168] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=ssp0-port
[ 353.224776] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 353.230426] serial 00:02: disabled
[ 353.230484] rtc_cmos 00:00: suspend, ctrl 02
[ 353.230490] rtc_cmos 00:00: System wakeup disabled by ACPI
[ 354.053332] PM: suspend of devices complete after 829.007 msecs
[ 354.095686] PM: late suspend of devices complete after 42.336 msecs
[ 354.112334] PM: noirq suspend of devices complete after 16.617 msecs
[ 354.112346] PM: suspend-to-idle
[ 362.903935] Suspended for 8.791 seconds
[ 362.904095] PM: resume from suspend-to-idle
[ 362.934214] PM: noirq resume of devices complete after 30.059 msecs
[ 362.984578] PM: early resume of devices complete after 50.132 msecs
[ 363.228398] rtc_cmos 00:00: Could not get RTC status
[ 363.228411] rtc_cmos 00:00: resume, ctrl 22
[ 363.894141] PM: resume of devices complete after 909.544 msecs
[ 363.894224] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=media-cpu-dai
[ 363.894402] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp0-port
[ 363.895482] PM: Finishing wakeup.
[ 363.895488] Restarting tasks ... 
Reply all
Reply to author
Forward
0 new messages