RHEL7: kernel panic at build_audio_output.isra.2 when system is shutting down.

Solution Verified - Updated -

Issue

  • When system is shutdown, kernel panic occurred with below logs:
[171071.095853] virbr0: port 2(vnet0) entered disabled state
[171071.097262] device vnet0 left promiscuous mode
[171071.097269] virbr0: port 2(vnet0) entered disabled state
[171085.821380] XFS (md126p2): Unmounting Filesystem
[171086.440229] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[171087.788776] Ebtables v2.0 unregistered
[171088.007239] type=1305 audit(1608216320.675:7271): audit_pid=0 old=1312 auid=4294967295 ses=4294967295 res=1
[171088.007772] type=1131 audit(1608216320.675:7272): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.008151] type=1131 audit(1608216320.675:7273): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.008449] type=1131 audit(1608216320.675:7274): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rhel-import-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.009408] type=1131 audit(1608216320.676:7275): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rhel-readonly comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.022399] type=1131 audit(1608216320.689:7276): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.262936] XFS (dm-3): Unmounting Filesystem
[171088.331160] type=1131 audit(1608216320.998:7277): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-mapper-ARRAY0_0p3\x2dusr_local comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.331919] type=1131 audit(1608216320.999:7278): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.332244] type=1131 audit(1608216320.999:7279): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.332555] type=1131 audit(1608216320.999:7280): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-readahead-collect comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[171088.377479] systemd-shutdown[1]: Syncing filesystems and block devices.
[171088.380509] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[171088.388024] systemd-journald[836]: Received SIGTERM from PID 1 (systemd-shutdow).
[171088.388997] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[171088.396309] systemd-shutdown[1]: Unmounting file systems.
[171088.396570] systemd-shutdown[23760]: Remounting '/' read-only in with options 'attr2,inode64,noquota'.
[171088.536512] systemd-shutdown[1]: All filesystems unmounted.
[171088.536544] systemd-shutdown[1]: Deactivating swaps.
[171088.536624] systemd-shutdown[1]: All swaps deactivated.
[171088.536650] systemd-shutdown[1]: Detaching loop devices.
[171088.537332] systemd-shutdown[1]: All loop devices detached.
[171088.537362] systemd-shutdown[1]: Detaching DM devices.
[171088.537569] systemd-shutdown[1]: Detaching DM 253:3.
[171088.548824] systemd-shutdown[1]: Detaching DM 253:1.
[171088.560828] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[171088.561046] systemd-shutdown[1]: Detaching DM devices.
[171088.561206] systemd-shutdown[1]: Not all DM devices detached, 1 left.
[171088.561237] systemd-shutdown[1]: Cannot finalize remaining DM devices, continuing.
[171088.589516] systemd-shutdown[1]: Failed to finalize  DM devices, ignoring
[171088.591023] systemd-shutdown[1]: Syncing filesystems and block devices.
[171088.592460] systemd-shutdown[1]: Powering off.
[171089.594146] kvm: exiting hardware virtualization
[171089.596843] sd 3:0:0:0: [sdb] Synchronizing SCSI cache
[171089.599059] sd 3:0:0:0: [sdb] Stopping disk
[171089.829395] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[171089.836744] sd 0:0:0:0: [sda] Stopping disk
[171091.135446] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[171091.135482] IP: [<ffffffffc0683797>] build_audio_output.isra.2+0xe7/0x130 [amdgpu]
[171091.135483] PGD 0 
[171091.135484] Oops: 0000 [#1] SMP 
[171091.135499] Modules linked in: vhost_net vhost macvtap macvlan tcp_lp tun devlink binfmt_misc ip_set_hash_ip ip_set_hash_net bridge stp llc ip_set nfnetlink sunrpc vfat fat dell_wmi iTCO_wdt dell_smbios iTCO_vendor_support dell_wmi_aio intel_wmi_thunderbolt dell_wmi_descriptor sparse_keymap dcdbas intel_pmc_core intel_powerclamp coretemp dell_led intel_rapl kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic irqbypass crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi aesni_intel lrw gf128mul snd_hda_intel snd_hda_codec glue_helper ablk_helper cryptd snd_hda_core snd_hwdep pcspkr snd_seq sg snd_seq_device i2c_i801 joydev snd_pcm snd_timer snd i2c_designware_platform idma64 soundcore i2c_designware_core virt_dma pcc_cpufreq pinctrl_cannonlake pinctrl_intel tpm_crb wmi acpi_pad uinput xfs libcrc32c
[171091.135506]  raid1 sr_mod sd_mod cdrom crc_t10dif crct10dif_generic amdgpu i915 chash amd_iommu_v2 iosf_mbi gpu_sched i2c_algo_bit e1000e drm_kms_helper syscopyarea ttm ahci sysfillrect sysimgblt fb_sys_fops libahci drm libata crct10dif_pclmul crct10dif_common crc32c_intel ptp serio_raw pps_core drm_panel_orientation_quirks video i2c_hid dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: ip_tables]
[171091.135507] CPU: 10 PID: 937 Comm: kworker/10:2 Kdump: loaded Not tainted 3.10.0-1062.12.1.el7.x86_64 #1
[171091.135508] Hardware name: Dell Inc. Precision Tower 3430/00CV7F, BIOS 1.2.16 10/10/2018
[171091.135510] Workqueue: events console_callback
[171091.135511] task: ffff976ff95941c0 ti: ffff9774249d0000 task.ti: ffff9774249d0000
[171091.135539] RIP: 0010:[<ffffffffc0683797>]  [<ffffffffc0683797>] build_audio_output.isra.2+0xe7/0x130 [amdgpu]
[171091.135539] RSP: 0018:ffff9774249d37a8  EFLAGS: 00010246
[171091.135540] RAX: 0000000000000020 RBX: ffff9774249d37cc RCX: ffff977031ffa800
[171091.135540] RDX: 0000000000024414 RSI: ffff9773f3a58188 RDI: 0000000000000000
[171091.135541] RBP: ffff9774249d37b8 R08: 000000000025c3f8 R09: 0000000000020000
[171091.135541] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000005
[171091.135542] R13: ffff9773f3a58000 R14: ffff977424a80938 R15: ffff977424a80800
[171091.135543] FS:  0000000000000000(0000) GS:ffff97742bc80000(0000) knlGS:0000000000000000
[171091.135544] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[171091.135544] CR2: 0000000000000008 CR3: 0000000460bb6000 CR4: 00000000003607e0
[171091.135544] Call Trace:
[171091.135572]  [<ffffffffc068408d>] dce110_setup_audio_dto.isra.7+0x16d/0x1a0 [amdgpu]
[171091.135600]  [<ffffffffc067acb4>] ? dce112_enable_display_power_gating+0xd4/0x230 [amdgpu]
[171091.135642]  [<ffffffffc0684f5b>] dce110_apply_ctx_to_hw+0x16b/0x500 [amdgpu]
[171091.135684]  [<ffffffffc05e9730>] ? dm_pp_apply_display_requirements+0x1c0/0x250 [amdgpu]
[171091.135712]  [<ffffffffc0628604>] ? dce11_pplib_apply_display_requirements+0x1c4/0x230 [amdgpu]
[171091.135739]  [<ffffffffc0628865>] ? dce112_update_clocks+0xc5/0x140 [amdgpu]
[171091.135765]  [<ffffffffc0693b4f>] dc_commit_state+0x2df/0x660 [amdgpu]
[171091.135794]  [<ffffffffc05e39fe>] amdgpu_dm_atomic_commit_tail+0x38e/0xda0 [amdgpu]
[171091.135796]  [<ffffffffa3b814f9>] ? wait_for_completion_interruptible+0x39/0x1a0
[171091.135803]  [<ffffffffc023b962>] commit_tail+0x42/0x80 [drm_kms_helper]
[171091.135808]  [<ffffffffc023c1f8>] drm_atomic_helper_commit+0x138/0x150 [drm_kms_helper]
[171091.135819]  [<ffffffffc01bbc81>] ? drm_atomic_add_affected_connectors+0x101/0x110 [drm]
[171091.135847]  [<ffffffffc05de58f>] amdgpu_dm_atomic_commit+0xdf/0xf0 [amdgpu]
[171091.135857]  [<ffffffffc01bca4a>] drm_atomic_commit+0x4a/0x50 [drm]
[171091.135862]  [<ffffffffc0241830>] restore_fbdev_mode_atomic+0x180/0x1e0 [drm_kms_helper]
[171091.135867]  [<ffffffffc024195a>] drm_fb_helper_pan_display+0xca/0x210 [drm_kms_helper]
[171091.135869]  [<ffffffffa37f657c>] fb_pan_display+0xcc/0x190
[171091.135871]  [<ffffffffa3805dc0>] bit_update_start+0x20/0x50
[171091.135872]  [<ffffffffa3804568>] fbcon_switch+0x3a8/0x5b0
[171091.135874]  [<ffffffffa387b51f>] redraw_screen+0x1af/0x270
[171091.135875]  [<ffffffffa3870f30>] complete_change_console+0x40/0xe0
[171091.135876]  [<ffffffffa3872709>] change_console+0x59/0xa0
[171091.135877]  [<ffffffffa387d0f4>] console_callback+0x114/0x1a0
[171091.135879]  [<ffffffffa34be21f>] process_one_work+0x17f/0x440
[171091.135880]  [<ffffffffa34bf336>] worker_thread+0x126/0x3c0
[171091.135882]  [<ffffffffa34bf210>] ? manage_workers.isra.26+0x2a0/0x2a0
[171091.135883]  [<ffffffffa34c61f1>] kthread+0xd1/0xe0
[171091.135884]  [<ffffffffa34c6120>] ? insert_kthread_work+0x40/0x40
[171091.135886]  [<ffffffffa3b8dd1d>] ret_from_fork_nospec_begin+0x7/0x21
[171091.135887]  [<ffffffffa34c6120>] ? insert_kthread_work+0x40/0x40
[171091.135898] Code: c0 83 fa 05 77 07 8b 04 95 90 b9 6f c0 89 43 34 c6 43 38 01 8b 86 64 02 00 00 89 43 3c 48 83 c4 08 5b 5d c3 48 8b 3f 48 89 75 f0 <48> 8b 47 08 48 8b 40 08 e8 bc f3 10 e3 48 8b 75 f0 89 43 2c eb 
[171091.135924] RIP  [<ffffffffc0683797>] build_audio_output.isra.2+0xe7/0x130 [amdgpu]
[171091.135924]  RSP <ffff9774249d37a8>
[171091.135925] CR2: 0000000000000008

Environment

  • Red Hat Enterprise Linux 7
  • Dell Inc. Precision Tower 3430 10/10/2018
  • amdgpu

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content