Default Comment by Bridge

** Attachment added: "Kernel debian package with fix (17.04)"
   
https://bugs.launchpad.net/bugs/1675624/+attachment/4937481/+files/linux-image-4.10.0-13-generic_4.10.0-13.15_ppc64el.deb

-- 
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/1675624

Title:
  ubuntu 17.04: hw-breakpoint in kernel-sapce not working

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Zesty:
  Fix Committed

Bug description:
  How to reproduce:

  $ sudo cat /proc/kallsyms  | grep pid_max
    c000000001308794 D pid_max

  $ sudo perf record -a --event=mem:0xc000000001308794 sleep 10

  $ dmesg
    [   99.095475] Unable to handle hardware breakpoint. Breakpoint at 
0xc000000001308794 will be disabled.
    [   99.095478] ------------[ cut here ]------------
    [   99.095480] WARNING: CPU: 27 PID: 3306 at 
/build/linux-VtwHOM/linux-4.10.0/arch/powerpc/kernel/hw_breakpoint.c:277 
hw_breakpoint_handler+0x120/0x230
    ...

  System detail:

  $ uname -a
  Linux tul163-u1704-qemu 4.10.0-13-generic #15-Ubuntu SMP Thu Mar 9 20:27:28 
UTC 2017 ppc64le ppc64le ppc64le GNU/Linux

  $ cat /etc/*release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=17.04
    DISTRIB_CODENAME=zesty
    DISTRIB_DESCRIPTION="Ubuntu Zesty Zapus (development branch)"

  == Comment: #1 - Ravikumar B. Bangoria <ravi.bango...@in.ibm.com> - 
2017-03-22 04:29:24 ==
  https://patchwork.ozlabs.org/patch/727837/ will solve this issue.

  == Comment: #2 - SEETEENA THOUFEEK <sthou...@in.ibm.com> - 2017-03-23 
01:14:58 ==
  Patch is accepted upstream. 

  
  
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=e148bd17f48bd17fca2f4f089ec879

  
  I had build kernel package with the patch included and tested and it is 
working perfect. 

  link to the backport kernel debian package is uploaded in box note

  https://ibm.ent.box.com/folder/22186913949  under the folder name
  152781

  == Comment: #3 - SEETEENA THOUFEEK <sthou...@in.ibm.com> - 2017-03-23
  01:17:02 ==

  
  == Comment: #4 - SEETEENA THOUFEEK <sthou...@in.ibm.com> - 2017-03-23 
02:17:04 ==
  Backported patch and kernel debian package with patch provided.

  == Comment: #5 - SEETEENA THOUFEEK <sthou...@in.ibm.com> - 2017-03-23 
02:17:52 ==
  debian package is tested locally and verified.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1675624/+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