On 07/05/13 16:14, Nigel Taylor wrote:
> Upgraded an amd64 machine had been running since 8th April,
> moved to current built from CVS on 29th June, after upgrade/sysmerge,
> during the package updates this keeps happening. Also fails after a
> period of use.
>
> This is typed from notes made.. machine has a serial port but wasn't in place.
>
> kernel: protection fault trap, code=0
> Stopped at uvm_pmr_addr_RB_REMOVE+0x26
> movq 0x10(%rcx),%rax
>
> trace
> uvm_pmr_addr_REMOVE() at
> uvm_pmr_remove_addr() at uvm_pmr_remove_addr+0xd
> uvm_pmr_get1page() at uvm_pmr_get1page+0x156
> uvm_pmr_getpages() at uvm_pmr_getpages+0x462
> uvm_pagealloc at uvm_pagealloc+0x10f
> trap at 0x268
> --- trap (number 6) ----
> and trace frame: 0x0 count, -7
> 0x167d0c7b6a6d
>
> I tried both single / multiprocessor kernels same problem. Tried a rebuilt
> kernel
> using CVS 4 July, same problems are occurring.
> Only happens on this one machine, the build machine and laptop
> both run the same kernel are still running. Has been up for over an 1hr
> 20mins,
> while not doing much. I will look at trying earlier kernels I have - to see
> if problem goes away.
>
> I set-up a serial cable to capture the problem. Instead I got a number of
> different problems, included these 4 after the dmesg, yet to repeat the
> above, so
> far seen it a few times before I added the serial connection, all are doing
> the pkg_add -ui, appart from the last one. I managed to complete the pkg_add
> in the end
>
>
> OpenBSD 5.3-current (GENERIC.MP) #21: Thu Jul 4 22:45:02 BST 2013
> root@phoebe:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4277993472 (4079MB)
> avail mem = 4156383232 (3963MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfbad0 (54 entries)
> bios0: vendor American Megatrends Inc. version "V1.40" date 12/06/2006
> bios0: MSI MS-7250
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S1 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
> acpi0: wakeup devices PS2K(S4) PS2M(S4) NSMB(S4) USB0(S4) USB2(S1)
> NMAC(S5) NMAD(S5) P0P1(S4) HDAC(S4) BR10(S4) BR11(S4) BR12(S4) BR13(S4)
> BR14(S4) BR15(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2200.35 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
> 64b/line 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu0: apic clock running at 200MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2200.01 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB
> 64b/line 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> acpihpet0 at acpi0: 25000000 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P1)
> acpiprt2 at acpi0: bus 6 (BR10)
> acpiprt3 at acpi0: bus 5 (BR11)
> acpiprt4 at acpi0: bus 4 (BR12)
> acpiprt5 at acpi0: bus 3 (BR13)
> acpiprt6 at acpi0: bus 2 (BR14)
> acpiprt7 at acpi0: bus -1 (BR15)
> acpicpu0 at acpi0: PSS
> acpicpu1 at acpi0: PSS
> acpibtn0 at acpi0: SLPB
> acpibtn1 at acpi0: PWRB
> cpu0: PowerNow! K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz
> pci0 at mainbus0 bus 0
> "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
> pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa2
> nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa2
> iic0 at nviic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem2 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem3 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-5300CL5
> iic1 at nviic0
> iic1: addr 0x2f 00=c0 01=0f 02=02 03=01 04=07 05=00 06=18 07=00 08=00
> 14=14 15=62 16=02 17=05 words 00=c0ff 01=0fff 02=02ff 03=01ff 04=07ff
> 05=00ff 06=18ff 07=00ff
> admtemp0 at iic1 addr 0x4c: gl523sm
> ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: apic 2 int
> 10, version 1.0, legacy support
> ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: apic 2 int 11
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
> pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4163B, A104> ATAPI
> 5/cdrom removable
> atapiscsi1 at pciide0 channel 0 drive 1
> scsibus1 at atapiscsi1: 2 targets
> cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8163B, 0L23> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa2: DMA
> pciide1: using apic 2 int 5 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <SAMSUNG HD501LJ>
> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
> wd1 at pciide1 channel 1 drive 0: <SAMSUNG HD501LJ>
> wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
> pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa2: DMA
> pciide2: using apic 2 int 10 for native-PCI interrupt
> wd2 at pciide2 channel 0 drive 0: <SAMSUNG HD501LJ>
> wd2: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6
> wd3 at pciide2 channel 1 drive 0: <SAMSUNG HD501LJ>
> wd3: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd3(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6
> pciide3 at pci0 dev 5 function 2 "NVIDIA MCP55 SATA" rev 0xa2: DMA
> pciide3: using apic 2 int 10 for native-PCI interrupt
> wd4 at pciide3 channel 0 drive 0: <SAMSUNG HD103SJ>
> wd4: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
> wd4(pciide3:0:0): using PIO mode 4, Ultra-DMA mode 6
> ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55" rev 0xa2
> pci1 at ppb0 bus 1
> "VIA VT6306 FireWire" rev 0x80 at pci1 dev 4 function 0 not configured
> azalia0 at pci0 dev 6 function 1 "NVIDIA MCP55 HD Audio" rev 0xa2: apic
> 2 int 11
> azalia0: codecs: Realtek ALC883
> audio0 at azalia0
> nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa2: apic 2 int 5,
> address 00:16:17:98:62:99
> ciphy0 at nfe0 phy 0: VSC8601 10/100/1000 PHY, rev. 0
> nfe1 at pci0 dev 9 function 0 "NVIDIA MCP55 LAN" rev 0xa2: apic 2 int
> 10, address 00:16:17:98:62:9b
> ciphy1 at nfe1 phy 1: VSC8601 10/100/1000 PHY, rev. 0
> ppb1 at pci0 dev 11 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 12 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 13 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
> pci4 at ppb3 bus 4
> ppb4 at pci0 dev 14 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
> pci5 at ppb4 bus 5
> ppb5 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
> pci6 at ppb5 bus 6
> vga1 at pci6 dev 0 function 0 "NVIDIA GeForce 7600 GS" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
> pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
> pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
> kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core
> rev BH-F2
> 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
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x4e/2: W83627EHF rev 0x68
> lm1 at wbsio0 port 0xa10/8: W83627EHF
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "HOLTEK Laser Gaming
> mouse" rev 1.10/6.20 addr 2
> uhidev0: iclass 3/1, 2 report ids
> ums0 at uhidev0 reportid 1: 5 buttons, Z dir
> wsmouse1 at ums0 mux 0
> uhid0 at uhidev0 reportid 2: input=3, output=0, feature=1
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd1a (49af91122b6995ee.a) swap on wd1b dump on wd1b
> WARNING: / was not properly unmounted
>
>
>
>
> Failure - 2
>
>
> login: panic: kernel diagnostic assertion "!(wc && nocache)" failed: file
> "../../../../arch/amd64/amd64/pmap.c", line 1951
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{1}> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> *31461 25884 5545 0 7 0 perl
> 6100 25884 5545 0 3 0x80 piperd gzip
> 8875 1 8875 0 3 0x80 ttyin getty
> 17449 25884 5545 0 3 0x80 select ssh
> 25884 5545 5545 0 3 0x80 piperd perl
> 5545 24443 5545 1000 3 0x88 pause sh
> 29852 783 783 0 3 0x80 poll smbd
> 17852 1 17852 0 3 0x80 ttyin getty
> 25748 1 25748 0 3 0x80 ttyin getty
> 16337 1 16337 0 3 0x80 ttyin getty
> 7950 1 7950 0 3 0x80 ttyin getty
> 24443 1 24443 1000 3 0x88 pause ksh
> 28553 1 28553 0 3 0x80 select cron
> 783 1 783 0 3 0x80 poll smbd
> 31659 1 31659 99 3 0x80 poll sndiod
> 32578 1 32578 0 3 0x80 select sendmail
> 5974 1 5974 0 3 0x80 select sshd
> 31153 1 31153 0 3 0x80 poll ntpd
> 19515 14845 19515 83 3 0x80 poll ntpd
> 14845 1 14845 83 3 0x80 poll ntpd
> 23724 24628 24628 74 3 0x80 bpf pflogd
> 24628 1 24628 0 0x80 poll syslogd
> 6864 1 6864 0 3 0x80 netio sysls
> 2662 1 2662 0 3 0x80 mfsidl mount_mfs
> 14 0 0 0 3 0x100200 aiodoned aiodoned
> 13 0 0 0 3 0x100200 syncer update
> 12 0 0 0 3 0x100200 cleaner cleaner
> 11 0 0 0 3 0x100200 reaper reaper
> 10 0 0 0 3 0x100200 pgdaemon pagedaemon
> 9 0 0 0 3 0x100200 bored crypto
> 8 0 0 0 3 0x100200 pftm pfpurge
> 7 0 0 0 3 0x100200 usbtsk usbtask
> 6 0 00 3 0x40100200 4 0 0 0 3 0x40100200
> idle1
> 3 0 0 0 3 0x0 idle0
> 0 3 0x80 wait init
> 0 -1 0 0 3 0x200 scheduler swapper
> ddb{1}> trace
> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> __assert() at __assert+0x21
> pmap_enter() at pmap_enter+0x410
> uvm_fault() at uvm_fault+0x8be
> trap() at trap+0x28c
> --- trap (number 6) ---
> end of kernel
> end trace frame: 0xb3e34a0a718, count: -6
> 0xb3e247866c6:
> ddb{1}> mach ddbcpu 0
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{0}> trace
> Debugger() at Debugger+0x5
> x86_ipi_handler() at x86_ipi_handler+0x64
> Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
> --- interrupt ---
> Bad frame pointer: 0xffff800022111dc8
> end trace frame: 0xffff800022111dc8, count: -3
> __mp_lock+0
> Debugger() at Debugger+0x5
> end trace frame: 0xffff800022111cd8, count: 0
> ddb{0}> mach ddbcpu 1
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{1}> trace
> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> __assert() at __assert+0x21
> pmap_enter() at pmap_enter+0x410
> uvm_fault() at uvm_fault+0x8be
> trap() at trap+0x28c
> --- trap (number 6) ---
> end of kernel
> end trace frame: 0xb3e34a0a718, count: -6
> 0xb3e247866c6:
>
>
>
> Failure - 3
>
> login: panic: kernel diagnostic assertion "(pg->pg_flags & PG_DEV) == 0"
> failed: file "../../../../uvm/uvm_page.c", line 933
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{0}> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> *29175 32278 15731 0 7 0x2000 perl
> 21436 32278 15731 0 3 0x80 piperd gzip
> 20307 32278 15731 0 3 0x80 select ssh
> 32278 15731 15731 0 3 0x80 piperd perl
> 15731 28616 15731 1000 3 0x88 pause sh
> 14322 29304 29304 0 3 0x80 poll smbd
> 23364 1 23364 0 3 0x80 ttyin getty
> 30965 1 30965 0 3 0x80 ttyin getty
> 15688 1 15688 0 3 0x80 ttyin getty
> 19061 1 19061 0 3 0x80 ttyin getty
> 32224 1 32224 0 3 0x80 ttyin getty
> 28616 1 28616 1000 3 0x88 pause ksh
> 24151 1 24151 0 3 0x80 select cron
> 29304 1 29304 0 3 0x80 poll smbd
> 25263 1 25263 99 3 0x80 poll sndiod
> 29310 1 29310 0 3 0x80 select sendmail
> 30118 1 30118 0 3 0x80 select sshd
> 290 1 290 0 3 0x80 poll ntpd
> 1981 20462 1981 83 3 0x80 poll ntpd
> 20462 1 20462 83 3 0x80 poll ntpd
> 25307 19535 19535 74 3 0x80 bpf pflogd
> 19535 1 19535 0 3 0x80 netio pflogd
> 16045 8910 8910 73 3 0x80 poll syslogd
> 8910 1 8910 0 3 0x80 netio syslogd
> 6768 1 6768 0 3 0x80 mfsidl mount_mfs
> 16459 1 16459 0 3 0x80 mfsidl mount_mfs
> 14 0 0 0 3 0x100200 aiodoned aiodoned
> 13 0 0 0 3 0x100200 syncer update
> 12 0 0 0 7 0x100200 cleaner
> 11 0 0 0 3 0x100200 reaper reaper
> 10 0 0 0 3 0x100200 pgdaemon pagedaemon
> 9 0 0 0 3 0x100200 bored crypto
> 8 0 0 0 3 0x100200 pftm pfpurge
> 7 0 0 0 3 0x100200 usbtsk usbtask
> 6 0 0 0 3 0x100200 usbatsk usbatsk
> 5 0 0 0 3 0x40100200 acpi0 acpi0
> 4 0 0 0 3 0x40100200 idle1
> 3 0 0 0 3 0x100200 idle0
> 1 0x80 wait init
> 0 -1 0 0 3 0x200 scheduler swapper
> ddb{0}> trace
> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> __assert() at __assert+0x21
> uvm_pagerealloc_multi() at uvm_pagerealloc_multi+0x177
> buf_realloc_pages() at buf_realloc_pages+0x97
> bufhigh() at bufhigh+0xd4
> buf_get() at buf_get+0x36b
> getblk() at getblk+0x67
> bio_doread() at bio_doread+0x24
> bread() at bread+0x13
> ffs_cgread() at ffs_cgread+0x57
> ffs_nodealloccg() at ffs_nodealloccg+0x6d
> ffs_hashalloc() at ffs_hashalloc+0x28
> ffs_inode_alloc() at ffs_inode_alloc+0x12d
> ufs_makeinode() at ufs_makeinode+0x88
> ufs_create() at ufs_create+0x35
> VOP_CREATE() at VOP_CREATE+0x30
> vn_open() at vn_open+0x2ad
> coredump() at coredump+0x157
> sigexit() at sigexit+0x52
> postsig() at postsig+0x267
> userret() at userret+0x1f
> end of kernel
> end trace frame: 0x1741a0820a18, count: -22
> ddb{0}> ch ddbcpu 0
> No such command
> ddb{0}> mach ddbcpu 0
> Invalid cpu 0
> ddb{0}> mach ddbcpu 1
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{1}> trace
> Debugger() at Debugger+0x5
> x86_ipi_handler() at x86_ipi_handler+0x64
> Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
> --- interrupt ---
> Bad frame pointer: 0xffff800022143dc8
> end trace frame: 0xffff800022143dc8, count: -3
> __mp_lock+0x55:
> ddb{1}>
>
>
> Debugger() at Debugger+0x5
> end trace frame: 0xffff800022143cd8, count: 0
> ddb{1}> trace
> Debugger() at Debugger+0x5
> x86_ipi_handler() at x86_ipi_handler+0x64
> Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
> --- interrupt ---
> Bad frame pointer: 0xffff800022143dc8
> end trace frame: 0xffff800022143dc8, count: -3
> __mp_lock+0x55:
> ddb{1}>
>
>
>
>
>
> Failure - 4
>
>
> login: kernel: protection fault trap, code=0
> Stopped at memmove+0x16: repe movsq (%rsi),%es:(%rdi)
> ddb{0}> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> *31360 837 10508 0 7 0x2000 perl
> 1747 837 10508 0 3 0x80 piperd gzip
> 5893 837 10508 0 3 0x80 select ssh
> 837 10508 10508 0 3 0x80 piperd perl
> 10508 19411 10508 1000 3 0x88 pause sh
> 21204 2759 2759 0 3 0x80 poll smbd
> 15405 1 15405 0 3 0x80 ttyin getty
> 29116 1 29116 0 3 0x80 ttyin getty
> 18969 1 18969 0 3 0x80 ttyin getty
> 25371 1 25371 0 3 0x80 ttyin getty
> 25260 1 25260 0 3 0x80 ttyin getty
> 19411 1 19411 1000 3 0x88 pause ksh
> 20553 1 20553 0 3 0x80 select cron
> 2759 1 2759 0 3 0x80 poll smbd
> 20012 1 20012 99 3 0x80 poll sndiod
> 28254 1 28254 0 3 0x80 select sendmail
> 11260 1 11260 0 3 0x80 select sshd
> 21862 1 21862 0 3 0x80 poll ntpd
> 21610 7980 21610 83 3 0x80 poll ntpd
> 7980 1 7980 83 3 0x80 poll ntpd
> 21559 24527 24527 74 3 0x80 bpf pflogd
> 24527 1 24527 0 3 0x80 netio pflogd
> 14440 5005 5005 73 3 0x80 poll syslogd
> 5005 1 5005 0 3 0x80 netio syslogd
> 23316 1 23316 0 3 0x80 mfsidl mount_mfs
> 5994 1 5994 0 3 0x80 mfsidl mount_mfs
> 14 0 0 0 3 0x100200 aiodoned aiodoned
> 13 0 0 0 3 0x100200 syncer update
> 12 0 0 0 7 0x100200 cleaner
> 11 0 0 0 3 0x100200 reaper reaper
> 10 0 0 0 3 0x100200 pgdaemon pagedaemon
> 9 0 0 0 3 0x100200 bored crypto
> 8 0 0 0 3 0x100200 pftm pfpurge
> 7 0 0 0 3 0x100200 usbtsk usbtask
> 6 0 0 0 3 0x100200 usbatsk usbatsk
> 5 0 0 0 3 0x40100200 acpi0 acpi0
> 4 0 0 0 3 0x40100200 idle1
> 3 0 0 0 3 0x100200 bored syswq
> 2 0 0 0 3 0x40100200 idle0
> 1 0 1 0 3 0x80 wait init
> 0 -1 0 0 3 0x200 scheduler swapper
> ddb{0}> trace
> memmove() at memmove+0x16
> buf_realloc_pages() at buf_realloc_pages+0x97
> bufhigh() at bufhigh+0xd4
> buf_get() at buf_get+0x36b
> getblk() at getblk+0x67
> bio_doread() at bio_doread+0x24
> bread() at bread+0x13
> ffs_cgread() at ffs_cgread+0x57
> ffs_nodealloccg() at ffs_nodealloccg+0x6d
> ffs_hashalloc() at ffs_hashalloc+0x28
> ffs_inode_alloc() at ffs_inode_alloc+0x12d
> ufs_makeinode() at ufs_makeinode+0x88
> ufs_create() at ufs_create+0x35
> VOP_CREATE() at VOP_CREATE+0x30
> vn_open() at vn_open+0x2ad
> coredump() at coredump+0x157
> sigexit() at sigexit+0x52
> postsig() at postsig+0x267
> userret() at userret+0x1f
> end of kernel
> end trace frame: 0x2f6564756c636e69, count: -19
> ddb{0}> mach ddbcpu 1
> Stopped at Debugger+0x5: leave
> ddb{1}> trace
> Debugger() at Debugger+0x5
> x86_ipi_handler() at x86_ipi_handler+0x64
> Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
> --- interrupt ---
> Bad frame pointer: 0xffff800022143dc8
> end trace frame: 0xffff800022143dc8, count: -3
> __mp_lock+0x59:
> ddb{1}>
>
>
>
>
> Failure - 5 running thunderbird/X windows/fluxbox
>
> OpenBSD/amd64 (pandora.asterisk.me.uk) (tty00)
>
> login: panic: kernel diagnostic assertion "!(wc && nocache)" failed: file
> "../../../../arch/amd64/amd64/pmap.c", line 1951
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{0}> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> 5617 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 24850 1 10106 1000 3 0x80 poll gam_server
> 21170 1 9066 1000 3 0x80 select kdeinit
> 19792 9066 9066 1000 3 0x80 select kdeinit
> 26705 1 9066 1000 3 0x80 select kdeinit
> 9066 1 9066 1000 3 0x80 select kdeinit
> 29711 30054 29711 1000 3 0x80 select kwrite
> 30054 30281 30054 1000 3 0x88 pause ksh
> 30281 3025 3025 1000 3 0x80 select xterm
> 3025 30923 3025 1000 3 0x88 pause ksh
> 5848 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 582 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 28521 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 6161 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 30471 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 16152 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 10054 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 19111 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 29170 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 11985 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 13377 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 18609 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 20019 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 11898 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 2428 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 22065 30971 30971 1000 3 0x4100080 poll thunderbird
> 24012 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 1383 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 14582 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 23469 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 13577 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 24228 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 1211 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 4703 30971 30971 1000 3 rbird
> 12936 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 14360 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 6023 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 27049 30971 30971 1000 3 0x4100080 poll thunderbird
> 23199 30971 30971 1000 3 0x4100080 kqread thunderbird
> 7212 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 26527 30971 30971 1000 3 0x4100080 poll thunderbird
> 27618 30971 30971 1000 3 0x4100080 thrsleep thunderbird
> 25812 30971 30971 1000 3 0x4100080 kqread thunderbird
> 25854 1 6527 1000 3 0x80 poll gconfd-2
> 6527 1 6527 1000 3 0x80 poll dbus-daemon
> 22603 1 30971 1000 3 0x80 select dbus-launch
> 731 30971 30971 1000 3 0x80 select thunderbird
> 30971 30923 30971 1000 3 0x88 pause ksh
> 30923 28503 30923 1000 3 0x80 select fluxbox
> 4085 18677 18677 1000 3 0x80 netio Xorg
> *18677 28503 18677 1000 7 0 Xorg
> 28503 14286 14286 1000 3 0x80 wait xinit
> 14286 20646 14286 1000 3 0x88 pause sh
> 221 23807 23807 0 3 0x80 poll smbd
> 16451 1 16451 0 3 0x80 ttyin getty
> 21691 1 21691 0 3 0x80 ttyin getty
> 18985 1 18985 0 3 0x80 ttyin getty
> 10963 1 10963 0 3 0x80 ttyin getty
> 25215 1 25215 0 3 0x80 ttyin getty
> 20646 1 20646 1000 3 0x88 pause ksh
> 9200 1 9200 0 3 0x80 select cron
> 23807 1 23807 0 3 0x80 poll smbd
> 18853 1 18853 99 3 0x80 poll sndiod
> 28520 1 28520 0 3 0x80 select sendmail
> 27966 1 27966 0 3 0x80 select sshd
> 8252 1 8252 0 3 0x80 poll ntpd
> 29142 1808 29142 83 3 ntpd
> 1808 1 1808 83 3 0x80 poll ntpd
> 3332 6195 6195 74 3 0x80 bpf pflogd
> 6195 1 6195 0 3 0x80 netio pflogd
> 7695 23184 23184 73 3 0x80 poll syslogd
> 23184 1 23184 0 3 0x80 netio syslogd
> 9701 1 9701 0 3 0x80 mfsidl mount_mfs
> 25662 1 25662 0 3 0x80 mfsidl mount_mfs
> 14 0 0 0 3 0x100200 aiodoned aiodoned
> 13 0 0 0 3 0x100200 syncer update
> 12 0 0 0 3 0x100200 cleaner cleaner
> 11 0 0 0 3 0x100200 reaper reaper
> 10 0 0 0 3 0x100200 pgdaemon pagedaemon
> 9 0 0 0 3 0x100200 bored crypto
> 8 0 0 0 3 0x100200 pftm pfpurge
> 7 0 0 0 3 0x100200 usbtsk usbtask
> 6 0 0 0 3 0x100200 usbatsk usbatsk
> 5 0 0 0 3 0x40100200 acpi0 acpi0
> 4 0 0 0 7 0x40100200 idle1
> 3 0 0 0 3 0x100200 bored syswq
> 2 0 0 0 3 0x40100200 idle0
> 1 0 1 0 3 0x80 wait init
> 0 -1 0 0 3 0x200 scheduler swapper
> ddb{0}> trace
> Debugger() at Debugger+0x5
> panic() at panic+0xe4
> __assert() at __assert+0x21
> pmap_enter() at pmap_enter+0x410
> uvm_fault() at uvm_fault+0x9e1
> trap() at trap+0x28c
> --- trap (number 6) ---
> end of kernel
> end trace frame: 0x1924, count: -6
> 0xae2f1ee84e8:
> ddb{0}> mach ddbcpu 1
> Stopped at Debugger+0x5: leave
> RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb{1}> trace
> Debugger() at Debugger+0x5
> x86_ipi_handler() at x86_ipi_handler+0x64
> Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
> --- interrupt ---
> Bad frame pointer: 0xffff80002211bf10
> end trace frame: 0xffff80002211bf10, count: -3
> cpu_idle_cycle+0x13:
> ddb{1}>
>
> .
>
Update
I tried a kernel from June 10th while I managed to do a pkg_check, and I
seemed to get a lot more done before a failure during the pkg_add, there
was this failure. I do have an even earlier kernel just found on the
laptop I could try.
login: panic: kernel diagnostic assertion "(pg->pg_flags & PG_DEV) == 0"
failed: file "../../../../uvm/uvm_page.c", line 994
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> boo ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
* 8764 15739 23020 0 7 0 perl
23167 15739 23020 0 3 0x80 piperd gzip
31045 15739 23020 0 3 0x80 select ssh
15739 23020 23020 0 3 0x80 piperd perl
23020 1326 23020 1000 3 0x88 pause sh
8091 1 8091 0 3 0x80 ttyin getty
6497 1 6497 0 3 0x80 ttyin getty
24113 1 24113 0 3 0x80 ttyin getty
21825 1 21825 0 3 0x80 ttyin getty
9672 1 9672 0 3 0x80 ttyin getty
1326 1 1326 1000 3 0x88 pause ksh
21647 1 21647 0 3 0x80 select cron
14340 1 14340 99 3 0x80 poll sndiod
3149 1 3149 0 3 0x80 select sendmail
14983 1 14983 0 3 0x80 select sshd
26614 1 26614 0 3 0x80 poll ntpd
1248 5248 1248 83 3 0x80 poll ntpd
5248 1 5248 83 3 0x80 poll ntpd
28789 30506 30506 74 3 0x80 bpf pflogd
30506 1 30506 0 3 0x80 netio pflogd
30001 4016 4016 73 3 0x80 poll syslogd
4016 1 4016 0 3 0x80 netio syslogd
14142 1 14142 0 3 0x80 mfsidl mount_mfs
18344 1 18344 0 3 0x80 mfsidl mount_mfs
14 0 0 0 3 0x100200 aiodoned aiodoned
13 0 0 0 3 0x100200 syncer update
12 0 0 0 3 0x100200 cleaner cleaner
11 0 0 0 3 0x100200 reaper reaper
10 0 0 0 3 0x100200 pgdaemon pagedaemon
9 0 0 0 3 0x100200 bored crypto
8 0 0 0 3 0x100200 pftm pfpurge
7 0 0 0 3 0x100200 usbtsk usbtask
6 0 0 0 3 0x100200 usbatsk usbatsk
5 0 0 0 3 0x40100200 acpi0 acpi0
4 0 0 0 7 0x40100200 idle1
3 0 0 0 3 0x100200 bored syswq
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x80 wait init
0 -1 0 0 3 0x200 scheduler swapper
ddb{0}> trace
Debugger() at Debugger+0x5
panic() at panic+0xe4
__assert() at __assert+0x21
uvm_pagealloc() at uvm_pagealloc+0x265
uvm_fault() at uvm_fault+0x4aa
trap() at trap+0x28c
--- trap (number 6) ---
end of kernel
end trace frame: 0x7f7ffffc7370, count: -6
0x62d6160d5f4:
ddb{0}> mach ddbcpu 0
Invalid cpu 0
ddb{0}> mach ddbcpu 1
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{1}> trace
Debugger() at Debugger+0x5
x86_ipi_handler() at x86_ipi_handler+0x64
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
--- interrupt ---
Bad frame pointer: 0xffff80002211bf10
end trace frame: 0xffff80002211bf10, count: -3
cpu_idle_cycle+0x13:
ddb{1}>