Cisco UCS 4.04(b) fnic drivers will experience an OS reset when scanning the /sys/ directory
Issue
- The kernel panics with entries such as this below:
[77029.506870] megaraid_sas 0000:01:00.0: Firmware crash dump is not available
[77029.846811] BUG: unable to handle kernel paging request at 0000000100000000
[77029.846855] IP: [<ffffffffa298b72d>] strnlen+0xd/0x40
[77029.846883] PGD 8000000f19b19067 PUD 0
[77029.846904] Oops: 0000 [#1] SMP
[77029.846923] Modules linked in: fileaccess_mod_100604134(OE) xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables ip6table_filter devlink ip6_tables iptable_filter mfeaack_100604134(OE) rpcrdma sunrpc ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod ib_srp scsi_transport_srp ib_ipoib rdma_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_core joydev iTCO_wdt iTCO_vendor_support sg sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm ipmi_ssif irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw ipmi_si gf128mul glue_helper ablk_helper cryptd pcspkr pcc_cpufreq ipmi_devintf
[77029.847311] acpi_power_meter ipmi_msghandler wmi lpc_ich binfmt_misc ip_tables ext4 mbcache jbd2 dm_service_time sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm fnic(OE) crct10dif_pclmul crct10dif_common crc32c_intel nvme_fc nvme_fabrics nvme_core scsi_transport_fc megaraid_sas enic drm_panel_orientation_quirks scsi_tgt dm_multipath dm_mirror dm_region_hash dm_log dm_mod
[77029.847526] CPU: 7 PID: 5277 Comm: save Kdump: loaded Tainted: G OE ------------ 3.10.0-1062.7.1.el7.x86_64 #1
[77029.847572] Hardware name: Cisco Systems Inc UCSB-B200-M3/UCSB-B200-M3, BIOS B200M3.2.2.6f.0.052120182033 05/21/2018
[77029.847616] task: ffff991a83ab3150 ti: ffff991823224000 task.ti: ffff991823224000
[77029.847648] RIP: 0010:[<ffffffffa298b72d>] [<ffffffffa298b72d>] strnlen+0xd/0x40
[77029.847683] RSP: 0018:ffff991823227cb8 EFLAGS: 00010286
[77029.847706] RAX: ffffffffa3082a0c RBX: ffff9922bef55000 RCX: fffffffffffffffe
[77029.847737] RDX: 0000000100000000 RSI: ffffffffffffffff RDI: 0000000100000000
[77029.847767] RBP: ffff991823227cb8 R08: 000000000000ffff R09: 000000000000ffff
[77029.847798] R10: 0000000000001000 R11: ffffffffa27ddd0d R12: 0000000100000000
[77029.847828] R13: ffff9922bef56000 R14: 00000000ffffffff R15: 0000000000000000
[77029.848959] FS: 00007fd54c9ba740(0000) GS:ffff9922ffd80000(0000) knlGS:0000000000000000
[77029.850099] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[77029.851233] CR2: 0000000100000000 CR3: 0000000e65b1a000 CR4: 00000000000607e0
[77029.852363] Call Trace:
[77029.853439] [<ffffffffa298d4db>] string.isra.7+0x3b/0xf0
[77029.854528] [<ffffffffa298ebf1>] vsnprintf+0x201/0x6a0
[77029.855637] [<ffffffffa298f199>] snprintf+0x49/0x70
[77029.856804] [<ffffffffc05161a4>] fnic_show_state+0x34/0x40 [fnic]
[77029.857910] [<ffffffffa2ab1503>] dev_attr_show+0x23/0x60
[77029.858983] [<ffffffffa2d7ec82>] ? mutex_lock+0x12/0x2f
[77029.860075] [<ffffffffa28d6eef>] sysfs_kf_seq_show+0xcf/0x1f0
[77029.861202] [<ffffffffa28d5626>] kernfs_seq_show+0x26/0x30
[77029.862267] [<ffffffffa2872850>] seq_read+0x130/0x440
[77029.863377] [<ffffffffa28d5f75>] kernfs_fop_read+0x105/0x170
[77029.864485] [<ffffffffa284a73f>] vfs_read+0x9f/0x170
[77029.865556] [<ffffffffa284b5ff>] SyS_read+0x7f/0xf0
[77029.866646] [<ffffffffa2d8dede>] system_call_fastpath+0x25/0x2a
[77029.867724] [<ffffffffa2d8de21>] ? system_call_after_swapgs+0xae/0x146
[77029.868817] Code: c0 01 80 38 00 75 f7 48 29 f8 5d c3 31 c0 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 85 f6 48 8d 4e ff 48 89 e5 74 2a <80> 3f 00 74 25 48 89 f8 31 d2 eb 10 0f 1f 80 00 00 00 00 48 83
[77029.871031] RIP [<ffffffffa298b72d>] strnlen+0xd/0x40
[77029.872096] RSP <ffff991823227cb8>
[77029.873193] CR2: 0000000100000000
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.