Date: Thu, 22 Jul 2004 15:03:01 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: Robert Watson <rwatson@freebsd.org> Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes Message-ID: <790a9fff040722130326edaed7@mail.gmail.com> In-Reply-To: <20040722193213.GJ3001@cirb503493.alcatel.com.au> References: <40FE8F81.7040409@freebsd.org> <Pine.NEB.3.96L.1040721115940.56342A-100000@fledge.watson.org> <20040722193213.GJ3001@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Jul 2004 05:32:13 +1000, Peter Jeremy <peterjeremy@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff040722130326edaed7>