Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp273228pxk; Thu, 1 Oct 2020 01:53:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/0ZRasoeukkA3oaVzlY0kkCVWhJGPar3XNjhytnE+qtVZ96KwVbkRmbU5cakHZVHyLJuo X-Received: by 2002:aa7:c7c2:: with SMTP id o2mr7282801eds.366.1601542413932; Thu, 01 Oct 2020 01:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601542413; cv=none; d=google.com; s=arc-20160816; b=INpn3VxUS/YuMDg2mVUKOFgnb4b0s5d6bEspQdmrvlOmufJi31RYyVOdY3SpzcyX92 h+dBDG3Jp8pWt88UmNqCtrHd1LYUZSOhpNqsQnrPQ8sBCM3O3gnCU/vqAYlDltSq8nAr 1+prw+6aWW7N8J6xy4Nlg4MVZntRnoxRbCT6zayURkvdakgwBQe0Z3OaWQQ3CJijPO7w bltWSmmbaGqKOizaVA4PoHn1w05B8YNF6gwf7X98suYr9/PSdKSzijNM8qngz6hGkPeX Wjj/tVCyGBSbs13Q80lz4cqn12AL1dVnDAzrYo2P2gGRr/H/nmaSjdNzfB+YzsI9iSw7 7+bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dVpnI9RT45L3v+yMRd5vgxK8EAvZXX07rmFIYsz+Jic=; b=sUHsSKuos+K5KSMQ+A8BJkVci55eBjFZvjRykjKJnvzWku+7qilexrqGsid4Ug9lui 43quFijsfbFduL4r9jUb2kk1iUwSre0OabZuw2uyy/xholbZUgOG2bv3DtAhm9bBk9sC Gl/IXNM6pMvo+NvKYeLqNsrdt2vtO1NZ5kgxOtdQsXo7tL/ST0Jqs0SajPYMfeLPxtgR 4lpa7DPFVeQp/YKQCi99qElOnDJhBpkK+Bd/NMdeFHAQMZGhxeQsxG17Qt0jnjpW8dC/ Lw/Nl1JVfyrYmFOdeKsN3cIIEQljQjB1bYvnmySF0CJo5n2Uxidy1JDrukZHcx/Yt8Er d+Xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si2859077ejd.513.2020.10.01.01.53.11; Thu, 01 Oct 2020 01:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731774AbgJAIvo (ORCPT + 99 others); Thu, 1 Oct 2020 04:51:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgJAIvm (ORCPT ); Thu, 1 Oct 2020 04:51:42 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 932CEC0613D0 for ; Thu, 1 Oct 2020 01:51:42 -0700 (PDT) Received: from ip4d14bc8c.dynamic.kabel-deutschland.de ([77.20.188.140] helo=truhe.fritz.box); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kNu8e-0000gU-Dx; Thu, 01 Oct 2020 10:40:32 +0200 From: Thorsten Leemhuis To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 12/26] docs: reporting-bugs: tell users to disable DKMS et al. Date: Thu, 1 Oct 2020 10:39:33 +0200 Message-Id: <51574b968a9b78a5ce1056acdfa871d4a03d60c7.1601541165.git.linux@leemhuis.info> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1601542302;24105bda; X-HE-SMSGID: 1kNu8e-0000gU-Dx Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tell users to disable solutions like DKMS to make sure the mainline kernel they have to install later remains vanilla. The old text did not do that, but back when it was written these solutions were not that widespread. Signed-off-by: Thorsten Leemhuis --- Documentation/admin-guide/reporting-bugs.rst | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/admin-guide/reporting-bugs.rst b/Documentation/admin-guide/reporting-bugs.rst index 05de4e0259cb..d96b21512c03 100644 --- a/Documentation/admin-guide/reporting-bugs.rst +++ b/Documentation/admin-guide/reporting-bugs.rst @@ -562,6 +562,27 @@ or reinstall the operating system as well as everything you need to restore the backup. +Make sure your kernel doesn't get enhanced +------------------------------------------ + + *Ensure your system does not enhance its kernels by building additional + kernel modules on-the-fly locally, which solutions like DKMS might be doing + without your knowledge.* + +Your kernel will stop being 'vanilla' as soon as it loads a kernel module not +build from the sources used to compile the kernel image itself. That why you +need to ensure your Linux kernel stays vanilla by removing or disabling +mechanisms like akmods and DKMS: those might build additional kernel modules +automatically, for example when your boot into a newly installed Linux kernel +the first time. Reboot after removing them and any modules they installed. + +Note, you might not be aware that your system is using one of these solutions: +they often get set up silently when you install Nvidias proprietary graphics +driver, VirtualBox, or other Software that requires a some support from a module +not part of the Linux kernel. Your package manager might thus force you to +remove those, too. + + .. ############################################################################ .. Temporary marker added while this document is rewritten. Sections above .. are new and dual-licensed under GPLv2+ and CC-BY 4.0, those below are old. -- 2.26.2