Bug 253082 - sys/net/if_clone_test:lo_up_stress triggers "panic: vm_fault failed"
Summary: sys/net/if_clone_test:lo_up_stress triggers "panic: vm_fault failed"
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-29 16:07 UTC by Alex Richardson
Modified: 2021-01-29 16:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Richardson freebsd_committer freebsd_triage 2021-01-29 16:07:03 UTC
Running the testsuite on aarch64 QEMU (commit f59810e34bae867059163cb9f651e074043fcec8, Jan 28th) I get the following failure:

sys/net/if_clone_test:lo_up_stress  ->  Fatal data abort:
  x0:                2
  x1: ffffa000530a8d68
  x2:                0
  x3:              356
  x4:                0
  x5: ffff0000defc32b0
  x6:                0
  x7:              601
  x8:                0
  x9: ffff0000005949a8
 x10:                0
 x11:                0
 x12: ffff000000e24e00
 x13: ffff000000e24d80
 x14:                0
 x15:                0
 x16:                1
 x17:                0
 x18: ffff0000defc3480
 x19: ffffa0001ca03000
 x20: deadc0dedeadc0de
 x21:             8009
 x22:                1
 x23:                0
 x24:                0
 x25: ffffa0001ca03000
 x26:         5e4a6f28
 x27:                0
 x28:                0
 x29: ffff0000defc3480
  sp: ffff0000defc3480
  lr: ffff00000056aaf0
 elr: ffff00000056aae4
spsr:         60000145
 far: deadc0dedeadc0de
 esr:         96000004
panic: vm_fault failed: ffff00000056aae4
cpuid = 0
time = 1611837560
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
         pc = 0xffff00000075dd64  lr = 0xffff0000001103f0
         sp = 0xffff0000defc2ef0  fp = 0xffff0000defc30f0

db_trace_self_wrapper() at vpanic+0x184
         pc = 0xffff0000001103f0  lr = 0xffff00000045c664
         sp = 0xffff0000defc3100  fp = 0xffff0000defc3150

vpanic() at panic+0x44
         pc = 0xffff00000045c664  lr = 0xffff00000045c41c
         sp = 0xffff0000defc3160  fp = 0xffff0000defc3210

panic() at data_abort+0x1f8
         pc = 0xffff00000045c41c  lr = 0xffff000000781b30
         sp = 0xffff0000defc3220  fp = 0xffff0000defc3290

data_abort() at handle_el1h_sync+0x78
         pc = 0xffff000000781b30  lr = 0xffff000000760878
         sp = 0xffff0000defc32a0  fp = 0xffff0000defc33f0

handle_el1h_sync() at if_up+0x48
         pc = 0xffff000000760878  lr = 0xffff00000056aaec
         sp = 0xffff0000defc3400  fp = 0xffff0000defc3480

if_up() at ifhwioctl+0xcf4
         pc = 0xffff00000056aaec  lr = 0xffff00000056bbb0
         sp = 0xffff0000defc3490  fp = 0xffff0000defc3570

ifhwioctl() at ifioctl+0x488
         pc = 0xffff00000056bbb0  lr = 0xffff00000056cff4
         sp = 0xffff0000defc3580  fp = 0xffff0000defc3620

ifioctl() at kern_ioctl+0x2e4
         pc = 0xffff00000056cff4  lr = 0xffff0000004ce664
         sp = 0xffff0000defc3630  fp = 0xffff0000defc3680

kern_ioctl() at sys_ioctl+0x144
         pc = 0xffff0000004ce664  lr = 0xffff0000004ce334
         sp = 0xffff0000defc3690  fp = 0xffff0000defc3770

sys_ioctl() at do_el0_sync+0x458
         pc = 0xffff0000004ce334  lr = 0xffff0000007813c8
         sp = 0xffff0000defc3780  fp = 0xffff0000defc3820

do_el0_sync() at handle_el0_sync+0x90
         pc = 0xffff0000007813c8  lr = 0xffff000000760a24
         sp = 0xffff0000defc3830  fp = 0xffff0000defc3980

handle_el0_sync() at 0x223a08
         pc = 0xffff000000760a24  lr = 0x0000000000223a08
         sp = 0xffff0000defc3990  fp = 0x0000ffffffffe170

KDB: enter: panic
[ thread pid 4133 tid 100087 ]
Stopped at      kdb_enter+0x40: undefined       d4200000
db>