From owner-freebsd-current@freebsd.org Fri Nov 6 16:53:21 2020 Return-Path: Delivered-To: freebsd-current@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 C87884432C6 for ; Fri, 6 Nov 2020 16:53:21 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSRKX2WdDz4V03 for ; Fri, 6 Nov 2020 16:53:20 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.16.1/8.16.1) with ESMTPS id 0A6Gq31R043462 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 6 Nov 2020 08:52:03 -0800 (PST) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.16.1/8.16.1/Submit) id 0A6Gq3QP043461 for freebsd-current@freebsd.org; Fri, 6 Nov 2020 08:52:03 -0800 (PST) (envelope-from warlock) Date: Fri, 6 Nov 2020 08:52:03 -0800 From: John Kennedy To: freebsd-current@freebsd.org Subject: Re: r367415: can't load linuxulator, link_elf_obj: symbol sdt_provider_linuxulator undefined Message-ID: <20201106165203.GB15844@phouka1.phouka.net> References: <20201106163541.GA15844@phouka1.phouka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201106163541.GA15844@phouka1.phouka.net> X-Rspamd-Queue-Id: 4CSRKX2WdDz4V03 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.06 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.170.196.116:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.859]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.170.196.116:from:127.0.2.255]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; DMARC_NA(0.00)[phouka.net]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 16:53:21 -0000 On Fri, Nov 06, 2020 at 08:35:41AM -0800, John Kennedy wrote: > I had this crop up this morning r367410, while yesterdays build against > r367379 seemed fine. I think this is an issue because of r367395: > > linux(4): Deduplicate unimpl/dummy syscall handlers > > If I tracked it down correctly, the LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE) > in sys/compat/linux/linux_dummy.c creates an undefined external structure > sdt_provider_linuxulator, which breaks poudriere and X11 (at least via > nvidia drivers). > > [from /var/log/messages] > kernel: link_elf_obj: symbol sdt_provider_linuxulator undefined > kernel: linker_load_file: /boot/kernel/linux_common.ko - unsupported file type > kernel: KLD linprocfs.ko: depends on linux_common - not available or version mismatch > > I guess to be more precise, X11 complained about this: > > (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the > (EE) NVIDIA: system's kernel log for additional error messages and > (EE) NVIDIA: consult the NVIDIA README for details. > > Normally no issues there since I have PORTS_MODULES += x11/nvidia-driver, > but I was going to re-poudriere everything since __FreeBSD_version got bumped > and that's when I noticed that poudriere had issues: > > Error: Required kernel module 'linprocfs' not found > > Trying a run against r367420 with the LIN_SDT_PROVIDER_DECLARE() commented out. It looks like there is already an open bug report for this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250897 Looks like an ordering issue with linux_dummy, linux_common, and linux64.