NULL scsi_device encountered while running hpssacli command

Solution Unverified - Updated -

Issue

  • NULL scsi_device encountered while running hpssacli command:
[16593520.676115] hpsa 0000:03:00.0: cmd_tagged_alloc: tag collision (tag=11)
[16593520.676854] scsi 0:0:0:0: [sg0] tag#0 CDB: Test Unit Ready 00 00 00 00 00 00
[16593661.254768] BUG: unable to handle kernel NULL pointer dereference at           (null)
[16593661.255516] IP: [<ffffffffa62e66de>] scsi_eh_done+0x1e/0x60
[16593661.256164] PGD 0 
[16593661.256750] Oops: 0000 [#1] SMP 
[16593661.257335] Modules linked in: kpatch_3_10_0_1160_31_1_1_3(OK) tcp_diag inet_diag onload(OE) binfmt_misc sfc_char(OE) sfc_resource(OE) sfc_affinity(OE) bonding xfs libcrc32c ipmi_ssif iTCO_wdt iTCO_vendor_support sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr hpwdt hpilo i2c_i801 lpc_ich ioatdma dca sg ipmi_si wmi ipmi_devintf ipmi_msghandler acpi_power_meter nfsd nfs_acl lockd grace auth_rpcgss sunrpc ip_tables ext4 mbcache jbd2 dm_service_time sd_mod dm_multipath mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops lpfc ttm nvmet_fc nvmet sfc(OE) drm crc_t10dif crct10dif_generic crct10dif_pclmul nvme_fc crc32c_intel nvme_fabrics serio_raw nvme_core hpsa
[16593661.260124]  mdio ptp scsi_transport_fc pps_core mtd scsi_tgt drm_panel_orientation_quirks scsi_transport_sas crct10dif_common dm_mirror dm_region_hash dm_log dm_mod
[16593661.261568] CPU: 7 PID: 0 Comm: swapper/7 Kdump: loaded Tainted: G           OE K------------   3.10.0-1160.31.1.el7.x86_64 #1
[16593661.262322] Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 10/21/2019
[16593661.263093] task: ffff9e1399e93180 ti: ffff9e1399ef4000 task.ti: ffff9e1399ef4000
[16593661.263876] RIP: 0010:[<ffffffffa62e66de>]  [<ffffffffa62e66de>] scsi_eh_done+0x1e/0x60
[16593661.264681] RSP: 0018:ffff9e233fcc3df0  EFLAGS: 00010093
[16593661.265485] RAX: 0000000000000000 RBX: ffff9e03fb6ffd40 RCX: ffff9e1cbe769000
[16593661.266306] RDX: ffff9e03fb6ffd40 RSI: ffff9e02f6102100 RDI: ffff9e03fb6ffd40
[16593661.267139] RBP: ffff9e233fcc3df8 R08: 0000000000000000 R09: ffff9e1399ef7ea8
[16593661.267981] R10: 0000000000000006 R11: 0000000000000005 R12: ffff9e03fb6ffd40
[16593661.268829] R13: ffff9e12fd3d8000 R14: 000000000000000b R15: ffff9e02f6040210
[16593661.269654] FS:  0000000000000000(0000) GS:ffff9e233fcc0000(0000) knlGS:0000000000000000
[16593661.270490] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16593661.271328] CR2: 0000000000000000 CR3: 00000019fe010000 CR4: 00000000001607e0
[16593661.272177] Call Trace:
[16593661.272998]  <IRQ> 
[16593661.273012]  [<ffffffffc037210b>] hpsa_cmd_free_and_done+0x2b/0x30 [hpsa]
[16593661.274652]  [<ffffffffc03764f2>] complete_scsi_command+0x312/0x9c0 [hpsa]
[16593661.275478]  [<ffffffffa5e5c4f9>] ? lapic_next_deadline+0x29/0x30
[16593661.276303]  [<ffffffffa5f0de81>] ? clockevents_program_event+0x71/0x100
[16593661.277134]  [<ffffffffc037767f>] do_hpsa_intr_msi+0x7f/0x1d0 [hpsa]
[16593661.277947]  [<ffffffffa5f4fdf4>] __handle_irq_event_percpu+0x44/0x1c0
[16593661.278765]  [<ffffffffa5f4ffa2>] handle_irq_event_percpu+0x32/0x80
[16593661.279591]  [<ffffffffa5f5002c>] handle_irq_event+0x3c/0x60
[16593661.280421]  [<ffffffffa5f52e1f>] handle_edge_irq+0x7f/0x150
[16593661.281253]  [<ffffffffa5e2f5f4>] handle_irq+0xe4/0x1a0
[16593661.282092]  [<ffffffffa5f10f7c>] ? tick_check_idle+0x8c/0xd0
[16593661.282936]  [<ffffffffa659a8cd>] do_IRQ+0x4d/0xf0
[16593661.283755]  [<ffffffffa658c36a>] common_interrupt+0x16a/0x16a
[16593661.284581]  <EOI> 
[16593661.284591]  [<ffffffffa658b080>] ? __cpuidle_text_start+0x8/0x8
[16593661.286237]  [<ffffffffa658b2cb>] ? native_safe_halt+0xb/0x20
[16593661.287049]  [<ffffffffa658b09e>] default_idle+0x1e/0xc0
[16593661.287864]  [<ffffffffa5e37ca0>] arch_cpu_idle+0x20/0xc0
[16593661.288687]  [<ffffffffa5f0131a>] cpu_startup_entry+0x14a/0x1e0
[16593661.289519]  [<ffffffffa5e5a827>] start_secondary+0x1f7/0x270
[16593661.290358]  [<ffffffffa5e000d5>] start_cpu+0x5/0x14
[16593661.291195] Code: e8 58 07 fd ff e9 33 ff ff ff 0f 1f 00 0f 1f 44 00 00 8b 05 f9 76 d7 00 55 48 89 e5 53 48 89 fb 83 e0 07 83 f8 03 77 1a 48 8b 03 <48> 8b 00 48 8b b8 a0 00 00 00 48 85 ff 74 05 e8 9e cb be ff 5b 
[16593661.293061] RIP  [<ffffffffa62e66de>] scsi_eh_done+0x1e/0x60
[16593661.293979]  RSP <ffff9e233fcc3df0>
[16593661.294863] CR2: 0000000000000000

Environment

  • Red Hat Enterprise Linux 7
  • ssacli-4.21-7.0.x86_64

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