LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how to tell if certain code is in kernel

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: how to tell if certain code is in kernel
Cc: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Mon, 24 Sep 2001 18:19:45 +0300 (EEST)
        Hello,

On Mon, 24 Sep 2001, Joseph Mack wrote:

> For my LVS configure script, if say the forwarding is VS-Tun,
> I look for tunneling code in the module list (lsmod) or
> in the kernel. This current method for looking in the kernel
> is to look at System.map (eg for ipip_init). This requires
> the System.map to be kept in sync with the kernel.
>
> Ratz instead suggested the I look in /proc/ksyms. I have
> ipip tunneling built into the kernel and there is nothing
> in /proc/ksyms that indicates that ipip tunneling is built
> into the kernel.

        You can also grep the dmesg output :) BTW, is the IPIP
support required for directors? I didn't tried it but may be it is not,
I don't see a reason for such support.

> Are there better methods for looking at the kernel?
>
> Thanks Joe


Regards

--
Julian Anastasov <ja@xxxxxx>



<Prev in Thread] Current Thread [Next in Thread>