Re: Panic at pc : _base_readl+0x4/0x20 [mpt3sas] - kernel 5.17.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-03-22 13:22, Bruno Goncalves wrote:
Hello,

We've observed the panic below when testing a mainline kernel, it is
not 100% reproducible in our machine though.

FWIW this looks like it's probably a hardware "feature" of the PCIe implementation. I'd imagine that reading a register while the device is still resetting gets an Unsupported Request or Completer Abort response, and the PCIe root complex has chosen to pass that back to the CPU as an error (resulting in the external abort) rather than synthesising all 1's data. There's generally not much you can do about that.

Robin.

[  225.507306] mpt3sas_cm0 fault info from func: mpt3sas_base_make_ioc_ready
[  225.514159] mpt3sas_cm0: fault_state(0x5854)!
[  225.518509] mpt3sas_cm0: sending diag reset !!
[  225.916444] Internal error: synchronous external abort: 96000610 [#1] SMP
[  225.923230] Modules linked in: tls rfkill sunrpc joydev i2c_smbus
qede qed vfat fat ipmi_ssif ipmi_devintf ipmi_msghandler thunderx2_pmu
cppc_cpufreq fuse zram xfs ast i2c_algo_bit drm_vram_helper
drm_kms_helper crct10dif_ce ghash_ce syscopyarea sysfillrect sysimgblt
fb_sys_fops cec drm_ttm_helper ttm mpt3sas drm raid_class
scsi_transport_sas gpio_xlp i2c_xlp9xx
[  225.955353] CPU: 0 PID: 7 Comm: kworker/u448:0 Not tainted 5.17.0 #1
[  225.961699] Hardware name: Default string MT91-FS1/MT91-FS1, BIOS
F28 12/27/2019
[  225.969084] Workqueue: poll_mpt3sas0_statu _base_fault_reset_work [mpt3sas]
[  225.976070] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  225.983025] pc : _base_readl+0x4/0x20 [mpt3sas]
[  225.987566] lr : _base_wait_on_iocstate+0x88/0x120 [mpt3sas]
[  225.993233] sp : ffff80000b5ebc20
[  225.996537] x29: ffff80000b5ebc20 x28: 0000000000000000 x27: 0000000000000000
[  226.003668] x26: ffff000814d5a830 x25: 0000000050000000 x24: 0000000040000000
[  226.010798] x23: 0000000010000000 x22: 0000000000004e1f x21: ffff000814d5a810
[  226.017927] x20: 0000000000000004 x19: 0000000000000000 x18: ffffffffffffffff
[  226.025056] x17: 0000000000000000 x16: ffff00080a67bd78 x15: ffff80008b5eb9ef
[  226.032185] x14: ffffffffffffffff x13: 0000000000000000 x12: ffff8000095df498
[  226.039313] x11: ffff800009f8f698 x10: 0000000000001d40 x9 : ffff8000090efb98
[  226.046442] x8 : ffff00080323bf20 x7 : ffff800b62663000 x6 : 0000000e22b02726
[  226.053570] x5 : 00000000430f0af0 x4 : 0000000000f0000f x3 : 00000000000d42a8
[  226.060699] x2 : ffff800001203050 x1 : 0000000000000000 x0 : ffff8000151b0000
[  226.067828] Call trace:
[  226.070263]  _base_readl+0x4/0x20 [mpt3sas]
[  226.074456]  _base_diag_reset+0x2f0/0x378 [mpt3sas]
[  226.079341]  mpt3sas_base_make_ioc_ready.part.0+0xdc/0x1b4 [mpt3sas]
[  226.085703]  mpt3sas_base_hard_reset_handler+0x140/0x424 [mpt3sas]
[  226.091891]  _base_fault_reset_work+0x1cc/0x4a0 [mpt3sas]
[  226.097297]  process_one_work+0x1f0/0x480
[  226.101303]  worker_thread+0x180/0x500
[  226.105045]  kthread+0xd4/0xe0
[  226.108093]  ret_from_fork+0x10/0x20
[  226.111667] Code: d50323bf d65f03c0 d503201f d503233f (b9400000)
[  226.117751] ---[ end trace 0000000000000000 ]---
[  226.122359] Kernel panic - not syncing: synchronous external abort:
Fatal exception
[  226.130004] SMP: stopping secondary CPUs
[  226.133972] Kernel Offset: 0x100000 from 0xffff800008000000
[  226.139534] PHYS_OFFSET: 0x80000000
[  226.143011] CPU features: 0x006,0000450d,19001080
[  226.147705] Memory Limit: none
[  226.150750] ---[ end Kernel panic - not syncing: synchronous
external abort: Fatal exception ]---


Full console.log:
https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/03/22/497731769/build_aarch64_redhat:2232309798/tests/11656424_aarch64_5_console.log


Thanks,
Bruno Goncalves


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux