Submitted 07-Jul-00 by Daniel Woods:
> So now I wanted to be able to compile only the required
> modules for ip_masq_ipsec. *** How do I do that ?
> I ran 'make modules' which took 45 minutes, and then
> ran 'make modules install'. Is there not a way to just
> compile the modules I want and then manually copy them
> into /lib/modules/* ? I checked the Makefiles but could
> not see any such option.
This is handled during the "make menuconfig" stage. In there you
decide which modules get compiled and installed.
> *** Another thing, how to compile a *secure* kernel version ?
> Looking at /usr/linux/Makefile
> VERSION = 2
> PATCHLEVEL = 2
> SUBLEVEL = 16
> EXTRAVERSION = -9mdk
> So how this is not the -9mdksecure version. How upgraded
> from 2.2.15mdk to 2.2.16mdk-secure via MandrakeUpdate but
> I don't know if the actual source is the secure version.
> What are the differences.
Okay, this is not as complicated as you're making it. The *same*
sources are used for mdk, mdksmp, mdkfb, and mdksecure kernels. The
difference in in the .config file. What you should find is that in
/usr/doc/kernel-$(uname -r) is a config file that you can import into
your make menuconfig session to give you the base selections for the
secure kernel
>
> *** When a kernel is running, how can you tell if it is a
> secure kernel version ?
Only by the kernel's name. There is no mystical flag that says "Hi,
I'm secure!", so the kernel gets named secure so that you can tell.
uname -r will give you your current kernel version (2.2.16-3.2 in my
case)
HTH
--
_
_|_|_
( ) * Anton Graham
/v\ / <[EMAIL PROTECTED]>
/( )X
(m_m) GPG ID: 18F78541
Penguin Powered!