From: Jeff Webb <jeff.webb@nta-inc.net>
To: xenomai@xenomai.org
Subject: Re: [Xenomai] __ipipe_root_status exported GPL only but used to be not GPL only and is breaking other code
Date: Wed, 10 Dec 2014 15:55:21 -0600 [thread overview]
Message-ID: <5488C149.8020901@nta-inc.net> (raw)
In-Reply-To: <20141210212342.GO24110@csclub.uwaterloo.ca>
On 12/10/2014 03:23 PM, Lennart Sorensen wrote:
> On Wed, Dec 10, 2014 at 03:11:40PM -0500, Lennart Sorensen wrote:
>> On Wed, Dec 10, 2014 at 09:13:57PM +0100, Philippe Gerum wrote:
>>> The I-pipe interface was moved to GPL_ONLY to clearly state that such
>>> code intimately depends on the kernel innards, has to know about them to
>>> function, and therefore any client code has to be GPL-compatible to
>>> comply with the kernel license.
>>
>> Well I think most of the interfaces were already GPL only even in 2.6.36
>> from what I can tell, so nothing new there.
>>
>>> The only question that matters is: does __ipipe_root_status belong to
>>> the visible I-pipe API exposed to clients? The answer from the copyright
>>> holder of this particular code is "no".
>>
>> Oh good, because I was having trouble seeing how it was part of the
>> ipipe interface.
>>
>>> Ah, maybe it was a mistake then, something that was overlooked, just
>>> because I-pipe maintainers don't routinely have to rebuild non-GPL
>>> software on top the I-pipe? Yes, most likely it was.
>>
>> I would not expect that to be a normal procedure. Would be a pain to do.
>>
>>> Could the code be changed to fix this, then? Yes, it sounds reasonable,
>>> and would not change the original intent of moving the API symbols to
>>> GPL_ONLY.
>>>
>>> The issue is non-ambiguous, the solution is straightforward. Let's
>>> relax, there is work ahead.
>>
>> Should I do a test build with it changed to at least confirm if that is
>> the only issue?
>
> So a test build with just this:
>
> --- linux-3.12.33.rr1.orig/kernel/ipipe/core.c 2014-12-10 15:16:41.045125486 -0500
> +++ linux-3.12.33.rr1/kernel/ipipe/core.c 2014-12-10 15:16:43.189141150 -0500
> @@ -93,7 +93,7 @@
> */
> extern unsigned long __ipipe_root_status
> __attribute__((alias(__stringify(ipipe_percpu))));
> -EXPORT_SYMBOL_GPL(__ipipe_root_status);
> +EXPORT_SYMBOL(__ipipe_root_status);
>
> #endif /* !CONFIG_SMP */
>
> in fact makes the module compile again.
>
> So changing the one symbol back to what it was pre 3.2 would certainly
> help a lot.
>
I can confirm that this is around the time I started having trouble with the proprietary nvidia module. In the linux 2.6.?? days, I didn't experience that issue. It is obviously up to the authors to decide whether or not it is desirable to allow proprietary modules to continue to operate on an I-pipe patched kernel as they do an un-patched kernel. Since the issue was raised, I thought I would report my experience in case there is a desire to get this configuration working again.
-Jeff
next prev parent reply other threads:[~2014-12-10 21:55 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 18:37 [Xenomai] __ipipe_root_status exported GPL only but used to be not GPL only and is breaking other code Lennart Sorensen
2014-12-10 18:42 ` Gilles Chanteperdrix
2014-12-10 19:02 ` Lennart Sorensen
2014-12-10 19:04 ` Lennart Sorensen
2014-12-10 19:05 ` Gilles Chanteperdrix
2014-12-10 19:09 ` Lennart Sorensen
2014-12-10 19:11 ` Lennart Sorensen
2014-12-10 19:12 ` Gilles Chanteperdrix
2014-12-10 19:13 ` Gilles Chanteperdrix
2014-12-10 19:19 ` Lennart Sorensen
2014-12-10 19:24 ` Gilles Chanteperdrix
2014-12-10 19:39 ` Lennart Sorensen
2014-12-10 19:47 ` Gilles Chanteperdrix
2014-12-10 19:55 ` Lennart Sorensen
2014-12-10 19:59 ` Gilles Chanteperdrix
2014-12-10 20:05 ` Lennart Sorensen
2014-12-10 19:44 ` Gilles Chanteperdrix
2014-12-10 19:52 ` Lennart Sorensen
2014-12-10 19:57 ` Gilles Chanteperdrix
2014-12-10 20:12 ` Lennart Sorensen
2014-12-10 19:45 ` Philippe Gerum
2014-12-10 19:44 ` Lennart Sorensen
2014-12-10 20:13 ` Philippe Gerum
2014-12-10 20:11 ` Lennart Sorensen
2014-12-10 20:38 ` Philippe Gerum
2014-12-10 21:16 ` Lennart Sorensen
2014-12-10 21:23 ` Lennart Sorensen
2014-12-10 21:55 ` Jeff Webb [this message]
2014-12-10 22:01 ` Lennart Sorensen
2014-12-10 23:18 ` Jeff Webb
2014-12-10 20:53 ` Jeff Webb
2014-12-10 21:58 ` Gilles Chanteperdrix
2014-12-22 10:06 ` Jan Kiszka
2014-12-22 11:19 ` Philippe Gerum
2014-12-22 14:46 ` Lennart Sorensen
2014-12-22 15:00 ` Philippe Gerum
2014-12-22 19:08 ` Lennart Sorensen
2014-12-22 14:42 ` Lennart Sorensen
2014-12-22 14:44 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5488C149.8020901@nta-inc.net \
--to=jeff.webb@nta-inc.net \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.