Re: vmnet.ko missing - but it's there! - vmware and crashes

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 22 Jul 2004 15:03:01 -0500
On Fri, 23 Jul 2004 05:32:13 +1000, Peter Jeremy
<peterjeremy_at_optushome.com.au> wrote:
> On Thu, 2004-Jul-22 15:06:01 +0200, Mark Santcroos wrote:
> >IMHO the most important point to reach is that it can't happen anymore that
> >we load an out-of-sync vmware module at boot time and panic. It should either
> >be correctly rebuild or not installed at all (and removed).
> 
> The nicest way to do this would be to add versioning to the kld interface
> but this isn't practical (there was a thread about this some time ago).
> There are two other fairly easy approaches to this:
> 1) Change installkernel so that it does
>        mv /boot/kernel /boot/kernel.old
>   instead of something like
>        cp -p /boot/kernel/* /boot/kernel.old
> 2) Add a check for old files in /boot/kernel at the end of installkernel
>   and generate a banner message "The following modules are out of date..."
> 
Except that won't work for modules installed by ports.  These modules
are not installed into a standard location.  Some are installed into
${PREFIX}/modules, ${PREFIX}/lib/<module name>, /modules,
/boot/modules.  What should happen is that all modules installed by
ports/packages should install into a common location.  Then the
installkernel target could show out of date port/package modules.

Scot
Received on Thu Jul 22 2004 - 18:03:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC