Comment 20 for bug 1483343

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-01-08 08:03 EDT-------
I have installed the proposed kernel which you have mentioned on the P8 Hardware.

root@powerkvmpok002:~/5613571# dpkg -i linux-image-3.13.0-10-generic_3.13.0-10.30_ppc64el.deb
Selecting previously unselected package linux-image-3.13.0-10-generic.
(Reading database ... 155249 files and directories currently installed.)
Preparing to unpack linux-image-3.13.0-10-generic_3.13.0-10.30_ppc64el.deb ...
Done.
Unpacking linux-image-3.13.0-10-generic (3.13.0-10.30) ...
Setting up linux-image-3.13.0-10-generic (3.13.0-10.30) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinux-4.4.0-040400rc4-generic
Found initrd image: /boot/initrd.img-4.4.0-040400rc4-generic
Found linux image: /boot/vmlinux-3.19.0-41-generic
Found initrd image: /boot/initrd.img-3.19.0-41-generic
Found linux image: /boot/vmlinux-3.19.0-39-generic
Found initrd image: /boot/initrd.img-3.19.0-39-generic
Found linux image: /boot/vmlinux-3.13.0-10-generic
Found initrd image: /boot/initrd.img-3.13.0-10-generic
Found Debian GNU/Linux (8.2) on /dev/sdb2
Found unknown Linux distribution on /dev/mapper/ibmpkvm_vg_root01-ibmpkvm_lv_system
done

root@powerkvmpok002:~/5613571# dpkg -i linux-image-extra-3.13.0-10-generic_3.13.0-10.30_ppc64el.deb
Selecting previously unselected package linux-image-extra-3.13.0-10-generic.
(Reading database ... 155936 files and directories currently installed.)
Preparing to unpack linux-image-extra-3.13.0-10-generic_3.13.0-10.30_ppc64el.deb ...
Unpacking linux-image-extra-3.13.0-10-generic (3.13.0-10.30) ...
Setting up linux-image-extra-3.13.0-10-generic (3.13.0-10.30) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-10-generic
) points to /boot/initrd.img-3.13.0-10-generic
(/boot/initrd.img-3.13.0-10-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-10-generic.postinst line 491.
vmlinux(/boot/vmlinux-3.13.0-10-generic
) points to /boot/vmlinux-3.13.0-10-generic
(/boot/vmlinux-3.13.0-10-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-10-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-10-generic /boot/vmlinux-3.13.0-10-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinux-4.4.0-040400rc4-generic
Found initrd image: /boot/initrd.img-4.4.0-040400rc4-generic
Found linux image: /boot/vmlinux-3.19.0-41-generic
Found initrd image: /boot/initrd.img-3.19.0-41-generic
Found linux image: /boot/vmlinux-3.19.0-39-generic
Found initrd image: /boot/initrd.img-3.19.0-39-generic
Found linux image: /boot/vmlinux-3.13.0-10-generic
Found initrd image: /boot/initrd.img-3.13.0-10-generic
Found Debian GNU/Linux (8.2) on /dev/sdb2
Found unknown Linux distribution on /dev/mapper/ibmpkvm_vg_root01-ibmpkvm_lv_system
done

root@powerkvmpok002:~# uname -a
Linux powerkvmpok002 3.13.0-10-generic #30-Ubuntu SMP Tue Feb 18 23:06:18 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
root@powerkvmpok002:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

root@powerkvmpok002:~# cat /proc/cpuinfo | tail
processor : 159
cpu : POWER8E (raw), altivec supported
clock : 3425.000000MHz
revision : 2.1 (pvr 004b 0201)

timebase : 512000000
platform : PowerNV
model : 8284-22A
machine : PowerNV 8284-22A
firmware : OPAL v3

Then executed the same test cases again on the installed kernel.

root@powerkvmpok002:/opt/ltp/testcases/bin# ./lock_torture.sh
lock_torture 1 TCONF : test must be run with kernel 3.18 or newer
lock_torture 1 TINFO : cleanup

As can be seen, the kernel supported to execute these tests should be 3.18 or above.