From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932214AbcFNRzb (ORCPT ); Tue, 14 Jun 2016 13:55:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41201 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbcFNRz3 (ORCPT ); Tue, 14 Jun 2016 13:55:29 -0400 Message-ID: <57604510.7050804@redhat.com> Date: Tue, 14 Jun 2016 13:55:28 -0400 From: Prarit Bhargava User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Christoph Hellwig CC: linux-kernel@vger.kernel.org, Jonathan Corbet , Rusty Russell , linux-doc@vger.kernel.org Subject: Re: [PATCH] Add kernel parameter to blacklist modules References: <1465821161-13889-1-git-send-email-prarit@redhat.com> <20160614171702.GA20693@infradead.org> In-Reply-To: <20160614171702.GA20693@infradead.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 14 Jun 2016 17:55:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14/2016 01:17 PM, Christoph Hellwig wrote: > On Mon, Jun 13, 2016 at 08:32:41AM -0400, Prarit Bhargava wrote: >> Blacklisting a module in linux has long been a problem. The process of >> blacklisting a module has changed over time, and it seems that every OS >> does it slightly differently and depends on the age of the init system >> used on that OS. > > And why would we care about blacklisting a module? I have a new system that I want to install that a customer could not install any Linux OS on. It's sitting on my desk right now because I finally had to get them to send me the system. And I *cannot* get the bloody thing to install anything recent because the damned nouveau driver keeps blowing up in the latest Fedora rawhide (which is pretty close to upstream), or install anyting older because the storage isn't detected on older releases. I have *no* way of stopping the driver from loading so that I can at least start debugging, or provide valuable debug information in a kernel.org bugzilla (or appropriate mailing list). So what I'm stuck with now is a very expensive (albeit pretty) paperweight. Sorry about the rant ... but I had to let it all out Christoph ... :) Now, I am smart enough to install to a USB stick, remove the nouveau driver from both the install image and the initramfs, play around with the myriad and random BIOS settings on this laptop (I will note that these are different for EVERY piece of hardware) to figure out how to get the BIOS or EFI and Secure Boot settings to detect the USB stick, cross my fingers and stand on one leg while I pray to $deity that the system boots. I do NOT expect random user to follow those steps in order to install Fedora or another other upstream-following Linux OS. They won't, and users turn to other OSes that "just work". That does nothing for the community. It does nothing to improve bug reporting. It does nothing to improve the kernel. I'd much rather tell those users to add "module_blacklist=nouveau" and send me some debug information so I can find out what the issue might be, and find hardware similar to theirs to help them out. I still might have to tell that user to send me their hardware but that's always a last resort. P.