From nobody Tue Nov 25 22:08:19 2025 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dGGzR3hLsz6Hscr for ; Tue, 25 Nov 2025 22:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dGGzR2320z3YLj for ; Tue, 25 Nov 2025 22:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764108499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZGPQKrWvg4Kx4TAezVzBRqkrJ02YPaGWUKuUQzR8fcg=; b=SDy3YRuWAq042F3RQneGo1vw/MAjxouW2AgFkB/rZ6QNbAwNRdmMHahnUCRNYvYzd5pUdC IAZw7NX2wJ/8fwD29zJdtENw5EMHOYx3ReUIKGBr1XHcAZxCzsPr7dTbkEHT3yAvTa8F7b 4SGxPKp1B3CBQTHWH1ly/3wnxE0f2kkYYEGDV5UEmbPy7DDGxj5Q2FA9+CwoHCH17TqXN5 p7bc+d3alN8DMhK15TdlLzmjvTfjpULt+105fg7O723gzAiA4SBcPcXndwTPpumltRLuu1 JBh10QfP0IdJvIdwO+tMfhcDEo2ggT4hDGzboXFZZ0oiqINXFqb08gx9W/oktA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764108499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZGPQKrWvg4Kx4TAezVzBRqkrJ02YPaGWUKuUQzR8fcg=; b=MGKp1J3NP2iiAoyZJSqa7ISytIoaFBXXzRub641xxlYheDtkPdTV9/uREWcCg63piUbTPH 4pgCXke2ZtgflbGm4YXsrLX0OdtLL4xYJDLDscD6izaqbqltDAuaWnoPUDNnmM/f7YsyYU z1bAVcmwSRiAR2yu/GDgdJnvBYRsK0fl2tPLG9CuzbMfzX+9MHgt0hK7Njwf1C+M1fb5No IFN+rxGK4g6VwPuaUMSXRqIzivDBhPj6gcUrLMW+XqekxYCyLisQAyuk+zu2ix/Yl87RqA TFvx7hXLGARRSWbu85SjeBkJwmMGqBXUuaYxbCfAUh6zBx7ao4sdPFemmFsdLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764108499; a=rsa-sha256; cv=none; b=KEeoTs17W75gSdoL+VbKQksUs/BITkviH1Q2a8kCsAWnDNbcf0CJEXLGBnR6bYHq/IlxXA rZLlwA+cG+yAgKhn7GXk2F6pMlfPMKDxhy/OiafR1UHfz3dWbBEmtPHw6ZLNML1GViRYcn qrtKm4izQoG/2FjuhTPMTQLz/l2jc1o0yDt6wAXJV8zWwZbMsTY+pYEPz3uuVMDOAHlgrx hV8NZY7ekmqDcxs1tt5vxjbehqWHDRxH0WCGj6QEy9RZBESUKOEtHzTowQdMXGwbvCpK59 TEWjxHrymiLomiWeM0S5rnpMUq5zzYn5YJgaL9uU743pcyCr/rAr2TjtGM7iOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dGGzR1Zz5z3Y3 for ; Tue, 25 Nov 2025 22:08:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5APM8Jna077879 for ; Tue, 25 Nov 2025 22:08:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5APM8JFR077878 for x11@FreeBSD.org; Tue, 25 Nov 2025 22:08:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef Date: Tue, 25 Nov 2025 22:08:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291212 Tomoaki AOKI changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |junchoon@dec.sakura.ne.jp --- Comment #1 from Tomoaki AOKI --- (In reply to O. Hartmann from comment #0) On my stable/15 installation, % sysctl -a | grep link_elf_leak_locals=20=20=20=20=20 debug.link_elf_leak_locals: 0 % sysctl -a | grep link_elf_obj_leak_locals=20=20=20=20=20 debug.link_elf_obj_leak_locals: 1 So the former shouldn't be affecting (as the commit you mentioned defaults both, maybe presicely the latter, to be flipped to 0). Code itself seems to be in stable/13 and later (MFC'ed) bud the default were made safer side). Tracking the commit introduced the codes, distfile for x11/nvidia-kmod (common within graphics/nvidia-drm-*-kmod, x11/nvidia-driver and x11/nvidia-kmod) doesn't have symbols touched by the related commits, but the commits would affect the availabilities of SYSCTLs/TUNABLEs defined "prior to the kmod is loaded". Note that the code itself is committed at base 95c20faf11a1af6924f97ec4aafc32d899fea8b0 and sysctl is added at base ecd8245e0d7784bcd78dafce233f303eee765068. This affects nvidia driver kmods. And as these are handled as tunable on nvidia driver kmods, needed to be defined in /boot/loader.conf instead of /etc/sysctl.conf (even if it once works, could be in race condition). So the flipped tunable could be needed to be defined in /boot/loader.conf (the sysctl is defined as writable tunalbe [RWTUN]. But luckily, the commit you mentioned is (at least temporarily) reverted by commit base fad4c92b78a123f87195173ac118655fa8e325cd. --=20 You are receiving this mail because: You are the assignee for the bug.=