linux icon indicating copy to clipboard operation
linux copied to clipboard

Kernel oops on Helios Chromebook

Open plbossart opened this issue 3 years ago • 23 comments

Kernel oops detected by Intel test 4819 on CML_HEL_RT5682

Test Case URL: https://github.com/thesofproject/sof-test/tree/master/test-case/check-kmod-load-unload.sh cmd: TPLG=sof-cml-rt1011-rt5682.tplg ~/sof-test/test-case/check-kmod-load-unload.sh -l 25

dmesg.log

[ 5993.111452] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 5993.111689] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: FW Poll Status: reg[0x80]=0x20140000 successful
[ 5993.189809] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: FW Poll Status: reg[0x4]=0x1010f0f successful
[ 5993.190413] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xf0f successful
[ 5993.190421] kernel: sof-audio-pci-intel-cnl 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask 1
[ 5994.688732] kernel: BUG: unable to handle page fault for address: ffffffffc0978200
[ 5994.688742] kernel: #PF: supervisor write access in kernel mode
[ 5994.688747] kernel: #PF: error_code(0x0002) - not-present page
[ 5994.688751] kernel: PGD 1efe27067 P4D 1efe27067 PUD 1efe29067 PMD 10ce6f067 PTE 0
[ 5994.688760] kernel: Oops: 0002 [#1] SMP NOPTI
[ 5994.688766] kernel: CPU: 2 PID: 80996 Comm: rmmod Not tainted 5.13.0-rc5-pr2989-5919-default #3c0c1a01
[ 5994.688772] kernel: Hardware name: Google Helios/Helios, BIOS  01/21/2020
[ 5994.688775] kernel: RIP: 0010:clk_unregister+0x189/0x240
[ 5994.688785] kernel: Code: 00 48 85 c0 75 de 49 8b 41 08 49 83 c1 08 48 85 c0 75 c9 48 8b 45 00 48 8b 90 c0 00 00 00 48 85 d2 74 2d 48 8b 88 b8 00 00 00 <48> 89 0a 48 85 c9 74 04 48 89 51 08 48 c7 80 b8 00 00 00 00 00 00
[ 5994.688790] kernel: RSP: 0018:ffffa30680777e08 EFLAGS: 00010286
[ 5994.688795] kernel: RAX: ffffa07637729f00 RBX: ffffa07637729f00 RCX: ffffffff9ef85280
[ 5994.688799] kernel: RDX: ffffffffc0978200 RSI: ffffa07637729f00 RDI: ffffa076024e7400
[ 5994.688802] kernel: RBP: ffffa07615958ba0 R08: ffffa076024e7400 R09: ffffffff9e5fda50
[ 5994.688805] kernel: R10: 0000000000000001 R11: 0000000000000000 R12: ffffa30680777e20
[ 5994.688808] kernel: R13: 000000000000000f R14: ffffa07600ae9fc0 R15: 0000000000000000
[ 5994.688811] kernel: FS:  00007f1516db6540(0000) GS:ffffa07756200000(0000) knlGS:0000000000000000
[ 5994.688816] kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5994.688820] kernel: CR2: ffffffffc0978200 CR3: 000000013a8d6002 CR4: 00000000003706e0
[ 5994.688824] kernel: Call Trace:
[ 5994.688829] kernel:  release_nodes+0x1a9/0x1f0
[ 5994.688840] kernel:  i2c_device_remove+0x37/0xb0
[ 5994.688848] kernel:  device_release_driver_internal+0xee/0x1d0
[ 5994.688853] kernel:  driver_detach+0x42/0x90
[ 5994.688858] kernel:  bus_remove_driver+0x56/0xd0
[ 5994.688866] kernel:  i2c_del_driver+0x19/0x40
[ 5994.688871] kernel:  __x64_sys_delete_module+0x18c/0x250
[ 5994.688881] kernel:  do_syscall_64+0x3d/0x80
[ 5994.688889] kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 5994.688897] kernel: RIP: 0033:0x7f1516f02bcb
[ 5994.688901] kernel: Code: 73 01 c3 48 8b 0d c5 82 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 82 0c 00 f7 d8 64 89 01 48
[ 5994.688906] kernel: RSP: 002b:00007ffe077397c8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[ 5994.688911] kernel: RAX: ffffffffffffffda RBX: 0000555ac7f2c790 RCX: 00007f1516f02bcb
[ 5994.688915] kernel: RDX: 000000000000000a RSI: 0000000000000800 RDI: 0000555ac7f2c7f8
[ 5994.688918] kernel: RBP: 00007ffe07739828 R08: 0000000000000000 R09: 0000000000000000
[ 5994.688921] kernel: R10: 00007f1516f7eac0 R11: 0000000000000206 R12: 00007ffe07739a00
[ 5994.688924] kernel: R13: 00007ffe0773adf8 R14: 0000555ac7f2c2a0 R15: 0000555ac7f2c790
[ 5994.688929] kernel: Modules linked in: snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_soc_dmic soundwire_intel soundwire_generic_allocation soundwire_cadence snd_soc_hdac_hda snd_hda_ext_core snd_hda_codec snd_hwdep snd_hda_core snd_soc_acpi snd_intel_dspcfg snd_intel_sdw_acpi snd_soc_max98373_sdw snd_soc_max98373_i2c snd_soc_max98373 snd_soc_max98090 snd_soc_max98357a snd_soc_wm8804_i2c snd_soc_wm8804 regmap_sdw soundwire_bus snd_soc_rt5682_i2c(-) snd_soc_rt5682 snd_soc_rl6231 snd_soc_rl6347a snd_soc_core snd_compress snd_pcm fuse ax88179_178a usbnet snd_usbmidi_lib intel_pmc_core_pltdrv intel_pmc_core x86_pkg_temp_thermal ledtrig_audio i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops regmap_i2c intel_pch_thermal snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore elan_i2c int3403_thermal int340x_thermal_zone int3400_thermal acpi_thermal_rel drm efivarfs spi_pxa2xx_platform intel_lpss_pci xhci_pci intel_lpss idma64 xhci_hcd
[ 5994.689015] kernel:  [last unloaded: snd_soc_rt5682_sdw]
[ 5994.689022] kernel: CR2: ffffffffc0978200
[ 5994.689025] kernel: ---[ end trace 76680917a2530f8b ]---
[ 5994.689029] kernel: RIP: 0010:clk_unregister+0x189/0x240
[ 5994.689035] kernel: Code: 00 48 85 c0 75 de 49 8b 41 08 49 83 c1 08 48 85 c0 75 c9 48 8b 45 00 48 8b 90 c0 00 00 00 48 85 d2 74 2d 48 8b 88 b8 00 00 00 <48> 89 0a 48 85 c9 74 04 48 89 51 08 48 c7 80 b8 00 00 00 00 00 00
[ 5994.689039] kernel: RSP: 0018:ffffa30680777e08 EFLAGS: 00010286
[ 5994.689043] kernel: RAX: ffffa07637729f00 RBX: ffffa07637729f00 RCX: ffffffff9ef85280
[ 5994.689046] kernel: RDX: ffffffffc0978200 RSI: ffffa07637729f00 RDI: ffffa076024e7400
[ 5994.689049] kernel: RBP: ffffa07615958ba0 R08: ffffa076024e7400 R09: ffffffff9e5fda50
[ 5994.689052] kernel: R10: 0000000000000001 R11: 0000000000000000 R12: ffffa30680777e20
[ 5994.689055] kernel: R13: 000000000000000f R14: ffffa07600ae9fc0 R15: 0000000000000000
[ 5994.689058] kernel: FS:  00007f1516db6540(0000) GS:ffffa07756200000(0000) knlGS:0000000000000000
[ 5994.689062] kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5994.689065] kernel: CR2: ffffffffc0978200 CR3: 000000013a8d6002 CR4: 00000000003706e0
[ 5994.689070] kernel: BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49
[ 5994.689073] kernel: in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 80996, name: rmmod
[ 5994.689078] kernel: INFO: lockdep is turned off.
[ 5994.689080] kernel: CPU: 2 PID: 80996 Comm: rmmod Tainted: G      D           5.13.0-rc5-pr2989-5919-default #3c0c1a01
[ 5994.689085] kernel: Hardware name: Google Helios/Helios, BIOS  01/21/2020
[ 5994.689088] kernel: Call Trace:
[ 5994.689091] kernel:  dump_stack+0x64/0x7c
[ 5994.689098] kernel:  ___might_sleep.cold+0x95/0xa2
[ 5994.689106] kernel:  exit_signals+0x2b/0x220
[ 5994.689115] kernel:  do_exit+0xc2/0xb50
[ 5994.689123] kernel:  rewind_stack_do_exit+0x17/0x20
[ 5994.689129] kernel: RIP: 0033:0x7f1516f02bcb
[ 5994.689133] kernel: Code: 73 01 c3 48 8b 0d c5 82 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 82 0c 00 f7 d8 64 89 01 48
[ 5994.689137] kernel: RSP: 002b:00007ffe077397c8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[ 5994.689142] kernel: RAX: ffffffffffffffda RBX: 0000555ac7f2c790 RCX: 00007f1516f02bcb
[ 5994.689145] kernel: RDX: 000000000000000a RSI: 0000000000000800 RDI: 0000555ac7f2c7f8
[ 5994.689148] kernel: RBP: 00007ffe07739828 R08: 0000000000000000 R09: 0000000000000000
[ 5994.689151] kernel: R10: 00007f1516f7eac0 R11: 0000000000000206 R12: 00007ffe07739a00
[ 5994.689153] kernel: R13: 00007ffe0773adf8 R14: 0000555ac7f2c2a0 R15: 0000555ac7f2c790

@sathya-nujella @naveen-manohar @cujomalainey @bzhg @bardliao @oder-chiou @shumingfan FYI probably unrelated to SOF, probably codec or machine driver issue.

plbossart avatar Jun 23 '21 15:06 plbossart