Comment 9 for bug 1689886

Revision history for this message
Jeffrey Hugo (jhugo-o) wrote : RE: [Bug #1689886] Please test this kernel and report results for SRU.

Tested on both SDP and REP. You want the following posted on the LP bug?

root@null-8cfdf006971f:/home/ubuntu# uname -a
Linux null-8cfdf006971f 4.10.0-20-generic #22~lp1689886+sru3-Ubuntu SMP Wed May 10 22:01:57 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
root@null-8cfdf006971f:/home/ubuntu#
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru read 0 fru0.bin
Fru Size : 256 bytes
Done
root@null-8cfdf006971f:/home/ubuntu#
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru read 1 fru1.bin
Fru Size : 256 bytes
Done
root@null-8cfdf006971f:/home/ubuntu#
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru print 0
Board Mfg Date : Sun Sep 12 12:55:00 2004
Board Mfg : QUALCOMM
Board Product : ABW|SYS|CVR,2DPC|V3

Board Serial : N10MYKGC4
Board Part Number : 20-P7989-H1S

root@null-8cfdf006971f:/home/ubuntu# uname -a
Linux null-8cfdf006971f 4.10.0-20-generic #22~lp1689886+sru3-Ubuntu SMP Wed May 10 22:01:57 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru read 0 fru0.bin
Fru Size : 1024 bytes
Done
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru read 1 fru1.bin
Fru Size : 256 bytes
Done
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru print 0
Chassis Type : Rack Mount Chassis
Chassis Part Number : B81014010004
Chassis Serial : 7160000CJ0SA
Board Mfg Date : Sat Apr 15 02:36:00 2017
Board Mfg : WIWYNN
Board Product : QDF2400 Customer Reference Board
Board Serial : B5501401D00571200032J0LA
Board Part Number : B81.01410.0019
Product Manufacturer : WIWYNN
Product Name : QDF2400 Reference Evaluation Platform
Product Part Number : CV90-LA115-P900
Product Version : EVT
Product Serial : B810140100047160000CJ0SA
Product Asset Tag :
root@null-8cfdf006971f:/home/ubuntu# ipmitool fru print 1
Board Mfg Date : Tue Apr 25 05:46:00 2017
Board Mfg : WIWYNN
Board Product : REP-1 PCIe riser P952
Board Serial : B5501404D0037130000EJ0LA
Board Part Number : B81.01410.0013

Jeffrey Hugo
Senior Engineer
Qualcomm Datacenter Technologies, Inc.
1-303-247-5002

From: Jeff Hugo
Sent: Thursday, May 11, 2017 11:42 AM
To: 'Manoj Iyer' <email address hidden>
Cc: Joseph Chang <email address hidden>; <email address hidden>
Subject: RE: [Bug #1689886] Please test this kernel and report results for SRU.

Hmm, that looks like it should work. I wonder why it didn’t seem to go well for me. I’ll give it another shot.

Jeffrey Hugo
Senior Engineer
Qualcomm Datacenter Technologies, Inc.
1-303-247-5002

From: Manoj Iyer [mailto:<email address hidden>]
Sent: Thursday, May 11, 2017 11:21 AM
To: Jeff Hugo <<email address hidden><mailto:<email address hidden>>>
Cc: Joseph Chang <<email address hidden><mailto:<email address hidden>>>; <email address hidden><mailto:<email address hidden>>
Subject: RE: [Bug #1689886] Please test this kernel and report results for SRU.

On Thu, May 11, 2017 at 11:54 AM, Jeff Hugo <<email address hidden><mailto:<email address hidden>>> wrote:
Manoj, how do you recommend utilizing the PPA?

I downloaded the debian packages for linux-image and headers, used dpkg to install, and while it boots, many of the drivers are missing, so the test case cannot be executed.

The instructions to add the ppa and install the kernel etc are in the PPA:
https://launchpad.net/~centriq-team/+archive/ubuntu/test/

in brief:
sudo add-apt-repository ppa:centriq-team/test
sudo apt-get update
sudo apt-get install linux-image-4.10.0-20-generic linux-image-extra-4.10.0-20-generic

If you have multiple versions of the kernel installed on your system and if you want to stop at the grub menu to select your kernel... you need to edit /etc/default/grub and comment out "GRUB_HIDDEN_TIMEOUT=0" before you install the kernel package (if you edited after you installed you can just run sudo update-grub2). This will drop you into the grub menu, where you can go into the "Advanced" tab and select the kernel you want to boot.

I attempted to go through DI, but pointing DI to the test PPA does not seem to install the correct kernel, and leaves the system in a non-bootable state.

Jeffrey Hugo
Senior Engineer
Qualcomm Datacenter Technologies, Inc.
1-303-247-5002

From: Manoj Iyer [mailto:<email address hidden>]
Sent: Thursday, May 11, 2017 10:16 AM
To: Joseph Chang <<email address hidden><mailto:<email address hidden>>>
Cc: Jeff Hugo <<email address hidden><mailto:<email address hidden>>>; <email address hidden><mailto:<email address hidden>>
Subject: RE: [Bug #1689886] Please test this kernel and report results for SRU.

Joseph,

Thanks for testing. Have you tested the kernel in the centriq test PPA with the patch applied? Or was it an upstream kernel? If you tested the kernel in centriq test PPA could you please post your test results here?

Thanks
Manoj
On Thu, May 11, 2017 at 11:09 AM, Joseph Chang <<email address hidden><mailto:<email address hidden>>> wrote:
Hi,

I already test the patch on REP and it really fix the kernel panic issue.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/char/ipmi/ipmi_ssif.c?id=6de65fcfdb51835789b245203d1bfc8d14cb1e06

Thank you,
Joseph.
From: Jeff Hugo
Sent: Thursday, May 11, 2017 9:28 PM
To: Manoj Iyer <<email address hidden><mailto:<email address hidden>>>; <email address hidden><mailto:<email address hidden>>
Cc: Joseph Chang <<email address hidden><mailto:<email address hidden>>>
Subject: RE: [Bug #1689886] Please test this kernel and report results for SRU.

Yep, I’ll have it tested.

Jeffrey Hugo
Senior Engineer
Qualcomm Datacenter Technologies, Inc.
1-303-247-5002

From: Manoj Iyer [mailto:<email address hidden>]
Sent: Wednesday, May 10, 2017 10:00 PM
To: Jeff Hugo <<email address hidden><mailto:<email address hidden>>>; <email address hidden><mailto:<email address hidden>>
Cc: Joseph Chang <<email address hidden><mailto:<email address hidden>>>
Subject: [Bug #1689886] Please test this kernel and report results for SRU.

Jeff,

Could you please test the kernel in PPA https://launchpad.net/~centriq-team/+archive/ubuntu/test/ <%20https:/launchpad.net/~centriq-team/+archive/ubuntu/test/%20> that has Joeseph Chang's patch ipmi: Fix kernel panic at ipmi_ssif_thread() on a QDF2400 REP system and report your results? http://bugs.launchpad.net/bugs/1689886 <%20http:/bugs.launchpad.net/bugs/1689886%20>

When you report the test results please include the output of the working ipmi command.

Thanks
Manoj Iyer