Bug 202305 - panic ARM64TODO: pmap_sync_icache triggered by lib/libproc/proc_test:symbol_lookup test
Summary: panic ARM64TODO: pmap_sync_icache triggered by lib/libproc/proc_test:symbol_l...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 18:33 UTC by Ed Maste
Modified: 2015-08-31 20:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2015-08-13 18:33:05 UTC
lib/libproc/proc_test:symbol_lookup


panic: ARM64TODO: pmap_sync_icache
    panic() at pmap_sync_icache+0x10
             pc = 0xffffff8000215c4c  lr = 0xffffff8000497c94
             sp = 0xffffff804004c5a0  fp = 0xffffff804004c5a0

    pmap_sync_icache() at proc_rwmem+0x104
             pc = 0xffffff8000497c94  lr = 0xffffff8000270540
             sp = 0xffffff804004c5b0  fp = 0xffffff804004c610

    proc_rwmem() at kern_ptrace+0xc80
             pc = 0xffffff8000270540  lr = 0xffffff8000271448
             sp = 0xffffff804004c620  fp = 0xffffff804004c7a0

    kern_ptrace() at sys_ptrace+0xd4
             pc = 0xffffff8000271448  lr = 0xffffff80002706e0
             sp = 0xffffff804004c7b0  fp = 0xffffff804004c9e0

    sys_ptrace() at do_el0_sync+0x3b4
             pc = 0xffffff80002706e0  lr = 0xffffff800049914c
             sp = 0xffffff804004c9f0  fp = 0xffffff804004caa0

    do_el0_sync() at handle_el0_sync+0x68
             pc = 0xffffff800049914c  lr = 0xffffff800048a9e4
             sp = 0xffffff804004cab0  fp = 0x0000007fffffe490

    handle_el0_sync() at 0x401b98
             pc = 0xffffff800048a9e4  lr = 0x0000000000401b98
             sp = 0x0000007fffffe4a0  fp = 0x0000007fffffe4f0

    $d.6() at 0x404b0abc
             pc = 0x0000000000401b98  lr = 0x00000000404b0abc
             sp = 0x0000007fffffe500  fp = 0x0000007fffffe950
...
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-17 23:19:51 UTC
A commit references this bug:

Author: emaste
Date: Mon Aug 17 23:19:37 UTC 2015
New revision: 286863
URL: https://svnweb.freebsd.org/changeset/base/286863

Log:
  On arm64 disable three tests that hang or panic

  Each issue has a PR open to track. This workaround allows us to run the
  tests to investigate the failures and avoid any new regressions.

  PR:		202304, 202305, 202307
  Reviewed by:	ngie
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D3378

Changes:
  head/lib/libc/tests/sys/Makefile
  head/lib/libproc/tests/proc_test.c
  head/lib/libutil/tests/Makefile
Comment 2 Andrew Turner freebsd_committer freebsd_triage 2015-08-20 13:08:27 UTC
The kernel change for testing is here: https://reviews.freebsd.org/D3438
Comment 3 Ed Maste freebsd_committer freebsd_triage 2015-08-31 19:58:45 UTC
Support committed in r287105
https://svnweb.freebsd.org/changeset/base/287105
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-08-31 20:30:45 UTC
A commit references this bug:

Author: emaste
Date: Mon Aug 31 20:30:07 UTC 2015
New revision: 287333
URL: https://svnweb.freebsd.org/changeset/base/287333

Log:
  Enable libproc symbol_lookup tests on arm64

  This reverts part of r286863, as the kernel support required by these
  tests was added in r287105.

  PR:		202305
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/lib/libproc/tests/proc_test.c