From: Mathieu Desnoyers <compudj@krystal.dyndns.org>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Trilok Soni <soni.trilok@gmail.com>,
ltt-dev@lists.casi.polymtl.ca,
Ext4 Developers List <linux-ext4@vger.kernel.org>,
Theodore Ts'o <tytso@mit.edu>,
linux-kernel@vger.kernel.org
Subject: Re: [ltt-dev] LTTng 0.89 for Linux 2.6.29-rc3
Date: Fri, 6 Feb 2009 15:03:29 -0500 [thread overview]
Message-ID: <20090206200329.GA1824@Krystal> (raw)
In-Reply-To: <20090206134833.GC10918@linux.vnet.ibm.com>
* Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote:
> On Thu, Feb 05, 2009 at 09:00:05PM -0500, Mathieu Desnoyers wrote:
> > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote:
> > > On Thu, Feb 05, 2009 at 04:06:27PM -0500, Mathieu Desnoyers wrote:
> > > > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote:
> > > > > On Thu, Feb 05, 2009 at 03:22:49PM -0500, Mathieu Desnoyers wrote:
> > > > > > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote:
> > > > > > > On Thu, Feb 05, 2009 at 01:31:59PM -0500, Mathieu Desnoyers wrote:
> > > > > > > > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote:
> > > > > > > > > On Thu, Feb 05, 2009 at 09:52:16PM +0530, Trilok Soni wrote:
> > > > > > > > > > Hi Paul,
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 5, 2009 at 9:28 PM, Paul E. McKenney
> > > > > > > > > > <paulmck@linux.vnet.ibm.com> wrote:
> > > > > > > > > > >>
> > > > > > > > > > >> Are you using quilt to apply the patchset series file in the right order ?
> > > > > > > > > > >
> > > > > > > > > > > Ummm... No. I never have used quilt.
> > > > > > > > > > >
> > > > > > > > > > > Ah, there is a series file. I guess it would not be too hard to make
> > > > > > > > > > > an appropriate "sh" command:
> > > > > > > > > >
> > > > > > > > > > How about trying?
> > > > > > > > > >
> > > > > > > > > > #quilt push -a
> > > > > > > > >
> > > > > > > > > Is the appropriate incantation as follows?
> > > > > > > > >
> > > > > > > > > cd <top of git tree>
> > > > > > > > > mkdir patches
> > > > > > > > > cp /tmp/patch-2.6.29-rc3-lttng-0.92/* patches
> > > > > > > > > quilt push -a
> > > > > > > > >
> > > > > > > >
> > > > > > > > Yes, exactly.
> > > > > > >
> > > > > > > Whew! ;-)
> > > > > > >
> > > > > > > > And from there you can follow the LTTng manual here :
> > > > > > > >
> > > > > > > > http://ltt.polymtl.ca/svn/trunk/lttv/LTTngManual.html
> > > > > > >
> > > > > > > I get some fuzz and the following:
> > > > > > >
> > > > > > > patching file kernel/trace/trace-clock-32-to-64.c
> > > > > > > Patch attempted to create file kernel/trace/trace-clock-32-to-64.c,
> > > > > > > which already exists.
> > > > > > > Hunk #1 FAILED at 1.
> > > > > > > 1 out of 1 hunk FAILED -- rejects in file
> > > > > > > kernel/trace/trace-clock-32-to-64.c
> > > > > > >
> > > > > > > Should I be starting from somewhere other than v2.6.29-rc3?
> > > > > > >
> > > > > >
> > > > > > Let's see it step by step, that should get us there.
> > > > > >
> > > > > > With patches :
> > > > > >
> > > > > > mkdir ~/lttng
> > > > > > cd ~/lttng
> > > > > > wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.29-rc3.tar.bz2
> > > > > > wget http://lttng.org/files/lttng/patch-2.6.29-rc3-lttng-0.92.tar.bz2
> > > > > > bzip2 -cd linux-2.6.29-rc3.tar.bz2 |tar xvof -
> > > > > > bzip2 -cd patch-2.6.29-rc3-lttng-0.92.tar.bz2 |tar xvof -
> > > > > > cd linux-2.6.29-rc3
> > > > > > mkdir patches
> > > > > > ln -s ../patch-2.6.29-rc3-lttng-0.92 patches
> > > > > > quilt push -a
> > > > > >
> > > > > > Does this work ?
> > > > >
> > > > > Leaving out the "mkdir", yes.
> > > >
> > > > Ah, yes, my mistake.
> > > >
> > > > > My apologies -- I was forgetting that
> > > > > "git reset --hard" doesn't get rid of untracked files. I do see fuzz
> > > > > in a few places, but hopefully this is non-fatal. And in any case, I
> > > > > can now make the patch required to actually try this out. ;-)
> > > > >
> > > >
> > > > Great !
> > > >
> > > > Don't hesitate to ask if you have any question.
> > > >
> > > > Mathieu
> > >
> > > Fails to build on Power, so trying x86... (Stock 2.6.29-rc3 does
> > > build and boot, FWIW.)
> > >
> > > Looks like misplaced file.
> > >
> > > Thanx, Paul
> > >
> > > ------------------------------------------------------------------------
> > >
> > > CHK include/linux/version.h
> > > UPD include/linux/version.h
> > > CHK include/linux/utsrelease.h
> > > UPD include/linux/utsrelease.h
> > > SYMLINK include/asm -> include/asm-powerpc
> > > HOSTCC scripts/ihex2fw
> > > HOSTCC scripts/kallsyms
> > > HOSTCC scripts/pnmtologo
> > > HOSTCC scripts/genksyms/genksyms.o
> > > HOSTCC scripts/conmakehash
> > > HOSTCC scripts/bin2c
> > > CC scripts/mod/empty.o
> > > HOSTCC scripts/mod/mk_elfconfig
> > > SHIPPED scripts/genksyms/lex.c
> > > SHIPPED scripts/genksyms/parse.h
> > > SHIPPED scripts/genksyms/keywords.c
> > > SHIPPED scripts/genksyms/parse.c
> > > HOSTCC scripts/genksyms/parse.o
> > > HOSTCC scripts/genksyms/lex.o
> > > MKELF scripts/mod/elfconfig.h
> > > HOSTCC scripts/mod/file2alias.o
> > > HOSTCC scripts/mod/modpost.o
> > > HOSTCC scripts/mod/sumversion.o
> > > HOSTLD scripts/genksyms/genksyms
> > > HOSTLD scripts/mod/modpost
> > > CC kernel/bounds.s
> > > GEN include/linux/bounds.h
> > > CC arch/powerpc/kernel/asm-offsets.s
> > > In file included from include/linux/module.h:18,
> > > from include/linux/sysdev.h:25,
> > > from include/linux/node.h:22,
> > > from include/linux/swap.h:10,
> > > from include/linux/suspend.h:7,
> > > from arch/powerpc/kernel/asm-offsets.c:24:
> > > include/linux/immediate.h:15:27: error: asm/immediate.h: No such file or directory
> > > In file included from include/linux/module.h:18,
> > > from include/linux/sysdev.h:25,
> > > from include/linux/node.h:22,
> > > from include/linux/swap.h:10,
> > > from include/linux/suspend.h:7,
> > > from arch/powerpc/kernel/asm-offsets.c:24:
> > > include/linux/immediate.h:37: warning: ‘struct __imv’ declared
> > > inside parameter list
> > > include/linux/immediate.h:37: warning: its scope is only this definition
> > > or declaration, which is probably not what you want
> > > include/linux/immediate.h:40: warning: ‘struct __imv’ declared
> > > inside parameter list
> > > make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
> > > make: *** [prepare0] Error 2
> > > 02/05/2009-17:57:41 Build the kernel. Failed rc = 2
> > > 02/05/2009-17:57:41 build: Building kernel... Failed rc = 1
> > >
> >
> > Hrm, does the file
> >
> > arch/powerpc/include/asm/immediate.h exist in your tree ?
> >
> > Here, with the setup done following the commands I gave you (minus the
> > mkdir patch), I get :
> >
> >
> > compudj@ok:~$ head testpaulmck/linux-2.6.29-rc3/arch/powerpc/include/asm/immediate.h
> > #ifndef _ASM_POWERPC_IMMEDIATE_H
> > #define _ASM_POWERPC_IMMEDIATE_H
> >
> > /*
> > * Immediate values. PowerPC architecture optimizations.
> > *
> > * (C) Copyright 2006 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
> > *
> > * This file is released under the GPLv2.
> > * See the file COPYING for more details.
> >
> > ....
> >
> > Which defines struct __imv. So hrm, normally the header should be there.
> > (/me still confused) :)
>
> It does indeed, see the patch I generated against 2.6.29-rc3:
>
> http://www.rdrop.com/users/paulmck/patches/2.6.29-rc3-ltt-1.patch
>
> I get a similar failure on x86 -- perhaps my tools or build environment
> does not match yours?
>
Maybe. If you want a quick and dirty solution, try :
CONFIG_IMMEDIATE=n
Immediate values are just an optimization, not necessary anyway.
Mathieu
> Thanx, Paul
>
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-06 20:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 20:07 LTTng 0.89 for Linux 2.6.29-rc3 Mathieu Desnoyers
2009-02-05 14:04 ` Paul E. McKenney
2009-02-05 15:02 ` Mathieu Desnoyers
2009-02-05 15:18 ` Paul E. McKenney
2009-02-05 15:38 ` [ltt-dev] " Mathieu Desnoyers
2009-02-05 15:58 ` Paul E. McKenney
2009-02-05 16:22 ` Trilok Soni
2009-02-05 18:01 ` Paul E. McKenney
2009-02-05 18:31 ` Mathieu Desnoyers
2009-02-05 18:44 ` Paul E. McKenney
2009-02-05 20:22 ` Mathieu Desnoyers
2009-02-05 21:04 ` Paul E. McKenney
2009-02-05 21:06 ` Mathieu Desnoyers
2009-02-06 0:33 ` Paul E. McKenney
2009-02-06 2:00 ` Mathieu Desnoyers
2009-02-06 13:48 ` Paul E. McKenney
2009-02-06 20:03 ` Mathieu Desnoyers [this message]
2009-02-06 21:37 ` Paul E. McKenney
2009-02-08 15:47 ` Paul E. McKenney
2009-02-05 16:28 ` Trilok Soni
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=20090206200329.GA1824@Krystal \
--to=compudj@krystal.dyndns.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ltt-dev@lists.casi.polymtl.ca \
--cc=paulmck@linux.vnet.ibm.com \
--cc=soni.trilok@gmail.com \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).