Comment 3 for bug 1675624

Revision history for this message
Michael Hohnbaum (hohnbaum) wrote : Re: [Bug 1675624] [NEW] ubuntu 17.04: hw-breakpoint in kernel-sapce not working

Leann,

A patch for the Kernel Team to evaluate.

Thanks.

On 03/23/2017 09:10 PM, Launchpad Bug Tracker wrote:
> bugproxy (bugproxy) has assigned this bug to you for Ubuntu:
>
> 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 <email address hidden> - 2017-03-22 04:29:24 ==
> https://patchwork.ozlabs.org/patch/727837/ will solve this issue.
>
> == Comment: #2 - SEETEENA THOUFEEK <email address hidden> - 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 <email address hidden> - 2017-03-23
> 01:17:02 ==
>
>
> == Comment: #4 - SEETEENA THOUFEEK <email address hidden> - 2017-03-23 02:17:04 ==
> Backported patch and kernel debian package with patch provided.
>
> == Comment: #5 - SEETEENA THOUFEEK <email address hidden> - 2017-03-23 02:17:52 ==
> debian package is tested locally and verified.
>
> ** Affects: ubuntu
> Importance: Undecided
> Assignee: Taco Screen team (taco-screen-team)
> Status: New
>
>
> ** Tags: architecture-ppc64le bugnameltc-152781 severity-high targetmilestone-inin1704

--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.