>Synopsis:      panic and uvm_fault during dbp ports build of lang/gcc/4.9
>Category:      kernel
>Environment:
        System      : OpenBSD 5.9
        Details     : OpenBSD 5.9-beta (GENERIC.MP) #7: Fri Dec 25 16:13:44 CET 
2015
                         
[email protected]:/home/build/data/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        Building ports/lang/gcc/4.9 using dpb reliably triggers panic
        and uvm_fault. Four out of five builds triggered this panic,
        one triggered the uvm_fault below.

        The system is a PC without serial console, so I put pictures of
        the uvm_fault and panic on my webserver. The panic directory
        contains a screenshot of the build processes and the build log
        when the system panic'd.
        
                http://peichaer.org/uvm_fault
                http://peichaer.org/panic

        The system is a plain install, no sysctl.conf, no malloc.conf,
        no nfs, etc. Only modification is higher limits in login.conf.

                staff:\
                        :datasize-cur=3072M:\
                        :datasize-max=infinity:\
                        :maxproc-cur=1024:\
                        :maxproc-max=2048:\
                        :openfiles-cur=1024:\
                        :ignorenologin:\
                        :requirehome@:\
                        :tc=default:

>How-To-Repeat:
        - update src xenocara ports (per 2015-12-25 16:00:00 CET)
        - build from src/xenocara and make release for both
        - update system from these release sets
        - start ports build: dpb -DCOLOR -DBUILD_USER=robert -p4 -s 
          - during build of lang/gcc/4.9 the uvm_fault happend
        - reboot
        - cleanup ports dirs (start from scratch)
        - start build of lang/gcc/4.9: dpb -DCOLOR -DBUILD_USER=robert -p4 -s 
lang/gcc/4.9
          - panic after about 70%
>Fix:
        unknown

dmesg:
OpenBSD 5.9-beta (GENERIC.MP) #7: Fri Dec 25 16:13:44 CET 2015
    
[email protected]:/home/build/data/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8363098112 (7975MB)
avail mem = 8105517056 (7730MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9fc0 (89 entries)
bios0: vendor Hewlett-Packard version "786H1 v01.05" date 06/09/2010
bios0: Hewlett-Packard HP Compaq 8100 Elite CMT PC
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA HPET
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEGH(S4) PEGL(S4) IGBE(S4) 
PCX1(S4) PCX5(S4) PCX7(S4) HUB_(S4) EUS1(S3) EUS2(S3) PBTN(S4)
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) Core(TM) i3 CPU 540 @ 3.07GHz, 3059.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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-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 132MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.98 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 5 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.98 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 2, package 0
cpu3 at mainbus0: apid 4 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz, 3058.98 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf4000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGH)
acpiprt2 at acpi0: bus -1 (PEGL)
acpiprt3 at acpi0: bus 24 (PCX1)
acpiprt4 at acpi0: bus 36 (PCX5)
acpiprt5 at acpi0: bus 48 (PCX7)
acpiprt6 at acpi0: bus 13 (HUB_)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS
acpibtn0 at acpi0: PBTN
cpu0: Enhanced SpeedStep 3059 MHz: speeds: 3066, 2266, 1733, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0: msi
inteldrm0: 1024x768
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 3400 KT" rev 0x06: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82578DM" rev 0x05: msi, address 
d4:85:64:0f:9d:34
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 1 int 20
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 3400 HD Audio" rev 0x05: msi
azalia0: codecs: Realtek ALC662, Intel/0x2804, using Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: msi
pci1 at ppb0 bus 24
ppb1 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: msi
pci2 at ppb1 bus 36
ppb2 at pci0 dev 28 function 6 "Intel 3400 PCIE" rev 0x05: msi
pci3 at ppb2 bus 48
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 1 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci4 at ppb3 bus 13
re0 at pci4 dev 0 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB (0x1000), 
apic 1 int 20, address 00:e0:51:47:00:9b
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3
pcib0 at pci0 dev 31 function 0 "Intel Q57 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
ahci0: port 2: 3.0Gb/s
ahci0: port 3: 3.0Gb/s
ahci0: PHY offline on port 4
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, DXM0> SCSI3 0/direct fixed 
naa.50025385502a2ed0
sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
cd0 at scsibus1 targ 1 lun 0: <hp, DVDROM DH20N, DB03> ATAPI 5/cdrom removable
sd1 at scsibus1 targ 2 lun 0: <ATA, ST31000524NS, SN11> SCSI3 0/direct fixed 
naa.5000c5002cf8cd15
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
sd2 at scsibus1 targ 3 lun 0: <ATA, ST31000524NS, SN11> SCSI3 0/direct fixed 
naa.5000c5002cd15409
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte 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
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
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (740ce4f596fb0fd4.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted

usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), 
Intel(0x8087), rev 0.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 powered
 port 2 powered
 port 3 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), 
Intel(0x8087), rev 0.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 powered
  port 7 powered
  port 8 powered
 port 2 powered
 port 3 powered

Reply via email to