From owner-freebsd-stable@freebsd.org Sun Nov 10 13:19:41 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99AFC1B4516 for ; Sun, 10 Nov 2019 13:19:41 +0000 (UTC) (envelope-from cross@distal.com) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254:11::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 479vk43JHvz3yPT; Sun, 10 Nov 2019 13:19:40 +0000 (UTC) (envelope-from cross@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200:0:0:0:ae25]) (authenticated bits=0) by hydra.pix.net (8.15.2/8.15.2) with ESMTPSA id xAADJUku043105 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 10 Nov 2019 08:19:38 -0500 (EST) (envelope-from cross@distal.com) Received: from westeros.distal.com (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.distal.com (8.15.2/8.15.2) with ESMTPS id xAADJRi3012681 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 10 Nov 2019 08:19:28 -0500 (EST) (envelope-from cross@westeros.distal.com) Received: (from cross@localhost) by westeros.distal.com (8.15.2/8.15.2/Submit) id xAADJR9r012680; Sun, 10 Nov 2019 08:19:27 -0500 (EST) (envelope-from cross) Date: Sun, 10 Nov 2019 08:19:27 -0500 From: Chris Ross To: freebsd-stable@freebsd.org Cc: Gary Palmer , Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: Cisco 12G SAS RAID support (FreeBSD 12.1-RELEASE) ? Message-ID: <20191110131927.GI1053@westeros.distal.com> References: <20191105183448.GE1177@westeros.distal.com> <65e90493-a038-5668-45e9-5101c52c23eb@quip.cz> <20191105201942.GF1177@westeros.distal.com> <65cd40b7-e982-496b-4876-21d352a03634@quip.cz> <20191108222816.GA76344@ambrisko.com> <20191109163853.GA1053@westeros.distal.com> <20191109164810.GA88319@in-addr.com> <20191109215138.GG1053@westeros.distal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191109215138.GG1053@westeros.distal.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mail.distal.com [IPv6:::1]); Sun, 10 Nov 2019 08:19:28 -0500 (EST) X-Rspamd-Queue-Id: 479vk43JHvz3yPT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cross@distal.com designates 2001:470:e254:11::4 as permitted sender) smtp.mailfrom=cross@distal.com X-Spamd-Result: default: False [-3.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[distal.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.30)[ip: (-3.37), ipnet: 2001:470::/32(-4.62), asn: 6939(-3.48), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 13:19:41 -0000 On Sat, Nov 09, 2019 at 04:51:38PM -0500, Chris Ross wrote: > > > Can you provide some guidance of what I need to do to get the mrsas > > > driver to identify it when booting the install ISO? > > > > See the "PRIORITY" section of > > > > https://www.freebsd.org/cgi/man.cgi?query=mrsas&sektion=4 > > > > You can also set that tunable via the loader > > Hmm. Okay. I know I was messing with that parameter on one of these > machines, I though I'd tried it on this one. But, maybe that was the > older box with the HBA in it. Alright, my bad. Apologies to all. So, it turns out that this controller is not recognized in 12.0, but is recognized by later stable-12 builds. I have another problem that prevented 12.1 from booting at all, and I tried investigating both at the same time. This caused me to confuse things. My error. Thanks to all, and this seems to be working in stable-12 in the neighborhood of Oct 2019, perhaps earlier. - Chris From owner-freebsd-stable@freebsd.org Sun Nov 10 17:53:25 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8C771BA696 for ; Sun, 10 Nov 2019 17:53:25 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [31.24.6.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47B1nw6LKFz4DFS for ; Sun, 10 Nov 2019 17:53:24 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from [2001:470:6cc4:1:1428:8616:18b0:1bbd] (helo=foula.drayhouse.twisted.org.uk) by constantine.ingresso.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iTrOl-000IbO-OI; Sun, 10 Nov 2019 17:53:15 +0000 Subject: Re: python dameon coredumps when started from boot, but not by hand To: "O'Connor, Daniel" , "Kevin P. Neal" Cc: freebsd-stable@freebsd.org, 000.fbsd@quip.cz References: <20191104151555.GB60435@neutralgood.org> <4010794E-F6C7-47DB-9746-8A6F63C957F7@dons.net.au> From: Pete French Message-ID: Date: Sun, 10 Nov 2019 17:53:15 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <4010794E-F6C7-47DB-9746-8A6F63C957F7@dons.net.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47B1nw6LKFz4DFS X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ingresso.co.uk; spf=pass (mx1.freebsd.org: domain of petefrench@ingresso.co.uk designates 31.24.6.74 as permitted sender) smtp.mailfrom=petefrench@ingresso.co.uk X-Spamd-Result: default: False [-6.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:31.24.6.74]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.26)[ip: (-9.79), ipnet: 31.24.0.0/21(-4.90), asn: 16082(-1.55), country: GB(-0.08)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[ingresso.co.uk,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16082, ipnet:31.24.0.0/21, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 17:53:25 -0000 On 04/Nov/2019 23:45, O'Connor, Daniel wrote: > This would also capture the stderr output, and should be pretty easy to shoe horn into the rc.d file. > > Nice thinking! Just picking this up again, I have tried a few things, but am unable to actually get this to work in the rc.d file, any suggestions? RC is quite clever and seems to read the hash-pling line from the script and compare it to the value set for the interpreter, so I cant simply add ktrace in front on the interpreter itself. I tried knocking up a simple wrapper script, but that didnt work too well (didnt become a daemon propely) and I am wary of chnaging too much as I want the test to be as similar to the actual bug situation as possible. ktrace generates data at a spectacular rate thoughnthough doesnt it ? :-) -pete. From owner-freebsd-stable@freebsd.org Mon Nov 11 09:24:33 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 772CD1B0266; Mon, 11 Nov 2019 09:24:33 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BQSK2cTMz3xZQ; Mon, 11 Nov 2019 09:24:33 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1129) id 5202C8661; Mon, 11 Nov 2019 09:24:33 +0000 (UTC) Date: Mon, 11 Nov 2019 09:24:33 +0000 From: Li-Wen Hsu To: freebsd-testing@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD CI Weekly Report 2019-11-10 Message-ID: <20191111092433.GA10830@freefall.freebsd.org> Reply-To: freebsd-testing@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 09:24:33 -0000 (Please send the followup to freebsd-testing@ and note Reply-To is set.) FreeBSD CI Weekly Report 2019-11-10 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-11-04 to 2019-11-10. During this period, we have: * 2331 builds (94.9% (+) passed, 5.1% () failed) of buildworld and buildkernel (GENERIC and LINT) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 267 test runs (92.1% (+) passed, 6.4% (-) unstable, 1.5% () exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 86 doc builds (100% (0) passed) Test case status (on 2019-11-10 23:59): | Branch/Architecture | Total | Pass | Fail | Skipped | | ------------------- | ---------- | ---------- | ------- | ------- | | head/amd64 | 7611 (+2) | 7543 (+2) | 0 (0) | 68 (0) | | head/i386 | 7609 (+23) | 7540 (+28) | 0 (0) | 69 (-5) | | 12-STABLE/amd64 | 7483 (0) | 7435 (-1) | 0 (0) | 48 (+1) | | 12-STABLE/i386 | 7481 (0) | 7426 (-1) | 0 (0) | 55 (+1) | | 11-STABLE/amd64 | 6849 (0) | 6802 (0) | 0 (-) | 47 (0) | | 11-STABLE/i386 | 6847 (0) | 6798 (+34) | 0 (-34) | 49 (0) | (The statistics from experimental jobs are omitted) If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below. The latest web version of this report is available at https://hackmd.io/@FreeBSD-CI/report-20191110 and archive is available at https://hackmd.io/@FreeBSD-CI/, any help is welcome. ## News * A new wiki page started at https://wiki.freebsd.org/Jenkins/Debug describes how to reproduce and debug the failing cases. It is welcomed to add more contents. * A list of "FreeBSD CI Tasks and Ideas" is keeping at https://hackmd.io/@FreeBSD-CI/freebsd-ci-todo , please contact freebsd-testing@FreeBSD.org and lwhsu@FreeBSD.org if you are interested or have new ideas. * Experimental "Hardware test lab" result is available at: https://ci.freebsd.org/hwlab/ , more hardware support is welcomed! * We are collecting information of FreeBSD in software development, for future collaboration. The wiki page is https://wiki.freebsd.org/3rdPartySoftwareCI , plese help adding more information. ## Fixed tests Tests of i386 netinet6 and netpfil were failing because a bug in scapy, fixed by bz@ and upstreaming at https://github.com/secdev/scapy/pull/2329 * sys.netpfil.pf.forward.v4 (i386 only) * sys.netpfil.pf.forward.v6 (i386 only) * sys.netpfil.pf.set_tos.v4 (i386 only) https://bugs.freebsd.org/239380 * sys.netpfil.common.forward.pf_v4 (i386 only) https://bugs.freebsd.org/240085 * sys.netpfil.common.tos.pf_tos (i386 only) https://bugs.freebsd.org/240086 * sys.netinet6.frag6.* https://bugs.freebsd.org/241493 libexecinfo tests are enabled and found that the tests needs unstripped binary, and also found that we need to enable unwind tables on !amd64. * https://bugs.freebsd.org/241562 failing test case: lib.libexecinfo.backtrace_test.backtrace_fmt_basic ## Failing and Flaky Tests (from experimental jobs) * https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/ * cddl.usr.sbin.dtrace.common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237641 * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/ * There are ~18 failing and ~97 skipped cases, including flakey ones, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details * Work for cleaning these failing cass are in progress ## Disabled Tests * sys.fs.tmpfs.mount_test.large https://bugs.freebsd.org/212862 * sys.fs.tmpfs.link_test.kqueue https://bugs.freebsd.org/213662 * sys.kqueue.libkqueue.kqueue_test.main https://bugs.freebsd.org/233586 * sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop https://bugs.freebsd.org/220841 * lib.libc.regex.exhaust_test.regcomp_too_big (i386 only) https://bugs.freebsd.org/237450 * sys.netinet.socket_afinet.socket_afinet_bind_zero (new) https://bugs.freebsd.org/238781 * sys.netpfil.pf.names.names * sys.netpfil.pf.synproxy.synproxy https://bugs.freebsd.org/238870 * sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger https://bugs.freebsd.org/239292 * sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger https://bugs.freebsd.org/239397 * sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger https://bugs.freebsd.org/239399 * sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger https://bugs.freebsd.org/239425 * lib.libc.gen.getmntinfo_test.getmntinfo_test https://bugs.freebsd.org/240049 * sys.sys.qmath_test.qdivq_s64q https://bugs.freebsd.org/240219 * sys.kern.ptrace_test.ptrace__getppid https://bugs.freebsd.org/240510 * lib.libc.sys.stat_test.stat_socket https://bugs.freebsd.org/240621 * lib.libarchive.functional_test.test_write_filter_zstd https://bugs.freebsd.org/240683 * lib.libcasper.services.cap_dns.dns_test.main https://bugs.freebsd.org/241435 * local.kyua.* (31 cases) & local.lutok.* (3 cases) on 11-i386 https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/2278/testReport/ ## Issues ### Cause build fails * https://bugs.freebsd.org/233735 Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory * https://bugs.freebsd.org/233769 Possible build race: ld: error: unable to find library -lgcc_s ### Cause kernel panics * https://bugs.freebsd.org/238870 sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic Patch exists: * https://reviews.freebsd.org/D20868 * https://reviews.freebsd.org/D20869 ### Open * https://bugs.freebsd.org/237403 Tests in sys/opencrypto should be converted to Python3 * https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded * https://bugs.freebsd.org/239292 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger * https://bugs.freebsd.org/239380 sys.netpfil.pf.forward.{v4,v6} and sys.netpfil.pf.set_tos.v4 fail on i386 * https://bugs.freebsd.org/239397 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger * https://bugs.freebsd.org/239399 Flakey test case: sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger * https://bugs.freebsd.org/239425 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger * https://bugs.freebsd.org/241662 Flakey test case: lib.libarchive.functional_test.test_fuzz_iso9660 ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg) From owner-freebsd-stable@freebsd.org Tue Nov 12 08:30:29 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B391317D902 for ; Tue, 12 Nov 2019 08:30:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47C1CS6dVsz4GRv for ; Tue, 12 Nov 2019 08:30:28 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id E1DBA17D901; Tue, 12 Nov 2019 08:30:28 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E078E17D900 for ; Tue, 12 Nov 2019 08:30:28 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C1CQ5htzz4GRt for ; Tue, 12 Nov 2019 08:30:26 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=wLdo4ktANTm2QuSK0O3ofxvBktNgWK0dw6z2ZuaIU6Y=; b=JJ5G/66mkro49r2Qud0GnRF2zCeoehnKR7mvvIiUgLWtuPJBBAvKT3oTJhdTciOTD3eDMd3T+Lb8wu6cyTlTkw3f2se5wuOAHVw4qrBByPyyOMPbarZuZ0REjb5W4pxUrUGBeSCY0w/q387NNrbJMd1pBDDF5lA6DHlZBqqXFvvxEjHKr2DfsUC0SsHox8LafrPQKbipZYYCFe2GQNHaeJTQnRlkmICkclHQD/zESuxGay6n4CqjVFgd6hewOMiXi8JQsVcCIx0KL6vYR/RNsi2KMPFjMYYn55RJFtrJCAva5/Cw+3Rx23f9IwE22nVSFpWtrcYjbEJrNjROompJ0w==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1iURZ8-000PqP-0L for stable@freebsd.org; Tue, 12 Nov 2019 10:30:22 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: linker.hints not being update for ARMs Message-Id: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> Date: Tue, 12 Nov 2019 10:30:21 +0200 To: stable@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 47C1CQ5htzz4GRt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=JJ5G/66m; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.42)[ip: (-0.54), ipnet: 132.64.0.0/13(-0.89), asn: 378(-0.71), country: IL(0.05)]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 08:30:29 -0000 hi, well, at least for allwinner, even running /etc/rc.d/kldxref has no = effect, I noticed this when trying out a wifi dongle,=20 ... Starting devd. Autoloading module: if_rtwn_usb.ko warning: KLD '/boot/kernel/wlan.ko' is newer than the = linker.hints file warning: KLD '/boot/kernel/rtwn.ko' is newer than the = linker.hints file =E2=80=A6 the link.hints is indeed very old : neo-000# ls -ls /boot/kernel/linker.hints=20 224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 = /boot/kernel/linker.hints and strangely, other modules loaded did not complain. how can this be fixed? thanks, danny= From owner-freebsd-stable@freebsd.org Tue Nov 12 09:07:53 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 796BD17EEEA for ; Tue, 12 Nov 2019 09:07:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47C22d20jyz4JG6 for ; Tue, 12 Nov 2019 09:07:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 4286B17EEE9; Tue, 12 Nov 2019 09:07:53 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4103717EEE8 for ; Tue, 12 Nov 2019 09:07:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C22c2c6Gz4JG5 for ; Tue, 12 Nov 2019 09:07:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=Message-Id:In-Reply-To:To:References:Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=0fj26YRDWyX4Hk4T1BDs8iNc4cZWHytt/PdL6HHdKzc=; b=fA/fzG7N44WBkjaFhHSsiuOcXIJAgeyWZVGuuuZ3oJnhrobVQcz/GS76W625ZDKfM+zV42gUaBaqnCBZseb7SnDc4RN29eSxO0m11137elcmcNCTVgEAjLIFPvaUmdpYvH6KEi85hTFeNUiGI+Vp7xMJUAd7F75PTqMMMVVBnOPRvPPc/xKmDcgcGgDWVdyjZJy/Egf/DvKVDlJ5QnzbPG5X3fcNGDYnO7IC25rCJt3TFLmrpQj557Qv4fSBxfdGk4TY4vKTx4hnEDA5mviJts8zjOstMlNHyk5bOno3oHUl338maIj96O0pQlQ+3GCCNGSPtyBPqNUnmKY+0tSsgA==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1iUS9N-0003nq-Rn for stable@freebsd.org; Tue, 12 Nov 2019 11:07:49 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: linker.hints not being update for ARMs Date: Tue, 12 Nov 2019 11:07:49 +0200 References: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> To: stable@freebsd.org In-Reply-To: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> Message-Id: <15CFB461-372C-4631-8A4D-C88C98E07BB8@cs.huji.ac.il> X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 47C22c2c6Gz4JG5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=fA/fzG7N; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.59)[ip: (-1.04), ipnet: 132.64.0.0/13(-1.09), asn: 378(-0.88), country: IL(0.05)]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 09:07:53 -0000 > On 12 Nov 2019, at 10:30, Daniel Braniss wrote: >=20 > hi, > well, at least for allwinner, even running /etc/rc.d/kldxref has no = effect, > I noticed this when trying out a wifi dongle,=20 > ... > Starting devd. > Autoloading module: if_rtwn_usb.ko > warning: KLD '/boot/kernel/wlan.ko' is newer than the = linker.hints file > warning: KLD '/boot/kernel/rtwn.ko' is newer than the = linker.hints file > =E2=80=A6 >=20 > the link.hints is indeed very old : > neo-000# ls -ls /boot/kernel/linker.hints=20 > 224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 = /boot/kernel/linker.hints >=20 > and strangely, other modules loaded did not complain. >=20 > how can this be fixed? by removing the old file :-) >=20 > thanks, > danny > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@freebsd.org Tue Nov 12 09:33:35 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85A6217F673 for ; Tue, 12 Nov 2019 09:33:35 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47C2cH2Jrrz4KLw for ; Tue, 12 Nov 2019 09:33:35 +0000 (UTC) (envelope-from peter@rulingia.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4EEEF17F671; Tue, 12 Nov 2019 09:33:35 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EB1A17F670 for ; Tue, 12 Nov 2019 09:33:35 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C2cG3QRYz4KLv for ; Tue, 12 Nov 2019 09:33:33 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id xAC9X227031160 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Nov 2019 20:33:07 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id xAC9WuVh096938 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 Nov 2019 20:32:56 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id xAC9WuLN096937; Tue, 12 Nov 2019 20:32:56 +1100 (AEDT) (envelope-from peter) Date: Tue, 12 Nov 2019 20:32:56 +1100 From: Peter Jeremy To: Daniel Braniss Cc: stable@freebsd.org Subject: Re: linker.hints not being update for ARMs Message-ID: <20191112093256.GD50716@server.rulingia.com> References: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47C2cG3QRYz4KLv X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of peter@rulingia.com designates 2001:19f0:5801:ebe:5400:1ff:fe53:30fd as permitted sender) smtp.mailfrom=peter@rulingia.com X-Spamd-Result: default: False [-7.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[rulingia.com]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-3.32)[ip: (-9.91), ipnet: 2001:19f0:5800::/38(-4.95), asn: 20473(-1.67), country: US(-0.05)] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 09:33:35 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Nov-12 10:30:21 +0200, Daniel Braniss wrote: > warning: KLD '/boot/kernel/wlan.ko' is newer than the linker.hints file > warning: KLD '/boot/kernel/rtwn.ko' is newer than the linker.hints file =2E.. >the link.hints is indeed very old : >neo-000# ls -ls /boot/kernel/linker.hints=20 >224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 /boot/kernel/linker.hin= ts Well, that's a nonsense timestamp because FreeBSD didn't support AllWinner in 2010. My guess is that your system clock was wrong. >how can this be fixed? Try rerunning kldxref (with the clock set correctly). --=20 Peter Jeremy --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl3KfDpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQknBAAgFMjLZ25fxJh99wYJt6xNxNb8GsFoZH+WbrGS3XMNb3E7cy2B8BSN+q+ 1zwKtB88jhtm4zHOU2q6sNl8GzKrabnBAwbJlokvBRmUsRs7L1h99RZPzPjeWREi 5XyBb9JuUFtsZmusQxmmVq5VLHtWSKrFZRfPDC1REbRIQwvNSIZp8GZkseIuptgV QDcK/+QN9BZSxfpEWbBce6lbE2AequMBDXYlrctduYNNnRyIlr6anUIlYsIF6D/+ jVV9PiRBkjMEgzTPS+V9dmQk4ZdrDPGjd85e0i8l43TkyfLBcKci7YfwyVNuwMLR OUPXIdbjDNVQdanaj6RaAHCfh1PZTqH73K3kMmzoz+0ysAkW0xpySOk+eIZ3PqOU E4JYMtpGroFji7xXVPdNmdbd0SbytFBT/nTdbx/4z3e9r70ls4GhWO5ow7L9EKoA iDAkBn1RQp9TxKd9h5y5zbqdcVKLykLl3c/XhlaCcl/Nb/cfe8sag/F7U/tl7Nbe DDXAHPi+tIDe4EbS2RsM3BV0P2LFTA9qcHurDY/NGfQnxN78qdYNGREIG7pkWxJP 8lNniiI5bmIvNCOyWUCh1MeGFTJu/3RhPRFjdiCU/DpknonN/ZbB4rEDguvfw9xp UeW/A2Uqznl13OZVac7VJFrrmgczzKrEAiiLIc/FGmxzumMrka0= =R/fO -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1-- From owner-freebsd-stable@freebsd.org Tue Nov 12 10:03:53 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDD441A86D0 for ; Tue, 12 Nov 2019 10:03:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47C3HD4LDpz4M6F for ; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 94E311A86CF; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94A091A86CE for ; Tue, 12 Nov 2019 10:03:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C3HC6QVSz4M6D for ; Tue, 12 Nov 2019 10:03:51 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=ctZ0P9X7e15gT2XZunBTu8e79AKvMCeIrhoIFK0bD6M=; b=1XeowzhdiTBMBW1a2WsXZT4ntwc4prmgybqMvZUzdfT50+gPGsmNbcVs3KUcM3fnNHQI9Kr3ofRopsF1VO8xKPNoact6sw7q3g4QU/t3TNQuSwrkgXEHw/WQgzL6msVk8hNyKEL4rXK3e5eqhWLjzLI4mpkwIGpyIo/rrSV2a3IHtzUKjwPLYOy2t2LyddBEnQZJktzkNsN2R/AjE5QQUDFGAL2HJbZYWQa1NMLlAoXEsgeookWJbx2Rst0t0MfbJG3h2D4No93GH0DLHFOIsQ9cK5aPxR19k9682HVhEVCaO0ThAXPT78pTSNKNHnPRPof4HroXXlaaeQfbvtwg/g==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1iUT1Y-0007xK-T6; Tue, 12 Nov 2019 12:03:49 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: linker.hints not being update for ARMs From: Daniel Braniss In-Reply-To: <20191112093256.GD50716@server.rulingia.com> Date: Tue, 12 Nov 2019 12:03:48 +0200 Cc: stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> <20191112093256.GD50716@server.rulingia.com> To: Peter Jeremy X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 47C3HC6QVSz4M6D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=1Xeowzhd; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.76)[ip: (-1.51), ipnet: 132.64.0.0/13(-1.29), asn: 378(-1.03), country: IL(0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 10:03:53 -0000 > On 12 Nov 2019, at 11:32, Peter Jeremy wrote: >=20 > On 2019-Nov-12 10:30:21 +0200, Daniel Braniss = wrote: >> warning: KLD '/boot/kernel/wlan.ko' is newer than the = linker.hints file >> warning: KLD '/boot/kernel/rtwn.ko' is newer than the = linker.hints file > ... >> the link.hints is indeed very old : >> neo-000# ls -ls /boot/kernel/linker.hints=20 >> 224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 = /boot/kernel/linker.hints >=20 > Well, that's a nonsense timestamp because FreeBSD didn't support = AllWinner > in 2010. My guess is that your system clock was wrong. >=20 >> how can this be fixed? >=20 > Try rerunning kldxref (with the clock set correctly). the file is created before the date gets updated! it seems that on allwinner epoch is 1st of Jan 2010! (after a power = cycle) so =E2=80=98kldxref=E2=80=99 runs but the time stamp is wrong, probably touch /boot/kernel/linker.hints after the clock is corrected = solves the problem thanks, danny >=20 > --=20 > Peter Jeremy From owner-freebsd-stable@freebsd.org Tue Nov 12 18:05:07 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D49051B41E9 for ; Tue, 12 Nov 2019 18:05:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47CFyW0fJQz3MN5 for ; Tue, 12 Nov 2019 18:05:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 147161B41E7; Tue, 12 Nov 2019 18:05:07 +0000 (UTC) Delivered-To: stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 143611B41E6 for ; Tue, 12 Nov 2019 18:05:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47CFyV6QLNz3MN4; Tue, 12 Nov 2019 18:05:06 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=X2g3LGkX6CsY3EU5VZGWjiqapxgMenuRf75HYDA0oYE=; b=CkSyp5ozcZHANkirL+6IKW792msnWLhBAWtusw0ZQ3wua294Wsrkd3e4uAldrxOiQ2GziJ0R9JuI1KZWpq0kegGPp3cNPfHuG+Ap16CoKtqsTOKI6AXLU3WeHbudE1Ggx6pJfaFh76Uu0QJ09MDVydcoqn9bmeolZ8HrJXrjfRFMrEnfxJPlTKnDkElLLHrnho/E7nUNcVntCRTCeiWnZXAW6CgfuPwaxEY3uSK+6ZZgpzEousDhmh4uMoXq8Wx3ONKraAj247GaPTqAD0ES4nZNfEpVHAQ4lQOWvYdhQtIcb2HYmhjw2Smn2ipmo7YOAqktwZv3tOlMrcUS4VKJeg==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1iUaXH-000Lmn-Kc; Tue, 12 Nov 2019 20:05:03 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: linker.hints not being update for ARMs From: Daniel Braniss In-Reply-To: Date: Tue, 12 Nov 2019 20:05:03 +0200 Cc: Peter Jeremy , stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6F633E65-1359-4B57-9B47-18AD593C2612@cs.huji.ac.il> References: <7AB987DF-4A11-4948-BE55-04A2E2A3B8FD@cs.huji.ac.il> <20191112093256.GD50716@server.rulingia.com> To: Ian Lepore X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47CFyV6QLNz3MN4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 18:05:07 -0000 > On 12 Nov 2019, at 18:41, Ian Lepore wrote: >=20 > On Tue, 2019-11-12 at 12:03 +0200, Daniel Braniss wrote: >>> On 12 Nov 2019, at 11:32, Peter Jeremy wrote: >>>=20 >>> On 2019-Nov-12 10:30:21 +0200, Daniel Braniss >>> wrote: >>>> warning: KLD '/boot/kernel/wlan.ko' is newer than the >>>> linker.hints file >>>> warning: KLD '/boot/kernel/rtwn.ko' is newer than the >>>> linker.hints file >>>=20 >>> ... >>>> the link.hints is indeed very old : >>>> neo-000# ls -ls /boot/kernel/linker.hints=20 >>>> 224 -rw-r--r-- 1 root wheel 228972 Jan 1 2010 >>>> /boot/kernel/linker.hints >>>=20 >>> Well, that's a nonsense timestamp because FreeBSD didn't support >>> AllWinner >>> in 2010. My guess is that your system clock was wrong. >>>=20 >>>> how can this be fixed? >>>=20 >>> Try rerunning kldxref (with the clock set correctly). >>=20 >> the file is created before the date gets updated! >> it seems that on allwinner epoch is 1st of Jan 2010! (after a power >> cycle) >> so =E2=80=98kldxref=E2=80=99 runs but the time stamp is wrong, >> probably touch /boot/kernel/linker.hints after the clock is corrected >> solves the problem >>=20 >> thanks, >> danny >>=20 >=20 > There doesn't appear to be anything date-sensitive about creating the > xref files. If there is no file in a given directory that contains > modules, the file is created. It's also created if you've set > kldxref_clobber=3DYES in rc.conf (it will rebuild on every boot).=20 > Otherwise if an xref file exists, no work is done. >=20 > Since a normal installkernel renames the old directory then populates = a > clean new directory, there's no need for dates to be involved=E2=80=A6 I=E2=80=99m cross building and in the arm case no file is created (I did = the same for amd64 an one was created) > the > first boot after installing a new kernel should see no xref file and > build one. If you do something like hand-install just the kernel or > just an updated module, then the file won't get rebuilt. >=20 > I've always wished that "service kldxref restart" would just force- > rebuild the files. I have kldxref_enable=3Dyes so it got rebuild the first time after a power cycle it got created with = an old date, a reboot did not help since i didn=E2=80=99t know about the clobber = stuff. >=20 > Even better, if we could make kldxref usable as a cross-tool, the = xrefs > could be generated during a crossbuild rather than on firstboot. I thought this was too tricky, in any case it is rather fast to = re-create it, so i guess the clobber stuff should work, In any case the modules where loaded, so the complain was just that, a warning. danny >=20 > -- Ian >=20 >=20 From owner-freebsd-stable@freebsd.org Tue Nov 12 18:52:11 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 926A81B5A49 for ; Tue, 12 Nov 2019 18:52:11 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [31.24.6.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47CH0p4hgRz3QYr for ; Tue, 12 Nov 2019 18:52:10 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from [2001:470:6cc4:1:a146:8ba7:37cc:9d20] (helo=foula.drayhouse.twisted.org.uk) by constantine.ingresso.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iUbGj-000E5d-GC; Tue, 12 Nov 2019 18:52:01 +0000 Subject: Re: python dameon coredumps when started from boot, but not by hand To: "Kevin P. Neal" Cc: "O'Connor, Daniel" , freebsd-stable@freebsd.org, 000.fbsd@quip.cz References: <20191104151555.GB60435@neutralgood.org> <4010794E-F6C7-47DB-9746-8A6F63C957F7@dons.net.au> <20191110222026.GA9641@neutralgood.org> From: Pete French Message-ID: <495b3478-a6af-5786-7ee8-730b497c4f11@ingresso.co.uk> Date: Tue, 12 Nov 2019 18:52:03 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191110222026.GA9641@neutralgood.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CH0p4hgRz3QYr X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ingresso.co.uk; spf=pass (mx1.freebsd.org: domain of petefrench@ingresso.co.uk designates 31.24.6.74 as permitted sender) smtp.mailfrom=petefrench@ingresso.co.uk X-Spamd-Result: default: False [-6.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:31.24.6.74]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.28)[ip: (-9.80), ipnet: 31.24.0.0/21(-4.90), asn: 16082(-1.62), country: GB(-0.08)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[ingresso.co.uk,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16082, ipnet:31.24.0.0/21, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 18:52:11 -0000 On 10/Nov/2019 22:20, Kevin P. Neal wrote: > The rc script must have a function that starts the python program, right? Actually, no. It just looks like this: #!/bin/sh # PROVIDE: waagent # REQUIRE: sshd netif dhclient # KEYWORD: nojail . /etc/rc.subr PATH=$PATH:/usr/local/bin:/usr/local/sbin name="waagent" rcvar="waagent_enable" pidfile="/var/run/waagent.pid" command="/usr/local/sbin/${name}" command_interpreter="python" command_args="start" load_rc_config $name run_rc_command "$1" Which is why I have been jumping through some annoying hoops to try and get this to work :-) Must admit I havent had the time to devote to it properly yet, as I thought it would be relatively simple to do, but the simple ways I tried didn't work. -pete. From owner-freebsd-stable@freebsd.org Wed Nov 13 06:11:58 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4415517F0E0 for ; Wed, 13 Nov 2019 06:11:58 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CZ591jHJz4bGS; Wed, 13 Nov 2019 06:11:56 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pl1-x643.google.com with SMTP id s10so621810plp.2; Tue, 12 Nov 2019 22:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SvGvgPzNe8Hqryd+rmiP7T/Z0HKiOYigOZl+6iNeDBw=; b=pVpFOJTWsI3ncjGEZ+3ZMHCj7O9B7iEXAjQm4ZpCzrVsYvzjqV7pFyI8pSlP2sw0l1 nvX2GD+ss4BjgQhBsD/MWARAipC79QOXPbLkvPVmBJ06tUTCBbHwmtAsif/ZtFtul73E J9tqYERIj2G8cWSeSCDVB2OlEu/bA0RY5wFy3s5qXoY5NYoftIwfgOyAyIMhlOZzJrtP ODS4lvb7KmJitCc1FGbc2Ive+86QBTaUP4REsTemKB/jogfRO2GiUfuJ0D3+ttX7+2U/ p5n+qvPKT2K4CrdaqHerM7TYeIezpOKgX7tceZW4HMx2lPMEAhFwc8ebPBUSq8E83NG/ TJUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=SvGvgPzNe8Hqryd+rmiP7T/Z0HKiOYigOZl+6iNeDBw=; b=ozwcbqnhmvJlSUuD2sDXa9ouISnZz510xL6p89vpI+JDcxxRr2qFcJaopDFP0l5ggz Icl2md8j4VyxUZ6KQ83frIXZV+LQUVouJVmNoNukmmA75M6YV1+J/3WsjmUxMyxYedrM RG1HBhWzW9CnihmM3TMJykszQd3kWCgcshWzxruOdou+rNBDx2Vy2mima+p0O4PwRaoC lHZ7M0YRAmfRESZXOvE8aKlr8WNRDWYds7pyfJjOf+YLWFUrN4Oy+qXqgwJ9mbYdjZMC +L4d9W3IQj500jsCf/xSmrw/HCVLpY3TiUOJPRqmcSl662KdHJypYA/TCZNxccELPNlC je6g== X-Gm-Message-State: APjAAAUwuJ2WuWYCJBtzJEF9fUqSoBQyoOx2b6om482jHZhyJFIUdXLD G3p8Vny8wt9RSxTS8stwBUYuD5kI X-Google-Smtp-Source: APXvYqzo6Y5Y6vV9avpziRLYot19apONXZgQ4UCLreEyEdmeIPwOk5DqPyggTB/HnqwnzPZhiyrIpw== X-Received: by 2002:a17:902:b681:: with SMTP id c1mr1945872pls.202.1573625515301; Tue, 12 Nov 2019 22:11:55 -0800 (PST) Received: from [192.168.1.110] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id w2sm1284991pfj.22.2019.11.12.22.11.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Nov 2019 22:11:54 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: syslogd truncating messages on FreeBSD >11.2-R To: Scott , FreeBSD stable References: <20191109030811.GA64882@thismonkey.com> Cc: Ed Schouten From: Kubilay Kocak Message-ID: <5265db9a-2eb2-6911-350a-aa1ed808da59@FreeBSD.org> Date: Wed, 13 Nov 2019 17:11:51 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Thunderbird/71.0 MIME-Version: 1.0 In-Reply-To: <20191109030811.GA64882@thismonkey.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CZ591jHJz4bGS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pVpFOJTW; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::643 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-3.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; IP_SCORE(-1.00)[ip: (-0.64), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-2.00), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 06:11:58 -0000 On 9/11/2019 2:08 pm, Scott wrote: > Hi, > > please let me know if there is a better forum for this. > > As of 11.3-RELEASE syslogd truncates all forwarded messages to 480 bytes for > IPV4 and 1180 for IPv6. > > The change occurs in the added code: > > switch (f->f_type) { > case F_FORW: > /* Truncate messages to RFC 5426 recommended size. */ > dprintf(" %s", f->fu_forw_hname); > switch (f->fu_forw_addr->ai_addr->sa_family) { > #ifdef INET > case AF_INET: > dprintf(":%d\n", > ntohs(satosin(f->fu_forw_addr->ai_addr)->sin_port)); > iovlist_truncate(il, 480); > break; > #endif > > There's more code for IPv6 and the function iovlist_truncate itself. > > This change is not turned on by a switch and happens automatically, however I > can't find it documented in UPDATING or the release notes. I would have > thought that any change in default behaviour of the system should at least be > documented. > > Ideally this change would have been implemented via a switch given that the > RFC mentioned in the code (RFC 5426) does not mandate truncation, but > recommends it when the network MTU is not known. > > What's the best way to reach out to the maintainer to suggest a switch to > turn on this code? > > Thanks, > Scott Hi Scott, Looks like this came in in base r332510 [1] via: https://reviews.freebsd.org/D15011 The commit log message and review history may provide additional context for the behaviour change (I haven't reviewed them) I have CC'd the committer on this email, but in the meantime, and if you wouldn't mind, it is worth reporting the issue via Bugzilla, so that we track it, and so others can find it. [1] https://svnweb.freebsd.org/changeset/base/332510 -- Regards, koobs From owner-freebsd-stable@freebsd.org Wed Nov 13 08:21:32 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 961D61AA485 for ; Wed, 13 Nov 2019 08:21:32 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [220.244.217.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Ccyd20qcz3FVR; Wed, 13 Nov 2019 08:21:28 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mail-01.thismonkey.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thismonkey.com; s=mail-01; t=1573633276; bh=GJr0uG7z3Ni0rDJ5ps95vcrnfzzYBfLLEeLDAXAAuQU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=CtOfcLfI7isilSGaOYHHVJ5Wa+YiYWilfAvULIu3CuTBSn4hSY5aViyCRo1ngER0A Z7IOLOtSpwSH9Nyy3N13zyrncNWRlGq4HCB/f3JjUMnU/0ZEdB/TIL8LizT4JzWNle 3Op5fMoTCCfmcRE5BOumSY0JQ50AcQZOhxdPLICQ= Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [10.1.1.32]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id xAD8LFQl032892 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2019 19:21:16 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id xAD8LFPt076688; Wed, 13 Nov 2019 19:21:15 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.15.2/8.15.2/Submit) id xAD8LEhj076665; Wed, 13 Nov 2019 19:21:14 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Wed, 13 Nov 2019 19:21:14 +1100 From: Scott To: Kubilay Kocak Cc: FreeBSD stable , Ed Schouten Subject: Re: syslogd truncating messages on FreeBSD >11.2-R Message-ID: <20191113082114.GA75711@thismonkey.com> Mail-Followup-To: Kubilay Kocak , FreeBSD stable , Ed Schouten References: <20191109030811.GA64882@thismonkey.com> <5265db9a-2eb2-6911-350a-aa1ed808da59@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5265db9a-2eb2-6911-350a-aa1ed808da59@FreeBSD.org> User-Agent: Mutt/1.11.4 (2019-03-13) X-Greylist: inspected by milter-greylist-4.6.2 (mail-01.thismonkey.com [10.1.2.50]); Wed, 13 Nov 2019 19:21:16 +1100 (EST) for IP:'10.1.1.32' DOMAIN:'utility-01.thismonkey.com' HELO:'utility-01.thismonkey.com' FROM:'freebsd-lists-5@thismonkey.com' RCPT:'' SPF:' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mail-01.thismonkey.com [10.1.2.50]); Wed, 13 Nov 2019 19:21:16 +1100 (EST) X-Rspamd-Queue-Id: 47Ccyd20qcz3FVR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=thismonkey.com header.s=mail-01 header.b=CtOfcLfI; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 220.244.217.216 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; R_DKIM_ALLOW(-0.20)[thismonkey.com:s=mail-01]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.19)[asn: 7545(0.96), country: AU(0.00)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[thismonkey.com:+]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7545, ipnet:220.244.217.0/24, country:AU]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 08:21:32 -0000 Thanks all. Scott On Wed, Nov 13, 2019 at 05:11:51PM +1100, Kubilay Kocak wrote: > On 9/11/2019 2:08 pm, Scott wrote: > > Hi, > > > > please let me know if there is a better forum for this. > > > > As of 11.3-RELEASE syslogd truncates all forwarded messages to 480 bytes for > > IPV4 and 1180 for IPv6. > > > > The change occurs in the added code: > > > > switch (f->f_type) { > > case F_FORW: > > /* Truncate messages to RFC 5426 recommended size. */ > > dprintf(" %s", f->fu_forw_hname); > > switch (f->fu_forw_addr->ai_addr->sa_family) { > > #ifdef INET > > case AF_INET: > > dprintf(":%d\n", > > ntohs(satosin(f->fu_forw_addr->ai_addr)->sin_port)); > > iovlist_truncate(il, 480); > > break; > > #endif > > > > There's more code for IPv6 and the function iovlist_truncate itself. > > > > This change is not turned on by a switch and happens automatically, however I > > can't find it documented in UPDATING or the release notes. I would have > > thought that any change in default behaviour of the system should at least be > > documented. > > > > Ideally this change would have been implemented via a switch given that the > > RFC mentioned in the code (RFC 5426) does not mandate truncation, but > > recommends it when the network MTU is not known. > > > > What's the best way to reach out to the maintainer to suggest a switch to > > turn on this code? > > > > Thanks, > > Scott > > > Hi Scott, > > Looks like this came in in base r332510 [1] via: > > https://reviews.freebsd.org/D15011 > > The commit log message and review history may provide additional context > for the behaviour change (I haven't reviewed them) > > I have CC'd the committer on this email, but in the meantime, and if you > wouldn't mind, it is worth reporting the issue via Bugzilla, so that we > track it, and so others can find it. > > [1] https://svnweb.freebsd.org/changeset/base/332510 > > -- > Regards, > > koobs > > > From owner-freebsd-stable@freebsd.org Wed Nov 13 18:34:50 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1E2E1B7E0B for ; Wed, 13 Nov 2019 18:34:50 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CtZK6LZgz4MZK for ; Wed, 13 Nov 2019 18:34:49 +0000 (UTC) (envelope-from theron.tarigo@gmail.com) Received: by mail-qk1-x72a.google.com with SMTP id z16so2644987qkg.7 for ; Wed, 13 Nov 2019 10:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=vaAVznKzLrYcw+HCbxYCqRRANhTB6FbgnVqtncFgiTI=; b=BhyxAg597bxl2tFzswH6yDOANEyaUAsGhfT5d431VvbGe7qlbzIJCpW5H7O6WmGdXT cfmXQ8MSp1BneKMacbyafPp0EEfE+ne3I5N1Kx+dZRYmFx6tBCfkuhBDON32l1loOA7s L5iYCZewHcZw3qW+pFwjGXdaBrKBUUkDO86uuus+69kh6gxkgwHfwOdG4sLhJicALHVM rqi5nAM9diFtLN34f+vIf0Sd6AgpYI/pM+d2I0EczOh6vbBQZ1SsgYW9zKFCtSxEvoq7 IcUm+i4Jbv9fwDkblJgASQ5nk1hy8s6A5VfYnzn9gWHc7y6Lgb8J4N+sB5zrw3b1q7pJ nbKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-transfer-encoding:content-language; bh=vaAVznKzLrYcw+HCbxYCqRRANhTB6FbgnVqtncFgiTI=; b=K0xtN+ATC2IZbYvkRwtX+0h/vCrJnwm2SlobssMPDa3Xgg4cAWVeSv+T3AH47oeUqp CtuSKIh8wkv+v2hFw8e1PzWGgUZt1YgZSJJFZS64H6j3OrqxqP6GEwKR240aPoUcQiXe iX3v+FNZqnl6gs93vs3368LeXVeFF4HC76jj4TxgdgYtJC7UjwhfQ9TM2mGjih2Ex5fV 667HMoPDiSnjDnHRYtU8Q1XhQ+T/X/k5++NkxrzkFMeJc/szn5Xinf3XzaMLiOS4pmw+ 7dJIy6ajXgBGFlsP6m6vPyxyWbNTQqMiwj73UCDdmKgBt52MJULbG/XAIyruUYF5L5lP 1LIw== X-Gm-Message-State: APjAAAWXHWzSK2/iamzkGOf83jG/YjwapBfmMFdv/rzg9WOWekmwVXOV 0AF2SWLEG5AWxtZA7lkCh77mG5J5 X-Google-Smtp-Source: APXvYqxXAdSRMDG5sC1sNOcRV8nI20+zSMV/j3gmTo+LqXwnb5RabpJPPcPetQ3YzvFC4VSJwufScQ== X-Received: by 2002:a37:582:: with SMTP id 124mr3991098qkf.396.1573670087422; Wed, 13 Nov 2019 10:34:47 -0800 (PST) Received: from [155.41.4.146] (dhcp-wifi-8021x-155-41-4-146.bu.edu. [155.41.4.146]) by smtp.gmail.com with ESMTPSA id z7sm1921583qth.85.2019.11.13.10.34.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2019 10:34:46 -0800 (PST) Sender: Theron Tarigo To: freebsd-stable@freebsd.org From: Theron Subject: NVMe timeout / aborting outstanding i/o (again) Message-ID: Date: Wed, 13 Nov 2019 13:34:45 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 47CtZK6LZgz4MZK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BhyxAg59; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of therontarigo@gmail.com designates 2607:f8b0:4864:20::72a as permitted sender) smtp.mailfrom=therontarigo@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.33), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-1.99), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[a.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 18:34:50 -0000 With latest 12.1-STABLE (r354687), I have file access 30 second hang problem again when resuming from suspend, with dmesg: nvme0: Resetting controller due to a timeout. nvme0: resetting controller nvme0: aborting outstanding i/o nvme0: aborting outstanding i/o (...) nvme0: aborting outstanding i/o nvme0: aborting outstanding i/o nvme0: nvme0: aborting outstanding i/o async event occurred (type 0x0, info 0x00, page 0x01) nvme0: aborting outstanding i/o nvme0: aborting outstanding i/o (...) I thought this was fixed with r351914 "MFC r351747: Implement nvme suspend / resume for pci attachment." Latest change, r354074 "MFC r352630: Make nvme(4) driver some more NUMA aware.", looks suspicious, I'll test before vs. after that change when I can. Is anyone else seeing this? Theron Tarigo From owner-freebsd-stable@freebsd.org Wed Nov 13 18:41:35 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0AC61B831A for ; Wed, 13 Nov 2019 18:41:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Ctk61Stbz4P07 for ; Wed, 13 Nov 2019 18:41:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x842.google.com with SMTP id o3so3684509qtj.8 for ; Wed, 13 Nov 2019 10:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cXS0zB+IPcPPtJtyjKAqVcdaGr+zUEOgTIP9hG7PsdE=; b=uCxyTD+A9WOtuzuD8vGfMFB5wbAhfnvOuIkWPu4N8YkGown1dQ0N9g0qTvEKcNMowg WtnjTigKBO7L7yaBgAHWv3L0gBI0/e+LhfzrhiJSxSw57t6G7e+tlRrRjm+FG3ZUnu+s ma3gi5B0axAg1OCa2iVNX465Vpb3emk6UY58ARGWLDutdNWrmuLY1nj33zAR4bHVFdcJ 8mihO5PlMRgsf621ercpZF+SkApQ1xISu/0nj1HSOfLR+PTi0ZU1NF6ADrfMplJHyk23 T+AnYoB5pB40W7S9i15qgtwhEFsDRmEqOxLE7Kzx5mjc4fJczIAxYHxnZWN1iaROz5bt gJOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cXS0zB+IPcPPtJtyjKAqVcdaGr+zUEOgTIP9hG7PsdE=; b=MrCGMrvDqr55hjJahgFm68ujQYluWSqj684UCUqGuqLj2heBFPZu1vhW8lUxqSsbk9 eryeuVXB1IdWNICRfhVx9PeMrFAwHgZS7s7KpY/pw0Wfu160l/YPY8DHp3K7jQ01BKG+ 5BVYMon1Eez8G8fvWCUX3Jh65JRbtPy0IFNw/DoW7WctoL/wuzGuP8TwZw41jHyVBxlE Xukp1/SOxH9YVm7jHbuVJbkMwIOerHF/1kUIeVh1QB8DO+nboDGs/7urs8BvdxkpMopi AMAfXGpO4VONO0kVogfU/n1jT+LeMX36cLOiIe1nSNWQifpKcNzNedShaNFMwpScE/I7 zCnw== X-Gm-Message-State: APjAAAWWgOGAjNgtR3rubvR2S4Tpe/0Ncfoe1H9UQOiFYIYN3IEak93E OmAqR2V14+e+HEtPxrGp4SjnHbKWytfzcK8Qc5e11A== X-Google-Smtp-Source: APXvYqxcSd63AV4sBUZFroluoLl6DPxn7UO7EERBDdNPDX1zjWE+6F5CKlyZVJB6Y0RbvyMyoG2vTuCklDDE0/VCmMc= X-Received: by 2002:ac8:6697:: with SMTP id d23mr3956012qtp.32.1573670492673; Wed, 13 Nov 2019 10:41:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 13 Nov 2019 11:41:21 -0700 Message-ID: Subject: Re: NVMe timeout / aborting outstanding i/o (again) To: Theron Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 47Ctk61Stbz4P07 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=uCxyTD+A; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::842) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.44)[ip: (2.18), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-1.99), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 18:41:36 -0000 On Wed, Nov 13, 2019 at 11:34 AM Theron wrote: > With latest 12.1-STABLE (r354687), I have file access 30 second hang > problem again when resuming from suspend, with dmesg: > > nvme0: Resetting controller due to a timeout. > nvme0: resetting controller > nvme0: aborting outstanding i/o > nvme0: aborting outstanding i/o > (...) > nvme0: aborting outstanding i/o > nvme0: aborting outstanding i/o > nvme0: nvme0: aborting outstanding i/o > async event occurred (type 0x0, info 0x00, page 0x01) > nvme0: aborting outstanding i/o > nvme0: aborting outstanding i/o > (...) > > I thought this was fixed with r351914 "MFC r351747: Implement nvme > suspend / resume for pci attachment." > There are three causes of timeouts this fixed: First, a prior MFC fixed a missed interrupt due to some difference in how some drives implemented read modify write of the MSI registers. Second, during suspend, we weren't properly shutting down the controller. Finally, there was a restoration of the controller that might have had power removed issue the commit also fixed. > Latest change, r354074 "MFC r352630: Make nvme(4) driver some more NUMA > aware.", looks suspicious, I'll test before vs. after that change when I > can. > > Is anyone else seeing this? > I've had no other reports of this, so it's a good one to test. I don't think it will matter, but I'm not sure of that. Warner From owner-freebsd-stable@freebsd.org Wed Nov 13 21:48:43 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B00441BCB28 for ; Wed, 13 Nov 2019 21:48:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cyt25PJCz4BX4 for ; Wed, 13 Nov 2019 21:48:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3:0:0:0:19]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTPS id xADLme2L041666 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 13 Nov 2019 16:48:40 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:a083:11:b598:b4e5] ([IPv6:2607:f3e0:0:4:a083:11:b598:b4e5]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id xADLme4l072081 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 13 Nov 2019 16:48:40 -0500 (EST) (envelope-from mike@sentex.net) To: FreeBSD-STABLE Mailing List From: mike tancsa Subject: lib not found and found at the same time ? Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWibkB DQRcsMzkAQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4 axtKRSG1t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1 qzAJweEtRdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6c Lm0EiHPOl5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5 o9KKu4O7gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQAB iQE8BBgBCAAmFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAlywzOQCGwwFCQHhM4AACgkQeVOE Fl5WrMhmjQf/dBCjAVn1J0GzSsHiLvSAQz1cchbdy8LD0Tnpzjgp5KLU7sNojbI8vqt4yKAi cayI88j8+xxNXPMWM4pHELuUuVHS5XTpHa/wwulUtI5w/zyKlUDsIvqTPZLUEwH7DfNBueVM WyNaIjV2kxSmM8rNMC+RkgyfbjGLCkmWsMRVuLIUYpl5D9WHmenUbiErlKU2KvEEXEg/aLKq 3m/AdM9RAYsP9O4l+sAZEfyYoNJzDhTZMzn/9Q0uFPLK9smDQh4WBTFaApveVJPHRKmHPoNF Xxj+yScYdQ4SKH34WnhNSELvnZQ3ulH5tpASmm0w+GxfZqSc8+QCwoKtBRDUxoE56A== Message-ID: Date: Wed, 13 Nov 2019 16:48:40 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 47Cyt25PJCz4BX4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-4.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[sentex.net]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; IP_SCORE(-3.36)[ip: (-8.25), ipnet: 2607:f3e0::/32(-4.93), asn: 11647(-3.55), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.0.0.e.3.f.7.0.6.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:48:43 -0000 I was trying to upgrade (failed) and then re-install the samba410-4.10.10 port on a RELENG12 box.  One of the Samba libs shows some output I dont understand on ldd ldd /usr/local/lib/nss_wins.so.1 /usr/local/lib/nss_wins.so.1:         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 (0x801003000)         libwinbind-client-samba4.so => not found (0)         libreplace-samba4.so => not found (0)         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000)         libc.so.7 => /lib/libc.so.7 (0x80024a000)         libwinbind-client-samba4.so => /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000)         libreplace-samba4.so => /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) There are 2 libs it says it cannot find, but then a few lines below it says it found them ? ldd -av /usr/local/lib/nss_wins.so.1 /usr/local/lib/nss_wins.so.1:         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 (0x801003000)         libwinbind-client-samba4.so => not found (0)         libreplace-samba4.so => not found (0)         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000)         libc.so.7 => /lib/libc.so.7 (0x80024a000) /usr/local/lib/samba4/libwbclient.so.0:         libwinbind-client-samba4.so => /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000)         libreplace-samba4.so => /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000)         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000)         libc.so.7 => /lib/libc.so.7 (0x80024a000) /lib/libcrypt.so.5:         libc.so.7 => /lib/libc.so.7 (0x80024a000) /usr/local/lib/samba4/private/libwinbind-client-samba4.so:         libreplace-samba4.so => /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000)         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000)         libc.so.7 => /lib/libc.so.7 (0x80024a000) /usr/local/lib/samba4/private/libreplace-samba4.so:         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000)         libc.so.7 => /lib/libc.so.7 (0x80024a000)     ---Mike From owner-freebsd-stable@freebsd.org Wed Nov 13 22:18:19 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA4AE1BD8E1 for ; Wed, 13 Nov 2019 22:18:19 +0000 (UTC) (envelope-from james.wright@jigsawdezign.com) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CzXB3N9Wz4R36; Wed, 13 Nov 2019 22:18:18 +0000 (UTC) (envelope-from james.wright@jigsawdezign.com) Received: from [192.168.0.15] ([82.18.193.38]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.179]) with ESMTPSA (Nemesis) id 1MEFrX-1id1hh2wx3-00AEU6; Wed, 13 Nov 2019 23:18:12 +0100 Subject: Re: Random system lockups with 12.1-STABLE r354241 amd64 From: James Wright To: freebsd-stable@freebsd.org, Julian Elischer References: <94c8138c-2b99-2d8c-7431-bfdc5c7939bc@jigsawdezign.com> Message-ID: <92cb47ac-2a9c-87d1-4013-0df07dc62aa7@jigsawdezign.com> Date: Wed, 13 Nov 2019 22:18:18 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:wTf1JXg/kY4Ii2WKTBvjcDRp8BoajahR9xSYWWQr5DYz85T0q75 VU249Z70WHJUNvycz9dyVj6Qx2ar4I5Yugk0KpSChd6o/sLfDwHjsxaGIAN7V59nLR76oqD 6xi4VZnkc/aPvvCSvXAkDS4XDqSEPKQUmLPFIpJVOGS15eSDQ+z7dW3lkuVQibtGDiJn2tW F9nCUbpvygy6nJAd8kB9Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BYF2EDlqKSU=:G5VK/wESJyvSixhiNI08Oi pJwgdavgZd0j0BrZ1jHzbTKV5k6qYw09gdN1yJpcSbaErT54vJhX/L0OzzVPu1va1DDTZyS92 Nb0F7vRXm9vPZRqu4RlmvwDW3DmEG9X71SK138/7FVV5+y9Afc5VNhD8o0R+GxRQe/7//9t1t 5hLyxxPLqKGfO8EGWSD4nChvZjiT9yTAtgKVngI1gGnbPT9Ylxbvv6xyIICEZQsIEfWjZ/yL1 FON38pDnU9DXmQMNnvuRXomfLFikQG17EXqWhNKCGhF4zkLCU2tonY6/RxIziSEvFRXQO/C/1 yqL6cnWwnLMZEp0qpphGLdqEgNOd+w1KYmjyNJLh3TEyfupeo8ceo4DXQHrik6vtxDhvIwqjh 3uDGD3zngPjYUBgX8NGRhW0M7wLBmmrPD68AJK1nnZ+kBAVcRGJR8Yvaqd46geG/SAq+05BiH +aHO+LYgWlQu5Pu/qL7js6NOR/Yw1X8GHgBksXXE+Z8tfoEJAXZovLevYxKP905iUuklCbknH U+OtQYinKKCQDCYMELTKLiejthYN2kwQruM3jgXXJoXJTaJbmILv8ghaqlKy0MOuLTWb5LjiH K3gSJo9zj5oDTX3JBxqGOVdn0v7cMqo15wAhycprDiXr6uvbn1f9S14BH5ccggXRlOdgDxbxS UpXezF5Q9eDWKLE3uJW9pddmGpG/1lx5pzfk604cAgwPDz384XErpvhTp1LTACWC1ieFgJY3h S/WT7DV2psI0FQExX/ohW2+dV6QLJUn1BlL7zpcz6ew3OfHzNBfcYzLSVZLJrdETeLeZYwwht S+BLvZtIMlM9AgjvOOSLzpmNOOg4CSX01CprEC8TMwDXdff7MUNOFKx+XplnBUVzH239X2/eo 1DgXV3ZislwYRAhLp4GsmYvo1HxHRgB6KDwBBmef0= X-Rspamd-Queue-Id: 47CzXB3N9Wz4R36 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of james.wright@jigsawdezign.com has no SPF policy when checking 217.72.192.74) smtp.mailfrom=james.wright@jigsawdezign.com X-Spamd-Result: default: False [1.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.40)[-0.402,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[jigsawdezign.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.23)[0.228,0]; IP_SCORE(0.37)[ip: (-0.70), ipnet: 217.72.192.0/20(0.26), asn: 8560(2.29), country: DE(-0.01)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[74.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:18:19 -0000   Yesterday evening I fetched the lastest from svn stable (r354662), created a custom kernel configuration with the following options, and rebuilt everything; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> include GENERIC ident MACBOOK # For full debugger support use (turn off in stable branch): options         BUF_TRACKING            # Track buffer history options         DDB                     # Support DDB. options         FULL_BUF_TRACKING       # Track more buffer history options         GDB                     # Support remote GDB. options         DEADLKRES               # Enable the deadlock resolver options         INVARIANTS              # Enable calls of extra sanity checking options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS options         WITNESS                 # Enable checks to detect deadlocks and cycles options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones options         VERBOSE_SYSINIT=0       # Support debug.verbose_sysinit, off by default <<<<<<<<<<<<<<<<<<<<<<<<<<<<<   Then this evening, another system hang, no debugger messages or any sort of output whatsoever! :-( The only upside is that I'm experiencing these hangs almost daily now, so going to try a process of elimination. The hangs generally seem to occur when I'm working using Sublime Text 3 (via the linuxulator), with an open xterm window or two with X11 (currently using the Intel video driver). So might try switching to modesetting video driver, or using an editor that is native, or ditch the graphical environment altogether and see if I still get issues working on the console.   If anyone has any ideas on how else I may be able to track down the issue, please let me know! :-) Thanks, James On 07/11/2019 21:21, James Wright wrote: > > On 06/11/2019 23:42, Julian Elischer wrote: >> On 11/6/19 2:58 PM, James Wright wrote: >>> Hi, >>> >>> [...] >>> >>>   Can anyone offer some advice as to how I can track down this issue? >> The first question which I couldn't see from your dmesg is "do you >> have ht krnel debugger configured into your kernel?" >> > >   Nope it isn't, I will build it in, is it just adding options KDB and > DDB? > >   Another problem I have is I don't seemt to get any crash dumps even > though I have 'dumpdev="AUTO"' in my /etc/rc.conf, could this be due > to my system using a swap file (md) rather than a dedicated swap > partition? > > From owner-freebsd-stable@freebsd.org Wed Nov 13 22:25:41 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC1441BDC87 for ; Wed, 13 Nov 2019 22:25:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Czhh20ptz4Vcy for ; Wed, 13 Nov 2019 22:25:40 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xADMPPdU084062 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 14 Nov 2019 00:25:29 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xADMPPdU084062 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xADMPPE5084061; Thu, 14 Nov 2019 00:25:25 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 14 Nov 2019 00:25:25 +0200 From: Konstantin Belousov To: mike tancsa Cc: FreeBSD-STABLE Mailing List Subject: Re: lib not found and found at the same time ? Message-ID: <20191113222525.GW2707@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: 47Czhh20ptz4Vcy X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; IP_SCORE_FREEMAIL(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.00)[ip: (-2.73), ipnet: 2001:470::/32(-4.62), asn: 6939(-3.49), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:25:42 -0000 On Wed, Nov 13, 2019 at 04:48:40PM -0500, mike tancsa wrote: > I was trying to upgrade (failed) and then re-install the > samba410-4.10.10 port on a RELENG12 box.  One of the Samba libs shows > some output I dont understand on ldd > > ldd /usr/local/lib/nss_wins.so.1 > /usr/local/lib/nss_wins.so.1: >         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 > (0x801003000) >         libwinbind-client-samba4.so => not found (0) >         libreplace-samba4.so => not found (0) >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) >         libwinbind-client-samba4.so => > /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) >         libreplace-samba4.so => > /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) > > > There are 2 libs it says it cannot find, but then a few lines below it > says it found them ? First instance (not found) is probably the direct dependency, which is probably not found because nss_wins.so does not have rpath recorded. Then, I guess, some other library also depends on libwinbind-client-samba4.so, but this library has rpath. You can check this with readelf, look for DT_NEEDED and DT_RPATH* dynamic entries. > > ldd -av /usr/local/lib/nss_wins.so.1 > /usr/local/lib/nss_wins.so.1: >         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 > (0x801003000) >         libwinbind-client-samba4.so => not found (0) >         libreplace-samba4.so => not found (0) >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > /usr/local/lib/samba4/libwbclient.so.0: >         libwinbind-client-samba4.so => > /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) >         libreplace-samba4.so => > /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > /lib/libcrypt.so.5: >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > /usr/local/lib/samba4/private/libwinbind-client-samba4.so: >         libreplace-samba4.so => > /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > /usr/local/lib/samba4/private/libreplace-samba4.so: >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x800665000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > >     ---Mike > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@freebsd.org Thu Nov 14 13:46:17 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3ACA51A89C2 for ; Thu, 14 Nov 2019 13:46:17 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DN6v4TVDz3JT9 for ; Thu, 14 Nov 2019 13:46:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3:0:0:0:19]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEDkDYV042987 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 08:46:13 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76] ([IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEDkDNP046716 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 14 Nov 2019 08:46:13 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: lib not found and found at the same time ? To: Konstantin Belousov Cc: FreeBSD-STABLE Mailing List References: <20191113222525.GW2707@kib.kiev.ua> From: mike tancsa Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWibkB DQRcsMzkAQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4 axtKRSG1t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1 qzAJweEtRdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6c Lm0EiHPOl5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5 o9KKu4O7gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQAB iQE8BBgBCAAmFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAlywzOQCGwwFCQHhM4AACgkQeVOE Fl5WrMhmjQf/dBCjAVn1J0GzSsHiLvSAQz1cchbdy8LD0Tnpzjgp5KLU7sNojbI8vqt4yKAi cayI88j8+xxNXPMWM4pHELuUuVHS5XTpHa/wwulUtI5w/zyKlUDsIvqTPZLUEwH7DfNBueVM WyNaIjV2kxSmM8rNMC+RkgyfbjGLCkmWsMRVuLIUYpl5D9WHmenUbiErlKU2KvEEXEg/aLKq 3m/AdM9RAYsP9O4l+sAZEfyYoNJzDhTZMzn/9Q0uFPLK9smDQh4WBTFaApveVJPHRKmHPoNF Xxj+yScYdQ4SKH34WnhNSELvnZQ3ulH5tpASmm0w+GxfZqSc8+QCwoKtBRDUxoE56A== Message-ID: Date: Thu, 14 Nov 2019 08:46:13 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191113222525.GW2707@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 47DN6v4TVDz3JT9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-4.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[sentex.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.32)[ip: (-8.01), ipnet: 2607:f3e0::/32(-4.93), asn: 11647(-3.55), country: CA(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.0.0.e.3.f.7.0.6.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 13:46:17 -0000 On 11/13/2019 5:25 PM, Konstantin Belousov wrote: > On Wed, Nov 13, 2019 at 04:48:40PM -0500, mike tancsa wrote: >> I was trying to upgrade (failed) and then re-install the >> samba410-4.10.10 port on a RELENG12 box.  One of the Samba libs shows >> some output I dont understand on ldd >> >> ldd /usr/local/lib/nss_wins.so.1 >> /usr/local/lib/nss_wins.so.1: >>         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 >> (0x801003000) >>         libwinbind-client-samba4.so => not found (0) >>         libreplace-samba4.so => not found (0) >>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000) >>         libc.so.7 => /lib/libc.so.7 (0x80024a000) >>         libwinbind-client-samba4.so => >> /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) >>         libreplace-samba4.so => >> /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) >> >> >> There are 2 libs it says it cannot find, but then a few lines below it >> says it found them ? > First instance (not found) is probably the direct dependency, which is > probably not found because nss_wins.so does not have rpath recorded. > Then, I guess, some other library also depends on libwinbind-client-samba4.so, > but this library has rpath. > > You can check this with readelf, look for DT_NEEDED and DT_RPATH* > dynamic entries. Thanks!  readelf -d nss_wins.so.1 Dynamic section at offset 0x1d20 contains 32 entries:   Tag                Type                  Name/Value  0x0000000000000001 NEEDED               Shared library: [libwbclient.so.0]  0x0000000000000001 NEEDED               Shared library: [libwinbind-client-samba4.so]  0x0000000000000001 NEEDED               Shared library: [libreplace-samba4.so]  0x0000000000000001 NEEDED               Shared library: [libcrypt.so.5]  0x0000000000000001 NEEDED               Shared library: [libc.so.7]  0x000000000000000e SONAME               Library soname: [nss_wins.so.1]  0x000000000000000f RPATH                Library rpath: [/usr/local/lib]  0x000000000000001d RUNPATH              Library runpath: [/usr/local/lib] Looking at other libs, they have the settings  0x000000000000000f RPATH                Library rpath: [/usr/local/lib/samba4/private:/usr/local/lib]  0x000000000000001d RUNPATH              Library runpath: [/usr/local/lib/samba4/private:/usr/local/lib] What is the best way to fix this ? It seems I can do a quick libmap entry and it seems to correct it [/usr/local/lib/nss_wins.so.1] libwinbind-client-samba4.so      /usr/local/lib/samba4/private/libwinbind-client-samba4.so libreplace-samba4.so /usr/local/lib/samba4/private/libreplace-samba4.so  ldd nss_wins.so.1 nss_wins.so.1:         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 (0x801003000)         libwinbind-client-samba4.so => /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000)         libreplace-samba4.so => /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000)         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000)         libc.so.7 => /lib/libc.so.7 (0x80024a000) This is something that needs to be fixed in the port at build time ? Thanks again,     ---Mike From owner-freebsd-stable@freebsd.org Thu Nov 14 14:34:39 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF5D21A96CA for ; Thu, 14 Nov 2019 14:34:39 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DPBl1DDYz3NCq for ; Thu, 14 Nov 2019 14:34:38 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3:0:0:0:19]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEEYapH054463 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 14 Nov 2019 09:34:36 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76] ([IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEEYafK050347 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 14 Nov 2019 09:34:36 -0500 (EST) (envelope-from mike@sentex.net) To: FreeBSD-STABLE Mailing List From: mike tancsa Subject: speeding up zfs snapshot listing Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWibkB DQRcsMzkAQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4 axtKRSG1t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1 qzAJweEtRdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6c Lm0EiHPOl5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5 o9KKu4O7gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQAB iQE8BBgBCAAmFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAlywzOQCGwwFCQHhM4AACgkQeVOE Fl5WrMhmjQf/dBCjAVn1J0GzSsHiLvSAQz1cchbdy8LD0Tnpzjgp5KLU7sNojbI8vqt4yKAi cayI88j8+xxNXPMWM4pHELuUuVHS5XTpHa/wwulUtI5w/zyKlUDsIvqTPZLUEwH7DfNBueVM WyNaIjV2kxSmM8rNMC+RkgyfbjGLCkmWsMRVuLIUYpl5D9WHmenUbiErlKU2KvEEXEg/aLKq 3m/AdM9RAYsP9O4l+sAZEfyYoNJzDhTZMzn/9Q0uFPLK9smDQh4WBTFaApveVJPHRKmHPoNF Xxj+yScYdQ4SKH34WnhNSELvnZQ3ulH5tpASmm0w+GxfZqSc8+QCwoKtBRDUxoE56A== Message-ID: Date: Thu, 14 Nov 2019 09:34:36 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 47DPBl1DDYz3NCq X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-5.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[sentex.net]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-3.36)[ip: (-8.22), ipnet: 2607:f3e0::/32(-4.93), asn: 11647(-3.55), country: CA(-0.09)]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.0.0.e.3.f.7.0.6.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 14:34:40 -0000 We have a backup server that has a fair amount of zfs snapshots-- currently at 30,000+... To list them all takes about 20 seconds after caching, but can take upto a minute after boot up, or if the metadata has been evicted from ARC.  Are there any tunings that can be done to to speed up the listing or at least make sure the metadata gets cached as best as possible ? We have a nagios check 4 times a day to make sure backups are running and fresh that sometimes times out.  We will probably end up close to 50 to 60k worth of snapshots soon.  The 20 seconds to list, seems to be all CPU bound. Looking at gstat zfs list -t snapshot is not hitting the disk.  So not sure if anything can be done tuning wise ?     ---Mike From owner-freebsd-stable@freebsd.org Thu Nov 14 14:40:22 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 890C51A989C for ; Thu, 14 Nov 2019 14:40:22 +0000 (UTC) (envelope-from matt.garber@gmail.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DPKK4X7Xz3yyp for ; Thu, 14 Nov 2019 14:40:21 +0000 (UTC) (envelope-from matt.garber@gmail.com) Received: by mail-qv1-xf2c.google.com with SMTP id x14so2428783qvu.0 for ; Thu, 14 Nov 2019 06:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7EwZxd3GFA1kdd3DwwguDd2DfndeYQn9JK3ZwKsPGfk=; b=EYW2k5aXnHcAaX1ilHCIEvefSREW7cjVuMC9AU8ZmN1Xx1F7gY4ULUxo9TUv2zLDmJ nPNP1yUk5RaESfNq9/YxOUA2gdIuVFQb3KvkdN+zqmcWSQ0IX1CYicuYFp4xqSCicYMJ pOLp44ew2dmVeM7giznVz6wS+i2yKTnpoAAaEZvF0Hhmxg09Gt07tlXCl3v7CbEPLWFF tbmvabvRShGeo+xL3IQBDxDXtdkIRDOri8vPL+RlcYpWQedlpUlWTcoJEMjAw1p3Pz+B NIxr9JM4Pe/ua/zGc1p2z9nvEDD7DQaGkzE+s64uZpLW7O1Ot5eXOGCzYdbQuJDEjNx7 j1XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7EwZxd3GFA1kdd3DwwguDd2DfndeYQn9JK3ZwKsPGfk=; b=eWg/2yP4J3YNvJ2PlMvVG4UDOzDyfCtvdWLqv6hcjU5NbJJQmk08iCRwp5gruB1G5j JYVKEMaoJH39oB3heaF9tQepUEaDMNPvETwxe95UcECwQhI05qb0vfi9fIop+VvgSbR2 Zy0yBdpruZETPoGbCnHbaJ81k5SFryEn7jhN4d4nOs3cm6p01qhobOUnHviP7+8lZcpV ZaWYAIZFNbf3txOEqAgroJ0SRLMKY0F6OmhW7uJbK9k83X4ingtgEi9mKVUXKshrTAzJ 4OF97DDeH5EEp/Eapj7uOQkQ63J9YX0HvthwDZyRpdfAJLz8wvOYGvqW4cAhZ90d/nQu MjJQ== X-Gm-Message-State: APjAAAW473mLCWUb1nDWDf08bOJ0hCc0tcuYvcytRf7b2xnBP0nRC47c Qa6P9DK0cWkC2p9KcoYNYOYH/nP09xU53NGe7YM= X-Google-Smtp-Source: APXvYqywwVgDphrNgybQ88OkAWWudIoOMEfYBOihG9jlDQp0FwEis1845o5fZPIX1JNWkqfehPJuTDlJd/VwjLE/aUM= X-Received: by 2002:a05:6214:852:: with SMTP id dg18mr8444113qvb.8.1573742414941; Thu, 14 Nov 2019 06:40:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Matt Garber Date: Thu, 14 Nov 2019 09:40:03 -0500 Message-ID: Subject: Re: speeding up zfs snapshot listing To: mike tancsa Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 47DPKK4X7Xz3yyp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EYW2k5aX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mattgarber@gmail.com designates 2607:f8b0:4864:20::f2c as permitted sender) smtp.mailfrom=mattgarber@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ipnet: 2607:f8b0::/32(-2.32), asn: 15169(-1.99), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 14:40:22 -0000 Try this instead, should be significantly faster at just displaying snapshots without the sizing info (if that works for your use case): # zfs list -t snapshot -o name -s name Thanks, =E2=80=94 Matt Garber On Thu, Nov 14, 2019 at 9:34 AM mike tancsa wrote: > We have a backup server that has a fair amount of zfs snapshots-- > currently at 30,000+... To list them all takes about 20 seconds after > caching, but can take upto a minute after boot up, or if the metadata > has been evicted from ARC. Are there any tunings that can be done to to > speed up the listing or at least make sure the metadata gets cached as > best as possible ? We have a nagios check 4 times a day to make sure > backups are running and fresh that sometimes times out. We will > probably end up close to 50 to 60k worth of snapshots soon. > > The 20 seconds to list, seems to be all CPU bound. Looking at gstat zfs > list -t snapshot is not hitting the disk. So not sure if anything can > be done tuning wise ? > > ---Mike > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@freebsd.org Thu Nov 14 14:52:42 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 389CB1AA06D for ; Thu, 14 Nov 2019 14:52:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DPbY0F7Bz4CXZ for ; Thu, 14 Nov 2019 14:52:40 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3:0:0:0:19]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEEqcdE058244 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 09:52:38 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76] ([IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEEqcHE051534 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 14 Nov 2019 09:52:38 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: speeding up zfs snapshot listing To: Matt Garber Cc: FreeBSD-STABLE Mailing List References: From: mike tancsa Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWibkB DQRcsMzkAQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4 axtKRSG1t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1 qzAJweEtRdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6c Lm0EiHPOl5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5 o9KKu4O7gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQAB iQE8BBgBCAAmFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAlywzOQCGwwFCQHhM4AACgkQeVOE Fl5WrMhmjQf/dBCjAVn1J0GzSsHiLvSAQz1cchbdy8LD0Tnpzjgp5KLU7sNojbI8vqt4yKAi cayI88j8+xxNXPMWM4pHELuUuVHS5XTpHa/wwulUtI5w/zyKlUDsIvqTPZLUEwH7DfNBueVM WyNaIjV2kxSmM8rNMC+RkgyfbjGLCkmWsMRVuLIUYpl5D9WHmenUbiErlKU2KvEEXEg/aLKq 3m/AdM9RAYsP9O4l+sAZEfyYoNJzDhTZMzn/9Q0uFPLK9smDQh4WBTFaApveVJPHRKmHPoNF Xxj+yScYdQ4SKH34WnhNSELvnZQ3ulH5tpASmm0w+GxfZqSc8+QCwoKtBRDUxoE56A== Message-ID: <750be26b-6157-157a-9a96-429dcf743d31@sentex.net> Date: Thu, 14 Nov 2019 09:52:39 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 47DPbY0F7Bz4CXZ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-5.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sentex.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.36)[ip: (-8.22), ipnet: 2607:f3e0::/32(-4.93), asn: 11647(-3.55), country: CA(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.0.0.e.3.f.7.0.6.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 14:52:42 -0000 On 11/14/2019 9:40 AM, Matt Garber wrote: > Try this instead, should be significantly faster at just displaying > snapshots without the sizing info (if that works for your use case): > > # zfs list -t snapshot -o name -s name > > Thanks, we actually already pair it down so that we can parse it easily. But it does not seem to make much of a difference % time /sbin/zfs list -Hp -oname,creation -S creation -t snapshot > /dev/null 1.551u 15.869s 0:17.45 99.7%    66+177k 2050987+0io 0pf+0w vs % time /sbin/zfs list  -t snapshot > /dev/null                               1.434u 16.070s 0:17.62 99.3%    65+177k 2050896+0io 0pf+0w and even just the name % time /sbin/zfs list -Hp -oname -t snapshot > /dev/null                     1.180u 16.113s 0:17.51 98.7%    66+177k 2050906+0io 0pf+0w     ---Mike From owner-freebsd-stable@freebsd.org Thu Nov 14 15:25:17 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21A961AAE8A for ; Thu, 14 Nov 2019 15:25:17 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DQK75zV6z3NTM for ; Thu, 14 Nov 2019 15:25:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAEFP72I005392 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 14 Nov 2019 15:25:07 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAEFP4nV025379 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 14 Nov 2019 22:25:04 +0700 (+07) (envelope-from eugen@grosbein.net) To: FreeBSD stable From: Eugene Grosbein Subject: bhyve memory leak in stable/11 Message-ID: <7fddcea5-2188-afe1-3ea9-a53dffdbec32@grosbein.net> Date: Thu, 14 Nov 2019 22:24:59 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47DQK75zV6z3NTM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[grosbein.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.61)[ip: (-4.08), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.65), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 15:25:17 -0000 Hi! After 1 day and 11 hours of host's uptime I observe significant leak of bhyve instances RSS: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 66668 root 34 20 0 60320M 58866M kqread 21 62.0H 692.35% bhyve: sappdev (bhyve) 5546 root 26 20 0 22573M 22088M kqread 12 310:39 6.41% bhyve: srdapp01 (bhyve) 3842 root 20 20 0 15946M 15862M kqread 13 340:36 14.03% bhyve: sdc01 (bhyve) 4729 root 20 20 0 13792M 13455M kqread 8 79:40 1.02% bhyve: skms01 (bhyve) 4283 root 28 20 0 12721M 12682M kqread 29 92:23 0.80% bhyve: sfile01 (bhyve) 8057 root 34 20 0 8512M 8183M kqread 25 186:52 17.02% bhyve: ssql01 (bhyve) 23336 root 34 20 0 16418M 7716M kqread 14 114:23 17.62% bhyve: solap (bhyve) The package vm-bhyve-1.2.3 is used here to manage bhyve instances and sappdev.conf has memory=40G limit. srdapp01 is limited to 12G, sdc01 to 4G, skms01 to 2G, sfile01 to 2G, ssql01 to 8G and solap to 16G. Most of are using much more memory than they should. All of them run different versions of Windows servers. The host is 11.3-STABLE/amd64 r354667 with 360G RAM and guest systems use ZFS ZVOLs and vfs.zfs.arc_max=160g. How do I debug this? From owner-freebsd-stable@freebsd.org Thu Nov 14 16:27:11 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A49161AD06B for ; Thu, 14 Nov 2019 16:27:11 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47DRhZ0tlxz4D7R for ; Thu, 14 Nov 2019 16:27:09 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 47DRhT5mQnzPVM for ; Thu, 14 Nov 2019 17:27:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:organization:subject:subject:from:from :date:date:content-transfer-encoding:content-type:content-type :mime-version:received:received:received:received; s=jakla4; t= 1573748821; x=1576340822; bh=yUv/g+6Zm2jIvbpaD99y48sXR+RZf749YQA bIf+Mv+Y=; b=RdPuRJ4aJeYLykXYEU1inhBYD+7DdSDd0+u27jE0m9ShH211HBF LEj1vXdc20rT8FTGoHOicifnjvculSYrzD4aPdsHYNjzc+VaE2UQP4XF+p7sQGCj QrA0Kp+1Tcdsa206tfP7GsRkJYJWAZ5DjEfaASTEW6J7g//hEloHv5Us= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id W0DIgLaVALpv for ; Thu, 14 Nov 2019 17:27:01 +0100 (CET) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 47DRhP42MpzPVF for ; Thu, 14 Nov 2019 17:27:01 +0100 (CET) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 47DRhP0xHMzsc for ; Thu, 14 Nov 2019 17:27:01 +0100 (CET) Received: from neli.ijs.si (2001:1470:ff80:88:21c:c0ff:feb1:8c91) by webmail.ijs.si with HTTP (HTTP/2.0 POST); Thu, 14 Nov 2019 17:27:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Nov 2019 17:27:01 +0100 From: Mark Martinec To: freebsd-stable@freebsd.org Subject: No amdtemp sysctls, AMD Ryzen 5 3600X Organization: Jozef Stefan Institute Message-ID: <9368f66ee33b733f4d6a9c69dc8a2537@ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.3.1 X-Rspamd-Queue-Id: 47DRhZ0tlxz4D7R X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ijs.si header.s=jakla4 header.b=RdPuRJ4a; dmarc=pass (policy=none) header.from=ijs.si; spf=pass (mx1.freebsd.org: domain of Mark.Martinec@ijs.si designates 2001:1470:ff80::25 as permitted sender) smtp.mailfrom=Mark.Martinec@ijs.si X-Spamd-Result: default: False [-3.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ijs.si:s=jakla4]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:1470:ff80::25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; IP_SCORE(-0.53)[asn: 2107(-2.64), country: SI(0.01)]; DKIM_TRACE(0.00)[ijs.si:+]; DMARC_POLICY_ALLOW(-0.50)[ijs.si,none]; RCVD_IN_DNSWL_NONE(0.00)[5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.f.f.0.7.4.1.1.0.0.2.list.dnswl.org : 127.0.11.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2107, ipnet:2001:1470::/32, country:SI]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[ijs.si.dwl.dnswl.org : 127.0.11.0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 16:27:11 -0000 Running 12.1-RELEASE-p1 on AMD Ryzen 5 3600X cpu, but I don't see any temperatures reported in sysctl, even though amdtemp.ko and amdsmn.ko are loaded and they don't produce any complaints on loading. $ kldstat | fgrep amd 27 1 0xffffffff82f30000 1458 amdtemp.ko 28 1 0xffffffff82f32000 808 amdsmn.ko $ sysctl -a | grep -i tempe $ $ sysctl dev.amdtemp sysctl: unknown oid 'dev.amdtemp' $ Nov 13 12:07:27 xxx kernel: CPU: AMD Ryzen 5 3600X 6-Core Processor (4100.09-MHz K8-class CPU) Nov 13 12:07:27 xxx kernel: Origin="AuthenticAMD" Id=0x870f10 Family=0x17 Model=0x71 Stepping=0 Motherboard is an ASUS with X570 chipset, latest BIOS. No obvious errors are reported during booting. Any additional information that I can provide? Any suggestions? Mark From owner-freebsd-stable@freebsd.org Thu Nov 14 19:30:44 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B9A31B110B for ; Thu, 14 Nov 2019 19:30:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47DWmL4n8Rz40Nj for ; Thu, 14 Nov 2019 19:30:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id xAEJUSIu082629 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 14 Nov 2019 21:30:32 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua xAEJUSIu082629 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id xAEJUSPp082627; Thu, 14 Nov 2019 21:30:28 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 14 Nov 2019 21:30:28 +0200 From: Konstantin Belousov To: mike tancsa Cc: FreeBSD-STABLE Mailing List Subject: Re: lib not found and found at the same time ? Message-ID: <20191114193028.GC2707@kib.kiev.ua> References: <20191113222525.GW2707@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: 47DWmL4n8Rz40Nj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-0.99 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; IP_SCORE(0.00)[ip: (-2.72), ipnet: 2001:470::/32(-4.62), asn: 6939(-3.49), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; R_SPF_SOFTFAIL(0.00)[~all:c]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 19:30:44 -0000 On Thu, Nov 14, 2019 at 08:46:13AM -0500, mike tancsa wrote: > > On 11/13/2019 5:25 PM, Konstantin Belousov wrote: > > On Wed, Nov 13, 2019 at 04:48:40PM -0500, mike tancsa wrote: > >> I was trying to upgrade (failed) and then re-install the > >> samba410-4.10.10 port on a RELENG12 box.  One of the Samba libs shows > >> some output I dont understand on ldd > >> > >> ldd /usr/local/lib/nss_wins.so.1 > >> /usr/local/lib/nss_wins.so.1: > >>         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 > >> (0x801003000) > >>         libwinbind-client-samba4.so => not found (0) > >>         libreplace-samba4.so => not found (0) > >>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000) > >>         libc.so.7 => /lib/libc.so.7 (0x80024a000) > >>         libwinbind-client-samba4.so => > >> /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) > >>         libreplace-samba4.so => > >> /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) > >> > >> > >> There are 2 libs it says it cannot find, but then a few lines below it > >> says it found them ? > > First instance (not found) is probably the direct dependency, which is > > probably not found because nss_wins.so does not have rpath recorded. > > Then, I guess, some other library also depends on libwinbind-client-samba4.so, > > but this library has rpath. > > > > You can check this with readelf, look for DT_NEEDED and DT_RPATH* > > dynamic entries. > > Thanks! > >  readelf -d nss_wins.so.1 > > Dynamic section at offset 0x1d20 contains 32 entries: >   Tag                Type                  Name/Value >  0x0000000000000001 NEEDED               Shared library: [libwbclient.so.0] >  0x0000000000000001 NEEDED               Shared library: > [libwinbind-client-samba4.so] >  0x0000000000000001 NEEDED               Shared library: > [libreplace-samba4.so] >  0x0000000000000001 NEEDED               Shared library: [libcrypt.so.5] >  0x0000000000000001 NEEDED               Shared library: [libc.so.7] >  0x000000000000000e SONAME               Library soname: [nss_wins.so.1] >  0x000000000000000f RPATH                Library rpath: [/usr/local/lib] >  0x000000000000001d RUNPATH              Library runpath: [/usr/local/lib] > > Looking at other libs, they have the settings > >  0x000000000000000f RPATH                Library rpath: > [/usr/local/lib/samba4/private:/usr/local/lib] >  0x000000000000001d RUNPATH              Library runpath: > [/usr/local/lib/samba4/private:/usr/local/lib] > > What is the best way to fix this ? It seems I can do a quick libmap > entry and it seems to correct it > > > [/usr/local/lib/nss_wins.so.1] > libwinbind-client-samba4.so      > /usr/local/lib/samba4/private/libwinbind-client-samba4.so > libreplace-samba4.so /usr/local/lib/samba4/private/libreplace-samba4.so > >  ldd nss_wins.so.1 > nss_wins.so.1: >         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 > (0x801003000) >         libwinbind-client-samba4.so => > /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) >         libreplace-samba4.so => > /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) >         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000) >         libc.so.7 => /lib/libc.so.7 (0x80024a000) > > This is something that needs to be fixed in the port at build time ? Why is it a problem ? If the library is loaded from a binary that already linked to the depended lib it would just work. Otherwise yes, it is the ports' build issue, it must not be papered over with libmap or LD_LIBRARY_PATH. From owner-freebsd-stable@freebsd.org Thu Nov 14 20:27:02 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2777F1B2599 for ; Thu, 14 Nov 2019 20:27:02 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DY1J5q8Dz4PRP for ; Thu, 14 Nov 2019 20:27:00 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [IPv6:2607:f3e0:0:3:0:0:0:19]) by smarthost1.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEKQwRV038259 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 15:26:58 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76] ([IPv6:2607:f3e0:0:4:200d:208d:4e98:ed76]) by pyroxene2a.sentex.ca (8.15.2/8.15.2) with ESMTPS id xAEKQwLu076162 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 14 Nov 2019 15:26:58 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: lib not found and found at the same time ? To: Konstantin Belousov Cc: FreeBSD-STABLE Mailing List References: <20191113222525.GW2707@kib.kiev.ua> <20191114193028.GC2707@kib.kiev.ua> From: mike tancsa Openpgp: preference=signencrypt Autocrypt: addr=mike@sentex.net; keydata= mQENBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAG0HW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+iQFUBBMBCAA+FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAlywzOYCGwMFCQHhM4AFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ eVOEFl5WrMhnPAf7Bf+ola0V9t4i8rwCMGvzkssGaxY/5zNSZO9BgSgfN0WzgmBEOy/3R4km Yn5KH94NltJYAAE5hqkFmAwK6psOqAR9cxHrRfU+gV2KO8pCDc6K/htkQcd/mclJYpCHp6Eq EVJOiAxcNaYuHZkeMdXDuvvI5Rk82VHk84BGgxIqIrhLlkguoPbXOOa+8c/Mpb1sRAGZEOuX EzKNC49+GS9gKW6ISbanyPsGEcFyP7GKMzcHBPf3cPrewZQZ6gBoNscasL6IJeAQDqzQAxbU GjO0qBSMRgnLXK7+DJlxrYdHGXqNbV6AYsmHJ6c2WWWiuRviFBqXinlgJ2FnYebZPAfWibkB DQRcsMzkAQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4 axtKRSG1t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1 qzAJweEtRdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6c Lm0EiHPOl5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5 o9KKu4O7gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQAB iQE8BBgBCAAmFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAlywzOQCGwwFCQHhM4AACgkQeVOE Fl5WrMhmjQf/dBCjAVn1J0GzSsHiLvSAQz1cchbdy8LD0Tnpzjgp5KLU7sNojbI8vqt4yKAi cayI88j8+xxNXPMWM4pHELuUuVHS5XTpHa/wwulUtI5w/zyKlUDsIvqTPZLUEwH7DfNBueVM WyNaIjV2kxSmM8rNMC+RkgyfbjGLCkmWsMRVuLIUYpl5D9WHmenUbiErlKU2KvEEXEg/aLKq 3m/AdM9RAYsP9O4l+sAZEfyYoNJzDhTZMzn/9Q0uFPLK9smDQh4WBTFaApveVJPHRKmHPoNF Xxj+yScYdQ4SKH34WnhNSELvnZQ3ulH5tpASmm0w+GxfZqSc8+QCwoKtBRDUxoE56A== Message-ID: <685e17cc-9a6d-ea61-eb2e-b12287941a9c@sentex.net> Date: Thu, 14 Nov 2019 15:26:59 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191114193028.GC2707@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.83 X-Rspamd-Queue-Id: 47DY1J5q8Dz4PRP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-4.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[sentex.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.27)[ip: (-7.78), ipnet: 2607:f3e0::/32(-4.93), asn: 11647(-3.55), country: CA(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.0.0.e.3.f.7.0.6.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 20:27:02 -0000 On 11/14/2019 2:30 PM, Konstantin Belousov wrote: > >> [/usr/local/lib/nss_wins.so.1] >> libwinbind-client-samba4.so      >> /usr/local/lib/samba4/private/libwinbind-client-samba4.so >> libreplace-samba4.so /usr/local/lib/samba4/private/libreplace-samba4.so >> >>  ldd nss_wins.so.1 >> nss_wins.so.1: >>         libwbclient.so.0 => /usr/local/lib/samba4/libwbclient.so.0 >> (0x801003000) >>         libwinbind-client-samba4.so => >> /usr/local/lib/samba4/private/libwinbind-client-samba4.so (0x801213000) >>         libreplace-samba4.so => >> /usr/local/lib/samba4/private/libreplace-samba4.so (0x801417000) >>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x80066b000) >>         libc.so.7 => /lib/libc.so.7 (0x80024a000) >> >> This is something that needs to be fixed in the port at build time ? > Why is it a problem ? If the library is loaded from a binary that already > linked to the depended lib it would just work. Thanks, I was not sure how to interpret the result. I was not sure that if the binary called functions from that lib what the result would be.     ---Mike From owner-freebsd-stable@freebsd.org Fri Nov 15 02:01:58 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9485C1B8EFC for ; Fri, 15 Nov 2019 02:01:58 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DhRn3QTGz44nD; Fri, 15 Nov 2019 02:01:57 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pl1-x633.google.com with SMTP id bb5so3571934plb.4; Thu, 14 Nov 2019 18:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AdRQFHAih5KxROXw/WEo7hBcVSi6UCKHn7nW5Ie+k1E=; b=YFORcdR0mJefz26IJfS5/g4421Eci7RuWd7IKsm/xxVkPesLQbDFLaFBOSQ73XFuc8 9C7IvI1zemste4v4PdVht3DzG+ubUIp6YLsk0lriD8SkSV+RCLTAiWaQ4VB18kd6Usdw UCaLNotA4F0m2I2j35IJuzyo5SPxG2ShVBEDnE9Ao5t39c+sq4vxYrPjqZCHlYdM0vVz LFOInJsjYlgpctnpB3W2UC6baqkQ3IZvedCPJUzeTaiC2EGgjaQUQK7iDYbWMqSD0uM3 8CGibtri0gE2pzDHej7wWTVlKc/UpmBkxNKtT6ws3yIRQNN1LSzhXQfkCqtLSJntgNsb 7ZHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from:cc :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=AdRQFHAih5KxROXw/WEo7hBcVSi6UCKHn7nW5Ie+k1E=; b=mNxRodH6mlr4h8XHsnTb/XcAp58Rz45gyMA5Tt47LFpE8ki6pO95aq4tuZLRaFbSTw rLrJ3X+qZaVyyBVHHQ7IVlkFNVu9sa+ukRFDUM+Szw6gK94IdWKltqZNk/zlS0XsIpan 8QGBzao2JTu/Xrx36PzwI0Bnnn1Ii9/zxTGkYzxciEfAqd4nWvHVgtJoz1rO+K6bzlDm TUs6OBxhZcSW0EHVc6OMigRvY6ZvvS2CKAPvInkD7vkjZKbt6cEKmwYdpaTzi0fs64mN 1H2b5wymvvM1Zx7IfuKAmsRZJQE9Pv3rQAaT9QYCAQ1gdne4G3+L0YbS0DKncUGWpN+x k+Hg== X-Gm-Message-State: APjAAAVQj2/u0AoNovdJjXSho8RcoSlf/C0ne7Y37Kpv8nz6Slvqq0CN du4HppN+zjnh9T18tPG2mmU2/HV/ X-Google-Smtp-Source: APXvYqyymquuKjhkoReQ/rUA4J32D8mZX5mhWUEN2lmciska3DLt2ITHDFP+CjwKqXbihByPD9sf7g== X-Received: by 2002:a17:90a:b30b:: with SMTP id d11mr16148760pjr.25.1573783315241; Thu, 14 Nov 2019 18:01:55 -0800 (PST) Received: from [192.168.1.110] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id i123sm12417550pfe.145.2019.11.14.18.01.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Nov 2019 18:01:54 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: No amdtemp sysctls, AMD Ryzen 5 3600X To: Mark Martinec , freebsd-stable@freebsd.org References: <9368f66ee33b733f4d6a9c69dc8a2537@ijs.si> From: Kubilay Kocak Cc: "Conrad E. Meyer" , Alexander Motin , Eric van Gyzen Message-ID: <157133a0-dd31-d498-c214-d75ccb21a125@FreeBSD.org> Date: Fri, 15 Nov 2019 13:01:51 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Thunderbird/71.0 MIME-Version: 1.0 In-Reply-To: <9368f66ee33b733f4d6a9c69dc8a2537@ijs.si> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47DhRn3QTGz44nD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YFORcdR0; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-4.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; IP_SCORE(-2.72)[ip: (-9.22), ipnet: 2607:f8b0::/32(-2.32), asn: 15169(-1.99), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 02:01:58 -0000 On 15/11/2019 3:27 am, Mark Martinec wrote: > Running 12.1-RELEASE-p1 on AMD Ryzen 5 3600X cpu, > but I don't see any temperatures reported in sysctl, > even though amdtemp.ko and amdsmn.ko are loaded > and they don't produce any complaints on loading. > >   $ kldstat | fgrep amd >   27    1 0xffffffff82f30000     1458 amdtemp.ko >   28    1 0xffffffff82f32000      808 amdsmn.ko > >   $ sysctl -a | grep -i tempe >   $ > >   $ sysctl dev.amdtemp >   sysctl: unknown oid 'dev.amdtemp' >   $ > > Nov 13 12:07:27 xxx kernel: CPU: AMD Ryzen 5 3600X 6-Core Processor > (4100.09-MHz K8-class CPU) > Nov 13 12:07:27 xxx kernel:   Origin="AuthenticAMD"  Id=0x870f10 > Family=0x17  Model=0x71  Stepping=0 > > > Motherboard is an ASUS with X570 chipset, latest BIOS. > No obvious errors are reported during booting. > > Any additional information that I can provide? > Any suggestions? > >   Mark Resolver of original Ryzen 2 temperature support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218264 "In Progress" issue for Ryzen 5 support with patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239607 Was committed to head (CURRENT), apparently merged to stable/12 (cant find the MFC commit). I've updated/retriaged the issue, and asked about a merge to stable/11, but at this point it looks like it missed the 12.1-RELEASE window From owner-freebsd-stable@freebsd.org Fri Nov 15 06:09:20 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 406041BD5EF for ; Fri, 15 Nov 2019 06:09:20 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DnxB5VK5z4WlW for ; Fri, 15 Nov 2019 06:09:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAF696uL008776 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Nov 2019 06:09:10 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAF68wnN008415 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 15 Nov 2019 13:08:58 +0700 (+07) (envelope-from eugen@grosbein.net) From: Eugene Grosbein Subject: panic: I/O to pool appears to be hung on vdev To: FreeBSD stable Message-ID: <32dc05dc-e006-0d21-d9e0-f9a86d5bf47d@grosbein.net> Date: Fri, 15 Nov 2019 13:08:53 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47DnxB5VK5z4WlW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[grosbein.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.60)[ip: (-4.08), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.65), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 06:09:20 -0000 Hi! Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE r354667 that went without any problem. After less than 2 days of uptime it paniced and failed to reboot (hung), screenshot is here: http://www.grosbein.net/freebsd/zpanic.png It did not panic with 11.2-STABLE but had some performance problems with ZFS. Hardware: Dell PowerEdge R640 with 360G RAM, mrsas(4)-supported controller PERC H730/P Mini LSI MegaRAID SAS-3 3108 [Invader] and 7 SSD devices, two of them keep FreeBSD installation (distinct boot pool) and five others are GELI-encrypted and combined to another (RAIDZ1) pool 'sata' mentioned on screenshot. vfs.zfs.arc_max=160g The system runs several bhyve instances over ZVOls. There are many shapshots that are routinely created/destroyed so system generally issues many TRIM requests to underlying SSDs. After 1.5 day of uptime (before panic) I set kern.cam.da.[2-6].delete_max=262144 changing it from default 17179607040 hoping it would decrease latency of read-write operations like listing of snapshots. No other non-default settings for ZFS were done. What does it mean "panic: I/O to pool appears to be hung on vdev" provided hardware is healthy? From owner-freebsd-stable@freebsd.org Fri Nov 15 06:24:06 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F9A01BDA7C for ; Fri, 15 Nov 2019 06:24:06 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DpGF1hTyz3NfJ for ; Fri, 15 Nov 2019 06:24:04 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAF6NxRc008823 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Nov 2019 06:23:59 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAF6NtLX008591 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 15 Nov 2019 13:23:55 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: panic: I/O to pool appears to be hung on vdev To: FreeBSD stable References: <32dc05dc-e006-0d21-d9e0-f9a86d5bf47d@grosbein.net> From: Eugene Grosbein Message-ID: <463ec8a3-1f99-d8ad-32e9-b350a3d768ba@grosbein.net> Date: Fri, 15 Nov 2019 13:23:51 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <32dc05dc-e006-0d21-d9e0-f9a86d5bf47d@grosbein.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47DpGF1hTyz3NfJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[grosbein.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.60)[ip: (-4.08), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.65), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 06:24:06 -0000 15.11.2019 13:08, Eugene Grosbein wrote: > Hi! > > Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE r354667 > that went without any problem. After less than 2 days of uptime it paniced and failed to reboot (hung), > screenshot is here: http://www.grosbein.net/freebsd/zpanic.png > > It did not panic with 11.2-STABLE but had some performance problems with ZFS. > > Hardware: Dell PowerEdge R640 with 360G RAM, mrsas(4)-supported controller PERC H730/P Mini LSI MegaRAID SAS-3 3108 [Invader] > and 7 SSD devices, two of them keep FreeBSD installation (distinct boot pool) and five others > are GELI-encrypted and combined to another (RAIDZ1) pool 'sata' mentioned on screenshot. > > vfs.zfs.arc_max=160g > > The system runs several bhyve instances over ZVOls. There are many shapshots that are routinely > created/destroyed so system generally issues many TRIM requests to underlying SSDs. > > After 1.5 day of uptime (before panic) I set kern.cam.da.[2-6].delete_max=262144 > changing it from default 17179607040 hoping it would decrease latency of read-write operations > like listing of snapshots. No other non-default settings for ZFS were done. > > What does it mean "panic: I/O to pool appears to be hung on vdev" provided hardware is healthy? I wonder also why did it panic instead of degrading the RAIDZ pool. From owner-freebsd-stable@freebsd.org Fri Nov 15 07:37:35 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A17821BED9D for ; Fri, 15 Nov 2019 07:37:35 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Dqv15sknz4QRX for ; Fri, 15 Nov 2019 07:37:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAF7bPfV009016 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Nov 2019 07:37:28 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from [10.58.0.4] (dadv@[10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAF7bGGM009409 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 15 Nov 2019 14:37:16 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: panic: I/O to pool appears to be hung on vdev To: FreeBSD stable References: <32dc05dc-e006-0d21-d9e0-f9a86d5bf47d@grosbein.net> From: Eugene Grosbein Message-ID: Date: Fri, 15 Nov 2019 14:37:16 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <32dc05dc-e006-0d21-d9e0-f9a86d5bf47d@grosbein.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS,T_DATE_IN_FUTURE_Q_PLUS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 0.0 T_DATE_IN_FUTURE_Q_PLUS Date: is over 4 months after Received: * date * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47Dqv15sknz4QRX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[grosbein.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.60)[ip: (-4.08), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.65), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 07:37:35 -0000 15.11.2019 13:08, Eugene Grosbein wrote: > Hi! > > Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE r354667 > that went without any problem. After less than 2 days of uptime it paniced and failed to reboot (hung), > screenshot is here: http://www.grosbein.net/freebsd/zpanic.png > > It did not panic with 11.2-STABLE but had some performance problems with ZFS. I have to correct myself: it did panic same way at least once with 11.2-STABLE r344922 From owner-freebsd-stable@freebsd.org Fri Nov 15 14:07:51 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 578641C7591 for ; Fri, 15 Nov 2019 14:07:51 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47F0YK02Gsz4chN for ; Fri, 15 Nov 2019 14:07:48 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 47F0YB5ZYgzlrg for ; Fri, 15 Nov 2019 15:07:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla4; t=1573826858; x=1576418859; bh=LqS 4cabpbkZvOVOajvRsfZFL0iuS5umWyld6BbflVew=; b=Az3bN2nggWv1XGmaT2r o9CDF3lNjzC3awzJAxUyxx8Xyxzwwng059ARL1k3cS5/asaUmAlUwl+AACs1AobF sPzNeYRQlhE54Ezsq3Ip+tYSnAxzXh/k7YmDIQ3taiLfTYNc+9MNj7D2GUqjKcmd 1FNjhnVCJ3kxhJQOpe5VBNaE= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id mEUw3eld0ws2 for ; Fri, 15 Nov 2019 15:07:38 +0100 (CET) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 47F0Y63t3wzlrZ for ; Fri, 15 Nov 2019 15:07:38 +0100 (CET) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 47F0Y617bhz14r for ; Fri, 15 Nov 2019 15:07:38 +0100 (CET) Received: from neli.ijs.si (2001:1470:ff80:88:21c:c0ff:feb1:8c91) by webmail.ijs.si with HTTP (HTTP/2.0 POST); Fri, 15 Nov 2019 15:07:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Nov 2019 15:07:38 +0100 From: Mark Martinec To: freebsd-stable@freebsd.org Subject: Re: No amdtemp sysctls, AMD Ryzen 5 3600X Organization: Jozef Stefan Institute In-Reply-To: <157133a0-dd31-d498-c214-d75ccb21a125@FreeBSD.org> References: <9368f66ee33b733f4d6a9c69dc8a2537@ijs.si> <157133a0-dd31-d498-c214-d75ccb21a125@FreeBSD.org> Message-ID: X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.3.1 X-Rspamd-Queue-Id: 47F0YK02Gsz4chN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ijs.si header.s=jakla4 header.b=Az3bN2ng; dmarc=pass (policy=none) header.from=ijs.si; spf=pass (mx1.freebsd.org: domain of Mark.Martinec@ijs.si designates 2001:1470:ff80::25 as permitted sender) smtp.mailfrom=Mark.Martinec@ijs.si X-Spamd-Result: default: False [-3.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ijs.si:s=jakla4]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:1470:ff80::25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; IP_SCORE(-0.53)[asn: 2107(-2.64), country: SI(0.01)]; DKIM_TRACE(0.00)[ijs.si:+]; DMARC_POLICY_ALLOW(-0.50)[ijs.si,none]; RCVD_IN_DNSWL_NONE(0.00)[5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.f.f.0.7.4.1.1.0.0.2.list.dnswl.org : 127.0.11.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2107, ipnet:2001:1470::/32, country:SI]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[ijs.si.dwl.dnswl.org : 127.0.11.0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 14:07:51 -0000 > On 15/11/2019 3:27 am, Mark Martinec wrote: >> Running 12.1-RELEASE-p1 on AMD Ryzen 5 3600X cpu, >> but I don't see any temperatures reported in sysctl, >> even though amdtemp.ko and amdsmn.ko are loaded >> and they don't produce any complaints on loading. 2019-11-15 03:01, Kubilay Kocak wrote: > Resolver of original Ryzen 2 temperature support: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218264 > "In Progress" issue for Ryzen 5 support with patch: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239607 I have applied the patch from Bug 239607 and it works now! Perfect, thanks! > Was committed to head (CURRENT), apparently merged to stable/12 > (cant find the MFC commit). > I've updated/retriaged the issue, and asked about a merge to > stable/11, but at this point it looks like it missed the 12.1-RELEASE > window It's unfortunate that it missed the 12.1-RELEASE. Thanks for a quick response! Mark From owner-freebsd-stable@freebsd.org Fri Nov 15 17:48:24 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D5AA61ABCB5 for ; Fri, 15 Nov 2019 17:48:24 +0000 (UTC) (envelope-from bounces+13739864-b44a-freebsd-stable=freebsd.org@em848.distal.com) Received: from xtrwsxhs.outbound-mail.sendgrid.net (xtrwsxhs.outbound-mail.sendgrid.net [167.89.106.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47F5Rq3hkVz4VqM for ; Fri, 15 Nov 2019 17:48:22 +0000 (UTC) (envelope-from bounces+13739864-b44a-freebsd-stable=freebsd.org@em848.distal.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distal.com; h=mime-version:subject:from:in-reply-to:cc:references:to:content-type; s=s1; bh=PwN9GX+mYQQ0UkeivU2UKb+DL8kblYRLNxcTHsLJVa0=; b=akBjXKw zttMgV+oVjzcgzXNE1Q0oH+nOelN6ugLCFnEIbWw5Cxa2Afnbm8L2vZVuOKj5bCr Rfy4FCYdn0jZ2PgBp1wc9GViFZ2ca4HBcJP56fGp6LZooVky5bFRlOxtvyZ/0Z9X sbU0aUYP58M2u4QkX4Wca5axeAtFHGBAcMzk= Received: by filter0089p3mdw1.sendgrid.net with SMTP id filter0089p3mdw1-12612-5DCEE4E4-69 2019-11-15 17:48:20.489652799 +0000 UTC m=+68948.521477681 Received: from mail.distal.com (pool-108-48-165-176.washdc.fios.verizon.net [108.48.165.176]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id FUsUzD_WTQCRvhmnLe82xw Fri, 15 Nov 2019 17:48:20.324 +0000 (UTC) Received: from [IPv6:2001:420:2710:1330:b0c6:4aa4:4a0d:786b] ( [2001:420:2710:1330:b0c6:4aa4:4a0d:786b]) by tristain.distal.com (OpenSMTPD) with ESMTPSA id f1ab2818 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 15 Nov 2019 12:48:19 -0500 (EST) Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: UEFI ISO boot not working in 12.1 ? From: Chris Ross In-Reply-To: <1AF92B06-DEB1-4796-9DCD-7AAD012343E0@me.com> Date: Fri, 15 Nov 2019 17:48:20 +0000 (UTC) Cc: freebsd-stable@freebsd.org, Toomas Soome Message-Id: References: <20191106191711.GK1177@westeros.distal.com> <20191106210256.GL1177@westeros.distal.com> <1db62ff2-e7df-5bef-7c6d-424f4367370a@freebsd.org> <24bd3c37-e834-9599-acd9-2f4966916eae@freebsd.org> <20191107195325.GO1177@westeros.distal.com> <20191109164233.GB1053@westeros.distal.com> <20191109204251.GF1053@westeros.distal.com> <1AF92B06-DEB1-4796-9DCD-7AAD012343E0@me.com> To: Toomas Soome X-Mailer: Apple Mail (2.3601.0.10) X-SG-EID: 5qVSvszVOIE6PbdhSmXigGB+QElqqXSFvopX9r8bq1B6ddwNvEXDXwOFvncTq9NafNp2yaCR/3Tw0O gJvs67KLXh5UHUThwZws77HsEvy9fkvp+inIB5Ky4pZmMugLMgS5VU1m855MPI1rlVgnpbz4y0tXWg Dxw7/90Eq5L678KlCV1ivQRIWF3lqCPkOBCI1VCSw8QX+zvso6TtUxr1b3AKT8gMKBEhiCUbICaI05 4= X-Rspamd-Queue-Id: 47F5Rq3hkVz4VqM X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=distal.com header.s=s1 header.b=akBjXKw ; dmarc=pass (policy=none) header.from=distal.com; spf=pass (mx1.freebsd.org: domain of bounces@em848.distal.com designates 167.89.106.6 as permitted sender) smtp.mailfrom=bounces@em848.distal.com X-Spamd-Result: default: False [3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; REDIRECTOR_FALSE(0.00)[freebsd.org->sendgrid.net]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:167.89.0.0/17]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[distal.com:+]; DMARC_POLICY_ALLOW(0.00)[distal.com,none]; FORGED_SENDER(0.30)[cross@distal.com,bounces@em848.distal.com]; FREEMAIL_TO(0.00)[me.com]; RECEIVED_SPAMHAUS_PBL(0.00)[176.165.48.108.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11377, ipnet:167.89.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[13739864-b44a-freebsd-stable=freebsd.org,freebsd]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[distal.com:s=s1]; FROM_NEQ_ENVFROM(0.00)[cross@distal.com,bounces@em848.distal.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; URIBL_GREY(1.50)[sendgrid.net.multi.uribl.com]; NEURAL_SPAM_MEDIUM(0.38)[0.382,0]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.44)[0.435,0]; RCVD_IN_DNSWL_NONE(0.00)[6.106.89.167.list.dnswl.org : 127.0.15.0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.62)[ip: (5.37), ipnet: 167.89.96.0/20(-4.69), asn: 11377(-3.71), country: US(-0.05)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 17:48:24 -0000 > On Nov 9, 2019, at 16:07, Toomas Soome wrote: >> On 9. Nov 2019, at 22:42, Chris Ross wrote: >>=20 >> On Sat, Nov 09, 2019 at 11:24:49AM -0600, Kyle Evans wrote: >>> Hi, >>>=20 >>> That helps- thanks! I'm CC'ing tsoome@, as this is basically just >>> r353501 in that range. Can you give the latest -CURRENT snapshot boot >>> as another data point? >>=20 >> Thanks. And yeah, happily, I was already in the process of building >> a -current to test. I am happy (in a way?) to report that it fails in >> the same way as 12.1-RELEASE and stable-12 after Oct 15. >>=20 >> Thanks. >>=20 >> - Chris >>=20 >> for tsoome, the description of boot messages from the top of the thread: >> https://u13739864.ct.sendgrid.net/wf/click?upn=3DhQ0vnUG1MhNJP-2B3V0tQS3= X7emL4YkSUT2tPN1FH-2B97trcjJ-2BpJTmk0YS1Syuo2dzEgthbm6esr-2F7g51EhfIu-2FRKP= X9ALsGd2rGBcgTMu-2ByHTR5seO4J-2BMjDv1jXVelnC_Q1G7K8cYCrLWsp3rtsmPRmehVLbUy5= 2d-2BfbfYGlvl9NQI4m-2FwzZopJkgCxdhMRbWmFftXh2uS-2B-2BSajUZUYeDDKIqa-2BkmcDA= EvzUwBDvIkJ68RHhHwrawZGSusvYISZywqilQnr9pHQM76aMYLdRwAVYqyTEPcAf5A5HUkYd-2B= CJMlUHK2yaZZCEthT1ABNUcX5NJKB-2B9bcz-2B5MfT94enkwpJ0wn19Bm-2BHJ58K1WRS9QQ-3D >=20 > Going to investigate tomorrow with fresh head as it is getting close to m= idnight here=E2=80=A6 I had some email server problems lately, but I haven=E2=80=99t seen any mor= e about this. Any update, Toomas? - Chris From owner-freebsd-stable@freebsd.org Fri Nov 15 23:24:14 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 472D01B3613 for ; Fri, 15 Nov 2019 23:24:14 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FDvJ5tzdz4SQy; Fri, 15 Nov 2019 23:24:12 +0000 (UTC) (envelope-from delphij@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id n23so9422372otr.13; Fri, 15 Nov 2019 15:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lgvFQ6sU9rL7Irwa38LLlwWqaqrWNvwLHtQ3kxyawtM=; b=q60beAl8H7wTC/UaGE+rmN7ZIIJ9Edw21OaFcfJJOUV3QuqxmtycjyJ+wE1C188QFk BuMAQ6Kozza6M6dcWRQoY7ocoAOS+FJaXZeg5TbHCLdP8gBbjLrvjEq3LKkqpGteoDdy rkZUTl5/51jTCf1ZsfbbHkIyL8sElCdNEnJmaOKANQmWuNjoWmy0ZgHignssL9x9oMC0 StbbVwz7GBsleJ7aqE5krBK+FBcpu/S8OnMkog5M5uw8BJvqLD8K2rW1v5qXcWDfF9UR OWyY9cqXPw1Qfpnju1i2W/Ip9rFKtZiPqmTC9hzjgkKq9Bv/QoGaQc78DfD7fxTKZyCY SH7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lgvFQ6sU9rL7Irwa38LLlwWqaqrWNvwLHtQ3kxyawtM=; b=my6rvr21aB44qSqJFZn02gF9xjUpNQb+tbCfR1EB/tsQH+KEmKntSbgG6Hf6gcTutN DFPzJDOfrAWyW/GR3orpXdL5uAs3mYuY9mZwrQcWNo7qgaxw6huEi0rlfnd0V/jbqmXu L4rmWqcY6J8CPibtg4MrWz4bO6I7EU8pOaG2a8qD77FYgWz5KHxoURd+vrFwtTdFAiDg CKCrLZkum8CQv92Qix4S/qvEvZhaSRXjy1SMKe3IATqgkYtNhZ6ZwQMJkgXsoggAdjyu LamcM9Dw7k7lK8Yw8udYPLxNhq39cb9kCU89u6p/CkW4dpp2hoZ5BgP3W29SNS3O4pWb IjIQ== X-Gm-Message-State: APjAAAUOuZ/LRTwq+Yu5Oad9jxoBiLkzS5Slanc7oGLxs6zzd3QQx9rt KvcPuvaAzeUgDvZAKEc5zRKo1InOd27Q/CRxdtf8P4j7cfU= X-Google-Smtp-Source: APXvYqwBJlYiQQnC3KIySTp4XPCwx5DUSEmCpiM01hXLmPduVAuKSGzdRkK8i+BOer7j0VrY6KvV+YYPpTpDD2kYNyQ= X-Received: by 2002:a9d:12a3:: with SMTP id g32mr13821309otg.61.1573860251004; Fri, 15 Nov 2019 15:24:11 -0800 (PST) MIME-Version: 1.0 References: <7fddcea5-2188-afe1-3ea9-a53dffdbec32@grosbein.net> In-Reply-To: <7fddcea5-2188-afe1-3ea9-a53dffdbec32@grosbein.net> From: Xin LI Date: Fri, 15 Nov 2019 15:24:00 -0800 Message-ID: Subject: Re: bhyve memory leak in stable/11 To: Eugene Grosbein Cc: FreeBSD stable , Alexander Motin X-Rspamd-Queue-Id: 47FDvJ5tzdz4SQy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q60beAl8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of delphij@gmail.com designates 2607:f8b0:4864:20::32b as permitted sender) smtp.mailfrom=delphij@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(0.00)[ip: (-8.12), ipnet: 2607:f8b0::/32(-2.32), asn: 15169(-1.98), country: US(-0.05)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2019 23:24:14 -0000 There are several leaks fixed recently, but not all of them were merged back to stable/11 (e.g. r341705 which may or may not be related to your issue). Personally, I'd recommend updating to 12.x for new features as they are being actively developed and would be supported for about 3 more years compared to 11.x series. On Thu, Nov 14, 2019 at 7:25 AM Eugene Grosbein wrote: > Hi! > > After 1 day and 11 hours of host's uptime I observe significant leak of > bhyve instances RSS: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 66668 root 34 20 0 60320M 58866M kqread 21 62.0H 692.35% > bhyve: sappdev (bhyve) > 5546 root 26 20 0 22573M 22088M kqread 12 310:39 6.41% > bhyve: srdapp01 (bhyve) > 3842 root 20 20 0 15946M 15862M kqread 13 340:36 14.03% > bhyve: sdc01 (bhyve) > 4729 root 20 20 0 13792M 13455M kqread 8 79:40 1.02% > bhyve: skms01 (bhyve) > 4283 root 28 20 0 12721M 12682M kqread 29 92:23 0.80% > bhyve: sfile01 (bhyve) > 8057 root 34 20 0 8512M 8183M kqread 25 186:52 17.02% > bhyve: ssql01 (bhyve) > 23336 root 34 20 0 16418M 7716M kqread 14 114:23 17.62% > bhyve: solap (bhyve) > > The package vm-bhyve-1.2.3 is used here to manage bhyve instances > and sappdev.conf has memory=40G limit. srdapp01 is limited to 12G, > sdc01 to 4G, skms01 to 2G, sfile01 to 2G, ssql01 to 8G and solap to 16G. > > Most of are using much more memory than they should. All of them run > different versions of Windows servers. > > The host is 11.3-STABLE/amd64 r354667 with 360G RAM and guest systems use > ZFS ZVOLs and vfs.zfs.arc_max=160g. > > How do I debug this? > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@freebsd.org Sat Nov 16 12:18:55 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7A751C40FE for ; Sat, 16 Nov 2019 12:18:55 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FZ584XFZz4LB7 for ; Sat, 16 Nov 2019 12:18:52 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAGCIaNm015360 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Nov 2019 12:18:39 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: delphij@gmail.com Received: from [10.58.0.4] (dadv@[10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAGCIW0L025357 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 16 Nov 2019 19:18:32 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bhyve memory leak in stable/11 To: Xin LI References: <7fddcea5-2188-afe1-3ea9-a53dffdbec32@grosbein.net> Cc: FreeBSD stable From: Eugene Grosbein Message-ID: Date: Sat, 16 Nov 2019 19:18:31 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47FZ584XFZz4LB7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.61)[ip: (-4.11), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.64), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 12:18:56 -0000 16.11.2019 6:24, Xin LI wrote: > There are several leaks fixed recently, but not all of them were merged back to stable/11 (e.g. r341705 which may or may not be related to your issue). > > Personally, I'd recommend updating to 12.x for new features as they are being actively developed and would be supported for about 3 more years compared to 11.x series. 12.1-STABLE has way too many unfixed regressions (including iflib-related) for production system. From owner-freebsd-stable@freebsd.org Sat Nov 16 12:23:57 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8730F1C44CA for ; Sat, 16 Nov 2019 12:23:57 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FZBz213nz4R8g; Sat, 16 Nov 2019 12:23:54 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id xAGCNnxx015385 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Nov 2019 12:23:50 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: delphij@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id xAGCNlBN025391 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 16 Nov 2019 19:23:47 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: bhyve memory leak in stable/11 To: Xin LI References: <7fddcea5-2188-afe1-3ea9-a53dffdbec32@grosbein.net> Cc: FreeBSD stable , Alexander Motin From: Eugene Grosbein Message-ID: <0e779982-a744-dfe0-baee-a90525c15676@grosbein.net> Date: Sat, 16 Nov 2019 19:23:41 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47FZBz213nz4R8g X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; IP_SCORE(-1.61)[ip: (-4.11), ipnet: 2a01:4f8::/29(-2.29), asn: 24940(-1.64), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 12:23:57 -0000 16.11.2019 6:24, Xin LI wrote: > There are several leaks fixed recently, but not all of them were merged back to stable/11 (e.g. r341705 which may or may not be related to your issue). It seems that fix deals with virtio-scsi but all guest systems use virtio-net and ahci-hd here.