Re: Changed message for GPLONLY symbols

Riley Williams (rhw@MemAlpha.cx)
Tue, 13 Nov 2001 20:50:59 +0000 (GMT)


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.

-
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/