Re: 2.6.0-test4-mm3

From: Andrew Morton
Date: Fri Aug 29 2003 - 10:53:37 EST


Boszormenyi Zoltan <zboszor@xxxxxxxxxxx> wrote:
>
> I tried to "make modules_install" on the compiled tree.
> It says:
>
> # make modules_install
> Install a current version of module-init-tools
> See http://www.codemonkey.org.uk/post-halloween-2.5.txt
> make: *** [_modinst_] Error 1
>
> But I have installed it! It's called modutils-2.4.25-8
> (was -5 previously) from RH rawhide, it works on older
> (2.6.0-test4-mm1) kernels.
> This modutils is united with module-init-tools-0.9.12,
> it reports version 2.4.25 but detects newer kernels and uses
> the new module interface.

Tricky.

It's wrong of the Red Hat package to misidentify itself in this manner.

It would sort-of make sense for `depmod -V' to autodetect the kernel
version and print either "modutils" or "module-init-utils". But that's not
accurate either: a `make modules_install' would fail when performed under a
2.4 kernel.

So yes, I think that your patch to RH modutils+module-init-tools is the best
approach: after all, it tells the truth.

Meanwhile, I'll alter Valdis's patch so that it warns, but does not fail
the make.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/