On Wed, 13 Jun 2018, richard.n.proc...@gmail.com wrote: > I found this witness log on my computestick but not here. > > OpenBSD 6.3-current (GENERIC.MP) #10: Mon Jun 11 14:02:36 NZST 2018 > procter@dill.internal:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > (CVS checkout on this date, clean but for a pf patch. NZST is 12 > hours ahead of UTC.)
For the record, I'm told there's a patch for this reversal: https://marc.info/?l=openbsd-bugs&m=152802593705776&w=2 , which was in posted in response to: https://marc.info/?l=openbsd-tech&m=152796704214156&w=2 (Steele) , and it also helped with: https://marc.info/?l=openbsd-tech&m=152821522023626&w=2 (Popovski) After patching my tree and noodling for a few more hours with emacs, firefox and chrome, the witness report hasn't reappeared. cheers, Richard. > > lock order reversal: > 1st 0xffffff0009fe22f8 vmmaplk (&map->lock) @ > /usr/src/sys/uvm/uvm_map.c:4433 > 2nd 0xffffff00691ec0a0 inode (&ip->i_lock) @ > /usr/src/sys/ufs/ufs/ufs_vnops.c:1555 > lock order "&ip->i_lock"(rrwlock) -> "&map->lock"(rwlock) first seen at: > #0 witness_checkorder+0x4b4 > #1 _rw_enter_read+0x49 > #2 uvmfault_lookup+0x8d > #3 uvm_fault+0x72 > #4 trap+0x516 > #5 recall_trap+0x8 > #6 copyout+0x48 > #7 ffs_read+0x1f0 > #8 VOP_READ+0x49 > #9 vn_read+0xca > #10 dofilereadv+0x21c > #11 sys_read+0x82 > #12 syscall+0x32a > #13 Xsyscall_untramp+0xc0 > lock order "&map->lock"(rwlock) -> "&ip->i_lock"(rrwlock) first seen at: > #0 witness_checkorder+0x4b4 > #1 _rw_enter+0x68 > #2 _rrw_enter+0x3e > #3 VOP_LOCK+0x3d > #4 vn_lock+0x34 > #5 uvn_io+0x1b8 > #6 uvm_pager_put+0x109 > #7 uvn_flush+0x424 > #8 uvm_map_clean+0x3e7 > #9 syscall+0x32a > #10 Xsyscall_untramp+0xc0 > > > OpenBSD 6.3-current (GENERIC.MP) #10: Mon Jun 11 14:02:36 NZST 2018 > procter@dill.internal:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 2056851456 (1961MB) > avail mem = 1963495424 (1872MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7b37e000 (51 entries) > bios0: vendor Intel Corp. version "SCCHTAX5.86A.0024.2016.0408.1041" date > 04/08/2016 > bios0: Intel Corporation STK1AW32SC > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG UEFI SSDT HPET SSDT SSDT SSDT > LPIT BCFG PRAM BGRT CSRT WDAT > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1440.34 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN > cpu0: 1MB 64b/line 16-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 79MHz > cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.95 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN > cpu1: 1MB 64b/line 16-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.96 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN > cpu2: 1MB 64b/line 16-way L2 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz, 1439.96 MHz > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT,MELTDOWN > cpu3: 1MB 64b/line 16-way L2 cache > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 115 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (RP01) > acpiprt2 at acpi0: bus -1 (RP02) > acpiprt3 at acpi0: bus -1 (RP03) > acpiprt4 at acpi0: bus -1 (RP04) > acpicpu0 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), > C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), > C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), > C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(10@1000 mwait.1@0x64), C2(10@500 mwait.1@0x58), > C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: ID3C, resource for ISP3 > acpipwrres1 at acpi0: WWPR, resource for HS03, MDM1 > acpipwrres2 at acpi0: WWPR, resource for HS13, MDM1 > acpipwrres3 at acpi0: WWPR, resource for SSC1, MDM3 > acpipwrres4 at acpi0: WWPR, resource for SSCW, MDM3 > acpipwrres5 at acpi0: WWPR, resource for HSC1, MDM2 > acpipwrres6 at acpi0: WWPR, resource for HSC3, MDM4 > acpipwrres7 at acpi0: CLK3, resource for RTEK, RTK1 > acpipwrres8 at acpi0: CLK4 > acpipwrres9 at acpi0: CLK2, resource for NFC2 > acpipwrres10 at acpi0: CLK1 > acpipwrres11 at acpi0: CLK0 > acpipwrres12 at acpi0: CLK1 > acpipwrres13 at acpi0: USBC, resource for XHC1, OTG1 > acpipwrres14 at acpi0: P28X > acpipwrres15 at acpi0: P18X > acpipwrres16 at acpi0: P12X > acpipwrres17 at acpi0: P28P > acpipwrres18 at acpi0: P18P > acpipwrres19 at acpi0: P19X > acpipwrres20 at acpi0: P06X > acpipwrres21 at acpi0: P12A > acpipwrres22 at acpi0: P28T > acpipwrres23 at acpi0: P18D > acpipwrres24 at acpi0: P18T > acpipwrres25 at acpi0: P3P3 > acpipwrres26 at acpi0: P12T > acpipwrres27 at acpi0: P28W > acpipwrres28 at acpi0: P18W > acpipwrres29 at acpi0: P12W > acpipwrres30 at acpi0: P33W > acpipwrres31 at acpi0: P33X > acpipwrres32 at acpi0: P4BW > acpitz0 at acpi0: critical temperature is 90 degC > "INT33A4" at acpi0 not configured > dwiic0 at acpi0: I2C7 addr 0x91520000/0x1000 irq 38 > iic0 at dwiic0 > "INT33BD" at acpi0 not configured > chvgpio0 at acpi0: GPO1 uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins > "INT33F4" at iic0 addr 0x34 not configured > sdhc0 at acpi0: SDHA addr 0x9152a000/0x1000 irq 45 > sdhc0: SDHC 3.0, 200 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma > "INTL9C60" at acpi0 not configured > "INTL9C60" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > dwiic1 at acpi0: I2C2 addr 0x91526000/0x1000 irq 33 > iic1 at dwiic1 > dwiic2 at acpi0: I2C5 addr 0x91524000/0x1000 irq 36 > iic2 at dwiic2 > dwiic3 at acpi0: I2C6 addr 0x91522000/0x1000 irq 37 > iic3 at dwiic3 > "808622A8" at acpi0 not configured > acpicmos0 at acpi0 > acpibtn0 at acpi0: PWRB > chvgpio1 at acpi0: GPO0 uid 1 addr 0xfed80000/0x8000 irq 49, 56 pins > chvgpio2 at acpi0: GPO2 uid 3 addr 0xfed90000/0x8000 irq 50, 24 pins > chvgpio3 at acpi0: GPO3 uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins > chvgpio4 at acpi0: GPO4 uid 5 > "ACPI0011" at acpi0 not configured > "ACPI000C" at acpi0 not configured > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD01 > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > cpu0: Enhanced SpeedStep 1440 MHz: speeds: 1441, 1440, 1360, 1280, 1200, > 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x22 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x22 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1920x1080, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x22: msi, xHCI 1.0 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel Braswell TXE" rev 0x22 at pci0 dev 26 function 0 not configured > ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x22: msi > pci1 at ppb0 bus 1 > iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless AC 7265" rev 0x69, msi > pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x22 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns8250, no fifo > com2 at isa0 port 0x3e8/8 irq 5: ns8250, no fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb at mainbus0 not configured > scsibus1 at sdmmc0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: <Sandisk, DF4032, 0000> SCSI2 0/direct removable > sd0: 29820MB, 512 bytes/sector, 61071360 sectors > uhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Keyboard" > rev 1.10/64.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB Keyboard" > rev 1.10/64.00 addr 2 > uhidev1: iclass 3/0, 3 report ids > uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (e1a6f3597e754f44.a) swap on sd0b dump on sd0b > WARNING: / was not properly unmounted > iwm0: hw rev 0x210, fw ver 16.242414.0, address xx:xx:xx:xx:xx:xx > wskbd1: disconnecting from wsdisplay0 > wskbd1 detached > ukbd0 detached > uhidev0 detached > uhid0 detached > uhid1 detached > uhid2 detached > uhidev1 detached > uhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Keyboard" > rev 1.10/64.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB Keyboard" > rev 1.10/64.00 addr 2 > uhidev1: iclass 3/0, 3 report ids > uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0 > uhidev2 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/72.00 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > wsmouse0 detached > ums0 detached > uhidev2 detached > uhidev2 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/72.00 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > pckbc: command timeout > wsmouse0 detached > ums0 detached > uhidev2 detached > pckbc: command timeout > pckbc: command timeout > uhidev2 at uhub0 port 1 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/72.00 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 >