On Tue, February 7, 2012 1:56 pm, Joe Gidi wrote:
> On Tue, February 7, 2012 1:45 pm, Kenneth R Westerback wrote:
>> On Tue, Feb 07, 2012 at 01:01:42PM -0500, Joe Gidi wrote:
>>> I just built a new box with one of AMD's FX-8120 8-core processors and
>>> wanted to stress-test it a bit. I installed the Feb 6 amd64 snapshot,
>>> checked out a src tree, and had no trouble compiling GENERIC.MP. I
>>> tried
>>> compiling userland with "make -j8 build" and the box hung.
>>>
>>> Before I go further in depth with troubleshooting, I'd just like to
>>> know
>>> if this "should" work properly on good hardware. If it's known not to
>>> work, I won't waste my (or the lists') time on figuring out why it's
>>> hanging.
>>>
>>> Also, is there a maximum number of make jobs that should work? I used
>>> to
>>> run 'make -j4 build" successfully on my previous 4-core system...
>>>
>>> Thanks for any feedback,
>>>
>>> --
>>> Joe Gidi
>>> j...@entropicblur.com
>>>
>>> "You cannot buy skill." -- Ross Seyfried
>>>
>>
>> Sometimes it works and sometimes not. There are parts of the tree that
>> have races.
>>
>> .... Ken
>
> Thanks. Should "not working" cause the box to hang, or just cause the
> build to fail at some point with an error?
>
> I'm running a bog-stock snapshot install; I didn't try to get cute or
> clever anywhere, no customization, no non-stock sysctl settings, no
> mk.conf. I just installed the snap, checked out a tree, and built per the
> FAQ. I only went "off the reservation" by running 'make -j8 build' instead
> of 'make build'.
>
> I have just enabled ddb.console=1 and am going to try a series of builds
> with progressively higher -j flags. A -j4 build just succeeded.
>
> I'll report back to the list with full details if/when I can reproduce the
> hang.
>
> Thanks again...

Okay, 'make -j4 build' and 'make -j5 build' both completed successfully.
'make -j6 build' hung. The last line on the screen was:

Running Makefile.PL in ext/I18N-Langinfo
../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none
INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so.12.0 LINKTYPE=dynamic

Below that was a blank line with a blinking cursor. Could not switch to
another virtual console. Could not get into ddb via Ctrl+Alt+Esc.

I'm currently re-running the -j6 with a PS2 keyboard, to (A) see if it
hangs in the same spot and (B) hopefully be able to get into ddb.

dmesg:

OpenBSD 5.1-beta (GENERIC.MP) #0: Tue Feb  7 12:57:00 EST 2012
    r...@testbed.gateway.2wire.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8533127168 (8137MB)
avail mem = 8291811328 (7907MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries)
bios0: vendor American Megatrends Inc. version "0901" date 11/24/2011
bios0: ASUSTeK COMPUTER INC. M5A97
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4)
UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4)
PE21(S4) PE22(S4) PE23(S4) PC02(S4) PC04(S4) PC05(S4) PC06(S4) PC07(S4)
PC09(S4) PC0A(S4) PC0B(S4) PC0C(S4) PC0D(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-8120 Eight-Core Processor , 3110.78 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD FX(tm)-8120 Eight-Core Processor , 556.23 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD FX(tm)-8120 Eight-Core Processor , 211.96 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu2: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD FX(tm)-8120 Eight-Core Processor , 508.66 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu3: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu4 at mainbus0: apid 20 (application processor)
cpu4: AMD FX(tm)-8120 Eight-Core Processor , 212.83 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu4: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu4: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu4: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu5 at mainbus0: apid 21 (application processor)
cpu5: AMD FX(tm)-8120 Eight-Core Processor , 912.10 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu5: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu5: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu5: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu6 at mainbus0: apid 22 (application processor)
cpu6: AMD FX(tm)-8120 Eight-Core Processor , 524.33 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu6: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu6: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu6: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
cpu7 at mainbus0: apid 23 (application processor)
cpu7: AMD FX(tm)-8120 Eight-Core Processor , 337.66 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES
,XSAVE,AVX,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,
3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT
cpu7: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache
cpu7: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu7: DTLB 32 4KB entries fully associative, 32 4MB entries fully associative
ioapic0 at mainbus0: apid 9 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 10 pa 0xfec20000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0PC)
acpiprt2 at acpi0: bus -1 (PE20)
acpiprt3 at acpi0: bus -1 (PE21)
acpiprt4 at acpi0: bus -1 (PE22)
acpiprt5 at acpi0: bus -1 (PE23)
acpiprt6 at acpi0: bus 1 (PC02)
acpiprt7 at acpi0: bus 2 (PC04)
acpiprt8 at acpi0: bus -1 (PC05)
acpiprt9 at acpi0: bus -1 (PC06)
acpiprt10 at acpi0: bus 3 (PC07)
acpiprt11 at acpi0: bus -1 (PC09)
acpiprt12 at acpi0: bus -1 (PC0A)
acpiprt13 at acpi0: bus -1 (PC0B)
acpiprt14 at acpi0: bus -1 (PC0C)
acpiprt15 at acpi0: bus -1 (PC0D)
acpiec0 at acpi0acpiec _REG failed, broken BIOS

acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpicpu2 at acpi0: C2, PSS
acpicpu3 at acpi0: C2, PSS
acpicpu4 at acpi0: C2, PSS
acpicpu5 at acpi0: C2, PSS
acpicpu6 at acpi0: C2, PSS
acpicpu7 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
cpu0: 337 MHz: speeds: 3100 2800 2300 1900 1400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02
ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 10 int 0
drm0 at radeondrm0
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL
(0x2c80), apic 10 int 20, address 54:04:a6:4c:98:b9
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb2 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
"ASMedia ASM1042 xHCI" rev 0x00 at pci3 dev 0 function 0 not configured
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 9 int 19,
AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, OCZ-VERTEX2, 1.35> SCSI3 0/direct
fixed naa.5e83a97f0aa60521
sd0: 47703MB, 512 bytes/sector, 97696368 sectors, thin
cd0 at scsibus0 targ 1 lun 0: <ASUS, BR-04B2T, 1.01> ATAPI 5/cdrom removable
sd1 at scsibus0 targ 2 lun 0: <ATA, ST31500341AS, CC1H> SCSI3 0/direct
fixed naa.5000c5002023e064
sd1: 1430799MB, 512 bytes/sector, 2930277168 sectors
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 9 int 18,
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 9 int 20,
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 21
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
sdtemp0 at iic0 addr 0x18: mcp98242
sdtemp1 at iic0 addr 0x19: mcp98242
sdtemp2 at iic0 addr 0x1a: mcp98243
sdtemp3 at iic0 addr 0x1b: mcp98243
iic0: addr 0x20 01=00 02=00 03=00 04=8a 05=8a 06=8a 07=8a 08=00 09=00
0a=00 0b=00 0c=00 0d=00 0e=30 0f=8b 10=00 11=00 12=00 13=00 14=00 15=00
16=40 17=9a 18=c0 19=88 1a=00 1b=00 1c=00 1d=00 1e=0c 1f=03 20=09 21=09
22=09 23=09 24=03 3e=2b words 00=ff00 01=0000 02=0000 03=008a 04=8a8a
05=8a8a 06=8a8a 07=8a00
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 9
int 16
azalia1: codecs: Realtek/0x0887
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci4 at ppb3 bus 4
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 9 int 18,
version 1.0, legacy support
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 9 int 22,
version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 9 int 23
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1600 rev 0x00
pchb2 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1601 rev 0x00
pchb3 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1602 rev 0x00
pchb4 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1603 rev 0x00
pchb5 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1604 rev 0x00
pchb6 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1605 rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: 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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
ugen0 at uhub3 port 2 "American Power Conversion Back-UPS ES 750 FW:841.I3
.D USB FW:I3" rev 1.10/1.01 addr 2
uhidev0 at uhub3 port 5 configuration 1 interface 0 "Logitech USB Laser
Mouse" rev 2.00/31.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 8 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub4 port 1 configuration 1 interface 0 "Unicomp Endura Pro
Keyboard" rev 1.10/43.34 addr 2
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub4 port 1 configuration 1 interface 1 "Unicomp Endura Pro
Keyboard" rev 1.10/43.34 addr 2
uhidev2: iclass 3/1, 3 report ids
ums1 at uhidev2 reportid 1: 3 buttons, Z dir
wsmouse1 at ums1 mux 0
uhid0 at uhidev2 reportid 2: input=2, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (e44fdea65c3d7a09.a) swap on sd0b dump on sd0b
umass0 at uhub1 port 4 configuration 1 interface 0 "SanDisk Corporation U3
Cruzer Micro" rev 2.00/0.10 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: <SanDisk, U3 Cruzer Micro, 3.27> SCSI2
0/direct removable serial.07815406160EF1729882
sd2: 1959MB, 512 bytes/sector, 4013710 sectors

--

Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried

Reply via email to