On 15.12.2020. 18:57, Mark Kettenis wrote: >> From: jungle Boogie <jungleboog...@gmail.com> >> Date: Tue, 15 Dec 2020 08:07:04 -0800 >> >> Hi All, >> >> On my i386 Toshiba netbook machine, I am getting a kernel panic with >> the latest i386 snapshot. >> >> I hope this information helps someone with the issue. >> >>> show panic >> kernel diagnostic assertion "_kernel_lock_held()" failed: >> "/usr/src/sys/uvm/uvm_km.c", line 246 >> >>> bt >> db_enter(d0bc6fab,d0c2da31,d0c3a6bb,d0e36b7c,d0e36b7c) at db_enter+0x4 >> panic(d0bc6fab, d0c2da31, d0c3a6bb, d0c51f06, f6) at panic+0xd3 >> _assert(d0c2da31,d0c51f06,f6,d0c3a6bb,d0e71330) at _assert+0x19 >> uvm_km_pgremove(d0e578ec,2552c000,2553000) at uvm_km_pgremove+0x119 >> uvm_umap_kill_entry(d0e36b7c,d0e71330) at uvm_unmap_kill_entry+0x92 >> uvm_unmap(d0e36b7c,f552c000,f5530000) at uvm_unmap+0x53 >> uvm_km_free(d0e36b7c,f552c000,4000,4000) at uvm_km_free+0x25 >> cpu_ucode_setup(f092c000,f0800000,efff9000,8d565328,1107000) at >> cpu_ucode_setup+0xeb >> cpu_startup(8d565328,1107000,1116000,110a000,0) at cpu_startup+0x14a >> main(0,0,0,0) at main+0x6b > > Does the diff below fix this? >
Yes, it fixes panic.. tnx .. OpenBSD 6.8-current (GENERIC.MP) #18: Tue Dec 15 19:36:39 CET 2020 hrv...@r620-2.srce.hr:/sys/arch/i386/compile/GENERIC.MP real mem = 3441889280 (3282MB) avail mem = 3362791424 (3207MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 12/06/19, BIOS32 rev. 0 @ 0xf14a0, SMBIOS rev. 2.7 @ 0xcf42c000 (99 entries) bios0: vendor Dell Inc. version "2.9.0" date 12/06/2019 bios0: Dell Inc. PowerEdge R620 acpi0 at bios0: ACPI 3.0 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET DMAR MCFG WDAT SLIC ERST HEST BERT EINJ TCPA PC__ SRAT SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 4 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.61 GHz, 06-3e-04 cpu0: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 100MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 6 (application processor) cpu1: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu1: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu2 at mainbus0: apid 8 (application processor) cpu2: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu2: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu3 at mainbus0: apid 16 (application processor) cpu3: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu3: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu4 at mainbus0: apid 18 (application processor) cpu4: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu4: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN cpu5 at mainbus0: apid 20 (application processor) cpu5: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz ("GenuineIntel" 686-class) 3.51 GHz, 06-3e-04 cpu5: FPU,V86,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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0: apid 1 pa 0xfec3f000, version 20, 24 pins, remapped acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 acpimcfg0: addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus -1 (PE1C) acpiprt3 at acpi0: bus 3 (PEX2) acpiprt4 at acpi0: bus 2 (PEX3) acpiprt5 at acpi0: bus 4 (PEX4) acpiprt6 at acpi0: bus -1 (PEX5) acpiprt7 at acpi0: bus 8 (PEX6) acpiprt8 at acpi0: bus 7 (PEX7) "PNP0A08" at acpi0 not configured acpicmos0 at acpi0 "PNP0A08" at acpi0 not configured "PNP0A08" at acpi0 not configured "PNP0C14" at acpi0 not configured acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpicpu2 at acpi0: C1(@1 halt!) acpicpu3 at acpi0: C1(@1 halt!) acpicpu4 at acpi0: C1(@1 halt!) acpicpu5 at acpi0: C1(@1 halt!) bios0: ROM list: 0xc0000/0x8000 0xc8000/0x3600! 0xcb800/0xe00 0xcc800/0x6c00 0xec000/0x4000! ipmi at mainbus0 not configured pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel E5 v2 Host" rev 0x04 ppb0 at pci0 dev 1 function 0 "Intel E5 v2 PCIE" rev 0x04 pci1 at ppb0 bus 1 1:0:1: rom address conflict 0xd8000000/0x80000 ix0 at pci1 dev 0 function 0 "Intel 82599" rev 0x01: msi, address ec:f4:bb:c8:e9:88 ix1 at pci1 dev 0 function 1 "Intel 82599" rev 0x01: msi, address ec:f4:bb:c8:e9:8a ppb1 at pci0 dev 2 function 0 "Intel E5 v2 PCIE" rev 0x04: apic 1 int 21 pci2 at ppb1 bus 3 ppb2 at pci0 dev 2 function 2 "Intel E5 v2 PCIE" rev 0x04 pci3 at ppb2 bus 2 mfi0 at pci3 dev 0 function 0 "Symbios Logic MegaRAID SAS2008" rev 0x03: apic 1 int 10 mfi0: "PERC H310 Mini", firmware 20.13.3-0001 scsibus1 at mfi0: 16 targets sd0 at scsibus1 targ 0 lun 0: <DELL, PERC H310, 2.12> naa.6c81f660f14377001b0a11fd0658139c sd0: 285568MB, 512 bytes/sector, 584843264 sectors scsibus2 at mfi0: 256 targets ppb3 at pci0 dev 3 function 0 "Intel E5 v2 PCIE" rev 0x04: apic 1 int 21 pci4 at ppb3 bus 4 4:0:1: rom address conflict 0xda000000/0x80000 ix2 at pci4 dev 0 function 0 "Intel X540T" rev 0x01: msi, address a0:36:9f:29:f3:0c ix3 at pci4 dev 0 function 1 "Intel X540T" rev 0x01: msi, address a0:36:9f:29:f3:0e "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 0 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 1 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 2 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 3 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 4 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 5 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 6 not configured "Intel E5 v2 I/OAT" rev 0x04 at pci0 dev 4 function 7 not configured "Intel E5 v2 Address Map" rev 0x04 at pci0 dev 5 function 0 not configured "Intel E5 v2 IIO RAS" rev 0x04 at pci0 dev 5 function 2 not configured ppb4 at pci0 dev 17 function 0 "Intel C600 Virtual PCIE" rev 0x05 pci5 at ppb4 bus 5 "Intel C600 MEI" rev 0x05 at pci0 dev 22 function 0 not configured "Intel C600 MEI" rev 0x05 at pci0 dev 22 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel C600 USB" rev 0x05: apic 0 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 28 function 0 "Intel C600 PCIE" rev 0xb5 pci6 at ppb5 bus 6 ppb6 at pci0 dev 28 function 4 "Intel C600 PCIE" rev 0xb5 pci7 at ppb6 bus 7 em0 at pci7 dev 0 function 0 "Intel I350" rev 0x01: msi, address ec:f4:bb:c8:e9:8c em1 at pci7 dev 0 function 1 "Intel I350" rev 0x01: msi, address ec:f4:bb:c8:e9:8d ppb7 at pci0 dev 28 function 7 "Intel C600 PCIE" rev 0xb5 pci8 at ppb7 bus 8 ppb8 at pci8 dev 0 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci9 at ppb8 bus 9 ppb9 at pci9 dev 0 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci10 at ppb9 bus 10 ppb10 at pci10 dev 0 function 0 "Renesas SH7757 PCIE-PCI" rev 0x00 pci11 at ppb10 bus 11 vga1 at pci11 dev 0 function 0 "Matrox MGA G200eR" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb11 at pci9 dev 1 function 0 "Renesas SH7757 PCIE Switch" rev 0x00 pci12 at ppb11 bus 12 ehci1 at pci0 dev 29 function 0 "Intel C600 USB" rev 0x05: apic 0 int 22 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb12 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5 pci13 at ppb12 bus 13 pcib0 at pci0 dev 31 function 0 "Intel C600 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel C600 AHCI" rev 0x05: msi, AHCI 1.3 ahci0: port 4: 1.5Gb/s scsibus3 at ahci0: 32 targets cd0 at scsibus3 targ 4 lun 0: <TSSTcorp, DVD+-RW SU-208FB, D150> removable 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: ns16550a, 16 byte fifo com1: console pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pci14 at mainbus0 bus 63 "Intel E5 v2 QPI Link" rev 0x04 at pci14 dev 8 function 0 not configured "Intel E5 v2 QPI Link" rev 0x04 at pci14 dev 9 function 0 not configured "Intel E5 v2 PCU" rev 0x04 at pci14 dev 10 function 0 not configured "Intel E5 v2 PCU" rev 0x04 at pci14 dev 10 function 1 not configured "Intel E5 v2 PCU" rev 0x04 at pci14 dev 10 function 2 not configured "Intel E5 v2 PCU" rev 0x04 at pci14 dev 10 function 3 not configured "Intel E5 v2 UBOX" rev 0x04 at pci14 dev 11 function 0 not configured "Intel E5 v2 UBOX" rev 0x04 at pci14 dev 11 function 3 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 12 function 0 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 12 function 1 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 12 function 2 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 12 function 3 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 12 function 4 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 13 function 0 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 13 function 1 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 13 function 2 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 13 function 3 not configured "Intel E5 v2 Unicast" rev 0x04 at pci14 dev 13 function 4 not configured "Intel E5 v2 Home Agent" rev 0x04 at pci14 dev 14 function 0 not configured "Intel E5 v2 Home Agent" rev 0x04 at pci14 dev 14 function 1 not configured "Intel E5 v2 TA" rev 0x04 at pci14 dev 15 function 0 not configured "Intel E5 v2 RAS" rev 0x04 at pci14 dev 15 function 1 not configured "Intel E5 v2 TAD" rev 0x04 at pci14 dev 15 function 2 not configured "Intel E5 v2 TAD" rev 0x04 at pci14 dev 15 function 3 not configured "Intel E5 v2 TAD" rev 0x04 at pci14 dev 15 function 4 not configured "Intel E5 v2 TAD" rev 0x04 at pci14 dev 15 function 5 not configured "Intel E5 v2 Thermal" rev 0x04 at pci14 dev 16 function 0 not configured "Intel E5 v2 Thermal" rev 0x04 at pci14 dev 16 function 1 not configured "Intel E5 v2 Error" rev 0x04 at pci14 dev 16 function 2 not configured "Intel E5 v2 Error" rev 0x04 at pci14 dev 16 function 3 not configured "Intel E5 v2 Thermal" rev 0x04 at pci14 dev 16 function 4 not configured "Intel E5 v2 Thermal" rev 0x04 at pci14 dev 16 function 5 not configured "Intel E5 v2 Error" rev 0x04 at pci14 dev 16 function 7 not configured "Intel E5 v2 R2PCIE" rev 0x04 at pci14 dev 19 function 0 not configured "Intel E5 v2 QPI Link Monitor" rev 0x04 at pci14 dev 19 function 1 not configured "Intel E5 v2 QPI" rev 0x04 at pci14 dev 19 function 4 not configured "Intel E5 v2 QPI Link Monitor" rev 0x04 at pci14 dev 19 function 5 not configured "Intel E5 v2 SAD" rev 0x04 at pci14 dev 22 function 0 not configured "Intel E5 v2 Broadcast" rev 0x04 at pci14 dev 22 function 1 not configured "Intel E5 v2 Broadcast" rev 0x04 at pci14 dev 22 function 2 not configured pci15 at mainbus0 bus 127 uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub2 port 6 configuration 1 interface 0 "no manufacturer Gadget USB HUB" rev 2.00/0.00 addr 3 uhidev0 at uhub3 port 1 configuration 1 interface 0 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub3 port 1 configuration 1 interface 1 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev2 at uhub3 port 1 configuration 1 interface 2 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev2: iclass 3/1 ums1 at uhidev2: 3 buttons, Z dir wsmouse1 at ums1 mux 0 uhub4 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 vscsi0 at root scsibus4 at vscsi0: 256 targets softraid0 at root scsibus5 at softraid0: 256 targets root on sd0a (dd9027f655428b6f.a) swap on sd0b dump on sd0b ukbd0: was console keyboard wskbd0 detached ukbd0 detached uhidev0 detached wsmouse0 detached ums0 detached uhidev1 detached wsmouse1 detached ums1 detached uhidev2 detached uhidev0 at uhub3 port 1 configuration 1 interface 0 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub3 port 1 configuration 1 interface 1 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev2 at uhub3 port 1 configuration 1 interface 2 "Avocent Keyboard/Mouse Function" rev 2.00/0.00 addr 4 uhidev2: iclass 3/1 ums1 at uhidev2: 3 buttons, Z dir wsmouse1 at ums1 mux 0 r620-2#