Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2018 23:16:21 +1100
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        avg@freebsd.org
Cc:        current@freebsd.org, kib@freebsd.org
Subject:   Since last week (today) current on my Ryzen box is unstable
Message-ID:  <0CEA9D55-D488-42EC-BBDE-D0B7CE58BAEA@bigpond.net.au>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_7A6A6105-CFEA-4690-ACC8-825D00238CE5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

I do a weekly build to track changes, on 12-current since I gave my =
fileserver this new Ryzen motherboard a few months ago.  I switched to =
current because there was some badness in 11-stable that I attributed to =
new processor twitchiness (wouldn't reboot, temperature sensors not =
working.)  A month or so of 12- has been lovely, for the most part.

Today's rebuild has given me uptimes of below an hour, usually.  The box =
will stay up in single user mode long enough to rebuild world/kernel, =
but multi-user it is panicking at =
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c:1592

The backtrace shows that it gets to this panic from a sendfile() =
syscall.  The line above is in the middle of a big edit that's part of =
svn revision 329363.  The tripping assertion seems to suggest that =
m->valid !=3D 0, for whatever that's worth.

Anything that I should be trying?

On a side-note, the new devmatch workings are giving me 43 boot warnings =
about "Malformed NOMATCH string: ''?'', and devmatch_enable=3D"NO" in =
/etc/rc.conf doesn't seem to help, and the new matching is very very =
keen to load cc_vegas.ko, a lot.  Here's the output of devmatch -v, in =
case that helps:

$ devmatch -v
Searching  acpi bus at handle=3D\_PR_.P008 for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P009 for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00A for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00B for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00C for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00D for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00E for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  acpi bus at handle=3D\_PR_.P00F for pnpinfo _HID=3Dnone =
_UID=3D0
Searching  pci bus at slot=3D0 function=3D2 dbsf=3Dpci0:0:0:2 =
handle=3D\_SB_.PCI0.IOMA for pnpinfo vendor=3D0x1022 device=3D0x1451 =
subvendor=3D0x1022 subdevice=3D0x1451 class=3D0x080600
Searching  pci bus at slot=3D0 function=3D0 dbsf=3Dpci0:9:0:0 for =
pnpinfo vendor=3D0x8086 device=3D0x24fb subvendor=3D0x8086 =
subdevice=3D0x2110 class=3D0x028000
Searching  pci bus at slot=3D0 function=3D1 dbsf=3Dpci0:11:0:1 for =
pnpinfo vendor=3D0x1002 device=3D0xaab0 subvendor=3D0x174b =
subdevice=3D0xaab0 class=3D0x040300
Searching  pci bus at slot=3D0 function=3D0 dbsf=3Dpci0:17:0:0 for =
pnpinfo vendor=3D0x1022 device=3D0x145a subvendor=3D0x1022 =
subdevice=3D0x145a class=3D0x130000
Searching  pci bus at slot=3D0 function=3D2 dbsf=3Dpci0:17:0:2 =
handle=3D\_SB_.PCI0.GP17.APSP for pnpinfo vendor=3D0x1022 device=3D0x1456 =
subvendor=3D0x1022 subdevice=3D0x1456 class=3D0x108000
cc_vegas.ko
Searching  pci bus at slot=3D0 function=3D0 dbsf=3Dpci0:18:0:0 for =
pnpinfo vendor=3D0x1022 device=3D0x1455 subvendor=3D0x1022 =
subdevice=3D0x1455 class=3D0x130000
Searching  acpi bus at handle=3D\_SB_.PCI0.SBRG.PIC_ for pnpinfo =
_HID=3DPNP0000 _UID=3D0
Searching  acpi bus at handle=3D\_SB_.PCI0.SBRG.SPKR for pnpinfo =
_HID=3DPNP0800 _UID=3D0
Searching  acpi bus at handle=3D\_SB_.GPIO for pnpinfo _HID=3DAMDI0030 =
_UID=3D0
Searching  acpi bus at handle=3D\_SB_.PTIO for pnpinfo _HID=3DAMDIF030 =
_UID=3D0
Searching  acpi bus at handle=3D\AOD_ for pnpinfo _HID=3DPNP0C14 _UID=3D0

I can't tell if this is related to the zfs problem or not.  As far as =
I'm aware, cc_vegas.ko was not loaded into the kernel before today.

FWIW uname -a says:
FreeBSD Zen.ac-r.nu 12.0-CURRENT FreeBSD 12.0-CURRENT #6 r329450: Sat =
Feb 17 22:36:19 AEDT 2018     =
root@:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

I'll attach the dmesg.boot from the boot that I had to do while =
composing this message...

Cheers,

Andrew



--Apple-Mail=_7A6A6105-CFEA-4690-ACC8-825D00238CE5
Content-Disposition: attachment;
	filename=dmesg.boot
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="dmesg.boot"
Content-Transfer-Encoding: 7bit

Copyright (c) 1992-2018 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 12.0-CURRENT #6 r329450: Sat Feb 17 22:36:19 AEDT 2018
    root@:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 6.0.0 (branches/release_60 325330) (based on LLVM 6.0.0)
WARNING: WITNESS option enabled, expect reduced performance.
VT(vga): resolution 640x480
CPU: AMD Ryzen 7 1700 Eight-Core Processor           (2994.46-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,MWAITX>
  Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=0x7<CLZERO,IRPerf,XSaveErPtr>
  SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33274941440 (31733 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 2 cache groups x 4 core(s)
random: unblocking device.
Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20180209/tbfadt-796)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
ioapic1 <Version 2.1> irqs 24-55 on motherboard
SMP: AP CPU #6 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
Timecounter "TSC-low" frequency 1497229665 Hz quality 1000
random: entropy device external interface
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff80ffe3e0, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
netmap: loaded module
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM,SHA1,SHA256> on motherboard
acpi0: <ALASKA A M I > on motherboard
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
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
atrtc0: registered as a time-of-day clock, resolution 1.000000s
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
amdsmn0: <AMD Family 17h System Management Network> on hostb0
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 1.1 on pci0
pci1: <ACPI PCI bus> on pcib1
nvme0: <Generic NVMe Device> mem 0xfe900000-0xfe903fff irq 24 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 1.3 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <AMD 300 Series USB 3.0 controller> mem 0xfe6a0000-0xfe6a7fff irq 32 at device 0.0 on pci2
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
ahci0: <AMD 300 Series AHCI SATA controller> mem 0xfe680000-0xfe69ffff irq 33 at device 0.1 on pci2
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
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pcib3: <ACPI PCI-PCI bridge> irq 34 at device 0.2 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 32 at device 0.0 on pci3
pci4: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> irq 33 at device 1.0 on pci3
pci5: <PCI bus> on pcib5
pcib6: <PCI-PCI bridge> irq 32 at device 4.0 on pci3
pci6: <PCI bus> on pcib6
pcib7: <PCI-PCI bridge> irq 33 at device 5.0 on pci3
pci7: <PCI bus> on pcib7
pcib8: <PCI-PCI bridge> irq 34 at device 6.0 on pci3
pci8: <PCI bus> on pcib8
pci8: <network> at device 0.0 (no driver attached)
pcib9: <ACPI PCI-PCI bridge> irq 35 at device 7.0 on pci3
pci9: <ACPI PCI bus> on pcib9
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xf000-0xf01f mem 0xfe400000-0xfe41ffff,0xfe420000-0xfe423fff irq 32 at device 0.0 on pci9
igb0: attach_pre capping queues at 2
igb0: using 1024 tx descriptors and 1024 rx descriptors
igb0: msix_init qsets capped at 2
igb0: pxm cpus: 8 queue msgs: 4 admincnt: 1
igb0: using 2 rx queues 2 tx queues 
igb0: Using MSIX interrupts with 3 vectors
igb0: allocated for 2 tx_queues
igb0: allocated for 2 rx_queues
igb0: Ethernet address: 70:85:c2:59:38:4e
igb0: netmap queues/slots: TX 2/1024, RX 2/1024
pcib10: <ACPI PCI-PCI bridge> at device 3.1 on pci0
pci10: <ACPI PCI bus> on pcib10
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xfe800000-0xfe83ffff irq 54 at device 0.0 on pci10
vgapci0: Boot video device
hdac0: <ATI (0xaab0) HDA Controller> mem 0xfe860000-0xfe863fff irq 55 at device 0.1 on pci10
hdac0: hdac_get_capabilities: Invalid corb size (0)
device_attach: hdac0 attach returned 6
pcib11: <ACPI PCI-PCI bridge> at device 7.1 on pci0
pci11: <ACPI PCI bus> on pcib11
pci11: <unknown> at device 0.0 (no driver attached)
pci11: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci1: <AMD KERNCZ USB 3.0 controller> mem 0xfe100000-0xfe1fffff irq 37 at device 0.3 on pci11
xhci1: 64 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
pcib12: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci12: <ACPI PCI bus> on pcib12
pci12: <unknown> at device 0.0 (no driver attached)
ahci1: <AMD KERNCZ AHCI SATA controller> mem 0xfe708000-0xfe708fff irq 42 at device 0.2 on pci12
ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
ahcich8: <AHCI channel> at channel 0 on ahci1
hdac0: <AMD (0x1457) HDA Controller> mem 0xfe700000-0xfe707fff irq 43 at device 0.3 on pci12
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
nvd0: <Force MP500> NVMe namespace
nvd0: 228936MB (468862128 512 byte sectors)
hdacc0: <Realtek ALC1220 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC1220 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC1220 (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26 on hdaa0
pcm1: <Realtek ALC1220 (Front Analog)> at nid 27 and 25 on hdaa0
pcm2: <Realtek ALC1220 (Rear Digital)> at nid 30 on hdaa0
ugen1.1: <0x1022 XHCI root HUB> at usbus1
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <HGST HDN724040ALE640 MJAOA5E0> ATA8-ACS SATA 3.x device
ada0: Serial Number PK1334PEHWZT7S
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 3815447MB (7814037168 512 byte sectors)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <HGST HDN724040ALE640 MJAOA5E0> ATA8-ACS SATA 3.x device
ada1: Serial Number PK1334PEHZBWXS
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)
ada2 at ahcich4 bus 0 scbus2 target 0 lun 0
ada2: <HGST HDN724040ALE640 MJAOA5E0> ATA8-ACS SATA 3.x device
ada2: Serial Number PK1334PEHYSZ6S
ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 3815447MB (7814037168 512 byte sectors)
ada3 at ahcich5 bus 0 scbus3 target 0 lun 0
ada3: <HGST HDN724040ALE640 MJAOA5E0> ATA8-ACS SATA 3.x device
ada3: Serial Number PK1334PEHZDA1S
ada3: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada3: Command Queueing enabled
ada3: 3815447MB (7814037168 512 byte sectors)
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from zfs:root [rw]...
Root mount waiting for: usbus1 usbus0
uhub1: 8 ports with 8 removable, self powered
uhub0: 22 ports with 22 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087 product 0x0aa7> at usbus0
ubt0 on uhub0
ubt0: <vendor 0x8087 product 0x0aa7, class 224/1, rev 2.00/0.01, addr 1> on usbus0
ugen1.2: <LaCie d2 USB 3.0> at usbus1
umass0 on uhub1
umass0: <LaCie d2 USB 3.0, class 0/0, rev 3.00/0.00, addr 1> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:5:0: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <LaCie d2 USB3 1153> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number 1153000117AD
da0: 400.000MB/s transfers
da0: 5723166MB (1465130646 4096 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Root mount waiting for: usbus0
ugen0.3: <EATON Ellipse MAX> at usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Link state changed to up
igb0: link state changed to UP

--Apple-Mail=_7A6A6105-CFEA-4690-ACC8-825D00238CE5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0CEA9D55-D488-42EC-BBDE-D0B7CE58BAEA>