System crashes while trying to remove the scsi device

Solution Verified - Updated -

Issue

  • System crashes while trying to remove the scsi device
    • backtrace of the panic task shows
  crash> bt
  PID: 463    TASK: ffff8d4a07989ec0  CPU: 10  COMMAND: "kworker/10:1"
   #0 [ffffa7044a0538a0] machine_kexec at ffffffffa5e635ce
   #1 [ffffa7044a0538f8] __crash_kexec at ffffffffa5f9d6bd
   #2 [ffffa7044a0539c0] crash_kexec at ffffffffa5f9e5ad
   #3 [ffffa7044a0539d8] oops_end at ffffffffa5e2613d
   #4 [ffffa7044a0539f8] do_trap at ffffffffa5e228c3
   #5 [ffffa7044a053a40] do_invalid_op at ffffffffa5e23256
   #6 [ffffa7044a053a60] invalid_op at ffffffffa6800d64
      [exception RIP: __slab_free+395]
      RIP: ffffffffa60fa8bb  RSP: ffffa7044a053b10  RFLAGS: 00010246
      RAX: ffff8d3b7107a700  RBX: ffff8d3b7107a600  RCX: ffff8d3b7107a600
      RDX: 000000008020001f  RSI: ffffca5546c41e00  RDI: ffff8d3ac0005180
      RBP: ffffa7044a053bb0   R8: 0000000000000001   R9: ffffffffa6452199
      R10: ffff8d3b7107a600  R11: 0000000000000001  R12: ffffca5546c41e00
      R13: ffff8d3b7107a600  R14: ffff8d4a0adfd000  R15: ffff8d3ac0005180
      ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
   #7 [ffffa7044a053bb8] __scsi_remove_device at ffffffffa6452199
   #8 [ffffa7044a053bd8] scsi_remove_device at ffffffffa6452281
   #9 [ffffa7044a053bf0] scsi_remove_target at ffffffffa6452483
  #10 [ffffa7044a053c38] sas_rphy_remove at ffffffffc04d1af2 [scsi_transport_sas]
  #11 [ffffa7044a053c48] sas_port_delete at ffffffffc04d40aa [scsi_transport_sas]
  #12 [ffffa7044a053c88] pqi_free_sas_port at ffffffffc05dab6a [smartpqi]
  #13 [ffffa7044a053ca8] pqi_remove_sas_device at ffffffffc05db3dd [smartpqi]
  #14 [ffffa7044a053cb8] pqi_update_device_list at ffffffffc05d3c3a [smartpqi]
  #15 [ffffa7044a053d98] pqi_update_scsi_devices at ffffffffc05d75fb [smartpqi]
  #16 [ffffa7044a053e68] pqi_scan_scsi_devices at ffffffffc05d7b8b [smartpqi]
  #17 [ffffa7044a053e98] process_one_work at ffffffffa5f08777
  #18 [ffffa7044a053ed8] worker_thread at ffffffffa5f08e40
  #19 [ffffa7044a053f10] kthread at ffffffffa5f0e906
  #20 [ffffa7044a053f50] ret_from_fork at ffffffffa680023f

Environment

  • Red Hat Enterprise Linux 8.5

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