Re: LTTng problem for linux-2.6.18 for 0.6.41 patch on OMAP2420(ARM11 core ) board

Mathieu Desnoyers <[email protected]> Tue, 24 Jul 2007 10:23:31 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20070724142331.GF26634@Krystal>
* satish ([email protected]) wrote:
> Hi ,,
> 
>     we are new to LTTng.. we are applying LTTng 0.6.41 patch on linux kernel  2.6.18 (OMAP2420 board)...
> 
> The procedure we followed:
> 
> #cd /home/linux2.16.18
> 
> #cat  /path/patch6.41/patch*-2.6.18-lttng-0.6.41* | patch -p1
> 
> while applying this patch it shows a message like 
> 
> Reversed (or previously applied) patch detected! Assume -R? [n]
> 

Can you give me the complete output of the patches being applied ?


> selecting both y / n doesnt solve the kernel compilation problem. we are getting kernel build errors.
> 
> 
> 
> Log message of kernel:
> 
> ------------------------------------------------------------------
> 
> the make log of kernel 2.6.18 with LTTng patch.
> 
> CHK include/linux/version.h
> 
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> 
> CHK include/linux/utsrelease.h
> 
> CC arch/arm/kernel/asm-offsets.s
> 
> In file included from include/linux/spinlock_types.h:12,
> 
> from include/linux/spinlock.h:78,
> 
> from include/linux/capability.h:45,
> 
> from include/linux/sched.h:44,
> 
> from arch/arm/kernel/asm-offsets.c:13:
> 
> include/linux/lockdep.h:93: error: field `usage_traces' has incomplete type
> 
> include/linux/lockdep.h:134: error: field `trace' has incomplete type
> 
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> 
> make: *** [prepare0] Error 2
> 
> can anybody tell which patches are working for linux 2.6.18 kernel...
> we have tried LTTng6.40 and 6.41, both are giving same build errors,
> 

Try, in you kernel config, to unselect the "Locking facility"/"Locking
Probe". Check that CONFIG_LOCKDEP is set to n in your .config. Tell me
if it helps.

Mathieu

> Regards,
> k.v.v.satish kumar

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68