3w-9xxx, 3w-sas: System Crash: BUG: unable to handle kernel NULL Pointer dereference, RIP: swiotlb_unmap_sg_attrs
Issue
- System crashes and restarts after 10-15 minutes of heavy computation with heavy I/O load with " RIP: swiotlb_unmap_sg_attrs"
[330011.041761] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[330011.041808] IP: [<ffffffff813143a8>] swiotlb_unmap_sg_attrs+0x28/0x60
[330011.041843] PGD 0
[330011.041857] Oops: 0000 [#1] SMP
[330011.041875] Modules linked in: iTCO_wdt iTCO_vendor_support intel_powerclamp coretemp kvm_intel ses enclosure kvm i2c_i801 sg pcspkr ioatdma lpc_ich mfd_core shpchp i7core_edac edac_core acpi_cpufreq ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common mgag200 syscopyarea sysfillrect sysimgblt drm_kms_helper crc32c_intel ttm serio_raw igb drm ptp pps_core cxgb3 3w_9xxx dca megaraid_sas i2c_algo_bit mdio i2c_core
[330011.042124] CPU: 4 PID: 0 Comm: swapper/4 Not tainted 3.10.0-327.13.1.el7.x86_64 #1
[330011.042153] Hardware name: Supermicro X8DT3/X8DT3, BIOS 2.0b 05/27/2011
[330011.042180] task: ffff8817bb6e3980 ti: ffff8817bb6f8000 task.ti: ffff8817bb6f8000
[330011.042207] RIP: 0010:[<ffffffff813143a8>] [<ffffffff813143a8>] swiotlb_unmap_sg_attrs+0x28/0x60
[330011.042242] RSP: 0018:ffff88303fc03e00 EFLAGS: 00010002
[330011.042263] RAX: ffff8817bacfd098 RBX: 0000000000000000 RCX: 0000000000000001
[330011.042289] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8817bacfd098
[330011.042316] RBP: ffff88303fc03e28 R08: 0000000000000000 R09: ffffffff81314380
[330011.042342] R10: ffff882fb78d1c00 R11: 0000000000000000 R12: 0000000000000000
[330011.042368] R13: 0000000000000001 R14: 0000000000000001 R15: ffff8817bacfd098
[330011.042395] FS: 0000000000000000(0000) GS:ffff88303fc00000(0000) knlGS:0000000000000000
[330011.042424] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[330011.042446] CR2: 0000000000000018 CR3: 000000000194a000 CR4: 00000000000007e0
[330011.042473] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[330011.042499] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[330011.042526] Stack:
[330011.042536] ffff882fb787c740 ffff882fb787c978 ffff882f66f49340 0000000000000047
[330011.042574] 0000000000000047 ffff88303fc03e38 ffffffff81421d96 ffff88303fc03ea8
[330011.042611] ffffffffa006571f ffff88303fc03eb0 ffffffff8108e6dc ffff882fb787fdb0
[330011.042648] Call Trace:
[330011.042660] <IRQ>
[330011.042672]
[330011.042687] [<ffffffff81421d96>] scsi_dma_unmap+0x56/0x70
[330011.042708] [<ffffffffa006571f>] twa_interrupt+0x4ff/0x890 [3w_9xxx]
[330011.042739] [<ffffffff8108e6dc>] ? get_next_timer_interrupt+0xec/0x270
[330011.042766] [<ffffffff8111c3de>] handle_irq_event_percpu+0x3e/0x1e0
[330011.042791] [<ffffffff8111c5bd>] handle_irq_event+0x3d/0x60
[330011.042814] [<ffffffff8111fa2a>] handle_fasteoi_irq+0x5a/0x100
[330011.042840] [<ffffffff81016ecf>] handle_irq+0xbf/0x150
[330011.042862] [<ffffffff810e13fa>] ? tick_check_idle+0x8a/0xd0
[330011.042887] [<ffffffff816418ba>] ? atomic_notifier_call_chain+0x1a/0x20
[330011.042914] [<ffffffff8164832f>] do_IRQ+0x4f/0xf0
[330011.042936] [<ffffffff8163d5ed>] common_interrupt+0x6d/0x6d
[330011.042957] <EOI>
[330011.042968]
[330011.042982] [<ffffffff814d46ff>] ? cpuidle_enter_state+0x4f/0xc0
[330011.043001] [<ffffffff814d4849>] cpuidle_idle_call+0xd9/0x210
[330011.043026] [<ffffffff8101e4be>] arch_cpu_idle+0xe/0x30
[330011.043048] [<ffffffff810d62e5>] cpu_startup_entry+0x245/0x290
[330011.043073] [<ffffffff810475fa>] start_secondary+0x1ba/0x230
[330011.043096] Code: 44 00 00 55 83 f9 03 48 89 e5 41 57 41 56 41 89 ce 41 55 41 54 53 74 44 45 31 e4 85 d2 49 89 ff 48 89 f3 41 89 d5 7e 29 0f 1f 00 <8b> 53 18 48 8b 73 10 44 89 f1 4c 89 ff 41 83 c4 01 e8 82 ff ff
[330011.043380] RIP [<ffffffff813143a8>] swiotlb_unmap_sg_attrs+0x28/0x60
[330011.043409] RSP <ffff88303fc03e00>
[330011.043424] CR2: 0000000000000018
crash>
Environment
- Red Hat Enterprise Linux 7.2
- LSI 3ware SAS/SATA-RAID
3w-sasor3w-9xxxmodules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.