Public bug reported:

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.

** Affects: kernel-package (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-152781 severity-high 
targetmilestone-inin1704

** Tags added: architecture-ppc64le bugnameltc-152781 severity-high
targetmilestone-inin1704

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1675624

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1675624/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to