Re: [PATCH] modutils and UP/SMP modules_install

Kragen (kragen@pobox.com)
Fri, 7 Aug 1998 13:10:40 -0400 (EDT)


On Fri, 7 Aug 1998, Ragnar Hojland Espinosa wrote:
> Well, got tired of having to tar/untar my modules each time I wanted to
> have a look if/how a SMP kernel worked on a UP mobo.. So here are two
> patches, one for the kernel Makefile, and one for modutils 2.1.85.
>
> The makefile patch simply installs the modules in `uname -r`-{SMP,UP}

You know, this is a problem not just limited to SMP vs. uniprocessor.
The general problem is that, if you ever have multiple kernels of the
same version compiled with different parameters (or different patches)
booting on the same root partition at different times, one kernel will
probably end up trying to use the other kernel's modules sometimes,
which is sometimes bad. SMP vs. uniprocessor is just one instance of
this.

It would be nicer to provide a "configuration name" option which would
be interpolated into the modules directory name (or, perhaps, was the
modules directory name). I would name my configurations "2.0.0-basic",
"2.0.30-very-basic" and "2.0.30-PC-speaker". (The first two are just
in case something breaks in the third one.)

Kragen (hey, maybe I should be implementing this instead of complaining
about it -- ya think?)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html