rhel6/7: System can't boot with RAID volume, mpt3sas driver is in use
Issue
- Our system has RAID configured and uses the mpt3sas1 driver. We can boot the RHEL 6.7 GA kernel (kernel-2.6.32-573.el6) without issues, but kernel-2.6.32-573.37.1.el6 stops with this:
mpt3sas1: MSI-X vectors supported: 8, no of cores: 24, max_msix_vectors: 8
mpt3sas1-msix0: PCI-MSI-X enabled: IRQ 98
mpt3sas1-msix1: PCI-MSI-X enabled: IRQ 99
mpt3sas1-msix2: PCI-MSI-X enabled: IRQ 100
mpt3sas1-msix3: PCI-MSI-X enabled: IRQ 101
mpt3sas1-msix4: PCI-MSI-X enabled: IRQ 102
mpt3sas1-msix5: PCI-MSI-X enabled: IRQ 103
mpt3sas1-msix6: PCI-MSI-X enabled: IRQ 104
mpt3sas1-msix7: PCI-MSI-X enabled: IRQ 105
mpt3sas1: iomem(0x00000000c7a40000), mapped(0xffffc9001c8c0000), size(65536)
mpt3sas1: ioport(0x0000000000005000), size(256)
mpt3sas1: sending diag reset !!
mpt3sas0: host_add: handle(0x0001), sas_addr(0x500300570206bbb0), phys(8)
mpt3sas1: host_add: handle(0x0001), sas_addr(0x500300570206bbd0), phys(8)
mpt3sas0: port enable: SUCCESS
------------[ cut here ]------------
kernel BUG at drivers/scsi/scsi_transport_sas.c:164!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/module/iscsi_boot_sysfs/initstate
CPU 12
Modules linked in: mpt3sas scsi_transport_sas raid_class crc32c_intel be2iscsi(U) bnx2i cnic uio cxgb4i iw_cxgb4 cxgb4 cxgb3i libcxgbi iw_cxgb3 ahci ib_core ib_addr ipv6 cxgb3 mdio libiscsi_tcp qla4xxx wmi iscsi_boot_sysfs libiscsi scsi_transport_iscsi dm_mirror dm_region_hash dm_log dm_mod sd_mod crc_t10dif mpdh(U) mpdt(U)
Pid: 1452, comm: async/0 Not tainted 2.6.32-573.37.1.el6.x86_64 #1 FUJITSU PRIMERGY RX2540 M2/D3289-B1
RIP: 0010:[] [] sas_is_tlr_enabled+0x2c/0x30 [scsi_transport_sas]
RSP: 0018:ffff88105cc1b930 EFLAGS: 00010212
RAX: ffff88105e716180 RBX: ffff882060685e80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8138a870 RDI: ffff8820674a9800
RBP: ffff88105cc1b930 R08: 000000000000011e R09: 0000000002000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88105e7165e0
R13: ffff88206072f760 R14: ffff88205f0f8240 R15: ffff882060685e80
FS: 0000000000000000(0000) GS:ffff8810b88e0000(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00007f727a86800f CR3: 0000000001a8d000 CR4: 00000000001407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Process async/0 (pid: 1452, threadinfo ffff88105cc18000, task ffff88105f194ab0)
Stack:
ffff88105cc1b990 ffffffffa02ce818 ffff88105cc1b970 0000000002000000
ffff88200000011e ffff8810698d4cc0 ffff8820605818a0 ffff882060685e80
ffff88105e716000 ffff8820646c46d8 0000000000000000 ffff882060685e80
Call Trace:
[] _scsih_qcmd+0x118/0x420 [mpt3sas]
[] scsi_dispatch_cmd+0xe5/0x310
[] scsi_request_fn+0x5be/0x750
[] ? del_timer+0x7d/0xe0
[] ? elv_insert+0x110/0x190
[] __generic_unplug_device+0x32/0x40
[] blk_execute_rq_nowait+0x7f/0x110
[] blk_execute_rq+0x84/0xf0
[] ? blk_rq_bio_prep+0x60/0xd0
Environment
- Red Hat Enterprise Linux (RHEL), following kernels are affected:
- rhel6.5 RHBA-2016:2831, kernel-2.6.32-431.76.1.el6
- rhel6.6 RHSA-2016:2128, kernel-2.6.32-504.54.1.el6
- rhel7.1 RHBA-2016:2774, kernel-3.10.0-229.44.1.el7
- rhel7.2 RHSA-2016:2695, kernel-3.10.0-327.41.3.el7
- RAID configured
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.