Subject: Re: LKM kernel version mismatch
To: Andrew Brown <atatat@atatdot.net>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: current-users
Date: 12/01/2003 13:40:54
Andrew Brown wrote:
> is there any easy way of disabling it? or making an lkm that will
> load more "easily"?
How do you determine what's 'safe' and what not? Once you
dereference any kernel struct pointer (e.g. struct proc or struct lwp),
there is incompatibility. Obviously it's not possible for a LKM
to do anything useful and be ABI safe.
If you really know what you are doing and you are 100% positive
it's safe, you can use modload -f. Be prepared for panics in that
case, which will be caused by the incompatible LKM.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-