From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BB6741397E9 for ; Tue, 18 Aug 2015 20:49:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39CD3E089D; Tue, 18 Aug 2015 20:49:19 +0000 (UTC) Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3135EE088D for ; Tue, 18 Aug 2015 20:49:18 +0000 (UTC) Received: by ykbi184 with SMTP id i184so106935963ykb.2 for ; Tue, 18 Aug 2015 13:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8v28xbpuLIG4LiMxMntZMT1Z35gBW7aQmUgS35saR0E=; b=TGadMH9/6brMEu00MLj7gFRYp7dhUhGlaUiA60wsyCWwaiSzUfRrJ4Gavfxvpcy0VC FDQoF0AG4+SnKGGebCnOgjszFpeT33JTAMy7i7NXDkq3tLQqNKG0RxlgizRX6VVhbSII LAvjcG//5njlRGXLYBNOomWStH0zMCOuRh+2wHJ9hahozjMA0+eJ19e9RzhUaQZ+sYzW yrNf0IOQ+A0iSuoHnefVI/j+3RbAATGiW4YRYw3WW1Ful08OCCmZ7B32Yz4sHNG+ICs+ ihfgyQfGYl09nwd9a1dMQ0J3hFh4jOsMqcoXGEedpeHFyH65NEdtGTOGEs3ddXHSPGg4 BFSA== X-Received: by 10.170.43.208 with SMTP id 199mr9777964ykl.124.1439930957543; Tue, 18 Aug 2015 13:49:17 -0700 (PDT) Received: from [192.168.2.5] (adsl-65-0-123-251.jan.bellsouth.net. [65.0.123.251]) by smtp.gmail.com with ESMTPSA id i129sm12992057ywb.32.2015.08.18.13.49.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Aug 2015 13:49:16 -0700 (PDT) Message-ID: <55D39A4C.40406@gmail.com> Date: Tue, 18 Aug 2015 15:49:16 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [WAS: keyboard stops working] Recent kernels block the loading of non-GPL kernel modules References: <20150816094552.1e5b6d8a@a6> <55D0C133.3090305@gmail.com> <20150816124249.0bb2ae3c@a6> <55D0E8F4.7010306@gmail.com> <20150816140730.1753acaa@a6> <55D101D0.7030406@gmail.com> <20150816153916.36638281@a6> <55D176E1.4080701@gmail.com> <20150817184400.0d136e0a@a6> In-Reply-To: <20150817184400.0d136e0a@a6> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8d69c37d-41b7-4b12-a398-f658c235e11a X-Archives-Hash: a9b80ef8596e356b57dbe0d02fe2bc48 walt wrote: > > > On Mon, 17 Aug 2015 00:53:37 -0500 > Dale wrote: > >>>> walt wrote: =20 >>>>> Linus and friends have been marking lots of existing >>>>> kernel symbols with the SYMBOL_EXPORT_GPL macro, which was >>>>> designed to block the loading of any kernel module not explicitly >>>>> licensed as GPL software. =20 > =20 >> The only module I have >> is Nvidia but that is one thing that doesn't work at times. >> Sometimes, it doesn't want to boot all the way. It doesn't even get >> through the kernel loading everything up at times.=20 > The Nvidia module is causing your problem then, because Nvidia supplies= > their binary blob under their own proprietary license. > > I'm using an elderly version of x11-drivers/nvidia-drivers on an > elderly machine, but when I run 'modinfo -l nvidia' I see 'NVIDIA' as > the response. If the response isn't 'GPL' then the affected kernels > will refuse to load the module at boot time. > > The kernel devs have provided a workaround for the problem, however: > > You (or a gentoo dev) need to edit the source code for the problem > kernel by changing the SYMBOL_EXPORT_GPL to SYMBOL_EXPORT. > > That macro appears maybe hundreds of places in the kernel sources, and > has been there for years now, but only one or two of those source files= > needs to be patched, depending on which of those exported symbols is > needed by your particular binary driver (e.g. nvidia-drivers or > ati-drivers). > > This whole GPL/module thing is far from new. What's new is that the > kernel devs are slowly adding more kernel symbols to their black list. > > I think the idea is to turn up the pressure very slowly on companies > like Nividia and ATI to discourage them from providing proprietary > drivers while not driving them out of the linux market completely. > > Every year linux is getting stronger and the devs can afford to be > pushier with wealthy corporations who need more linux customers. > > > > > I think there is two issues but you are addressing one of them it seems. The other issue happens when the kernel panics and it reboots itself. It doesn't complete the boot process. The one you describe could be it tho. On that one, I don't have a GUI. Since I use my puter a lot, I usually just reboot to a known working kernel and deal with it later.=20 While I think I get the idea of what the kernel devs are doing. I also think they should let the users send the message. The users can start buying ATI or other video hardware and at some point, they will either get their ducks in a row or lose sales. In the meantime, the users decide what software they want to use.=20 I did some searching based on the config option you gave and I'm unable to find a way to override this myself. It doesn't seem to be a setting I can put in make.conf or package.use etc either. If this is the case, I may wish Nvidia would switch to open source but it sort of rubs me the wrong way that someone else is making the decision and me having no way to exercise my decision to use it anyway. I don't care if Nvidia doesn't show its code as long as it works and it isn't spying on me or blowing up my house here.=20 If you have any info on how to override this, I'd be glad to see it.=20 Just a link or something would help.=20 Thanks. Dale :-) :-)=20