VMware guest using mptscsi driver crashed with panic - 'kernel BUG at block/blk-core.c:1147!'

Solution Unverified - Updated -

Issue

  • VMware guest system crashed with following messages on console:

    -----------[ cut here ]------------
    kernel BUG at block/blk-core.c:1147!
    invalid opcode: 0000 [#1] SMP 
    last sysfs file: /sys/devices/system/cpu/online
    CPU 0 
    Modules linked in: nfsd exportfs autofs4 nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 ppdev vmware_balloon parport_pc parport e1000 sg i2c_piix4 shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom mptsas mptscsih mptbase scsi_transport_sas pata_acpi ata_generic ata_piix vmwgfx ttm drm_kms_helper drm i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
    
    Pid: 214, comm: scsi_eh_2 Tainted: G           --L------------    2.6.32-642.11.1.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
    RIP: 0010:[<ffffffff8127c554>]  [<ffffffff8127c554>] blk_requeue_request+0x94/0xa0
    RSP: 0018:ffff880c267ebd70  EFLAGS: 00010012
    RAX: ffff880c29969a08 RBX: ffff880c299698e0 RCX: ffff880c29969a08
    RDX: ffff880c29969a08 RSI: ffff880c299698e0 RDI: ffff880c299698e0
    RBP: ffff880c267ebd90 R08: ffff880c28246360 R09: 0000000000000001
    R10: 0000000000000000 R11: 0000000000000000 R12: ffff880c2608c378
    R13: 0000000000000000 R14: ffff880c2608c378 R15: ffff880c26742000
    FS:  0000000000000000(0000) GS:ffff880053a00000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
    CR2: 00007fcec82cb080 CR3: 0000000001a8d000 CR4: 00000000000407f0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process scsi_eh_2 (pid: 214, threadinfo ffff880c267e8000, task ffff880c267e4040)
    Stack:
     0000000000001057 0000000000000286 ffff880a5be26bc0 ffff880c267c3000
    <d> ffff880c267ebde0 ffffffff813a1cdb ffff880c267ebdd0 ffff880c267ebe80
    <d> ffff880c267c3000 ffff880a5be26bc0 ffff880c28ef6a80 ffff880c267ebe90
    Call Trace:
     [<ffffffff813a1cdb>] __scsi_queue_insert+0x9b/0x140
     [<ffffffff813a2453>] scsi_queue_insert+0x13/0x20
     [<ffffffff8139d543>] scsi_eh_flush_done_q+0x93/0x150
     [<ffffffff8139f2d1>] scsi_error_handler+0x3e1/0x7d0
     [<ffffffff8139eef0>] ? scsi_error_handler+0x0/0x7d0
     [<ffffffff810a640e>] kthread+0x9e/0xc0
     [<ffffffff8100c28a>] child_rip+0xa/0x20
     [<ffffffff810a6370>] ? kthread+0x0/0xc0
     [<ffffffff8100c280>] ? child_rip+0x0/0x20
    Code: 00 00 eb d1 4c 8b 2d 2c 5e 96 00 4d 85 ed 74 bf 49 8b 45 00 49 83 c5 08 48 89 de 4c 89 e7 ff d0 49 8b 45 00 48 85 c0 75 eb eb a4 <0f> 0b eb fe 0f 1f 84 00 00 00 00 00 55 48 89 e5 0f 1f 44 00 00 
    RIP  [<ffffffff8127c554>] blk_requeue_request+0x94/0xa0
     RSP <ffff880c267ebd70>
    

Environment

  • Red Hat Enterprise Linux 6.8
  • kernel-2.6.32-642.11.1.el6
  • VMware virtual disk connected through MPT SAS Host

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