Kernel panic at _base_readl() of "mpt3sas" driver during system shutdown/poweroff.

Solution Verified - Updated -

Issue

  • Kernel panic with 'BUG: unable to handle kernel paging request" during poweroff/shutdown operation.
[  269.809387] systemd-shutdown[1]: Syncing filesystems and block devices.
[  269.812910] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  269.827425] systemd-journald[1317]: Received SIGTERM from PID 1 (systemd-shutdow).
[  269.849616] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  269.860368] systemd-shutdown[1]: Unmounting file systems.
[  269.861113] [4929]: Remounting '/' read-only in with options 'seclabel'.
[  269.871374] EXT4-fs (sda4): re-mounted. Opts: 
[  269.878544] systemd-shutdown[1]: All filesystems unmounted.
[  269.878545] systemd-shutdown[1]: Deactivating swaps.
[  269.878567] systemd-shutdown[1]: All swaps deactivated.
[  269.878568] systemd-shutdown[1]: Detaching loop devices.
[  269.878707] systemd-shutdown[1]: All loop devices detached.
[  269.878708] systemd-shutdown[1]: Detaching DM devices.
[  269.891254] kvm: exiting hardware virtualization
[  269.896450] sd 12:0:0:0: [sdc] Synchronizing SCSI cache
[  269.896548] sd 12:0:0:0: [sdc] Stopping disk
[  272.363539] sd 11:0:0:0: [sdb] Synchronizing SCSI cache
[  272.363830] sd 11:0:0:0: [sdb] Stopping disk
[  274.918702] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[  274.920873] sd 1:0:0:0: [sda] Stopping disk
[  276.226666] mpt3sas_cm1: sending diag reset !!
[  276.385463] mpt3sas_cm1: diag reset: SUCCESS
[  276.422612] pcieport 0000:17:15.0: can't change power state from D3cold to D0 (config space inaccessible)
[  276.422712] pcieport 0000:17:14.0: can't change power state from D3cold to D0 (config space inaccessible)
[  276.422797] pcieport 0000:14:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[  276.422887] BUG: unable to handle kernel paging request at ffffa6568e7e0000
[  276.422909] PGD 107d53067 P4D 107d53067 PUD 2077c02067 PMD 7feadc2067 PTE 0
[  276.422929] Oops: 0000 [#1] SMP NOPTI
[  276.422941] CPU: 37 PID: 1 Comm: systemd-shutdow Kdump: loaded Tainted: G           OE    --------- -t - 4.18.0-193.1.2.el8_2.x86_64 #1
[  276.422969] Hardware name: GIGABYTE R282-Z93-00/MZ92-FS0-00, BIOS R15_P1 07/01/2020
[  276.422996] RIP: 0010:_base_readl+0x0/0x10 [mpt3sas]   <<<--
[  276.423010] Code: Bad RIP value.
[  276.423020] RSP: 0018:ffffa65680067d10 EFLAGS: 00010246
[  276.423034] RAX: ffffffffc0131020 RBX: ffff9af8a8db8a58 RCX: 0000000000000000
[  276.423051] RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffffa6568e7e0000
[  276.423068] RBP: ffff9af8a8db8a58 R08: ffff9ad9c7805580 R09: ffff9ad9c7805468
[  276.423083] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9af8a8db8c18
[  276.423102] R13: ffffffffb7300117 R14: ffff9b38aba67130 R15: 0000000000000000
[  276.423121] FS:  00007f5ffeac76c0(0000) GS:ffff9b38afb40000(0000) knlGS:0000000000000000
[  276.423139] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  276.423154] CR2: ffffffffc0130ff6 CR3: 0000005fca79e000 CR4: 0000000000340ee0
[  276.423170] Call Trace:
[  276.423183]  mpt3sas_wait_for_commands_to_complete+0x3d/0x110 [mpt3sas] <<<---
[  276.423206]  ? mp_unmap_irq+0x38/0x60
[  276.423219]  ? acpi_unregister_gsi_ioapic+0x2a/0x40
[  276.423235]  scsih_shutdown+0x43/0xf0 [mpt3sas]
[  276.423250]  pci_device_shutdown+0x34/0x60
[  276.423262]  device_shutdown+0x15c/0x210
[  276.423275]  kernel_power_off+0x31/0x70
[  276.423287]  __do_sys_reboot+0x12c/0x210
[  276.423300]  ? handle_mm_fault+0xda/0x200
[  276.423311]  ? __do_page_fault+0x24c/0x4e0
[  276.423324]  ? do_writev+0x5c/0xf0
[  276.423335]  do_syscall_64+0x5b/0x1a0
[  276.423347]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[  276.423360] RIP: 0033:0x7f5ffdcfa847
[  276.423370] Code: 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 89 fa be 69 19 12 28 bf ad de e1 fe b8 a9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 11 86 2c 00 f7 d8 64 89 02 b8
[  276.423411] RSP: 002b:00007ffddcd0b558 EFLAGS: 00000202 ORIG_RAX: 00000000000000a9
[  276.423429] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5ffdcfa847
[  276.423447] RDX: 000000004321fedc RSI: 0000000028121969 RDI: 00000000fee1dead
[  276.423463] RBP: 00007ffddcd0b600 R08: 0000000000000000 R09: 00007ffddcd0a777
[  276.423479] R10: 00007ffddcd0ab20 R11: 0000000000000202 R12: 0000000000000000
[  276.423494] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000006
[  276.423511] Modules linked in: netlink_diag nfsv3 nfs_acl nfs lockd grace fscache xt_conntrack ipt_MASQUERADE nf_conntrack_netlink nft_counter xt_addrtype nft_compat nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c nf_tables nfnetlink br_netfilter bridge stp llc overlay rdma_ucm(OE) ib_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) esp6_offload esp6 esp4_offload esp4 mlx5_fpga_tools(OE) mlx5_ib(OE) ib_uverbs(OE) mlx5_core(OE) tls(t) vfio_mdev(OE) vfio_iommu_type1 vfio mdev(OE) mlxfw(OE) mlx4_en(OE) mlx4_ib(OE) mlx4_core(OE) vfat fat amd64_edac_mod edac_mce_amd kvm_amd kvm irqbypass ipmi_ssif crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcspkr ses enclosure ccp sp5100_tco i2c_piix4 k10temp ipmi_si ipmi_devintf ipmi_msghandler acpi_cpufreq rdu_peer_mem_client(OE) binfmt_misc ib_core(OE) mlx_compat(OE) knem(OE) rdu(OE) auth_rpcgss sunrpc ip_tables ext4 mbcache jbd2 sd_mod sg crc32c_intel ast drm_vram_helper ttm drm_kms_helper
[  276.423551]  syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm igb libahci mpt3sas libata dca i2c_algo_bit raid_class scsi_transport_sas pinctrl_amd
[  276.425486] CR2: ffffa6568e7e0000

Environment

  • Red Hat Enterprise Linux 8.2

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