The crash kernel panics in "complete_cmd_fusion+0x1a0" function from "megaraid_sas" module

Solution Verified - Updated -

Issue

  • Kdump kernel or crash kernel is panicking due to OOPS
megasas: [ 0]waiting for 1 commands to complete for scsi0
BUG: unable to handle kernel NULL pointer dereference at (null) <<====
IP: [<ffffffffa01a5490>] complete_cmd_fusion+0x1a0/0x5d0 [megaraid_sas]
PGD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/kernel/uevent_helper
CPU 0 
Modules linked in: megaraid_sas xhci_hcd usb_storage crc_t10dif mbcache jbd2 cdrom shpchp mfd_core pps_core i2c_core dca ipmi_msghandler mii sg joydev iTCO_vendor_support uinput kvm tun macvlan fat ipv6 ip6_tables nf_conntrack ip_tables nf_defrag_ipv4 ipt_REJECT llc scsi_tgt uio autofs4

Pid: 236, comm: scsi_eh_0 Tainted: G        W  -- ------------    2.6.32-573.el6.x86_64 #1 LENOVO x3950 X6 -[6241AC1]-/00FN882
RIP: 0010:[<ffffffffa01a5490>]  [<ffffffffa01a5490>] complete_cmd_fusion+0x1a0/0x5d0 [megaraid_sas] <<==== Panicked in 
RSP: 0018:ffff880006cbfbd0  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff880006c0c340 RCX: ffff880006cc0600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff880006cbfc80 R08: 0000000000000004 R09: ffff880006c0c9c0
R10: ffff880006d00018 R11: ffff88000a883b3f R12: ffff880006d00000
R13: ffff880006cb6020 R14: 0000000000000038 R15: ffff880006cb85e0
FS:  0000000000000000(0000) GS:ffff880003200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000004a8d000 CR4: 00000000001407b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Process scsi_eh_0 (pid: 236, threadinfo ffff880006cbc000, task ffff8800074c0040)
Stack:
 ffff880000000000 ffff880006d00000 ffff880006d00018 ffff880006c0c9c0
<d> 0000000000000003 0000000000000293 ffff880006cba038 00000000ffff1c49
<d> 0000000000000000 0000000000000214 0000000000000000 0000000000000046
Call Trace:
 [<ffffffffa01a5aad>] megasas_complete_cmd_dpc_fusion+0x5d/0x90 [megaraid_sas]
 [<ffffffffa01a5c75>] megasas_wait_for_outstanding_fusion+0x195/0x1c0 [megaraid_sas]
 [<ffffffffa01a5d67>] megasas_reset_fusion+0xc7/0xa30 [megaraid_sas]
 [<ffffffff81291d87>] ? kobject_put+0x27/0x60
 [<ffffffffa01a14fd>] megasas_reset_bus_host+0x4d/0x50 [megaraid_sas]
 [<ffffffff8138e1d2>] scsi_try_host_reset+0x42/0x120
 [<ffffffff813901b6>] scsi_eh_ready_devs+0x836/0xbd0
 [<ffffffff81390c96>] scsi_error_handler+0x4e6/0x7c0
 [<ffffffff813907b0>] ? scsi_error_handler+0x0/0x7c0
 [<ffffffff810a101e>] kthread+0x9e/0xc0
 [<ffffffff8100c28a>] child_rip+0xa/0x20
 [<ffffffff810a0f80>] ? kthread+0x0/0xc0
 [<ffffffff8100c280>] ? child_rip+0x0/0x20
Code: 00 00 0f b6 79 03 0f b6 71 77 0f b6 51 76 40 80 ff f0 0f 84 fb 01 00 00 40 80 ff f1 74 72 40 84 ff 0f 85 27 01 00 00 48 8b 7b 40 <4c> 8b 0f 8b bf c0 00 00 00 83 e7 01 45 8b 91 88 00 00 00 45 8b 
RIP  [<ffffffffa01a5490>] complete_cmd_fusion+0x1a0/0x5d0 [megaraid_sas]
 RSP <ffff880006cbfbd0>
CR2: 0000000000000000

Environment

  • Red Hat Enterprise Linux 6.7
  • Red Hat Enterprise Linux 6.8

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