Skip to content

[BUG][CML] Module unload/load blocked #1106

Closed

Description

@aiChaoSONG

** Bug Description**
In module unload/load stress test, first unload with sof_remove.sh will cause a kernel null pointer deference bug, preceding unload/load will block.

Bug Reproduction

  1. run sof_remove.sh script, you will see the null pointer deference bug with dmesg.
  2. run sof_insert.sh script.
  3. repeat 1~2, until remove blocked or insert blocked.

** Versions **

  • Kernel: topic/sof-dev 9d7da69a
  • sof: master 9d28da9c
  • Platform: CML Chrome
  • Topology: sof-cml-rt5682-max98357a.tplg

** Kernel Log**

[   60.887538] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   60.887548] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000040 at  00000048
[   60.887554] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[   60.890620] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   60.890626] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
[   60.890709] sof-audio-pci 0000:00:1f.3: loading firmware
[   60.890717] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000002 at  00000048
[   60.890723] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[   60.890731] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   60.890737] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000004 at  00000044
[   60.890739] sof-audio-pci 0000:00:1f.3: booting DSP firmware
[   60.890777] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   60.890808] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   60.890815] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[   60.890817] sof-audio-pci 0000:00:1f.3: periods:1
[   60.890870] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[   60.890880] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
[   60.890882] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[   60.890886] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.891359] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
[   60.891369] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
[   60.891420] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   60.971509] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 successful
[   60.981043] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5 successful
[   60.981058] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[   60.981065] sof-audio-pci 0000:00:1f.3: Firmware download successful, booting...
[   60.986113] sof-audio-pci 0000:00:1f.3: ipc rx: 0x70000000: FW_READY
[   60.986120] sof-audio-pci 0000:00:1f.3: ipc: DSP is ready 0x70000000 offset 0x81000
[   60.986134] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x70000000: FW_READY
[   60.986201] sof-audio-pci 0000:00:1f.3: firmware boot complete
[   60.986220] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   60.986234] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000002 at  00000048
[   60.986245] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000004 at  00000044
[   60.986252] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000044
[   60.986270] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   60.986305] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[   60.986313] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[   60.986316] sof-audio-pci 0000:00:1f.3: periods:1
[   60.986380] sof-audio-pci 0000:00:1f.3: stream_tag: 1
[   60.986395] sof-audio-pci 0000:00:1f.3: ipc tx: 0x90030000: GLB_TRACE_MSG
[   60.986976] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x90030000: GLB_TRACE_MSG
[   60.987390] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2014001e successful
[   60.987407] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.987642] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.987658] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.987879] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.987891] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.988110] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.988120] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.988331] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.988364] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.988583] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.988596] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.988767] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.988783] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.988791] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.988967] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.988982] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989118] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989134] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989272] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989283] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.989440] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.989451] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.989594] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.989608] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989755] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.989766] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.989893] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.989903] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.989910] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.990012] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.990026] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990164] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990173] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.990325] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.990340] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990509] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990521] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.990652] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.990662] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.990669] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.990770] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.990784] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990922] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.990937] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991078] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991087] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.991228] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.991239] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.991380] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.991396] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991552] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991564] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.991697] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.991704] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.991712] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.991813] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.991827] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991967] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.991983] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.992126] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.992136] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.992275] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.992285] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.992437] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.992453] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.992602] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.992614] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.992757] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.992767] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.992774] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.992876] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.992891] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993032] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993047] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993190] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993200] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.993341] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.993368] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.993517] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.993532] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993683] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.993695] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.993833] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.993845] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.993852] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.993972] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.993983] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994121] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994133] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994262] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994275] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994433] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.994442] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994592] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994600] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994751] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994760] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994896] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.994908] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995056] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995066] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.995198] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.995208] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.995214] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.995306] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.995319] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995469] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995482] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995628] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.995637] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.995763] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.995772] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.995904] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW
[   60.995917] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.996080] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[   60.996090] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.996228] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30100000: GLB_TPLG_MSG: PIPE_NEW
[   60.996237] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   60.996243] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.996333] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40070000: GLB_PM_MSG: CORE_ENABLE
[   60.996340] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996440] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996448] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996633] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996640] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996746] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996753] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996849] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996856] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996958] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.996966] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997065] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997073] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997175] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997181] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997281] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997288] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997404] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997420] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997532] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997539] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997645] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997651] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997763] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997770] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997875] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997882] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997991] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.997998] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998107] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998114] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998221] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998228] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998340] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998359] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998481] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998487] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998606] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998613] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998740] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998747] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998826] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998832] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998931] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.998937] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999039] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999046] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999151] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999158] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999270] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999276] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999410] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999425] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999545] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999552] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999666] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999673] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999788] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999795] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999906] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   60.999912] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   61.000023] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   61.000030] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   61.000144] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30030000: GLB_TPLG_MSG: COMP_CONNECT
[   61.000161] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000312] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000328] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000484] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000504] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000837] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000854] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000982] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.000998] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001120] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001135] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001256] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001272] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001427] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001445] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001905] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[   61.001912] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.8.DMIC1.IN id 47
[   61.001917] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002168] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002174] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.7.SSP1.OUT id 41
[   61.002180] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002383] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002389] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.6.HDA2.OUT id 33
[   61.002395] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002589] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002595] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.5.HDA1.OUT id 27
[   61.002601] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002730] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002735] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.4.HDA0.OUT id 21
[   61.002741] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002856] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002862] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.3.DMIC0.IN id 15
[   61.002868] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002972] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.002977] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.2.SSP0.IN id 11
[   61.002984] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.003086] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.003091] sof-audio-pci 0000:00:1f.3: tplg: complete pipeline PIPELINE.1.SSP0.OUT id 5
[   61.003097] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.003196] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30130000: GLB_TPLG_MSG: PIPE_COMPLETE
[   61.003212] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003448] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003464] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003655] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003671] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003846] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003856] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[   61.003861] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.003889] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[   61.004091] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004106] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004332] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004359] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004639] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004655] sof-audio-pci 0000:00:1f.3: ipc tx: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004945] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x50010000: GLB_COMP_MSG: SET_VALUE
[   61.004957] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[   61.005125] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40020000: GLB_PM_MSG: CTX_RESTORE
[   61.005374] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[   61.005594] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
[   61.005609] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1000f0f successful
[   61.005619] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005645] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005659] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005668] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005690] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005705] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005713] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005736] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005750] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005758] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005781] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005796] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005804] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005827] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005841] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005849] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005865] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005879] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005887] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.005910] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005924] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.005933] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[   61.069840] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.069849] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[   61.069853] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[   61.069929] sof-audio-pci 0000:00:1f.3: Turning i915 HDAC power off
[   61.274351] BUG: kernel NULL pointer dereference, address: 00000000000000e4
[   61.274353] #PF: supervisor read access in kernel mode
[   61.274354] #PF: error_code(0x0000) - not-present page
[   61.274355] PGD 0 P4D 0 
[   61.274357] Oops: 0000 [#1] SMP NOPTI
[   61.274358] CPU: 3 PID: 116 Comm: kworker/3:1 Not tainted 5.3.0-rc1+ #3
[   61.274359] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
[   61.274361] Workqueue: events_power_efficient 0xffffffffc0687060
[   61.274362] RIP: 0010:0xffffffffc06870ae
[   61.274364] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 e4 00 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 ca ab ac ea 48 8b 43 90 48 8b 40 20 <80> b8 e4 00 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 8a 92
[   61.274365] RSP: 0018:ffff98d5802a7e78 EFLAGS: 00010286
[   61.274366] RAX: 0000000000000000 RBX: ffff913c919f9098 RCX: ffff913c962e8260
[   61.274366] RDX: ffff913c962e8260 RSI: 00000000000000c0 RDI: ffff913c919f9098
[   61.274367] RBP: ffff913c962e8240 R08: 0000746e65696369 R09: 8080808080808080
[   61.274368] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff913c962ec500
[   61.274368] R13: 0000000000000000 R14: ffff913c94bf2000 R15: 0ffff913c962ec50
[   61.274369] FS:  0000000000000000(0000) GS:ffff913c962c0000(0000) knlGS:0000000000000000
[   61.274370] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   61.274371] CR2: 00000000000000e4 CR3: 00000001da20a005 CR4: 00000000003606e0
[   61.274372] Call Trace:
[   61.274375]  ? process_one_work+0x1e3/0x3d0
[   61.274376]  ? worker_thread+0x28/0x3c0
[   61.274377]  ? cancel_delayed_work+0x80/0x80
[   61.274379]  ? kthread+0x10e/0x130
[   61.274380]  ? kthread_park+0xa0/0xa0
[   61.274382]  ? ret_from_fork+0x1f/0x40
[   61.274383] Modules linked in: snd_soc_hdac_hdmi snd_soc_dmic snd_soc_hdac_hda snd_soc_acpi snd_hda_ext_core snd_soc_rl6231 snd_soc_max98357a ax88179_178a snd_soc_core usbnet snd_seq_midi snd_hda_codec snd_seq_midi_event snd_hwdep snd_rawmidi snd_hda_core snd_pcm x86_pkg_temp_thermal snd_seq iwlmvm intel_powerclamp i915 snd_seq_device snd_timer i2c_algo_bit snd drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops soundcore iwlwifi elan_i2c drm intel_lpss_pci intel_lpss int3403_thermal processor_thermal_device int3400_thermal acpi_thermal_rel int340x_thermal_zone mfd_core intel_soc_dts_iosf efivarfs sdhci_pci xhci_pci cqhci sdhci xhci_hcd [last unloaded: snd_soc_rt5682]
[   61.274397] CR2: 00000000000000e4
[   61.274399] ---[ end trace fcfca2883e967c6b ]---
[   61.274400] RIP: 0010:0xffffffffc06870ae
[   61.274401] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 e4 00 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 ca ab ac ea 48 8b 43 90 48 8b 40 20 <80> b8 e4 00 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 8a 92
[   61.274402] RSP: 0018:ffff98d5802a7e78 EFLAGS: 00010286
[   61.274403] RAX: 0000000000000000 RBX: ffff913c919f9098 RCX: ffff913c962e8260
[   61.274403] RDX: ffff913c962e8260 RSI: 00000000000000c0 RDI: ffff913c919f9098
[   61.274404] RBP: ffff913c962e8240 R08: 0000746e65696369 R09: 8080808080808080
[   61.274405] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff913c962ec500
[   61.274405] R13: 0000000000000000 R14: ffff913c94bf2000 R15: 0ffff913c962ec50
[   61.274406] FS:  0000000000000000(0000) GS:ffff913c962c0000(0000) knlGS:0000000000000000
[   61.274407] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   61.274407] CR2: 00000000000000e4 CR3: 00000001da20a005 CR4: 00000000003606e0

Activity

  1. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    on Aug 1, 2019
  2. aiChaoSONG commented on Aug 5, 2019

    @aiChaoSONG
    Author

    This issue only happens on the second module removal on CML Chrome.

  3. keyonjie commented on Aug 7, 2019

    @keyonjie

    looks the error happens at rt5682 codec side, the delayed work is still running while the sof driver is unloaded:

    [   53.296622] sof-audio-pci 0000:00:1f.3: Turning i915 HDAC power off
    [   53.494283] BUG: kernel NULL pointer dereference, address: 0000000000000228
    [   53.494295] #PF: supervisor read access in kernel mode
    [   53.494300] #PF: error_code(0x0000) - not-present page
    [   53.494305] PGD 0 P4D 0 
    [   53.494314] Oops: 0000 [#1] SMP NOPTI
    [   53.494323] CPU: 4 PID: 183 Comm: kworker/4:2 Not tainted 5.3.0-rc1+ #472
    [   53.494328] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [   53.494341] Workqueue: events_power_efficient rt5682_jack_detect_handler [snd_soc_rt5682]
    [   53.494352] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x270 [snd_soc_rt5682]
    [   53.494305] PGD 0 P4D 0 
    [   53.494314] Oops: 0000 [#1] SMP NOPTI
    [   53.494323] CPU: 4 PID: 183 Comm: kworker/4:2 Not tainted 5.3.0-rc1+ #472
    [   53.494328] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [   53.494341] Workqueue: events_power_efficient rt5682_jack_detect_handler [snd_soc_rt5682]
    [   53.494352] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x270 [snd_soc_rt5682]
    [   53.494359] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 28 02 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 6b 06 e2 48 8b 43 90 48 8b 40 20 <80> b8 28 02 00 00 00 74 e0 4c 8d a3 70 01 00 00 31 f6 4c 89 e7 e8
    [   53.494365] RSP: 0018:ffffadd940917e38 EFLAGS: 00010286
    [   53.494371] RAX: 0000000000000000 RBX: ffffa28f51b61098 RCX: 0000000000000001
    [   53.494376] RDX: ffffa28f53969a80 RSI: ffffffffa2e6e060 RDI: ffffa28f51b61098
    [   53.494381] RBP: ffffadd940917ed0 R08: 0000000000000001 R09: 00000000001e9640
    [   53.494386] R10: 0000001e470627c2 R11: 0000000000000000 R12: ffffa28f55de9780
    [   53.494391] R13: ffffa28f55dede00 R14: 0000000000000000 R15: 0ffffa28f55dede0
    [   53.494396] FS:  0000000000000000(0000) GS:ffffa28f55c00000(0000) knlGS:0000000000000000
    [   53.494402] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [   53.494407] CR2: 0000000000000228 CR3: 0000000127224003 CR4: 00000000003606e0
    [   53.494411] Call Trace:
    [   53.494426]  process_one_work+0x2b0/0x5d0
    [   53.494440]  worker_thread+0x28/0x3d0
    [   53.494448]  ? process_one_work+0x5d0/0x5d0
    [   53.494456]  kthread+0x110/0x130
    [   53.494465]  ? kthread_create_on_node+0x60/0x60
    [   53.494476]  ret_from_fork+0x24/0x50
    [   53.494489] Modules linked in: snd_soc_sof_rt5682 asix usbnet snd_soc_hdac_hdmi snd_soc_dmic snd_soc_hdac_hda snd_sof snd_soc_acpi snd_hda_ext_core x86_pkg_temp_thermal intel_powerclamp snd_hda_codec snd_hwdep snd_hda_core snd_soc_max98357a snd_soc_rt5682 snd_soc_rl6231 snd_soc_core snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi i915 snd_seq iwlmvm snd_seq_device i2c_algo_bit snd_timer drm_kms_helper elan_i2c syscopyarea sysfillrect sysimgblt fb_sys_fops drm snd iwlwifi soundcore int3403_thermal processor_thermal_device int3400_thermal int340x_thermal_zone acpi_thermal_rel intel_soc_dts_iosf intel_lpss_pci intel_lpss mfd_core efivarfs xhci_pci sdhci_pci cqhci xhci_hcd sdhci [last unloaded: snd_soc_acpi_intel_match]
    [   53.494549] CR2: 0000000000000228
    [   53.494557] ---[ end trace 020f5098c3468ca8 ]---
    [   53.494567] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x270 [snd_soc_rt5682]
    [   53.494573] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 28 02 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 6b 06 e2 48 8b 43 90 48 8b 40 20 <80> b8 28 02 00 00 00 74 e0 4c 8d a3 70 01 00 00 31 f6 4c 89 e7 e8
    [   53.494578] RSP: 0018:ffffadd940917e38 EFLAGS: 00010286
    [   53.494584] RAX: 0000000000000000 RBX: ffffa28f51b61098 RCX: 0000000000000001
    [   53.494589] RDX: ffffa28f53969a80 RSI: ffffffffa2e6e060 RDI: ffffa28f51b61098
    [   53.494593] RBP: ffffadd940917ed0 R08: 0000000000000001 R09: 00000000001e9640
    [   53.494598] R10: 0000001e470627c2 R11: 0000000000000000 R12: ffffa28f55de9780
    [   53.494603] R13: ffffa28f55dede00 R14: 0000000000000000 R15: 0ffffa28f55dede0
    [   53.494608] FS:  0000000000000000(0000) GS:ffffa28f55c00000(0000) knlGS:0000000000000000
    [   53.494613] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [   53.494618] CR2: 0000000000000228 CR3: 0000000127224003 CR4: 00000000003606e0
    
  4. aiChaoSONG commented on Aug 21, 2019

    @aiChaoSONG
    Author

    At the first try of removing module, the error occurs.

    sof_remove.sh output:

    skipping sof_pci_dev, not loaded
    skipping sof_acpi_dev, not loaded
    Removing snd_sof_intel_byt
    rmmod: ERROR: Module snd_sof_intel_byt is in use by: snd_sof_pci
    skipping snd_sof_intel_bdw, not loaded
    Removing snd_sof_intel_hda_common
    rmmod: ERROR: Module snd_sof_intel_hda_common is in use by: snd_sof_pci
    Removing snd_sof_intel_hda
    rmmod: ERROR: Module snd_sof_intel_hda is in use by: snd_sof_intel_hda_common
    Removing snd_sof_intel_ipc
    rmmod: ERROR: Module snd_sof_intel_ipc is in use by: snd_sof_intel_byt
    Removing snd_sof_xtensa_dsp
    rmmod: ERROR: Module snd_sof_xtensa_dsp is in use by: snd_sof_pci
    Removing snd_soc_acpi_intel_match
    rmmod: ERROR: Module snd_soc_acpi_intel_match is in use by: snd_sof_pci snd_sof_intel_hda_common
    Removing snd_soc_sof_rt5682
    skipping snd_soc_sst_bdw_rt5677_mach, not loaded
    skipping snd_soc_sst_broadwell, not loaded
    skipping snd_soc_sst_bxt_da7219_max98357a, not loaded
    skipping snd_soc_sst_bxt_pcm512x, not loaded
    skipping snd_soc_sst_bxt_rt298, not loaded
    skipping snd_soc_sst_bxt_wm8804, not loaded
    skipping snd_soc_sst_byt_cht_da7213, not loaded
    skipping snd_soc_sst_byt_cht_es8316, not loaded
    skipping snd_soc_sst_bytcr_rt5640, not loaded
    skipping snd_soc_sst_bytcr_rt5651, not loaded
    skipping snd_soc_sst_cht_bsw_max98090_ti, not loaded
    skipping snd_soc_sst_cht_bsw_nau8824, not loaded
    skipping snd_soc_sst_cht_bsw_rt5645, not loaded
    skipping snd_soc_sst_cht_bsw_rt5672, not loaded
    skipping snd_soc_sst_glk_rt5682_max98357a, not loaded
    skipping snd_soc_skl_hda_dsp, not loaded
    Removing snd_sof
    rmmod: ERROR: Module snd_sof is in use by: snd_sof_pci snd_sof_intel_hda_common snd_sof_intel_byt snd_sof_intel_ipc
    skipping snd_sof_nocodec, not loaded
    skipping snd_soc_da7213, not loaded
    skipping snd_soc_da7219, not loaded
    skipping snd_soc_pcm512x_i2c, not loaded
    skipping snd_soc_pcm512x, not loaded
    skipping snd_soc_rt274, not loaded
    skipping snd_soc_rt286, not loaded
    skipping snd_soc_rt298, not loaded
    skipping snd_soc_rt700, not loaded
    skipping snd_soc_rt5640, not loaded
    skipping snd_soc_rt5645, not loaded
    skipping snd_soc_rt5651, not loaded
    skipping snd_soc_rt5670, not loaded
    skipping snd_soc_rt5677_spi, not loaded
    skipping snd_soc_rt5677, not loaded
    Removing snd_soc_rl6231
    rmmod: ERROR: Module snd_soc_rl6231 is in use by: snd_soc_rt5682
    skipping snd_soc_rl6347a, not loaded
    skipping snd_soc_wm8804_i2c, not loaded
    skipping snd_soc_wm8804, not loaded
    Removing snd_soc_max98357a
    Removing snd_soc_hdac_hda
    rmmod: ERROR: Module snd_soc_hdac_hda is in use by: snd_sof_intel_hda_common
    Removing snd_soc_hdac_hdmi
    Removing snd_soc_dmic
    Removing snd_soc_acpi
    rmmod: ERROR: Module snd_soc_acpi is in use by: snd_sof_pci snd_soc_acpi_intel_match
    Removing snd_hda_ext_core
    rmmod: ERROR: Module snd_hda_ext_core is in use by: snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda
    skipping soundwire_intel_init, not loaded
    skipping soundwire_intel, not loaded
    skipping soundwire_cadence, not loaded
    skipping regmap_sdw, not loaded
    skipping soundwire_bus, not loaded
    Removing snd_soc_core
    rmmod: ERROR: Module snd_soc_core is in use by: snd_soc_rt5682 snd_sof snd_sof_intel_hda_common snd_soc_hdac_hda
    Removing snd_hda_codec
    rmmod: ERROR: Module snd_hda_codec is in use by: snd_soc_hdac_hda
    Removing snd_hda_core
    rmmod: ERROR: Module snd_hda_core is in use by: snd_hda_ext_core snd_hda_codec snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda
    Removing snd_hwdep
    rmmod: ERROR: Module snd_hwdep is in use by: snd_hda_codec
    Removing snd_pcm
    rmmod: ERROR: Module snd_pcm is in use by: snd_soc_rt5682 snd_hda_codec snd_sof snd_sof_intel_hda_common snd_soc_core snd_hda_core
    

    dmesg log:

    [  183.452935] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 0 dir 0 cmd 1
    [  183.453452] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x14001e successful
    [  183.453454] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000: GLB_STREAM_MSG: TRIG_START
    [  183.453580] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60040000: GLB_STREAM_MSG: TRIG_START
    [  183.603947] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 0 dir 0 cmd 0
    [  183.604507] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
    [  183.604523] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
    [  183.604769] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
    [  183.604778] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
    [  183.604988] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60030000: GLB_STREAM_MSG: PCM_FREE
    [  183.605392] sof-audio-pci 0000:00:1f.3: pcm: close stream 0 dir 0
    [  183.910687] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
    [  183.910738] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
    [  184.410662] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
    [  184.410735] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
    [  185.681558] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
    [  185.716453] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
    [  185.716587] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
    [  185.716617] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
    [  185.716625] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1000f0f successful
    [  185.716628] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
    [  185.716676] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000010 at  00000044
    [  200.499486] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.549741] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.549747] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.549755] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.549798] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.600418] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.600425] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.600434] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.600478] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.650765] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.650772] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.650781] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.650822] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.701412] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.701419] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.701429] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.701469] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.751773] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.751780] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.751790] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.751831] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.802422] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.802429] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.802438] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.802479] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.852725] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.852732] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.852740] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.852775] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.903419] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.903426] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.903435] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  200.903477] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff successful
    [  200.953766] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xffffffff timedout
    [  200.953773] sof-audio-pci 0000:00:1f.3: error: dsp core power down fail mask 1: -110
    [  200.953782] sof-audio-pci 0000:00:1f.3: error: powering down pipeline schedule core 0
    [  201.219703] BUG: kernel NULL pointer dereference, address: 0000000000000108
    [  201.219706] #PF: supervisor read access in kernel mode
    [  201.219707] #PF: error_code(0x0000) - not-present page
    [  201.219708] PGD 0 P4D 0 
    [  201.219711] Oops: 0000 [#1] SMP NOPTI
    [  201.219714] CPU: 4 PID: 321 Comm: kworker/4:2 Not tainted 5.3.0-rc4+ #17
    [  201.219715] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [  201.219718] Workqueue: events_power_efficient rt5682_jack_detect_handler [snd_soc_rt5682]
    [  201.219721] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x290 [snd_soc_rt5682]
    [  201.219723] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 08 01 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 1e ce ee 48 8b 43 90 48 8b 40 20 <80> b8 08 01 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 ba 05
    [  201.219724] RSP: 0000:ffff9e2e40767e78 EFLAGS: 00010286
    [  201.219726] RAX: 0000000000000000 RBX: ffff99f9d3096e98 RCX: ffff99f9d6328260
    [  201.219727] RDX: ffff99f9d6328260 RSI: 0000000000000100 RDI: ffff99f9d3096e98
    [  201.219728] RBP: ffff99f9d6328240 R08: 0000746e65696369 R09: 8080808080808080
    [  201.219729] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff99f9d632c500
    [  201.219730] R13: 0000000000000000 R14: ffff99f9d381ab40 R15: 0ffff99f9d632c50
    [  201.219732] FS:  0000000000000000(0000) GS:ffff99f9d6300000(0000) knlGS:0000000000000000
    [  201.219733] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  201.219734] CR2: 0000000000000108 CR3: 000000024cca0005 CR4: 00000000003606e0
    [  201.219735] Call Trace:
    [  201.219740]  process_one_work+0x1e3/0x3d0
    [  201.219742]  worker_thread+0x28/0x3c0
    [  201.219744]  ? cancel_delayed_work+0x80/0x80
    [  201.219746]  kthread+0x10e/0x130
    [  201.219748]  ? kthread_park+0xa0/0xa0
    [  201.219752]  ret_from_fork+0x1f/0x40
    [  201.219754] Modules linked in: snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_soc_acpi_intel_match snd_sof_intel_ipc snd_sof snd_sof_xtensa_dsp snd_soc_acpi snd_hda_ext_core snd_intel_nhlt snd_hda_codec snd_soc_rt5682 snd_soc_rl6231 snd_hwdep snd_hda_core snd_soc_core snd_pcm snd_seq_midi ax88179_178a snd_seq_midi_event usbnet snd_rawmidi x86_pkg_temp_thermal intel_powerclamp snd_seq iwlmvm i915 snd_seq_device snd_timer snd i2c_algo_bit elan_i2c drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops processor_thermal_device int3403_thermal soundcore drm int3400_thermal int340x_thermal_zone iwlwifi intel_soc_dts_iosf acpi_thermal_rel intel_lpss_pci intel_lpss mfd_core efivarfs xhci_pci sdhci_pci cqhci xhci_hcd sdhci [last unloaded: snd_soc_dmic]
    [  201.219781] CR2: 0000000000000108
    [  201.219783] ---[ end trace 350e63d4d74a5405 ]---
    [  201.219788] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x290 [snd_soc_rt5682]
    [  201.219790] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 08 01 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 1e ce ee 48 8b 43 90 48 8b 40 20 <80> b8 08 01 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 ba 05
    [  201.219791] RSP: 0000:ffff9e2e40767e78 EFLAGS: 00010286
    [  201.219793] RAX: 0000000000000000 RBX: ffff99f9d3096e98 RCX: ffff99f9d6328260
    [  201.219794] RDX: ffff99f9d6328260 RSI: 0000000000000100 RDI: ffff99f9d3096e98
    [  201.219795] RBP: ffff99f9d6328240 R08: 0000746e65696369 R09: 8080808080808080
    [  201.219796] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff99f9d632c500
    [  201.219797] R13: 0000000000000000 R14: ffff99f9d381ab40 R15: 0ffff99f9d632c50
    [  201.219798] FS:  0000000000000000(0000) GS:ffff99f9d6300000(0000) knlGS:0000000000000000
    [  201.219799] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  201.219801] CR2: 0000000000000108 CR3: 000000024cca0005 CR4: 00000000003606e0
    

    dmesg.log

  5. plbossart commented on Aug 21, 2019

    @plbossart
    Member

    are you using the latest scripts? Seems like you don't remove snd-sof-pci and snd-sof-acpi, so the dependencies are broken indeed.

  6. aiChaoSONG commented on Aug 26, 2019

    @aiChaoSONG
    Author

    With the latest remove/insert scripts, and ensure the runtime_status being suspended, the first removal will cause a null pointer dereference, but after insertion, aplay/arecord funciton well. The second removal will block in removing snd_soc_rt5682.

    # first removal
    [  192.923578] BUG: kernel NULL pointer dereference, address: 0000000000000108
    [  192.923582] #PF: supervisor read access in kernel mode
    [  192.923583] #PF: error_code(0x0000) - not-present page
    [  192.923584] PGD 0 P4D 0 
    [  192.923588] Oops: 0000 [#1] SMP NOPTI
    [  192.923590] CPU: 2 PID: 52 Comm: kworker/2:1 Not tainted 5.3.0-rc4+ #21
    [  192.923591] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [  192.923595] Workqueue: events_power_efficient rt5682_jack_detect_handler [snd_soc_rt5682]
    [  192.923598] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x290 [snd_soc_rt5682]
    [  192.923600] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 08 01 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 4e 37 fb 48 8b 43 90 48 8b 40 20 <80> b8 08 01 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 ba 35
    [  192.923602] RSP: 0018:ffff9a158020be78 EFLAGS: 00010286
    [  192.923603] RAX: 0000000000000000 RBX: ffff91f4d4b60498 RCX: ffff91f4d62a8260
    [  192.923604] RDX: ffff91f4d62a8260 RSI: 0000000000000080 RDI: ffff91f4d4b60498
    [  192.923606] RBP: ffff91f4d62a8240 R08: 0000746e65696369 R09: 8080808080808080
    [  192.923607] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff91f4d62ac500
    [  192.923608] R13: 0000000000000000 R14: ffff91f4d4a0d540 R15: 0ffff91f4d62ac50
    [  192.923609] FS:  0000000000000000(0000) GS:ffff91f4d6280000(0000) knlGS:0000000000000000
    [  192.923610] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  192.923612] CR2: 0000000000000108 CR3: 000000015740a004 CR4: 00000000003606e0
    [  192.923613] Call Trace:
    [  192.923618]  process_one_work+0x1e3/0x3d0
    [  192.923620]  worker_thread+0x28/0x3c0
    [  192.923622]  ? cancel_delayed_work+0x80/0x80
    [  192.923624]  kthread+0x10e/0x130
    [  192.923627]  ? kthread_park+0xa0/0xa0
    [  192.923630]  ret_from_fork+0x1f/0x40
    [  192.923632] Modules linked in: asix usbnet snd_soc_hdac_hdmi snd_soc_dmic snd_soc_hdac_hda snd_soc_rt5682 snd_soc_acpi snd_hda_ext_core snd_soc_rl6231 snd_soc_max98357a snd_intel_nhlt snd_soc_core snd_hda_codec snd_hwdep snd_seq_midi snd_hda_core iwlmvm snd_seq_midi_event i915 snd_pcm snd_rawmidi i2c_algo_bit snd_seq drm_kms_helper syscopyarea x86_pkg_temp_thermal sysfillrect snd_seq_device intel_powerclamp snd_timer elan_i2c sysimgblt intel_lpss_pci fb_sys_fops snd intel_lpss int3403_thermal soundcore iwlwifi processor_thermal_device drm int340x_thermal_zone mfd_core int3400_thermal intel_soc_dts_iosf acpi_thermal_rel efivarfs sdhci_pci xhci_pci cqhci sdhci xhci_hcd [last unloaded: snd_sof]
    [  192.923649] CR2: 0000000000000108
    [  192.923651] ---[ end trace 6fd894911e0c945b ]---
    [  192.923653] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x290 [snd_soc_rt5682]
    [  192.923655] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 08 01 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa 4e 37 fb 48 8b 43 90 48 8b 40 20 <80> b8 08 01 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 ba 35
    [  192.923656] RSP: 0018:ffff9a158020be78 EFLAGS: 00010286
    [  192.923658] RAX: 0000000000000000 RBX: ffff91f4d4b60498 RCX: ffff91f4d62a8260
    [  192.923659] RDX: ffff91f4d62a8260 RSI: 0000000000000080 RDI: ffff91f4d4b60498
    [  192.923660] RBP: ffff91f4d62a8240 R08: 0000746e65696369 R09: 8080808080808080
    [  192.923661] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff91f4d62ac500
    [  192.923662] R13: 0000000000000000 R14: ffff91f4d4a0d540 R15: 0ffff91f4d62ac50
    [  192.923663] FS:  0000000000000000(0000) GS:ffff91f4d6280000(0000) knlGS:0000000000000000
    [  192.923664] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  192.923666] CR2: 0000000000000108 CR3: 000000015740a004 CR4: 00000000003606e0
    
    #second removal
    [  340.699678] BUG: kernel NULL pointer dereference, address: 0000000000000108
    [  340.699681] #PF: supervisor read access in kernel mode
    [  340.699682] #PF: error_code(0x0000) - not-present page
    [  340.699683] PGD 0 P4D 0 
    [  340.699685] Oops: 0000 [#2] SMP NOPTI
    [  340.699687] CPU: 6 PID: 118 Comm: kworker/6:1 Tainted: G      D W         5.3.0-rc4+ #21
    [  340.699688] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [  340.699690] Workqueue: events_power_efficient rt5682_jack_detect_handler [snd_soc_rt5682]
    [  340.699692] RIP: 0010:rt5682_jack_detect_handler+0x4e/0x290 [snd_soc_rt5682]
    [  340.699693] Code: 90 48 85 c0 74 e8 48 8b 40 20 80 b8 08 01 00 00 00 75 20 be 98 3a 00 00 bf 10 27 00 00 e8 fa fe 3f fb 48 8b 43 90 48 8b 40 20 <80> b8 08 01 00 00 00 74 e0 48 8d ab b0 00 00 00 48 89 ef e8 ba e5
    [  340.699694] RSP: 0018:ffff9a15802c7e78 EFLAGS: 00010286
    [  340.699695] RAX: 0000000000000000 RBX: ffff91f4931eac98 RCX: ffff91f4d63a8260
    [  340.699696] RDX: ffff91f4d63a8260 RSI: 0000000000000180 RDI: ffff91f4931eac98
    [  340.699697] RBP: ffff91f4d63a8240 R08: 0000746e65696369 R09: 8080808080808080
    [  340.699698] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff91f4d63ac500
    [  340.699698] R13: 0000000000000000 R14: ffff91f4d4a95000 R15: 0ffff91f4d63ac50
    [  340.699699] FS:  0000000000000000(0000) GS:ffff91f4d6380000(0000) knlGS:0000000000000000
    [  340.699700] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  340.699701] CR2: 0000000000000108 CR3: 000000015740a002 CR4: 00000000003606e0
    [  340.699701] Call Trace:
    [  340.699705]  process_one_work+0x1e3/0x3d0
    [  340.699706]  worker_thread+0x28/0x3c0
    [  340.699707]  ? cancel_delayed_work+0x80/0x80
    [  340.699709]  kthread+0x10e/0x130
    [  340.699710]  ? kthread_park+0xa0/0xa0
    [  340.699712]  ret_from_fork+0x1f/0x40
    [  340.699714] Modules linked in: snd_soc_hdac_hdmi snd_soc_dmic snd_soc_hdac_hda snd_hda_ext_core snd_hda_codec snd_hwdep snd_hda_core snd_soc_acpi snd_soc_max98090 snd_soc_max98357a snd_soc_wm8804_i2c snd_soc_wm8804 snd_soc_pcm512x_i2c snd_soc_pcm512x snd_soc_rt5682 snd_soc_rt5677_spi snd_soc_rt5670 snd_soc_rt5651 snd_soc_rt5645 snd_soc_rt5640 snd_soc_rl6231 snd_soc_rt298 snd_soc_rt286 snd_soc_rl6347a snd_soc_core snd_pcm asix usbnet snd_intel_nhlt snd_seq_midi iwlmvm snd_seq_midi_event i915 snd_rawmidi i2c_algo_bit snd_seq drm_kms_helper syscopyarea x86_pkg_temp_thermal sysfillrect snd_seq_device intel_powerclamp snd_timer elan_i2c sysimgblt intel_lpss_pci fb_sys_fops snd intel_lpss int3403_thermal soundcore iwlwifi processor_thermal_device drm int340x_thermal_zone mfd_core int3400_thermal intel_soc_dts_iosf acpi_thermal_rel efivarfs sdhci_pci xhci_pci cqhci sdhci xhci_hcd [last unloaded: snd_soc_da7219]
    [  340.699731] CR2: 0000000000000108
    [  340.699732] ---[ end trace 6fd894911e0c945d ]---
    [  340.699734] RIP: 0010:hp_amp_power+0x20e/0x2e0 [snd_soc_rt5645]
    [  340.699735] Code: fa bf 14 00 00 00 e8 51 8d af fa b9 10 00 00 00 ba 10 00 00 00 be 8e 00 00 00 48 89 ef e8 aa 47 f5 ff 49 8b 7c 24 28 ba 00 74 <00> 00 be 3e 01 00 00 e8 26 c8 f0 fa ba 37 07 00 00 be 90 00 00 00
    [  340.699736] RSP: 0018:ffff9a158020be78 EFLAGS: 00010286
    [  340.699737] RAX: 0000000000000000 RBX: ffff91f4d4b60498 RCX: ffff91f4d62a8260
    [  340.699737] RDX: ffff91f4d62a8260 RSI: 0000000000000080 RDI: ffff91f4d4b60498
    [  340.699738] RBP: ffff91f4d62a8240 R08: 0000746e65696369 R09: 8080808080808080
    [  340.699739] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff91f4d62ac500
    [  340.699739] R13: 0000000000000000 R14: ffff91f4d4a0d540 R15: 0ffff91f4d62ac50
    [  340.699740] FS:  0000000000000000(0000) GS:ffff91f4d6380000(0000) knlGS:0000000000000000
    [  340.699741] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  340.699742] CR2: 0000000000000108 CR3: 000000015740a002 CR4: 00000000003606e0
    

    dmesg_r2.log

  7. aiChaoSONG commented on Aug 26, 2019

    @aiChaoSONG
    Author

    PR #1149 doesn't solve this issue, and brings a new kernel BUG: unable to handle page fault for address: ffffffffc08a0060

    [  216.244682] BUG: unable to handle page fault for address: ffffffffc08a0060
    [  216.244685] #PF: supervisor instruction fetch in kernel mode
    [  216.244686] #PF: error_code(0x0010) - not-present page
    [  216.244687] PGD 12000c067 P4D 12000c067 PUD 12000e067 PMD 252d0f067 PTE 0
    [  216.244689] Oops: 0010 [#1] SMP NOPTI
    [  216.244691] CPU: 7 PID: 118 Comm: kworker/7:1 Tainted: G        W         5.3.0-rc4+ #22
    [  216.244692] Hardware name: Google Hatch/Hatch, BIOS  07/05/2019
    [  216.244693] Workqueue: events_power_efficient 0xffffffffc08a0060
    [  216.244695] RIP: 0010:0xffffffffc08a0060
    [  216.244696] Code: Bad RIP value.
    [  216.244697] RSP: 0018:ffffa8e4c02b7e98 EFLAGS: 00010286
    [  216.244698] RAX: ffffffffc08a0060 RBX: ffff97d2923acc98 RCX: ffff97d2963e8260
    [  216.244699] RDX: ffff97d2963e8260 RSI: 00000000000001c0 RDI: ffff97d2923acc98
    [  216.244699] RBP: ffff97d2963e8240 R08: 0000746e65696369 R09: 8080808080808080
    [  216.244700] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff97d2963ec500
    [  216.244701] R13: 0000000000000000 R14: ffff97d2945d3000 R15: 0ffff97d2963ec50
    [  216.244702] FS:  0000000000000000(0000) GS:ffff97d2963c0000(0000) knlGS:0000000000000000
    [  216.244703] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  216.244703] CR2: ffffffffc08a0036 CR3: 000000012000a001 CR4: 00000000003606e0
    [  216.244704] Call Trace:
    [  216.244707]  ? process_one_work+0x1e3/0x3d0
    [  216.244708]  ? worker_thread+0x28/0x3c0
    [  216.244710]  ? cancel_delayed_work+0x80/0x80
    [  216.244711]  ? kthread+0x10e/0x130
    [  216.244713]  ? kthread_park+0xa0/0xa0
    [  216.244715]  ? ret_from_fork+0x1f/0x40
    [  216.244716] Modules linked in: asix usbnet snd_soc_hdac_hdmi snd_soc_dmic snd_soc_hdac_hda snd_soc_max98357a snd_seq_midi snd_soc_acpi snd_seq_midi_event snd_hda_ext_core snd_rawmidi snd_soc_core iwlmvm snd_intel_nhlt snd_hda_codec snd_seq x86_pkg_temp_thermal snd_hwdep snd_hda_core intel_powerclamp i915 snd_seq_device snd_pcm snd_timer i2c_algo_bit snd drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops elan_i2c iwlwifi soundcore drm intel_lpss_pci int3403_thermal intel_lpss processor_thermal_device mfd_core int340x_thermal_zone intel_soc_dts_iosf int3400_thermal acpi_thermal_rel efivarfs sdhci_pci xhci_pci cqhci sdhci xhci_hcd [last unloaded: snd_soc_rl6231]
    [  216.244730] CR2: ffffffffc08a0060
    [  216.244731] ---[ end trace cde31da57d07389b ]---
    [  216.244732] RIP: 0010:0xffffffffc08a0060
    [  216.244733] Code: Bad RIP value.
    [  216.244734] RSP: 0018:ffffa8e4c02b7e98 EFLAGS: 00010286
    [  216.244735] RAX: ffffffffc08a0060 RBX: ffff97d2923acc98 RCX: ffff97d2963e8260
    [  216.244735] RDX: ffff97d2963e8260 RSI: 00000000000001c0 RDI: ffff97d2923acc98
    [  216.244736] RBP: ffff97d2963e8240 R08: 0000746e65696369 R09: 8080808080808080
    [  216.244737] R10: 0000000000000018 R11: fefefefefefefeff R12: ffff97d2963ec500
    [  216.244737] R13: 0000000000000000 R14: ffff97d2945d3000 R15: 0ffff97d2963ec50
    [  216.244738] FS:  0000000000000000(0000) GS:ffff97d2963c0000(0000) knlGS:0000000000000000
    [  216.244739] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [  216.244740] CR2: ffffffffc08a0036 CR3: 000000012000a001 CR4: 00000000003606e0
    

    pr1149_dmesg.log

  8. juimonen commented on Aug 26, 2019

    @juimonen

    @aiChaoSONG if this is rt5682 platform, don't use #1149 because it is meant for rt5651. They are different bugs and should not be mixed. (#1147 is for rt5682).

  9. aiChaoSONG commented on Aug 26, 2019

    @aiChaoSONG
    Author

    This issue is fixed by #1147

  10. aiChaoSONG commented on Aug 27, 2019

    @aiChaoSONG
    Author

    Let's close this bug, since it is fixed after PR #1147 being merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLApplies to Comet Lake platformbugSomething isn't workingdriver unload/reloadObserved when unloading/reloading kernel driver modules

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions