Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] lttng - ubuntu 11.10 - problem
Date: Mon, 18 Jun 2012 09:42:51 -0400	[thread overview]
Message-ID: <20120618134251.GA6865@Krystal> (raw)
In-Reply-To: <1340002781.5676.YahooMailNeo@web161206.mail.bf1.yahoo.com>

* somanath sahoo (bapi_mvit2004 at yahoo.com) wrote:
> Hi,
> 
> I have tried to reinstall lttng-tools,? lttng-modules-dkms? and babeltrace. 
> 
> 
> the reinstallation of lttng-tools and babeltrace has been successful. But reinstallation of lttng-modules-dkms has been failing. the log is provided below
> 
[...]
> The content of make.log is provided below : 
> 
> 
> DKMS make.log for lttng-modules-2.0.0 for kernel 3.0.0-21-generic (i686)
> Mon Jun 18 12:05:51 IST 2012
> make: Entering directory `/usr/src/linux-headers-3.0.0-21-generic'
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-client-discard.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-client-overwrite.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-metadata-client.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-client-mmap-discard.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-client-mmap-overwrite.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-ring-buffer-metadata-mmap-client.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-statedump-impl.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/wrapper/irqdesc.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-events.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-abi.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-probes.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-pid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-procname.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-prio.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-nice.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-vpid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-tid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-vtid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-ppid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-context-vppid.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-calibrate.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/wrapper/random.o
> ? CC [M]? /var/lib/dkms/lttng-modules/2.0.0/build/lttng-syscalls.o
> /var/lib/dkms/lttng-modules/2.0.0/build/lttng-syscalls.c:32:38: error: macro "is_compat_task" passed 1 arguments, but takes just 0
> /var/lib/dkms/lttng-modules/2.0.0/build/lttng-syscalls.c:33:1: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?{? token
> make[1]: *** [/var/lib/dkms/lttng-modules/2.0.0/build/lttng-syscalls.o] Error 1
> make: *** [_module_/var/lib/dkms/lttng-modules/2.0.0/build] Error 2
> make: Leaving directory `/usr/src/linux-headers-3.0.0-21-generic'

It looks like the lttng-modules DKMS package is out of date (2.0.0).
Alex, can you update it ?

Thanks,

Mathieu

> 
> ------------------------- End of make.log -----------------
> 
> As per the compilation errors in the file lttng-syscalls.c, i dont think these errors are valids. It may be due to somethings else.
> 
> 
> Kindly guide how to come over this reinstallation problem of "lttng-modules-dkms" and please let me know if i need to do any other alternatives.
> 
> 
> 
> 
> Thanks & Regards,
> Somanath
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 15 Jun 2012 09:12:40 -0400
> From: David Goulet <david.goulet@polymtl.ca>
> To: Francis Giraldeau <francis.giraldeau at gmail.com>
> Cc: "lttng-dev at lists.lttng.org" <lttng-dev at lists.lttng.org>
> Subject: Re: [lttng-dev] lttng - ubuntu 11.10 - problem
> Message-ID: <4FDB34C8.7000505 at polymtl.ca>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> In order to trace the kernel, you need the LTTng kernel modules available in
> the package "lttng-modules-dkms". So make sure you have these three packages
> installed:
> 
> # sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
> 
> The error message you got indicates that there is simply no LTTng modules
> loaded. Please make sure they are loaded and if the problem persist, let us know!
> 
> Thanks!
> David
> 
> On 15/06/12 04:16 AM, Francis Giraldeau wrote:
> > Le 2012-06-15 09:41, somanath sahoo a ?crit :
> >> Hi,
> >> 
> >> As i am new to lttng usage, I have followed the instructions from 
> >> <https://launchpad.net/~lttng/+archive/ppa> in order to install the lttng
> >> tool set in my ubuntu 11.10. After successful installation, i followed
> >> the getting started link on lttng.org <http://lttng.org/quickstart> in
> >> "root mode".
> > 
> > You may verify if kernel modules are loaded correctly. If not, then there
> > may be a problem while the installation.
> > 
> > lsmod | grep lttng
> > 
> > If not, you may try to load them and see if any error message occurs:
> > 
> > sudo modprobe lttng_tracer
> > 
> > Francis
> > 
> > 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



  reply	other threads:[~2012-06-18 13:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18  6:59 somanath sahoo
2012-06-18 13:42 ` Mathieu Desnoyers [this message]
2012-06-18 14:35   ` Alexandre Montplaisir
  -- strict thread matches above, loose matches on Subject: below --
2012-06-15  7:41 somanath sahoo
2012-06-15  8:16 ` Francis Giraldeau
2012-06-15 13:12   ` David Goulet
2012-06-15 13:51     ` Matthew Khouzam
2012-06-15 15:12     ` Mathieu Desnoyers
2012-06-15 15:32       ` Alexandre Montplaisir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120618134251.GA6865@Krystal \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox