Is it possible gem(4) isn't converted to new network locking?

Or that there is a spl-related bug in macppc?

Charlene Wendling <[email protected]> wrote:

> On Wed, 1 Apr 2020 20:27:54 +0200
> Charlene Wendling wrote:
> 
> I've got another one, still with:
> 
> OpenBSD 6.6-current (GENERIC.MP) #692: Sat Mar 21 10:19:57 MDT 2020
> [email protected]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
> 
> and xlights(4) disabled.
> 
> ddb{1}> machine ddbcpu 0
> Stopped at      db_enter+0x10:  lwz r0,36(r1)
> db_enter() at db_enter+0xc
> openpic_ipi_ddb() at openpic_ipi_ddb+0xc
> openpic_ext_intr() at openpic_ext_intr+0x254
> extint_call() at extint_call
> --- interrupt ---
> splx(76535000) at splx+0x1c
> tsleep(4c28,920000,e623bc30,0) at tsleep+0x9c
> biowait(1) at biowait+0x5c
> uvm_swap_io(ffffffff,0,0,20000000) at uvm_swap_io+0x5f4
> uvm_swap_get(43a68b0,43a68b0,e623bd40) at uvm_swap_get+0x58
> uvmfault_anonget(1,1,e623bd90) at uvmfault_anonget+0x1ac
> uvm_fault(72e494,6d97e500,e623bdc0,2000d034) at uvm_fault+0x554
> trap(6b621338) at trap+0x8d4
> trapagain() at trapagain+0x4
> --- trap (type 0x10300) ---
> End of kernel: 0xfffcf740
> end trace frame: 0xfffcf740, count: 2
> 
> ddb{0}> show panic
> netlock: lock not shared
> 
> ddb{0}> trace
> db_enter() at db_enter+0xc
> openpic_ipi_ddb() at openpic_ipi_ddb+0xc
> openpic_ext_intr() at openpic_ext_intr+0x254
> extint_call() at extint_call
> --- interrupt ---
> splx(76535000) at splx+0x1c
> tsleep(4c28,920000,e623bc30,0) at tsleep+0x9c
> biowait(1) at biowait+0x5c
> uvm_swap_io(ffffffff,0,0,20000000) at uvm_swap_io+0x5f4
> uvm_swap_get(43a68b0,43a68b0,e623bd40) at uvm_swap_get+0x58
> uvmfault_anonget(1,1,e623bd90) at uvmfault_anonget+0x1ac
> uvm_fault(72e494,6d97e500,e623bdc0,2000d034) at uvm_fault+0x554
> trap(6b621338) at trap+0x8d4
> trapagain() at trapagain+0x4
> --- trap (type 0x10300) ---
> End of kernel: 0xfffcf740
> end trace frame: 0xfffcf740, count: -13
> 
> ddb{0}> machine ddbcpu 1
> Stopped at      db_enter+0x10:  lwz r0,36(r1)
> db_enter() at db_enter+0xc
> panic(0) at panic+0xe0
> rw_assert_rdlock(e61f0e88) at rw_assert_rdlock+0x60
> rw_exit_read(997838) at rw_exit_read+0x14
> if_input_process(78bde0,e61f0f28) at if_input_process+0x68
> ifiq_process(ffffffff) at ifiq_process+0x78
> taskq_thread(e0007040) at taskq_thread+0x58
> fork_trampoline() at fork_trampoline+0x14
> end trace frame: 0x0, count: 7
>  
> ddb{1}> trace
> db_enter() at db_enter+0xc
> panic(0) at panic+0xe0
> rw_assert_rdlock(e61f0e88) at rw_assert_rdlock+0x60
> rw_exit_read(997838) at rw_exit_read+0x14
> if_input_process(78bde0,e61f0f28) at if_input_process+0x68
> ifiq_process(ffffffff) at ifiq_process+0x78
> taskq_thread(e0007040) at taskq_thread+0x58
> fork_trampoline() at fork_trampoline+0x14
> end trace frame: 0x0, count: -8
> 
> ddb{1}> show uvm
> Current UVM status:
>   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
>   505882 VM pages: 10175 active, 39460 inactive, 0 wired, 335467 free
> (41934 ze ro)
>   min  10% (25) anon, 10% (25) vnode, 5% (12) vtext
>   freemin=16862, free-target=22482, inactive-target=125229,
> wired-max=168627 faults=-2071291554, traps=0, intrs=39028366,
> ctxswitch=118847318 fpuswitch=15 257963
>   softint=103216477, syscalls=1641873478, kmapent=11
>   fault counts:
>     noram=0, noanon=0, noamap=0, pgwait=0, pgrele=0
>     ok relocks(total)=1261440(1261497),
> anget(retries)=321182188(30095), amapco py=394591234
>     neighbor anon/obj pg=35507479/753161882,
> gets(lock/unlock)=236424818/123138 5
>     cases: anon=285605892, anoncow=35576278, obj=183636975,
> prcopy=52787803, pr zero=1666068785
>   daemon and swap counts:
>     woke=45, revs=45, scans=2187976, obscans=100087, anscans=2087889
>     busy=0, freed=214690, reactivate=0, deactivate=644944
>     pageouts=123348, pending=8042, nswget=30131
>     nswapdev=1
>     swpages=589823, swpginuse=3850, swpgonly=2869 paging=0
>   kernel pointers:
>     objs(kern)=0x966d24
> 
> ddb{1}> show bcstats
> Current Buffer Cache status:
> numbufs 31305 busymapped 2, delwri 3453
> kvaslots 358 avail kva slots 356
> bufpages 101110, dmapages 101110, dirtypages 13812
> pendingreads 201, pendingwrites 355
> highflips 0, highflops 0, dmaflips 0
> 
> ddb{1}> ps 
>  PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
>  23922  247419   4323     55  3    0x100082  piperd        as
>  89120  120679   4323     55  2         0x2                cc1
>   4323  235949  53045     55  3        0x82  wait          egcc
>  53045  356709   4549     55  3        0x82  wait          perl
>   4549   23921  11664     55  3        0x82  wait          gmake
>  11664  227557  54121     55  3        0x82  wait          gmake
>  54121  355341  44678     55  3    0x100088  pause         sh
>  92453  512508   6894     55  3    0x100082  piperd        tar
>  72027  329641   6894     55  3    0x100002  getblk        gzip
>   6894   13218  41405     55  3    0x10008a  pause         sh
>  41405  293901  17677     55  3    0x10008a  pause         make
>  17677  342003  82198     55  3    0x10008a  pause         make
>  82198  395072  20095     55  3    0x10008a  pause         sh
>  20095  436404  76337     55  3    0x10008a  pause         make
>  76337  103148    780     55  3    0x10008a  pause         sh
>    780  201604  11161     55  3    0x10008a  pause         make
>  11161  408559  74182      0  3    0x10008a  pause         ksh
>  44678  238782  38293     55  3    0x10008a  pause         sh
>  38293  217999  52932     55  3        0x82  wait          gmake
>  52932  465103  15386     55  3        0x82  wait          gmake
>  15386  314461  73429     55  3    0x10008a  pause         make
>  73429  202351  88754     55  3    0x10008a  pause         sh
>  88754  117025  78712     55  3    0x10008a  pause         make
>  78712  156181   7520     55  3    0x10008a  pause         sh
>   7520   32513   8850     55  3    0x10008a  pause         make
>   8850  152452  74182      0  3    0x10008a  pause         ksh
>  68761  243596  47254      0  3        0x92  select        sshd
>  74182   53235  47254      0  3        0x92  select        sshd
>  10745    9146      1      0  7    0x100003                getty
>  28329  101122      1      0  3    0x100098  poll          cron
>  68022  244738  76279     95  3    0x100092  kqread        smtpd
>  64931  135804  76279    103  3    0x100092  kqread        smtpd
>  34407  371728  76279     95  3    0x100092  kqread        smtpd
>  82898  448230  76279     95  3    0x100092  kqread        smtpd
>  77258  224859  76279     95  3    0x100092  kqread        smtpd
>  17237  398285  76279     95  3    0x100092  kqread        smtpd
>  76279  389125      1      0  3    0x100080  kqread        smtpd
>  47254  398568      1      0  3        0x80  select        sshd
>  34786  182127      0      0  3     0x14280  nfsidl        nfsio
>  76675  149188      0      0  3     0x14200  netio         nfsio
>  54167   62457      0      0  3     0x14280  nfsidl        nfsio
>  90426  153518      0      0  3     0x14200  nfsrcvlk      nfsio
>   9274  292282      1     28  3    0x100090  poll          portmap
>  12708  496373  87305     83  3    0x100092  poll          ntpd
>  87305  452188  74199     83  3    0x100092  poll          ntpd
>  74199  391485      1      0  3    0x100080  poll          ntpd
>  39274  106353  88599     74  3    0x100092  bpf           pflogd
>  88599  416942      1      0  3        0x80  netio         pflogd
>  55323  374253  15833     73  3    0x100090  kqread        syslogd
>  15833  508178      1      0  3    0x100082  netio         syslogd
>  84415  186009  47659    115  3    0x100092  kqread        slaacd
>  41252  350442  47659    115  3    0x100092  kqread        slaacd
>  47659   91977      1      0  3    0x100080  kqread        slaacd
>  79499  463007      0      0  3     0x14200  bored         smr
>  64516  272527      0      0  3  0x40014200                idle1
>  62592   12682      0      0  3     0x14200  pgzero        zerothread
>  70847  112777      0      0  3     0x14200  aiodoned      aiodoned
>  69337   86916      0      0  3     0x14200  syncer        update
>  77212  242053      0      0  3     0x14200  cleaner       cleaner
>  76246  457595      0      0  3     0x14200  reaper        reaper
>  33989  198630      0      0  3     0x14200  pgdaemon      pagedaemon
>  78504  201982      0      0  3     0x14200  bored         crynlk
>  95712  436470      0      0  3     0x14200  bored         crypto
>  87750  230719      0      0  3     0x14200  usbtsk        usbtask
>  74278  255712      0      0  3     0x14200  usbatsk       usbatsk
>  64618  465606      0      0  3     0x14200  bored         sensors
> *94992  142682      0      0  7     0x14200                softnet
>  63584  282984      0      0  3     0x14200  bored         systqmp
>  90095  113836      0      0  3     0x14200  bored         systq
>  54216  142394      0      0  3  0x40014200  bored         softclock
>  11786  178012      0      0  3  0x40014200                idle0
>      1  365005      0      0  3        0x82  wait          init
>      0       0     -1      0  3     0x10200  scheduler     swapper
> 
> > > dmesg
> > 
> > OpenBSD 6.6-current (GENERIC.MP) #692: Sat Mar 21 10:19:57 MDT 2020
> >     [email protected]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
> > real mem = 2147483648 (2048MB)
> > avail mem = 2071994368 (1976MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root: model RackMac1,1
> > cpu0 at mainbus0: 7455 (Revision 0x201): 999 MHz: 256KB L2 cache, 2MB
> > L3 cache cpu1 at mainbus0: 7455 (Revision 0x201): 999 MHz: 256KB L2
> > cache, 2MB L3 cache mem0 at mainbus0
> > spdmem0 at mem0: 512MB DDR SDRAM non-parity PC2100CL2.5
> > spdmem1 at mem0: 512MB DDR SDRAM non-parity PC2100CL2.5
> > spdmem2 at mem0: 512MB DDR SDRAM non-parity PC2700CL2.5
> > spdmem3 at mem0: 512MB DDR SDRAM non-parity PC2700CL2.5
> > memc0 at mainbus0: uni-n rev 0x24
> > kiic0 at memc0 offset 0xf8001000
> > iic0 at kiic0
> > lmtemp0 at iic0 addr 0xc9: ds1775, fails to respond
> > mpcpcibr0 at mainbus0 pci: uni-north
> > pci0 at mpcpcibr0 bus 0
> > mpcpcibr1 at mainbus0 pci: uni-north
> > pci1 at mpcpcibr1 bus 0
> > ppb0 at pci1 dev 13 function 0 "Intel 21154AE/BE" rev 0x00
> > pci2 at ppb0 bus 1
> > macobio0 at pci2 dev 7 function 0 "Apple Keylargo" rev 0x03
> > openpic0 at macobio0 offset 0x40000: version 0x4614 feature 3f0302 LE
> > macgpio0 at macobio0 offset 0x50
> > macgpio1 at macgpio0 offset 0x9: irq 47
> > "programmer-switch" at macgpio0 offset 0x11 not configured
> > "ringDetect-gpio" at macgpio0 offset 0x8 not configured
> > "keySwitch-gpio" at macgpio0 offset 0xc not configured
> > "systemMonitor-gpio" at macgpio0 offset 0x12 not configured
> > sysbutton0 at macgpio0 offset 0x15: irq 59
> > "indicatorLED-gpio" at macgpio0 offset 0x20 not configured
> > "virtual-sound" at macgpio0 not configured
> > "escc-legacy" at macobio0 offset 0x12000 not configured
> > zs0 at macobio0 offset 0x13000: irq 22,23
> > zstty0 at zs0 channel 0: console
> > zstty1 at zs0 channel 1
> > "i2s" at macobio0 offset 0x10000 not configured
> > "timer" at macobio0 offset 0x15000 not configured
> > adb0 at macobio0 offset 0x16000
> > apm0 at adb0: battery flags 0x9, 0% charged
> > piic0 at adb0
> > iic1 at piic0
> > "PCA9554" at iic1 addr 0xa0 not configured
> > "PCA9554" at iic1 addr 0xa1 not configured
> > "PCA9554" at iic1 addr 0xa2 not configured
> > "PCA9554" at iic1 addr 0xa3 not configured
> > "PCA9554" at iic1 addr 0xa4 not configured
> > kiic1 at macobio0 offset 0x18000
> > iic2 at kiic1
> > wdc0 at macobio0 offset 0x1f000 irq 19: DMA
> > atapiscsi0 at wdc0 channel 0 drive 0
> > scsibus1 at atapiscsi0: 2 targets
> > cd0 at scsibus1 targ 0 lun 0: <LG, CD-ROM CRN-8245B, AHT9> removable
> > cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> > ohci0 at pci2 dev 8 function 0 "Apple USB" rev 0x00: irq 27, version
> > 1.0 ohci1 at pci2 dev 9 function 0 "Apple USB" rev 0x00: irq 28,
> > version 1.0 usb0 at ohci0: USB revision 1.0
> > uhub0 at usb0 configuration 1 interface 0 "Apple OHCI root hub" rev
> > 1.00/1.00 addr 1 usb1 at ohci1: USB revision 1.0
> > uhub1 at usb1 configuration 1 interface 0 "Apple OHCI root hub" rev
> > 1.00/1.00 addr 1 ppb1 at pci1 dev 17 function 0 "Intel 21154AE/BE"
> > rev 0x00 pci3 at ppb1 bus 2
> > pciide0 at pci1 dev 21 function 0 "Promise PDC20268R" rev 0x02: DMA,
> > channel 0 configured to native-PCI, channel 1 configured to
> > native-PCI pciide0: using irq 58 for native-PCI interrupt wd0 at
> > pciide0 channel 0 drive 0: <WDC WD800JB-00CRA1> wd0: 16-sector PIO,
> > LBA, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4,
> > Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: <WL500GPA1672>
> > wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> > wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
> > pciide1 at pci1 dev 27 function 0 "Promise PDC20268R" rev 0x02: DMA,
> > channel 0 configured to native-PCI, channel 1 configured to
> > native-PCI pciide1: using irq 63 for native-PCI interrupt mpcpcibr2
> > at mainbus0 pci: uni-north pci4 at mpcpcibr2 bus 0
> > "Apple UniNorth Firewire" rev 0x01 at pci4 dev 14 function 0 not
> > configured gem0 at pci4 dev 15 function 0 "Apple Uni-N2 GMAC" rev
> > 0x00: irq 41, address 00:03:ae:45:3a:9d brgphy0 at gem0 phy 0:
> > BCM5421 10/100/1000baseT PHY, rev. 1 vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > bootpath: /pci@f2000000/AppleKiwi@15/ata-6@0/disk@0:/bsd
> > root on wd0a (c0bc446965ec65a8.a) swap on wd0b dump on wd0b
> > WARNING: / was not properly unmounted
> > 
> 

Reply via email to