Benjamin Scott wrote:
>
> On Sat, 8 Apr 2000, Kenneth E. Lussier wrote:
> > Is there a way to automatically remove old modules? RedHat seems to come
> > with every module known to man, so everytime I install a new kernel, there
> > are several "unresolved modules in <insert path here>" messages at boot
> > time.
>
> I cannot find the string 'unresolved modules' in any place I'd expect it to
> be on my Red Hat Linux 6.1 system (bin directories, /boot/, /etc/, /etc/rc.d/,
> /etc/rc.d/init.d/, kernel source). Any idea where it is coming from?
>
> Where are your compiled modules being installed? Red Hat basically takes
> the stance that every directory under /lib/modules/ represents a different
> compilation of the kernel. Make sure your modules are being installed in an
> empty directory.
I find that for me the most fool proof way to ensure that this happens
is to add
some extraversion info to the kernel makefile. This is quite painless
and has worked well for me.
>
> For the most benefit, also execute the following after booting your new
> kernel:
>
> cat /proc/version > /lib/modules/${DIR}/.rhkmvtag
>
> That creates a file which will clue Red Hat's initscripts in to the location
> of the modules for the running kernel.
>
> If you want to remove Red Hat's kernel binaries, issue a
>
> rpm --erase kernel
>
> command. Be aware that this removes the kernel boot image as well as the
> modules.
>
> Hope this helps!
>
> --
> Ben Scott <[EMAIL PROTECTED]>
> | "When we try to pick out anything by itself, we find it hitched to |
> | everything else in the universe." -- John Muir |
>
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************