Tested Bionic kernel on Cavium ThunderX2 with the patch.

ubuntu@starbuck:~$ uname -a 
Linux starbuck 4.15.0-25-generic #26~lp1777716+build.1 SMP Tue Jun 19 19:25:21 
UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@starbuck:~$ dmesg | grep ipmi_ssif 
[   45.648719] ipmi_ssif: probe of dmi-ipmi-ssif.0 failed with error -17
[   45.648772] ipmi_ssif: probe of dmi-ipmi-ssif.1 failed with error -17
[   45.684502] ipmi_ssif: Trying SPMI-specified SSIF interface at i2c address 
0xe, adapter xlp9xx-i2c, slave address 0x0
[   45.804171] ipmi_ssif 0-000e: Found new BMC (man_id: 0x000000, prod_id: 
0x0202, dev_id: 0x20)
ubuntu@starbuck:~$ lsmod | grep ssif
ipmi_ssif              40960  0
ipmi_msghandler        61440  2 ipmi_ssif,ipmi_devintf
ubuntu@starbuck:~$

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1777716

Title:
  [SRU Bionic][Cosmic] kernel panic in ipmi_ssif at msg_done_handler

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [Impact]
  When you boot bionic with Boot with i2c and ipmi_ssif enabled on Cavium 
ThunderX2 systems with a faulty BMC that does not return any data, and the code 
is trying to print the value if data[2], we get a kernel panic.

  [  484.728410] Unable to handle kernel NULL pointer dereference at virtual 
address 00000002
  [  484.736496] pgd = ffff0000094a2000
  [  484.739885] [00000002] *pgd=00000047fcffe003, *pud=00000047fcffd003, 
*pmd=0000000000000000
  [  484.748158] Internal error: Oops: 96000005 [#1] SMP
  [...]
  [  485.101451] Call trace:
  [...]
  [  485.188473] [<ffff000000a46e68>] msg_done_handler+0x668/0x700 [ipmi_ssif]
  [  485.195249] [<ffff000000a456b8>] ipmi_ssif_thread+0x110/0x128 [ipmi_ssif]
  [  485.202038] [<ffff0000080f1430>] kthread+0x108/0x138
  [  485.206994] [<ffff0000080838e0>] ret_from_fork+0x10/0x30
  [  485.212294] Code: aa1903e1 aa1803e0 b900227f 95fef6a5 (39400aa3)

  [Test]
  - System with faulty BMC
  - Boot with i2c and ipmi_ssif enabled.

  [Fix]
  Fixed upstream with:

  commit f002612b9d86613bc6fde0a444e0095225f6053e
  Author: Kamlakant Patel <kamlakant.pa...@cavium.com>
  Date: Tue Mar 13 16:32:27 2018 +0530

      ipmi_ssif: Fix kernel panic at msg_done_handler

  [Regression Potential]
  ipmi_ssif is only loaded on ARM64 systems, this issue is observed only on 
Cavium ThunderX2 systems with a faulty BMC. The fix does not impact other 
architectures or vendor systems. Regression potential is low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1777716/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to