Re: Generic modules documentation is outdated

From: Stelian Pop (stelian.pop@fr.alcove.com)
Date: Fri Jul 19 2002 - 03:24:12 EST


On Thu, Jul 18, 2002 at 11:02:59PM +0200, Yann Dirson wrote:

> I dicovered that I could "echo 0 >
> /proc/sys/kernel/tainted"
>
> => is this reasonable ?

Yes, if you are smart enough to do this you could also edit the oops
report or even patch nvidia licence tag etc. It's just a help to
the kernel developers to sort out newbie bug reports, nothing more.

> => isn't there a mechanism that triggers a kernel log when "tainted" is set ?
> Any reason for not having one ?

There is no internal kernel function being called in order to
initialise this flag. insmod just sets the value of the symbol, it
doesn't call a kernel function which could make an entry into the logs.

However, insmod can and should IMHO syslog this.

> - In 2.4.18 I can't find any information about the modules licencing issues
> in Documentation/modules.txt (nor in Documentation/kmod.txt, but I don't
> feel this one would be the place for this, correct me if I'm wrong)

See Documentation/oops-tracing.txt and Documentation/sysctl/kernel.txt
(in 2.4.19-rc2 at least).

Stelian.

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
-
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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:29 EST