Ryzen5 test

Photo Ryzen 5 1600 入荷。消耗品費で変えるぎりぎり:)

さっそくFreeBSDカーネルビルド。

なんか一瞬 make がこけたけど Segfault じゃないんだよな。 なんだなんだ? どきどき。で、もう一度仕掛けている。

while time make -j12; do
    make clean >/dev/null
  done

んー、まあ30分走らしたくらいじゃ落ちない。

じゃ、とりあえずdmesgでも。

Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.3-STABLE #1 r298975: Tue May  3 21:05:58 JST 2016
    root@obalius.is.koeki-u.ac.jp:/usr/obj/usr/src/sys/BALIUS amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: AMD Ryzen 5 1600 Six-Core Processor             (3194.08-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x800f11  Family=0x17  Model=0x1  Stepping=1
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,<b29>>
  Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 68719476736 (65536 MB)
avail memory = 66646949888 (63559 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
FreeBSD/SMP: 1 package(s) x 12 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  8
 cpu7 (AP): APIC ID:  9
 cpu8 (AP): APIC ID: 10
 cpu9 (AP): APIC ID: 11
 cpu10 (AP): APIC ID: 12
 cpu11 (AP): APIC ID: 13
random: <Software, Yarrow> initialized
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20150515/tbfadt-673)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
ioapic1 <Version 2.1> irqs 24-55 on motherboard
kbd1 at kbdmux0
acpi0: <ALASKA A M I > on motherboard
ACPI Error: Needed [Integer/String/Buffer], found [Region] 0xfffff8000e547980 (20150515/exresop-435)
ACPI Exception: AE_AML_OPERAND_TYPE, Could not execute arguments for [IOB2] (Region) (20150515/nsinit-382)
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
cpu8: <ACPI CPU> on acpi0
cpu9: <ACPI CPU> on acpi0
cpu10: <ACPI CPU> on acpi0
cpu11: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 350
Event timer "HPET2" frequency 14318180 Hz quality 350
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 1.3 on pci0
pci3: <ACPI PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe7a0000-0xfe7a7fff irq 32 at device 0.0 on pci3
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
ahci0: <AHCI SATA controller> mem 0xfe780000-0xfe79ffff irq 33 at device 0.1 on pci3
ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
pcib2: <ACPI PCI-PCI bridge> irq 34 at device 0.2 on pci3
pci29: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 32 at device 0.0 on pci29
pci33: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 34 at device 2.0 on pci29
pci35: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 35 at device 3.0 on pci29
pci36: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 32 at device 4.0 on pci29
pci37: <ACPI PCI bus> on pcib6
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfe600000-0xfe607fff irq 32 at device 0.0 on pci37
xhci1: 32 bytes context size, 64-bit DMA
usbus1 on xhci1
pcib7: <ACPI PCI-PCI bridge> irq 34 at device 6.0 on pci29
pci38: <ACPI PCI bus> on pcib7
igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe000-0xe01f mem 0xfe500000-0xfe51ffff,0xfe520000-0xfe523fff irq 34 at device 0.0 on pci38
igb0: Using MSIX interrupts with 3 vectors
igb0: Ethernet address: 10:7b:44:8f:04:ec
igb0: Bound queue 0 to cpu 0
igb0: Bound queue 1 to cpu 1
pcib8: <ACPI PCI-PCI bridge> irq 35 at device 7.0 on pci29
pci39: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 3.1 on pci0
pci40: <ACPI PCI bus> on pcib9
vgapci0: <VGA-compatible display> port 0xd000-0xd0ff mem 0xe0000000-0xefffffff,0xfe920000-0xfe93ffff irq 54 at device 0.0 on pci40
vgapci0: Boot video device
hdac0: <ATI RV910 HDA Controller> mem 0xfe940000-0xfe943fff irq 55 at device 0.1 on pci40
pcib10: <ACPI PCI-PCI bridge> at device 7.1 on pci0
pci41: <ACPI PCI bus> on pcib10
pci41: <unknown> at device 0.0 (no driver attached)
pci41: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfe200000-0xfe2fffff irq 37 at device 0.3 on pci41
xhci2: 64 bytes context size, 64-bit DMA
usbus2 on xhci2
pcib11: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci42: <ACPI PCI bus> on pcib11
pci42: <unknown> at device 0.0 (no driver attached)
ahci1: <AHCI SATA controller> mem 0xfe808000-0xfe808fff irq 42 at device 0.2 on pci42
ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
ahcich8: <AHCI channel> at channel 0 on ahci1
hdac1: <AMD (0x1457) HDA Controller> mem 0xfe800000-0xfe807fff irq 43 at device 0.3 on pci42
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
vboxdrv: fAsync=0 offMin=0x400 offMax=0x620
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Realtek (0x1168) HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek (0x1168) Audio Function Group> at nid 1 on hdacc1
pcm1: <Realtek (0x1168) (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26 on hdaa1
pcm2: <Realtek (0x1168) (Front Analog)> at nid 27 and 25 on hdaa1
pcm3: <Realtek (0x1168) (Rear Digital)> at nid 30 on hdaa1
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 5.0Gbps Super Speed USB v3.0
ugen0.1: <0x1022> at usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <0x1b21> at usbus1
uhub1: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen2.1: <0x1022> at usbus2
uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Hitachi HDS5C3020ALA632 ML6OA580> ATA8-ACS SATA 3.x device
ada0: Serial Number ML4220F3192PXK
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 1907729MB (3907029168 512 byte sectors)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <Hitachi HDS722020ALA330 JKAOA28A> ATA8-ACS SATA 2.x device
ada1: Serial Number JK1171YAGZ0WMS
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 1907729MB (3907029168 512 byte sectors)
ada1: Previously was known as ad6
SMP: AP CPU #6 Launched!
SMP: AP CPU #10 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #11 Launched!
SMP: AP CPU #9 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #8 Launched!
Timecounter "TSC-low" frequency 1597039024 Hz quality 1000
uhub1: 4 ports with 4 removable, self powered
Root mount waiting for: usbus2 usbus0
uhub2: 8 ports with 8 removable, self powered
uhub0: 22 ports with 22 removable, self powered
ugen2.2: <ALCOR> at usbus2
uhub3: <ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 1> on usbus2
uhub3: 4 ports with 4 removable, bus powered
Root mount waiting for: usbus2
ugen2.3: <vendor 0x070a> at usbus2
ukbd0: <vendor 0x070a product 0x0026, class 0/0, rev 1.10/1.90, addr 2> on usbus2
kbd2 at ukbd0
Root mount waiting for: usbus2
ugen2.4: <vendor 0x070a> at usbus2
Trying to mount root from zfs:zx0/ROOT/default []...
cryptosoft0: <software crypto> on motherboard
GEOM_ELI: Device ada0p2.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
GEOM_ELI: Device ada1p2.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
uhid0: <vendor 0x070a product 0x0026, class 0/0, rev 1.10/1.90, addr 2> on usbus2
ums0: <vendor 0x070a product 0x0025, class 0/0, rev 1.00/1.00, addr 3> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled

翌朝… カーネルビルドこけてた。だが Segmentation fault ではない。

--- multilist.o ---
In file included from /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/multilist.c:19:
In file included from /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h:73:
In file included from /usr/src/sys/modules/zfs/../../cddl/compat/opensolaris/sys/vfs.h:37:
/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris/sys/vnode.h:202:3: error: implicit declaration of function 'VOP_UNLOCK' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                VOP_UNLOCK(nd.ni_vp, 0);
                ^
/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris/sys/vnode.h:257:10: error: implicit declaration of function 'VOP_FSYNC' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        error = VOP_FSYNC(vp, MNT_WAIT, curthread);
                ^

zfsのファイル読み出しエラーか?