From owner-freebsd-current@freebsd.org Sat Feb 17 12:16:38 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47416F07910 for ; Sat, 17 Feb 2018 12:16:38 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B4F497AC07 for ; Sat, 17 Feb 2018 12:16:37 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: by mailman.ysv.freebsd.org (Postfix) id 74224F0790F; Sat, 17 Feb 2018 12:16:37 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 503C2F0790D for ; Sat, 17 Feb 2018 12:16:37 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nsstlmta10p.bpe.bigpond.com (nsstlmta10p.bpe.bigpond.com [203.38.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CEB1A7ABFF; Sat, 17 Feb 2018 12:16:32 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep10p-svc.bpe.nexus.telstra.com.au with ESMTP id <20180217121622.VTTG21928.nsstlfep10p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com>; Sat, 17 Feb 2018 23:16:22 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedtfedrgedugdegtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvfftteenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtggguffkfffvofesmhdtmherhhdtvdenucfhrhhomheptehnughrvgifucftvghilhhlhicuoegrrhgvihhllhihsegsihhgphhonhgurdhnvghtrdgruheqnecuffhomhgrihhnpegrtgdqrhdrnhhunecukfhppeduvdegrdduledtrdegtddrudekvdenucfrrghrrghmpehhvghlohepghhhrghnrghmihgrrdgrtgdqrhdrnhhupdhinhgvthepuddvgedrudeltddrgedtrddukedvpdhmrghilhhfrhhomhepoegrrhgvihhllhihsegsihhgphhonhgurdhnvghtrdgr X-RG-VS-CLASS: clean X-Authentication-Info: Submitted using ID areilly@bigpond.net.au Received: from ghanamia.ac-r.nu (124.190.40.182) by smtp.telstra.com (9.0.019.22-1) (authenticated as areilly@bigpond.net.au) id 5A6144360B53867C; Sat, 17 Feb 2018 23:16:22 +1100 From: Andrew Reilly Content-Type: multipart/mixed; boundary="Apple-Mail=_7A6A6105-CFEA-4690-ACC8-825D00238CE5" Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Since last week (today) current on my Ryzen box is unstable Message-Id: <0CEA9D55-D488-42EC-BBDE-D0B7CE58BAEA@bigpond.net.au> Date: Sat, 17 Feb 2018 23:16:21 +1100 Cc: current@freebsd.org, kib@freebsd.org To: avg@freebsd.org X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 12:16:38 -0000 --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 Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x35c233ff Structured Extended Features=0x209c01a9 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x7 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: 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 irqs 0-23 on motherboard ioapic1 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: on motherboard cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: 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: 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: port 0xcf8-0xcff on acpi0 pci0: on pcib0 amdsmn0: on hostb0 amdtemp0: on hostb0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.1 on pci0 pci1: on pcib1 nvme0: mem 0xfe900000-0xfe903fff irq 24 at device 0.0 on pci1 pcib2: at device 1.3 on pci0 pci2: on pcib2 xhci0: 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: mem 0xfe680000-0xfe69ffff irq 33 at device 0.1 on pci2 ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 pcib3: irq 34 at device 0.2 on pci2 pci3: on pcib3 pcib4: irq 32 at device 0.0 on pci3 pci4: on pcib4 pcib5: irq 33 at device 1.0 on pci3 pci5: on pcib5 pcib6: irq 32 at device 4.0 on pci3 pci6: on pcib6 pcib7: irq 33 at device 5.0 on pci3 pci7: on pcib7 pcib8: irq 34 at device 6.0 on pci3 pci8: on pcib8 pci8: at device 0.0 (no driver attached) pcib9: irq 35 at device 7.0 on pci3 pci9: on pcib9 igb0: 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: at device 3.1 on pci0 pci10: on pcib10 vgapci0: port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xfe800000-0xfe83ffff irq 54 at device 0.0 on pci10 vgapci0: Boot video device hdac0: 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: at device 7.1 on pci0 pci11: on pcib11 pci11: at device 0.0 (no driver attached) pci11: at device 0.2 (no driver attached) xhci1: 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: at device 8.1 on pci0 pci12: on pcib12 pci12: at device 0.0 (no driver attached) ahci1: 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: at channel 0 on ahci1 hdac0: mem 0xfe700000-0xfe707fff irq 43 at device 0.3 on pci12 isab0: at device 20.3 on pci0 isa0: on isab0 acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 hwpstate0: 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: NVMe namespace nvd0: 228936MB (468862128 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20,22,21 and 24,26 on hdaa0 pcm1: at nid 27 and 25 on hdaa0 pcm2: 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: 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: 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: 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: 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: at usbus0 ubt0 on uhub0 ubt0: on usbus0 ugen1.2: at usbus1 umass0 on uhub1 umass0: 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: 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 Root mount waiting for: usbus0 ugen0.3: 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--