armoon

rtc-pcf8563-debug

Aug 29th, 2020
1,185
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@archl-on2e ~]# [ 43.799849] rtc-pcf8563 0-0051: pcf8563_rtc_set_time: secs=4, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  2. [ 43.809302] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=00, sec=04, min=11, hr=16, mday=29, wday=06, mon=08, year=20
  3. [ 43.817125] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=4, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  4. [ 43.827871] rtc-pcf8563 0-0051: pcf8563_irq_enable: en=0
  5.  
  6. [root@archl-on2e ~]#
  7. [root@archl-on2e ~]#
  8. [root@archl-on2e ~]# rtcwake -d rtc0 -s 10 -m mem
  9. [ 68.352066] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=00, sec=29, min=11, hr=16, mday=29, wday=2e, mon=28, year=20
  10. [ 68.358916] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=29, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  11. [ 68.370979] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=00, sec=29, min=11, hr=16, mday=29, wday=2e, mon=28, year=20
  12. [ 68.382206] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=29, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  13. [ 68.394360] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=00, sec=29, min=11, hr=16, mday=29, wday=2e, mon=28, year=20
  14. [ 68.405493] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=29, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  15. [ 68.416364] rtc-pcf8563 0-0051: pcf8563_rtc_set_alarm, min=12 hour=16 wday=6 mday=29 enabled=1 pending=60
  16. rtcwake: wakeup from "mem" using rtc0 at Sat Aug 29 16:11:40 2020
  17. [ 68.458496] PM: suspend entry (deep)
  18. [ 68.458836] Filesystems sync: 0.000 seconds
  19. [ 68.820492] Freezing user space processes ... (elapsed 0.001 seconds) done.
  20. [ 68.823190] OOM killer disabled.
  21. [ 68.826400] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
  22. [ 68.835727] meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
  23. [ 68.835771] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=02, sec=29, min=11, hr=16, mday=29, wday=2e, mon=28, year=20
  24. [ 68.851936] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=29, mins=11, hours=16, mday=29, mon=7, year=120, wday=6
  25. [ 68.883596] sd 0:0:0:0: [sda] Synchronizing SCSI cache
  26. [ 68.959649] Disabling non-boot CPUs ...
  27. [ 68.960768] CPU1: shutdown
  28. [ 68.961844] psci: CPU1 killed (polled 0 ms)
  29. [ 68.967705] CPU2: shutdown
  30. [ 68.968776] psci: CPU2 killed (polled 0 ms)
  31. [ 68.974135] CPU3: shutdown
  32. [ 68.975210] psci: CPU3 killed (polled 0 ms)
  33. [ 68.980875] CPU4: shutdown
  34. [ 68.980975] psci: CPU4 killed (polled 0 ms)
  35. [ 68.988297] CPU5: shutdown
  36. [ 68.989360] psci: CPU5 killed (polled 0 ms)
  37. bl30 get wakeup sources!
  38. process command 00000006
  39. bl30 enter suspend!
  40. Little core clk suspend rate 500000000
  41. Big core clk suspend rate 24000000
  42. store restore gp0 pll
  43. suspend_counter: 1
  44. Enter ddr suspend
  45. ddr suspend time: 17us
  46. alarm=0S
  47. process command 00000001
  48. GPIOA_11/13 off
  49. cec ver:2018/04/19
  50. CEC cfg:0x0000
  51. WAKEUP GPIO cfg:0x00000000
  52. use vddee new table!
  53. kern log_addr:0x00
  54. cec T: 00
  55. err: tx not finish flag
  56. cec reset
  57. Set cec pinmux:0x11
  58. Set cec log_addr:0x10,ADDR0:10
  59. use vddee new table!
  60. exit_reason:0x03
  61. Enter ddr resume
  62. ddr resume time: 232us
  63. store restore gp0 pll
  64. cfg15 3b00000
  65. cfg15 33b00000
  66. Lit[ 68.994444] Enabling non-boot CPUs ...
  67. [ 68.994946] Detected VIPT I-cache on CPU1
  68. [ 68.995039] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  69. [ 68.995908] CPU1 is up
  70. [ 69.006357] Detected VIPT I-cache on CPU2
  71. [ 69.006403] arch_timer: CPU2: Trapping CNTVCT access
  72. [ 69.006416] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
  73. [ 69.007546] cpufreq: cpufreq_online: CPU2: Running at unlisted freq: 999999 KHz
  74. [ 69.028166] cpufreq: cpufreq_online: CPU2: Unlisted initial frequency changed to: 1000000 KHz
  75. [ 69.036831] CPU2 is up
  76. [ 69.039222] Detected VIPT I-cache on CPU3
  77. [ 69.039248] arch_timer: CPU3: Trapping CNTVCT access
  78. [ 69.039256] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
  79. [ 69.039630] CPU3 is up
  80. [ 69.056854] Detected VIPT I-cache on CPU4
  81. [ 69.056878] arch_timer: CPU4: Trapping CNTVCT access
  82. [ 69.056886] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
  83. [ 69.057240] CPU4 is up
  84. [ 69.074523] Detected VIPT I-cache on CPU5
  85. [ 69.074547] arch_timer: CPU5: Trapping CNTVCT access
  86. [ 69.074554] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
  87. [ 69.074960] CPU5 is up
  88. [ 69.095035] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
  89. [ 69.099430] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
  90. tle core clk resume rate 5[ 69.114852] usb usb1: root hub lost power or was reset
  91. [ 69.114879] usb usb2: root hub lost power or was reset
  92. 00000000
  93. Big core clk resume rate 50000000
  94. [ 69.466466] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
  95. [ 69.746243] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
  96. [ 69.989756] usb 1-1.4: reset full-speed USB device number 3 using xhci-hcd
  97. [ 70.151572] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: raw data is st1=08, st2=0a, sec=01, min=12, hr=16, mday=29, wday=06, mon=08, year=20
  98. [ 70.159022] rtc-pcf8563 0-0051: pcf8563_rtc_read_time: tm is secs=1, mins=12, hours=16, mday=29, mon=7, year=120, wday=6
  99. [ 70.197525] usb 2-1.1: reset SuperSpeed Gen 1 USB device number 3 using xhci-hcd
  100. [ 70.220609] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
  101. [ 70.224021] Mem abort info:
  102. [ 70.226571] ESR = 0x96000004
  103. [ 70.229739] EC = 0x25: DABT (current EL), IL = 32 bits
  104. [ 70.234981] SET = 0, FnV = 0
  105. [ 70.237972] EA = 0, S1PTW = 0
  106. [ 70.241045] Data abort info:
  107. [ 70.243908] ISV = 0, ISS = 0x00000004
  108. [ 70.247691] CM = 0, WnR = 0
  109. [ 70.250572] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000f2a0c000
  110. [ 70.257039] [0000000000000008] pgd=0000000000000000, p4d=0000000000000000
  111. [ 70.263777] Internal error: Oops: 96000004 [#1] PREEMPT SMP
  112. [ 70.269174] Modules linked in: rfkill snd_soc_hdmi_codec dw_hdmi_i2s_audio dw_hdmi_cec meson_gxl realtek dwmac_generic dwmac_meson8b stmmac_platform stmmac snd_soc_meson_axg_sound_card snd_soc_meson_card_utils meson_dw_hdmi crct10dif_ce snd_soc_meson_g12a_tohdmitx dw_hdmi rc_odroid snd_soc_meson_g12a_toacodec snd_soc_meson_codec_glue reset_meson_audio_arb meson_ir snd_soc_meson_axg_frddr meson_rng snd_soc_meson_axg_toddr rc_core cec rng_core snd_soc_meson_axg_tdmout snd_soc_meson_t9015 meson_drm snd_soc_meson_axg_tdmin mdio_mux_meson_g12a axg_audio snd_soc_meson_axg_fifo sclk_div clk_phase meson_canvas rtc_pcf8563 rtc_meson_vrtc drm_kms_helper pwm_meson mdio_xpcs snd_soc_meson_axg_tdm_interface snd_soc_meson_axg_tdm_formatter display_connector nvmem_meson_efuse snd_soc_simple_amplifier drm ip_tables x_tables ipv6
  113. [ 70.340736] CPU: 5 PID: 418 Comm: rtcwake Not tainted 5.9.0-rc2-00003-gc5a08366b25e-dirty #6
  114. [ 70.349045] Hardware name: Hardkernel ODROID-N2 (DT)
  115. [ 70.353998] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
  116. [ 70.359556] pc : sugov_start+0x40/0x120
  117. [ 70.363338] lr : cpufreq_start_governor+0x54/0x90
  118. [ 70.367930] sp : ffff800013623b20
  119. [ 70.371212] x29: ffff800013623b20 x28: ffff0000c9bb2a00
  120. [ 70.376466] x27: 0000000000000000 x26: 0000000000000000
  121. [ 70.381726] x25: ffff0000f262ae18 x24: ffff800011ad1dac
  122. [ 70.386987] x23: ffff800011ab9980 x22: ffff8000116671b0
  123. [ 70.392248] x21: ffff800011aba360 x20: ffff0000f262ac00
  124. [ 70.397508] x19: 0000000000000000 x18: 0000000000000010
  125. [ 70.402769] x17: 0000000000000000 x16: 0000000000000000
  126. [ 70.408032] x15: ffff0000c9bb2e70 x14: 00000000000001ff
  127. [ 70.413292] x13: 0000000000000001 x12: 0000000000000000
  128. [ 70.418553] x11: 0000000000000001 x10: 00000000000009c0
  129. [ 70.423818] x9 : ffff800013623a90 x8 : ffff0000c9bb3420
  130. [ 70.429077] x7 : ffff0000c9ae4200 x6 : ffff0000f262ae50
  131. [ 70.434338] x5 : ffff800013623a90 x4 : 0000000000000000
  132. [ 70.439598] x3 : 0000000000000000 x2 : 00000000000003e8
  133. [ 70.444860] x1 : ffff800011ad1bd8 x0 : 00000000ffffffff
  134. [ 70.450125] Call trace:
  135. [ 70.452598] sugov_start+0x40/0x120
  136. [ 70.456039] cpufreq_start_governor+0x54/0x90
  137. [ 70.460344] cpufreq_resume+0x88/0x170
  138. [ 70.464052] dpm_resume+0x1c8/0x1e8
  139. [ 70.467490] dpm_resume_end+0x18/0x30
  140. [ 70.471116] suspend_devices_and_enter+0x23c/0x4d8
  141. [ 70.475850] pm_suspend+0x258/0x2c0
  142. [ 70.479332] state_store+0x8c/0x118
  143. [ 70.482787] kobj_attr_store+0x18/0x30
  144. [ 70.486490] sysfs_kf_write+0x44/0x58
  145. [ 70.490098] kernfs_fop_write+0xfc/0x218
  146. [ 70.493993] vfs_write+0xf0/0x230
  147. [ 70.497260] ksys_write+0x6c/0xf8
  148. [ 70.500539] __arm64_sys_write+0x1c/0x28
  149. [ 70.504438] el0_svc_common.constprop.0+0x6c/0x168
  150. [ 70.509162] do_el0_svc+0x24/0x90
  151. [ 70.512440] el0_sync_handler+0x90/0x198
  152. [ 70.516299] el0_sync+0x158/0x180
  153. [ 70.519639] Code: f9405013 910d82b5 912602f7 12800000 (f9400661)
  154. [ 70.525622] ---[ end trace 7d94a748441d6cf6 ]---
  155. [ 70.894433] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
  156.  
RAW Paste Data