Messages in this thread | | | Date | Tue, 30 Nov 2004 22:58:32 +0100 (CET) | From | Jesper Juhl <> | Subject | Re: PROBLEM: misleading error message |
| |
On Tue, 30 Nov 2004, Bebel wrote:
> This may be a BUG REPORT, as I see it, allthough more experienced Linux users > might think differently: > > I compiled built-in support for iptables in my new 2.6.9 kernel, but when my > legacy firewall does a "modprobe ip_tables" , I get the startling message: > "FATAL: module ip_tables not found" .
In my oppinion the message is perfectly clear. You told modprobe to load a module, the file was not found so it is forced to give up - and that's exactely what it told you.
modprobe knows nothing about the functionality provided by any given module, it's only task in life is to attempt to load modules you tell it to load. So, it cannot tell you that "I didn't find this and besides, you don't need it since it's already build in", since modprobe does not have that information.
All modprobe can do is try to load the module you told it to load, and when the file is missing that *is* a fatal error from modrobes point of view - it has absolutely no way to recover or give you any sane diagnostics since it has no idea what the mystery module you asked it to load that wasn't there was supposed to do.
-- Jesper Juhl
- 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/
| |