I've been trying to build userland repeatedly over the past few days on
a particular machine and consistently get kernel panics, though never at
exactly the same point in the process. The latest occurred midway
through 'make obj'. Attempts to build userland on another i386 machine
from code pulled via cvs at more or less the same time works fine, so it
seems the issue is isolated to this hardware.
I initially suspected my SSD had gone bad, so I replaced it with a brand
new drive. However, the issue persists, so I no longer suspect the drive.
A ps, trace, and dmesg are provided below. This is my first reporting a
bug of this nature. I hope I've followed procedure. If not, please do
let me know. I'm trying to be useful. :-)
-------------------------------------------------------------------------
panic: pmap_remove_ptes: managed page without PG_PVLIST for 0x3c001000
Stopped at Debugger+0x4: popl %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> show panic
pmap_remove_ptes: managed page without PG_PVLIST for 0x3c001000
ddb> trace
Debugger(d0963718,f6269e38,d0966be4,f6269e38,d1cf1040) at Debugger+0x4
panic(d0966be4,3c001000,d1ceb16c,f6269e4c,0) at panic+0x5d
pmap_remove_ptes(d9e39798,d1cf1040,ffcf0000,3c000000,3c003000) at
pmap_remove_p
tes+0x142
pmap_do_remove(d9e39798,3c000000,3c003000,0,d0ad7820) at pmap_do_remove+0xeb
pmap_remove(d9e39798,3c000000,3c003000,d056c4e9,d9c68e1c) at
pmap_remove+0x27
uvm_unmap_kill_entry(d9e3ad80,d9c68e1c,f6269f2c,d043a597,0) at
uvm_unmap_kill_e
ntry+0xf8
uvm_map_teardown(d9e3ad80,1,4,d093e66e,d9cc2700) at uvm_map_teardown+0xac
uvmspace_free(d9e3ad80,1,1,f6269f6c,d0203009) at uvmspace_free+0x2e
uvm_exit(d9cc3ba4,d0a4e0a8,4,d093e66e,0) at uvm_exit+0x15
reaper(d9e33004) at reaper+0x8a
Bad frame pointer: 0xd0c3ce68
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
30830 10312 16261 0 2 0x80 sh
10312 17416 16261 0 3 0x88 pause make
17416 24779 16261 0 3 0x88 pause sh
24779 13155 16261 0 3 0x88 pause make
13155 16261 16261 0 3 0x88 pause sh
16261 6053 16261 0 3 0x88 pause make
6053 31202 6053 0 3 0x88 pause ksh
31202 11257 31202 1000 3 0x80 wait bash
11257 31843 31843 1000 3 0x80 select sshd
31843 30249 31843 0 3 0x80 poll sshd
18963 1 18963 0 3 0x80 ttyin getty
17899 1 17899 0 3 0x80 ttyin getty
31642 1 31642 0 3 0x80 ttyin getty
17611 1 17611 0 3 0x80 ttyin getty
26637 1 26637 0 3 0x80 ttyin getty
1806 1 1806 0 3 0x80 ttyin getty
10897 1 10897 0 3 0x80 select cron
29202 1 29202 99 3 0x80 poll sndiod
13472 1 13472 0 3 0x80 select sendmail
30249 1 30249 0 3 0x80 select sshd
19335 7121 7121 74 3 0x80 bpf pflogd
7121 1 7121 0 3 0x80 netio pflogd
12283 13383 13383 73 3 0x80 poll syslogd
13383 1 13383 0 3 0x80 netio syslogd
29921 1 29921 77 3 0x80 poll dhclient
8270 1 8270 0 3 0x80 poll dhclient
15 0 0 0 3 0x100200 aiodoned aiodoned
14 0 0 0 3 0x100200 syncer update
13 0 0 0 3 0x100200 cleaner cleaner
* 12 0 0 0 7 0x100200 reaper
11 0 0 0 3 0x100200 pgdaemon pagedaemon
10 0 0 0 3 0x100200 bored crypto
9 0 0 0 3 0x100200 pftm pfpurge
8 0 0 0 3 0x100200 usbtsk usbtask
7 0 0 0 3 0x100200 usbatsk usbatsk
6 0 0 0 3 0x100200 bored intelrel
5 0 0 0 3 0x40100200 acpi0 acpi0
4 0 0 0 3 0x100200 bored syswq
3 0 0 0 3 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x80 wait init
0 -1 0 0 3 0x200 scheduler swapper
7695 30830 16261 0 6 0x2000 pwd
-----------------------------------------------------------------------
# dmesg
OpenBSD 5.3-current (GENERIC) #0: Wed Jul 3 21:08:16 PDT 2013
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU G530 @ 2.40GHz ("GenuineIntel" 686-class)
2.40 GHz
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,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,LAHF,PERF,ITSC
real mem = 3131318272 (2986MB)
avail mem = 3068723200 (2926MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/05/10, SMBIOS rev. 2.6 @
0xe92a0 (93 entries)
bios0: vendor American Megatrends Inc. version "0402" date 07/18/2011
bios0: ASUSTeK Computer INC. P8H61-M LX
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC SSDT MCFG HPET
acpi0: wakeup devices UAR1(S4) PS2K(S4) PS2M(S4) BR20(S3) EUSB(S4)
P0P3(S4) P0P4(S4) P0P1(S4) P0P2(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4)
PEX4(S4) PEX5(S4) PEX6(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P3)
acpiprt2 at acpi0: bus -1 (P0P4)
acpiprt3 at acpi0: bus 1 (P0P1)
acpiprt4 at acpi0: bus -1 (P0P2)
acpiprt5 at acpi0: bus 2 (PEX0)
acpiprt6 at acpi0: bus 3 (PEX1)
acpiprt7 at acpi0: bus 4 (PEX2)
acpiprt8 at acpi0: bus 6 (PEX4)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
bios0: ROM list: 0xc0000/0xd800
cpu0: Enhanced SpeedStep 2395 MHz: speeds: 2400, 2300, 2200, 2100, 2000,
1900, 1800, 1700, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: apic 0 int 16
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1024x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
azalia0: codecs: Realtek/0x0887
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: apic 0 int 17
pci2 at ppb1 bus 2
"Realtek RTL8192CE" rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: apic 0 int 16
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: apic 0 int 18
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL
(0x2c80), apic 0 int 18, address 14:da:e9:b7:15:30
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb4 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb5: apic 0 int 19
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 "Intel 82801BA Hub-to-PCI" rev 0xb5: apic
0 int 17
pci6 at ppb5 bus 6
ppb6 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: apic 0 int 16
pci7 at ppb6 bus 7
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel H61 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 6 Series SATA" rev 0x05: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 0 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <KINGSTON SV300S37A60G>
wd0: 16-sector PIO, LBA48, 57241MB, 117231408 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic
0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
pciide1 at pci0 dev 31 function 5 "Intel 6 Series SATA" rev 0x05: DMA,
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 0 int 20 for native-PCI interrupt
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0x290/8: NCT6776F
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (5453965e6cf735e2.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted