panic on RockPro64

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

panic on RockPro64

J Sisson
Seeing a uvm_fault failed panic while doing a dpb build on RockPro64:

Let me know if there is any other information that would be helpful here.

# mount
/dev/sd0a on / type ffs (local)
/dev/sd0l on /home type ffs (local, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, nodev)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev)
/dev/sd0h on /usr/local type ffs (local, nodev, wxallowed)
/dev/sd0e on /var type ffs (local, nodev, nosuid)
10.42.42.122:/export/ports on /usr/ports type nfs (nodev, nosuid, v3,
udp, timeo=100, retrans=101)
10.42.42.122:/var/www/htdocs/pub/OpenBSD/snapshots/packages on
/usr/ports/packages type nfs (nodev, nosuid, v3, udp, timeo=100,
retrans=101)
mfs:32825 on /usr/ports/pobj type mfs (asynchronous, local, nodev,
nosuid, wxallowed, size=6000000 512-blocks)
/dev/sd0j on /usr/ports/logs type ffs (local, nodev, nosuid)


ddb{2}> show panic
uvm_fault failed: ffffff80005dd918

ddb{2}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  962688 VM pages: 56556 active, 33293 inactive, 0 wired, 726055 free (90541 ze
ro)
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  freemin=32089, free-target=42785, inactive-target=42786, wired-max=320896
  faults=14744392, traps=0, intrs=0, ctxswitch=9453045 fpuswitch=0
  softint=8930984, syscalls=10158336, kmapent=14
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=61170(61361), anget(retries)=6494778(0), amapcopy=3855648

    neighbor anon/obj pg=455716/7907349, gets(lock/unlock)=5541791/61361
    cases: anon=6060821, anoncow=433957, obj=5297761, prcopy=243839, przero=270
8037
  daemon and swap counts:
    woke=19, revs=0, scans=0, obscans=0, anscans=0
    busy=0, freed=0, reactivate=0, deactivate=0
    pageouts=0, pending=0, nswget=0
    nswapdev=1
    swpages=527934, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xffffff8000aa98d8

ddb{2}> trace
db_enter() at panic+0x14c
panic() at $x.0+0x6c
$x.0() at uvm_pmr_get1page+0x1d8
uvm_pmr_get1page() at uvm_pmr_getpages+0x218
uvm_pmr_getpages() at uvm_pagealloc+0x104
uvm_pagealloc() at uvm_fault+0x9d4
uvm_fault() at data_abort+0x134
data_abort() at do_el0_sync+0x1b4
do_el0_sync() at handle_el0_sync+0x74
handle_el0_sync() at __ALIGN_SIZE+0x19acf50
--- trap ---

ddb{2}> show bcstats
Current Buffer Cache status:
numbufs 27476 busymapped 0, delwri 1158
kvaslots 12033 avail kva slots 12033
bufpages 96016, dmapages 96016, dirtypages 2362
pendingreads 0, pendingwrites 0
highflips 0, highflops 0, dmaflips 0

Reply | Threaded
Open this post in threaded view
|

Re: panic on RockPro64

J Sisson
Don't know if this adds any helpful info, but I missed this part (new
panic, reproducible by running dpb):

# panic: uvm_fault failed: ffffff800056516c
Stopped at      panic+0x150:        TID    PID    UID     PRFLAGS     PFLAGS  C
PU  COMMAND
*353377  40252     55         0x2          0    2K sh
  98675  49420     55         0x2          0    0  perl
 521490  69842     55         0x2          0    3  perl
 257185  24645     55         0x2          0    4  cc
 291935  42276     55    0x100002          0    5  sh
 439614  90603     55         0x2          0    1  cc
db_enter() at panic+0x14c
panic() at $x.0+0x6c
$x.0() at uvm_fault+0x6d8
uvm_fault() at data_abort+0x134
data_abort() at do_el0_sync+0x17c
do_el0_sync() at handle_el0_sync+0x74
handle_el0_sync() at 0x1dc9e30088
--- trap ---
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{2}>

On Wed, Aug 21, 2019 at 12:06 PM J Sisson <[hidden email]> wrote:

>
> Seeing a uvm_fault failed panic while doing a dpb build on RockPro64:
>
> Let me know if there is any other information that would be helpful here.
>
> # mount
> /dev/sd0a on / type ffs (local)
> /dev/sd0l on /home type ffs (local, nodev, nosuid)
> /dev/sd0d on /tmp type ffs (local, nodev, nosuid)
> /dev/sd0f on /usr type ffs (local, nodev)
> /dev/sd0g on /usr/X11R6 type ffs (local, nodev)
> /dev/sd0h on /usr/local type ffs (local, nodev, wxallowed)
> /dev/sd0e on /var type ffs (local, nodev, nosuid)
> 10.42.42.122:/export/ports on /usr/ports type nfs (nodev, nosuid, v3,
> udp, timeo=100, retrans=101)
> 10.42.42.122:/var/www/htdocs/pub/OpenBSD/snapshots/packages on
> /usr/ports/packages type nfs (nodev, nosuid, v3, udp, timeo=100,
> retrans=101)
> mfs:32825 on /usr/ports/pobj type mfs (asynchronous, local, nodev,
> nosuid, wxallowed, size=6000000 512-blocks)
> /dev/sd0j on /usr/ports/logs type ffs (local, nodev, nosuid)
>
>
> ddb{2}> show panic
> uvm_fault failed: ffffff80005dd918
>
> ddb{2}> show uvm
> Current UVM status:
>   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
>   962688 VM pages: 56556 active, 33293 inactive, 0 wired, 726055 free (90541 ze
> ro)
>   min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
>   freemin=32089, free-target=42785, inactive-target=42786, wired-max=320896
>   faults=14744392, traps=0, intrs=0, ctxswitch=9453045 fpuswitch=0
>   softint=8930984, syscalls=10158336, kmapent=14
>   fault counts:
>     noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
>     ok relocks(total)=61170(61361), anget(retries)=6494778(0), amapcopy=3855648
>
>     neighbor anon/obj pg=455716/7907349, gets(lock/unlock)=5541791/61361
>     cases: anon=6060821, anoncow=433957, obj=5297761, prcopy=243839, przero=270
> 8037
>   daemon and swap counts:
>     woke=19, revs=0, scans=0, obscans=0, anscans=0
>     busy=0, freed=0, reactivate=0, deactivate=0
>     pageouts=0, pending=0, nswget=0
>     nswapdev=1
>     swpages=527934, swpginuse=0, swpgonly=0 paging=0
>   kernel pointers:
>     objs(kern)=0xffffff8000aa98d8
>
> ddb{2}> trace
> db_enter() at panic+0x14c
> panic() at $x.0+0x6c
> $x.0() at uvm_pmr_get1page+0x1d8
> uvm_pmr_get1page() at uvm_pmr_getpages+0x218
> uvm_pmr_getpages() at uvm_pagealloc+0x104
> uvm_pagealloc() at uvm_fault+0x9d4
> uvm_fault() at data_abort+0x134
> data_abort() at do_el0_sync+0x1b4
> do_el0_sync() at handle_el0_sync+0x74
> handle_el0_sync() at __ALIGN_SIZE+0x19acf50
> --- trap ---
>
> ddb{2}> show bcstats
> Current Buffer Cache status:
> numbufs 27476 busymapped 0, delwri 1158
> kvaslots 12033 avail kva slots 12033
> bufpages 96016, dmapages 96016, dirtypages 2362
> pendingreads 0, pendingwrites 0
> highflips 0, highflops 0, dmaflips 0



--
"In the real world, Scully would almost always be right and Mulder
would almost always be wrong." -Carpetsmoker

"the biggest proof of intelligent life out there is... they've not
contacted us."
-EvilBagel

"The doctors in a mental institution were thinking of releasing a
certain schizophrenic patient. They decided to give him a test under a
lie detector. One of the questions they asked him was, "Are you
Napoleon?" He replied, "No." The machine showed that he was lying."