[ltt-dev] Need help in installing Lttng for linux version 2.6.20

srikanth krishnakar skrishnakar at gmail.com
Mon Apr 13 02:58:49 EDT 2009


On Tue, Apr 7, 2009 at 11:25 AM, Mathieu Desnoyers <
compudj at krystal.dyndns.org> wrote:

> * BHAVYA CHINDALOORVENKATANARAYANASETTY (bhavya.setty at samsung.com) wrote:
> >
> >    Hi ,
> >
> >     I was able to resolve that issue, thanks.
> >
> >    I have new issues,
> >
> >
> >    1. I have one more issue in [1]Editing the system wide configuration
> >
> >        I want to know where theLTT modules are located, because I am not
> >    able to find the modules
>
Please let me know the type of Root Filesystem you are using to boot the
target board.  Is it a NFS or Ramdisk or any other FS.  If you are using NFS
file system then i hope you have followed these steps:
1. linux-2.6.20 # *make* ARCH= <your arch type> CROSS_COMPILE= <your
toolchain type> *zImage or bzImage*
2. linux-2.6.20 # *make* ARCH= <your arch type> CROSS_COMPILE= <your
toolchain type> *modules *
3. linux-2.6.20 # *make* ARCH= <your arch type> CROSS_COMPILE= <your
toolchain type> *modules_install**  INSTALL_MOD_PATH*=<path to rootfs>
Now you should be able to see the modules installed in the rootfs path as
shown below:
*<your rootfs> /lib/modules/2.6.20/<Installed modules>*
Your modprobe inserts the modules from the above shown path.
If you are confused with modules section compilation and installation then
pls. set the LTTNg  modules as built-in or static options in kernel "make
menuconfig".
Then no need to do modprobe, once the kernel is booted, then simply run the
commands on the target file system.
>     modprobe ltt-trace-control
>     modprobe ltt-marker-control
>     modprobe ltt-tracer
>     modprobe ltt-serialize
>     modprobe ltt-relay
>     ........
>

Please provide your kernel .config (or /boot/config-kernelversion). You
> probably have compiled those modules built into your kernel, so in that
> case you don't need to load them as module.
>
> >    2. And I have donloaded LTTV pacage suitable for kernel version
> >
> >
> >     LinuxTraceToolkitViewer-0.8.78-23012007
> >
> >     LinuxTraceToolkitViewer-0.8.79-23012007
> >
> >    After the doing ./configure makefiles are not generated so
> >    installation is not complete.
>
Pls. read the README file provided in the package for following instuctions
for building the test suite.
FYI;
Configure is run before compilation to identify the setup environment and
the dependencies among the install requirements. Once you run ./configure,
then you need to run *make* or *make all* then run *make install*.
This is normal procedure for any of the package.
Let me know if any further issues.
>

Please provide the command output so we can help you figuring out the
> libraries that are missing.
>
> Mathieu
>
> >
> >    Please help.
> >
> >
> >    Thanks and Regards
> >
> >    Bhavya
> >    ------- Original Message -------
> >    Sender : srikanth krishnakar<skrishnakar at gmail.com>
> >    Date : Apr 07, 2009 04:42 (GMT+09:00)
> >    Title : Re: Re: [ltt-dev] Need help in installing Lttng for linux
> >    version 2.6.20
> >    Can you tell me the platform and Architecture for which you are trying
> >    ?
> >    (Arch: x86, powerpc, ARM, ppc, or MIPS) which one of these?
> >    -Srikanth MK
> >
> >    On Tue, Apr 7, 2009 at 1:10 AM, srikanth krishnakar
> >    <[2]skrishnakar at gmail.com> wrote:
> >
> >      hi,
> >      I will try that once...
> >      Will reply back...
> >      -Srikanth MK
> >
> >    On Mon, Apr 6, 2009 at 10:22 AM, BHAVYA CHINDALOORVENKATANARAYANASETTY
> >    <[3]bhavya.setty at samsung.com> wrote:
> >
> >    Hi Srikanth,
> >
> >    From the links you mentioned i have installed the related packages for
> >    the linux version 2.6.20
> >
> >    1. patch-2.6.20-lttng-0.6.77.tar.bz2 - LTTng package
> >
> >    2. linux-2.6.20.tar.bz2 - kernal sources
> >
> >    Have followed these steps :
> >
> >    [4]Getting LTTng kernel sources
> >
> >    su -
> >
> >    cd /usr/src
> >
> >    wget [5]http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.X.tar.bz2
> >
> >    bzip2 -cd linux-2.6.X.tar.bz2 | tar xvof -
> >
> >    cd linux-2.6.X
> >
> >    - For LTTng 0.9.4- cat /usr/src/lttng/patch*-2.6.X-lttng-0.x.xx* |
> >    patch -p1
> >
> >    - For LTTng 0.9.5+ apply the patches in the order specified in the
> >    series file,
> >
> >    or use quilt
> >
> >    cd ..
> >
> >    mv linux-2.6.X linux-2.6.X-lttng-0.x.xx
> > 3. [6]Installing a LTTng kernel
> > su -
> > cd /usr/src/linux-2.6.X-lttng-0.x.xx
> > make menuconfig (or make xconfig or make config)
> > here i have done4 " make config "
> > and then "make"
> > here i am getting error as
> > make[2] *** no rule to make target
> 'ltt/facilities/ltt-facility-loader-fs.o', n
> > eeded by 'ltt/facilities/built-in-o'.
> > What shpuld be done for this error. pLease help.
> >
> >
> > Regards
> > Bhavya
> >
> >
> >    ------- Original Message -------
> >    Sender : srikanth krishnakar<[7]skrishnakar at gmail.com>
> >    Date : Apr 03, 2009 15:18 (GMT+09:00)
> >    Title : Re: [ltt-dev] Need help in installing Lttng for linux version
> >    2.6.20
> >    You might be looking for this one:
> >    [8]
> http://ltt.polymtl.ca/files/lttng/patch-2.6.20-lttng-0.6.77.tar.bz2
> >    This where it is found with other packages:
> >    [9]http://ltt.polymtl.ca/files/lttng/?C=M;O=D
> >    Thanks
> >    Srikanth
> >    On Fri, Apr 3, 2009 at 11:43 AM, srikanth krishnakar
> >    <[10]skrishnakar at gmail.com> wrote:
> >
> >      Hi,
> >      The following is the link for Lttng:
> >      [11]http://ltt.polymtl.ca/
> >      1. You need to apply LTTng patches to your kernel (If available for
> >      2.6.20).
> >      2. Cross compile and install ltt-control and ltt-marker packages
> >      into your filesystem.
> >      Follow the document/manuals of Lttng to get the trace/marker
> >      outputs. Then plot the image <file>.lttng using some graphical
> >      tool. Like DevRocket of montavista.
> >      Check the compatibility of your kernel version with LTTng packages.
> >      from here:
> >      [12]http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-c
> >      ompatibility.html
> >      Another Link:
> >      [13]http://www.opersys.com/ltt/downloads.html
> >      -Srikanth
> >
> >    On Fri, Apr 3, 2009 at 10:40 AM, BHAVYA CHINDALOORVENKATANARAYANASETTY
> >    <[14]bhavya.setty at samsung.com> wrote:
> >
> >    HI ,
> >
> >    I want to install LTTng on my linux system of version 2.6.20.(Ubuntu
> >    is there in tht linux)
> >
> >    I am confused what are the packages and patches required for the same.
> >
> >    Please help.
> >
> >    Thanks and Regards,
> >
> >    Bhavya
> >
> >    _______________________________________________
> >    ltt-dev mailing list
> >    [15]ltt-dev at lists.casi.polymtl.ca
> >    [16]http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> >
> >    --
> >    "The Good You Do, The Best You GET"
> >    Regards
> >    Srikanth Krishnakar
> >    **********************
> >    --
> >    "The Good You Do, The Best You GET"
> >    Regards
> >    Srikanth Krishnakar
> >    **********************
> >
> >    --
> >    "The Good You Do, The Best You GET"
> >    Regards
> >    Srikanth Krishnakar
> >    **********************
> >
> >    --
> >    "The Good You Do, The Best You GET"
> >    Regards
> >    Srikanth Krishnakar
> >    **********************
> >
> > References
> >
> >    1.
> http://ltt.polymtl.ca/svn/trunk/lttv/LTTngManual.html#TOCeditconfig
> >    2. mailto:skrishnakar at gmail.com
> >    3. mailto:bhavya.setty at samsung.com
> >    4.
> http://ltt.polymtl.ca/svn/trunk/lttv/LTTngManual.html#TOCgetlttngsrc
> >    5. http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.X.tar.bz2
> >    6.
> http://ltt.polymtl.ca/svn/trunk/lttv/LTTngManual.html#TOCinstalllttng
> >    7. mailto:skrishnakar at gmail.com
> >    8.
> http://ltt.polymtl.ca/files/lttng/patch-2.6.20-lttng-0.6.77.tar.bz2
> >    9. http://ltt.polymtl.ca/files/lttng/?C=M;O=D
> >   10. mailto:skrishnakar at gmail.com
> >   11. http://ltt.polymtl.ca/
> >   12.
> http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/lttng-lttv-compatibility.html
> >   13. http://www.opersys.com/ltt/downloads.html
> >   14. mailto:bhavya.setty at samsung.com
> >   15. mailto:ltt-dev at lists.casi.polymtl.ca
> >   16. http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
>



-- 
"The Good You Do, The Best You GET"

Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090413/868a33c9/attachment-0003.htm>


More information about the lttng-dev mailing list