* Changed message for GPLONLY symbols
@ 2001-11-13 2:50 Keith Owens
2001-11-13 3:01 ` Richard Gooch
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Keith Owens @ 2001-11-13 2:50 UTC (permalink / raw)
To: linux-kernel
When insmod detects a non-GPL module with unresolved symbols it
currently says:
Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
I thought that hint was self-explanatory, obviously it was not clear.
Never underestimate the ability of lusers to misread a message. insmod
2.4.12 will say
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance.
Does anyone think that this message can be misunderstood by anybody
with the "intelligence" of the normal Windoze user?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
@ 2001-11-13 3:01 ` Richard Gooch
2001-11-13 3:20 ` Keith Owens
2001-11-13 6:12 ` andrew may
` (6 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Richard Gooch @ 2001-11-13 3:01 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
Keith Owens writes:
> When insmod detects a non-GPL module with unresolved symbols it
> currently says:
>
> Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
>
> I thought that hint was self-explanatory, obviously it was not clear.
> Never underestimate the ability of lusers to misread a message. insmod
> 2.4.12 will say
>
> Hint: You are trying to load a module without a GPL compatible license
> and it has unresolved symbols. The module may be trying to access
> GPLONLY symbols but the problem is more likely to be a coding or
> user error. Contact the module supplier for assistance.
>
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
How about actually checking if the unresolved symbols are available in
the GPLONLY area? That would allow you to be more precise.
[Perhaps this has already been suggested: I haven't been paying
attention]
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 3:01 ` Richard Gooch
@ 2001-11-13 3:20 ` Keith Owens
2001-11-13 20:54 ` Riley Williams
0 siblings, 1 reply; 16+ messages in thread
From: Keith Owens @ 2001-11-13 3:20 UTC (permalink / raw)
To: linux-kernel
On Mon, 12 Nov 2001 20:01:19 -0700,
Richard Gooch <rgooch@ras.ucalgary.ca> wrote:
>How about actually checking if the unresolved symbols are available in
>the GPLONLY area? That would allow you to be more precise.
I would have to check for all the permutations between module and
kernel. With and without symbol versions, with and without gplonly,
with and without ppc64 function descriptor renaming, with and without
ia64 function descriptor renaming, ...
Given the current modutils code, that is just too messy. The code was
written for a single set of names and it has been hacked since then,
with special cases added onto special cases. The symbol handling needs
a complete rewrite, which will occur in modutils 2.5. In modutils 2.4
I just ignore the gplonly symbols during symbol import unless the
module is gpl licenced. Simpler, if less precise. Since it only
affects BOMs, I don't really care that much about precise error
messages.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
2001-11-13 3:01 ` Richard Gooch
@ 2001-11-13 6:12 ` andrew may
2001-11-13 6:39 ` Anthony DeRobertis
` (5 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: andrew may @ 2001-11-13 6:12 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
On Tue, Nov 13, 2001 at 01:50:09PM +1100, Keith Owens wrote:
> When insmod detects a non-GPL module with unresolved symbols it
> currently says:
>
> Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
I think you should point them towards lkml FAQ section and say that GPLONLY
symbols are rarely used but also a possible problem.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
2001-11-13 3:01 ` Richard Gooch
2001-11-13 6:12 ` andrew may
@ 2001-11-13 6:39 ` Anthony DeRobertis
2001-11-14 1:40 ` Mike Fedyk
2001-11-13 11:19 ` Skip Ford
` (4 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Anthony DeRobertis @ 2001-11-13 6:39 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
On Monday, November 12, 2001, at 09:50 , Keith Owens wrote:
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
Make something idiot-proof and the universe will create a better idiot.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
` (2 preceding siblings ...)
2001-11-13 6:39 ` Anthony DeRobertis
@ 2001-11-13 11:19 ` Skip Ford
2001-11-13 17:10 ` Alex Bligh - linux-kernel
` (3 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Skip Ford @ 2001-11-13 11:19 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 966 bytes --]
Keith Owens wrote:
> When insmod detects a non-GPL module with unresolved symbols it
> currently says:
>
> Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
>
> I thought that hint was self-explanatory, obviously it was not clear.
> Never underestimate the ability of lusers to misread a message. insmod
> 2.4.12 will say
>
> Hint: You are trying to load a module without a GPL compatible license
> and it has unresolved symbols. The module may be trying to access
> GPLONLY symbols but the problem is more likely to be a coding or
> user error. Contact the module supplier for assistance.
>
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
How about 'Error: unresolved symbols (incorrect module/kernel version?)'
It's pointless to state the license type if all symbols can't be resolved.
--
Skip ID: 0x7EDDDB0A
[-- Attachment #2: Type: application/pgp-signature, Size: 163 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
` (3 preceding siblings ...)
2001-11-13 11:19 ` Skip Ford
@ 2001-11-13 17:10 ` Alex Bligh - linux-kernel
2001-11-13 17:34 ` Tommy Reynolds
` (2 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Alex Bligh - linux-kernel @ 2001-11-13 17:10 UTC (permalink / raw)
To: Keith Owens, linux-kernel; +Cc: Alex Bligh - linux-kernel
Keith,
--On Tuesday, November 13, 2001 1:50 PM +1100 Keith Owens <kaos@ocs.com.au>
wrote:
> Hint: You are trying to load a module without a GPL compatible license
> and it has unresolved symbols. The module may be trying to access
> GPLONLY symbols but the problem is more likely to be a coding or
> user error. Contact the module supplier for assistance.
>
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
Yes I think it can be misunderstood, and, perhaps more importantly, still
points the user at GPLONLY when it's more likely to be a straightforward
version mismatch. Better might be:
Hint: You are trying to load a module which has unresolved symbols. These
symbols may not be exported by this version of the kernel (perhaps
you have a version mismatch), or they may be exported GPLONLY,
(in which case they will not be available to your module which does
not carry a GPL compatible license). In either case, contact
the module supplier for assistance.
--
Alex Bligh
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
` (4 preceding siblings ...)
2001-11-13 17:10 ` Alex Bligh - linux-kernel
@ 2001-11-13 17:34 ` Tommy Reynolds
2001-11-13 18:04 ` Alex Bligh - linux-kernel
2001-11-13 18:22 ` Sascha Andres
2001-11-13 20:50 ` Riley Williams
2001-11-15 18:11 ` Brian Beattie
7 siblings, 2 replies; 16+ messages in thread
From: Tommy Reynolds @ 2001-11-13 17:34 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]
It was a dark and stormy night. Suddenly "Alex Bligh - linux-kernel" <linux-kernel@alex.org.uk> began to type:
> Keith,
>
> --On Tuesday, November 13, 2001 1:50 PM +1100 Keith Owens <kaos@ocs.com.au>
> wrote:
>
> > Hint: You are trying to load a module without a GPL compatible license
> > and it has unresolved symbols. The module may be trying to access
> > GPLONLY symbols but the problem is more likely to be a coding or
> > user error. Contact the module supplier for assistance.
> >
> > Does anyone think that this message can be misunderstood by anybody
> > with the "intelligence" of the normal Windoze user?
>
> Yes I think it can be misunderstood, and, perhaps more importantly, still
> points the user at GPLONLY when it's more likely to be a straightforward
> version mismatch. Better might be:
>
> Hint: You are trying to load a module which has unresolved symbols. These
> symbols may not be exported by this version of the kernel (perhaps
> you have a version mismatch), or they may be exported GPLONLY,
> (in which case they will not be available to your module which does
> not carry a GPL compatible license). In either case, contact
> the *only* module supplier for assistance; no one else can help you.
^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
---------------------------------------------+-----------------------------
Tommy Reynolds | mailto: <reynolds@redhat.com>
Red Hat, Inc., Embedded Development Services | Phone: +1.256.704.9286
307 Wynn Drive NW, Huntsville, AL 35805 USA | FAX: +1.256.837.3839
Senior Software Developer | Mobile: +1.919.641.2923
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 17:34 ` Tommy Reynolds
@ 2001-11-13 18:04 ` Alex Bligh - linux-kernel
2001-11-13 18:22 ` Sascha Andres
1 sibling, 0 replies; 16+ messages in thread
From: Alex Bligh - linux-kernel @ 2001-11-13 18:04 UTC (permalink / raw)
To: Tommy Reynolds, linux-kernel; +Cc: Alex Bligh - linux-kernel
--On Tuesday, November 13, 2001 11:34 AM -0600 Tommy Reynolds
<reynolds@redhat.com> wrote:
> In either case, contact
>> the *only* module supplier for assistance; no one else can help
>> you.
Well they might be able to help themselves by recompiling (for
instance a BSD with advertising module) - this happens for
instance when functions become #define's and so forth - so
if you want full detail, at risk of #include <warandpeace.h>:
For modules without a GPL license:
You are trying to load a module which has unresolved symbols. These
symbols may not be exported by this version of the kernel (perhaps
you have a version mismatch), or they may be exported GPLONLY,
(in which case they will not be available to your module which does
not carry a GPL compatible license). You may be able to fix
this by recompiling the module against your current kernel's source;
if this doesn't work, or you don't have module source code,
contact *only* the module supplier for assistance; no one else
can help you.
And the alternative version if the module DOES have a GPL license:
You are trying to load a GPL licensed module which has unresolved
symbols. These symbols may not be exported by this version of the
kernel (perhaps you have a version mismatch). You may be able to fix
this by obtaining the source code for the module, and recompiling it
against your current kernel's source.
--
Alex Bligh
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: Changed message for GPLONLY symbols
2001-11-13 17:34 ` Tommy Reynolds
2001-11-13 18:04 ` Alex Bligh - linux-kernel
@ 2001-11-13 18:22 ` Sascha Andres
1 sibling, 0 replies; 16+ messages in thread
From: Sascha Andres @ 2001-11-13 18:22 UTC (permalink / raw)
To: linux-kernel
hi,
i did not wrote much to this list yet, but i have a suggestion to this
hint:
> > Hint: You are trying to load a module which has unresolved symbols.
These
> > symbols may not be exported by this version of the kernel
(perhaps
> > you have a version mismatch), or they may be exported GPLONLY,
> > (in which case they will not be available to your module which
does
> > not carry a GPL compatible license). In either case, contact
> > the *only* module supplier for assistance; no one else can
help you.
> ^^^^
^^^^^^^^^^^^^^^^^^^^^^^^
when i read the last sentence i had the feeling of a bad taste,
just because is sounds just like 'the evil module supplier (which
might just not have recompiled his modules yet) is responsible
for all and everything'.
well, it sounds like that for me.
what's with this:
To avoid further problems please contact the module supplier as he can
help you best.
so the whole hint would look like:
Hint: You are trying to load a module which has unresolved symbols.
These
symbols may not be exported by this version of the kernel (perhaps
you have a version mismatch), or they may be exported GPLONLY,
(in which case they will not be available to your module which
does
not carry a GPL compatible license).
To avoid further problems please contact the module supplier as
he can
help you best.
that is - i think - a bit more polite and perhaps it helps to prevent
mails like 'your damn module causes serious errors with the actual
kernel.
can't you program like you ought to program'. at least that mails
will be more polite too.
bye,
sascha
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
` (5 preceding siblings ...)
2001-11-13 17:34 ` Tommy Reynolds
@ 2001-11-13 20:50 ` Riley Williams
2001-11-15 18:11 ` Brian Beattie
7 siblings, 0 replies; 16+ messages in thread
From: Riley Williams @ 2001-11-13 20:50 UTC (permalink / raw)
To: Keith Owens; +Cc: Linux Kernel
Hi Keith.
> When insmod detects a non-GPL module with unresolved symbols it
> currently says:
>> Note: modules without a GPL compatible license cannot use GPLONLY_
>> symbols
> I thought that hint was self-explanatory, obviously it was not
> clear. Never underestimate the ability of lusers to misread a
> message. insmod 2.4.12 will say
> Hint: You are trying to load a module without a GPL compatible
> license and it has unresolved symbols. The module may be
^^^
Gramattically, "This" is better there.
> trying to access GPLONLY symbols but the problem is more
> likely to be a coding or user error. Contact the module
> supplier for assistance.
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
Can I suggest the following wording instead:
Q> HINT: You are trying to load a module with unresolved symbols
Q> that does not have a GPL compatible licence. This module
Q> may be trying to access GPLONLY symbols in the kernel,
Q> but it is more likely to be one of the following:
Q>
Q> a. The module was compiled against a kernel other than
Q> the current (`uname -r`) kernel.
Q>
Q> b. The author of the module has made a coding error.
Q>
Q> Please contact the module supplier for assistance.
Drop the output from `uname -r` in the place indicated, and there should
be little for the luser to complain about.
Also, if there is any means for modutils to determine whether the
current kernel has any CPLONLY symbols in it, and remove the bit about
GPLONLY symbols if there aren't any.
Best wishes from Riley.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 3:20 ` Keith Owens
@ 2001-11-13 20:54 ` Riley Williams
0 siblings, 0 replies; 16+ messages in thread
From: Riley Williams @ 2001-11-13 20:54 UTC (permalink / raw)
To: Keith Owens; +Cc: Linux Kernel
Hi Keith.
>> How about actually checking if the unresolved symbols are available
>> in the GPLONLY area? That would allow you to be more precise.
> I would have to check for all the permutations between module and
> kernel. With and without symbol versions, with and without gplonly,
> with and without ppc64 function descriptor renaming, with and
> without ia64 function descriptor renaming, ...
>
> Given the current modutils code, that is just too messy. The code
> was written for a single set of names and it has been hacked since
> then, with special cases added onto special cases. The symbol
> handling needs a complete rewrite, which will occur in modutils 2.5.
> In modutils 2.4 I just ignore the gplonly symbols during symbol
> import unless the module is gpl licenced. Simpler, if less precise.
> Since it only affects BOMs, I don't really care that much about
> precise error messages.
Rather than ignore them, set a flag if you see any of them, then make
the message depend on whether the said flag is set or not.
Best wishes from Riley.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 6:39 ` Anthony DeRobertis
@ 2001-11-14 1:40 ` Mike Fedyk
2001-11-28 23:02 ` Dr. Kelsey Hudson
0 siblings, 1 reply; 16+ messages in thread
From: Mike Fedyk @ 2001-11-14 1:40 UTC (permalink / raw)
To: Anthony DeRobertis; +Cc: Keith Owens, linux-kernel
On Tue, Nov 13, 2001 at 01:39:33AM -0500, Anthony DeRobertis wrote:
>
> On Monday, November 12, 2001, at 09:50 , Keith Owens wrote:
>
> >Does anyone think that this message can be misunderstood by anybody
> >with the "intelligence" of the normal Windoze user?
>
> Make something idiot-proof and the universe will create a better idiot.
>
Somebody would have to be *trying* to be an idiot with this new message...
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
` (6 preceding siblings ...)
2001-11-13 20:50 ` Riley Williams
@ 2001-11-15 18:11 ` Brian Beattie
7 siblings, 0 replies; 16+ messages in thread
From: Brian Beattie @ 2001-11-15 18:11 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel
On Tue, Nov 13, 2001 at 01:50:09PM +1100, Keith Owens wrote:
> When insmod detects a non-GPL module with unresolved symbols it
> currently says:
>
> Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
>
> I thought that hint was self-explanatory, obviously it was not clear.
> Never underestimate the ability of lusers to misread a message. insmod
> 2.4.12 will say
>
> Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. This is probably due to a
coding or configuration problem. Contact the module supplier
for assistance.
Since the attempt by an non-GPL module to use GPLONLY sysbols is a
coding error IMHO, this message is clearer and avoids the confusion we
have been seeing.
> and it has unresolved symbols. The module may be trying to access
> GPLONLY symbols but the problem is more likely to be a coding or
> user error. Contact the module supplier for assistance.
>
> Does anyone think that this message can be misunderstood by anybody
> with the "intelligence" of the normal Windoze user?
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
2001-11-14 1:40 ` Mike Fedyk
@ 2001-11-28 23:02 ` Dr. Kelsey Hudson
0 siblings, 0 replies; 16+ messages in thread
From: Dr. Kelsey Hudson @ 2001-11-28 23:02 UTC (permalink / raw)
To: Mike Fedyk; +Cc: Anthony DeRobertis, Keith Owens, linux-kernel
On Tue, 13 Nov 2001, Mike Fedyk wrote:
> Somebody would have to be *trying* to be an idiot with this new message...
The problem with most idiots, however, is that they don't *have* to try.
:)
Kelsey Hudson khudson@ctica.com
Software Engineer
Compendium Technologies, Inc (619) 725-0771
---------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Changed message for GPLONLY symbols
@ 2001-11-27 2:20 Michael T. Babcock
0 siblings, 0 replies; 16+ messages in thread
From: Michael T. Babcock @ 2001-11-27 2:20 UTC (permalink / raw)
To: linux-kernel
Keith Owens said:
> I thought that hint was self-explanatory, obviously it was not clear.
> Never underestimate the ability of lusers to misread a message. insmod
Would it not be more productive to have a one-line notice with a
tech-note number or reference to real documentation? Then the user can
type "man gplonly" or "less /usr/src/linux/Documentation/gplonly.txt"
for the real scoop on all of the error possibilities.
Mind you, on this list, it could be just as controversial picking a
name for the text file.
--
Michael T. Babcock
CTO, FibreSpeed Ltd.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2001-11-28 23:03 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13 2:50 Changed message for GPLONLY symbols Keith Owens
2001-11-13 3:01 ` Richard Gooch
2001-11-13 3:20 ` Keith Owens
2001-11-13 20:54 ` Riley Williams
2001-11-13 6:12 ` andrew may
2001-11-13 6:39 ` Anthony DeRobertis
2001-11-14 1:40 ` Mike Fedyk
2001-11-28 23:02 ` Dr. Kelsey Hudson
2001-11-13 11:19 ` Skip Ford
2001-11-13 17:10 ` Alex Bligh - linux-kernel
2001-11-13 17:34 ` Tommy Reynolds
2001-11-13 18:04 ` Alex Bligh - linux-kernel
2001-11-13 18:22 ` Sascha Andres
2001-11-13 20:50 ` Riley Williams
2001-11-15 18:11 ` Brian Beattie
2001-11-27 2:20 Michael T. Babcock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®