Still panics with the latest uvm fixes.

http://bluhm.genua.de/release/results/2022-04-30T21%3A55%3A03Z/bsdcons-ot26.txt

[-- MARK -- Sun May  1 14:40:00 2022]
uvn_io: start: 0x25452b58, type VREG, use 0, write 0, hold 834, flags 
(VBIOONFREELIST)
        tag VT_UFS, ino 469309, on dev 0, 10 flags 0x100, effnlink 1, nlink 1
        mode 0100660, owner 21, group 21, size 13647873
==> vnode_history_print 0x25452b58, next=6
 [4] reaper[59031] usecount 1>1
#0  spleen12x24_data+0x86c
 [5] reaper[59031] usecount 1>0
#0  splx+0x30
#1  0xfffffffc
#2  vrele+0x5c
#3  uvn_detach+0x160
#4  uvm_unmap_detach+0x1a4
#5  uvm_map_teardown+0x184
#6  uvmspace_free+0x60
#7  uvm_exit+0x30
#8  reaper+0x138
#9  fork_trampoline+0x14
vn_lock: v_usecount == 0: 0x25452b58, type VREG, use 0, write 0, hold 834, 
flags (VBIOONFREELIST)
        tag VT_UFS, ino 469309, on dev 0, 10 flags 0x100, effnlink 1, nlink 1
        mode 0100660, owner 21, group 21, size 13647873
==> vnode_history_print 0x25452b58, next=6
 [4] reaper[59031] usecount 1>1
#0  spleen12x24_data+0x86c
 [5] reaper[59031] usecount 1>0
#0  splx+0x30
#1  0xfffffffc
#2  vrele+0x5c
#3  uvn_detach+0x160
#4  uvm_unmap_detach+0x1a4
#5  uvm_map_teardown+0x184
#6  uvmspace_free+0x60
#7  uvm_exit+0x30
#8  reaper+0x138
#9  fork_trampoline+0x14

panic: vn_lock: v_usecount == 0
Stopped at      db_enter+0x24:  lwz r11,12(r1)
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 509301  70498     21         0x2          0    0  c++
*159995   7667      0     0x14000      0x200    1K pagedaemon
db_enter() at db_enter+0x20
panic(94c446) at panic+0x158
vn_lock(49535400,657000) at vn_lock+0x1c4
uvn_io(5ef31c8a,a9c80c,b020bc,ffffffff,e4010000) at uvn_io+0x254
uvn_put(a557fdd,e7ebbdd4,25099380,5dd7f60) at uvn_put+0x64
uvm_pager_put(0,0,e7ebbd70,7fde08,2000000,80000000,0) at uvm_pager_put+0x15c
uvmpd_scan_inactive(0) at uvmpd_scan_inactive+0x224
uvmpd_scan() at uvmpd_scan+0x15c
uvm_pageout(5ed01eee) at uvm_pageout+0x398
fork_trampoline() at fork_trampoline+0x14
end trace frame: 0x0, count: 5
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{1}> x/s version
version:        OpenBSD 7.1-current (GENERIC.MP) #0: Sun May  1 00:23:00 CEST 
2022\012    
r...@ot26.obsd-lab.genua.de:/usr/src/sys/arch/macppc/compile/GENERIC.MP\012

ddb{1}> show panic
*cpu1: vn_lock: v_usecount == 0

ddb{1}> trace
db_enter() at db_enter+0x20
panic(94c446) at panic+0x158
vn_lock(49535400,657000) at vn_lock+0x1c4
uvn_io(5ef31c8a,a9c80c,b020bc,ffffffff,e4010000) at uvn_io+0x254
uvn_put(a557fdd,e7ebbdd4,25099380,5dd7f60) at uvn_put+0x64
uvm_pager_put(0,0,e7ebbd70,7fde08,2000000,80000000,0) at uvm_pager_put+0x15c
uvmpd_scan_inactive(0) at uvmpd_scan_inactive+0x224
uvmpd_scan() at uvmpd_scan+0x15c
uvm_pageout(5ed01eee) at uvm_pageout+0x398
fork_trampoline() at fork_trampoline+0x14
end trace frame: 0x0, count: -10

ddb{1}> show register
r0              0x827230        panic+0x15c
r1            0xe7ebbb60
r2                     0
r3              0xaa4140        cpu_info+0x4c0
r4              0xab0000        timeout_wheel_kc+0x1aa8
r5                   0x1
r6                     0
r7            0xe7bb9000
r8                     0
r9              0x92059f        pppdumpm.digits
r10                 0x14
r11           0xf9f449fe
r12           0xe9570a90
r13                    0
r14             0xafc628        bcstats
r15             0xb02098        uvmexp
r16                    0
r17                    0
r18                    0
r19             0x657000        coredump+0x18c
r20               0x1000        tlbdsmsize+0xf18
r21               0x1000        tlbdsmsize+0xf18
r22             0xa8d76c        netlock
r23           0xe4010000
r24           0x25099398
r25           0x2509939c
r26             0x92dd83        apollo_udma66_tim+0x16fc
r27                    0
r28                    0
r29             0xaa4400        cpu_info+0x780
r30             0x94c446        cy_pio_rec+0x14e8b
r31             0xb021c4        uvmexp+0x12c
lr              0x1837b0        db_enter+0x24
cr            0x48228204
xer           0x20000000
ctr             0x43dea0        openpic_splx
iar             0x1837b0        db_enter+0x24
msr               0x9032        tlbdsmsize+0x8f4a
dar                    0
dsisr                  0
db_enter+0x24:  lwz r11,12(r1)

ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 70498  509301  70205     21  7         0x2                c++
 70205  121095  94995     21  3    0x10008a  sigsusp       sh
 31427  144008  46929     21  2         0x2                c++
 46929  299794  94995     21  3    0x10008a  sigsusp       sh
 94995  483101   3785     21  3    0x10008a  sigsusp       make
  3785  285525  82454     21  3    0x10008a  sigsusp       sh
 82454   77234   5995     21  3    0x10008a  sigsusp       make
  5995  283797  77123     21  3    0x10008a  sigsusp       sh
 77123  466026  10876     21  3    0x10008a  sigsusp       make
 10876  179982  77023     21  3    0x10008a  sigsusp       sh
 77023  435624  44074     21  3    0x10008a  sigsusp       make
 44074  300997  37758     21  3    0x10008a  sigsusp       sh
 37758  179520  69536     21  3    0x10008a  sigsusp       make
 69536   57265  35837      0  3    0x10008a  sigsusp       sh
 35837  145937  66470      0  3    0x10008a  sigsusp       make
 66470   39291  87042      0  3    0x10008a  sigsusp       make
 87042   65916  16084      0  3    0x10008a  sigsusp       sh
 16084  252316  83795      0  3        0x82  piperd        perl
 83795  460618  64155      0  3    0x10008a  sigsusp       ksh
 64155  119549  83056      0  3        0x9a  kqread        sshd
  4609  381310      1      0  3    0x100083  ttyin         getty
 17755  377327      1      0  3    0x100098  kqread        cron
 50623  447033      1     99  3   0x1100090  kqread        sndiod
 86360  422130      1    110  3    0x100090  kqread        sndiod
 72306   55134  24410     95  3   0x1100092  kqread        smtpd
 45323  352763  24410    103  3   0x1100092  kqread        smtpd
 53556  505115  24410     95  3   0x1100092  kqread        smtpd
 47308  486324  24410     95  3    0x100092  kqread        smtpd
 35107  405460  24410     95  3   0x1100092  kqread        smtpd
 12273   60910  24410     95  3   0x1100092  kqread        smtpd
 24410   26316      1      0  3    0x100080  kqread        smtpd
 16595  197581      1      0  3    0x100080  kqread        snmpd
 47710  169236      1     91  3   0x1000092  kqread        snmpd
 83056  300030      1      0  3        0x88  kqread        sshd
 53672  307123      0      0  3     0x14280  nfsidl        nfsio
  7306  352919      0      0  3     0x14280  nfsidl        nfsio
 81550  262281      0      0  3     0x14280  nfsidl        nfsio
 64215  124944      0      0  3     0x14280  nfsidl        nfsio
 69305  313451      1      0  3    0x100080  kqread        ntpd
 75743  257878  18814     83  3    0x100092  kqread        ntpd
 18814   99242      1     83  3   0x1100092  kqread        ntpd
 40375  316366  47782     74  3   0x1100092  bpf           pflogd
 47782  454783      1      0  3        0x80  netio         pflogd
 79846  395529  28099     73  3   0x1100090  kqread        syslogd
 28099  385379      1      0  3    0x100082  netio         syslogd
 18976  269312      1      0  3    0x100080  kqread        resolvd
 88555  317073  41653     77  3    0x100092  kqread        dhcpleased
 57192  265735  41653     77  3    0x100092  kqread        dhcpleased
 41653  144281      1      0  3        0x80  kqread        dhcpleased
 17013  332531  46416    115  3    0x100092  kqread        slaacd
   856   71422  46416    115  3    0x100092  kqread        slaacd
 46416  515781      1      0  3    0x100080  kqread        slaacd
 70873  248807      0      0  3     0x14200  bored         smr
 41236  178606      0      0  3  0x40014200                idle1
 79529  389288      0      0  2     0x14200                zerothread
  5889  352328      0      0  3     0x14200  aiodoned      aiodoned
 68761  243477      0      0  3     0x14200  syncer        update
 18493   77728      0      0  3     0x14200  cleaner       cleaner
 59031   47752      0      0  3     0x14200  reaper        reaper
* 7667  159995      0      0  7     0x14200                pagedaemon
 92121  245204      0      0  3     0x14200  usbtsk        usbtask
 31890  498829      0      0  3     0x14200  usbatsk       usbatsk
 80205  311642      0      0  3     0x14200  bored         sensors
 49774   58456      0      0  3     0x14200  bored         softnet
 54319  462388      0      0  3     0x14200  bored         systqmp
 42587   25531      0      0  3     0x14200  bored         systq
 80095  522844      0      0  3  0x40014200  bored         softclock
 22059   14065      0      0  3  0x40014200                idle0
     1  136920      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper

ddb{1}> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
  500885 VM pages: 305642 active, 25214 inactive, 1 wired, 68188 free (0 zero)
  min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
  freemin=16696, free-target=22261, inactive-target=127450, wired-max=166961
  faults=573187012, traps=0, intrs=833061, ctxswitch=12350528 fpuswitch=2439438
  softint=4756031, syscalls=815898176, kmapent=10
  fault counts:
    noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
    ok relocks(total)=338852(340543), anget(retries)=447113713(0), 
amapcopy=42504844
    neighbor anon/obj pg=36909920/123005148, gets(lock/unlock)=42751630/340755
    cases: anon=445482147, anoncow=1631566, obj=36801417, prcopy=5948310, 
przero=83323572
  daemon and swap counts:
    woke=3, revs=1, scans=51776, obscans=51495, anscans=0
    busy=0, freed=51494, reactivate=281, deactivate=0
    pageouts=1, pending=0, nswget=0
    nswapdev=1
    swpages=589823, swpginuse=0, swpgonly=0 paging=0
  kernel pointers:
    objs(kern)=0xa9c6a0

Reply via email to