public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: RT patched kernel debugging
  2005-11-16 16:35 RT patched kernel debugging venkata jagadish.p
@ 2005-11-16 13:40 ` john cooper
  2005-11-17  9:38   ` venkata jagadish.p
  0 siblings, 1 reply; 3+ messages in thread
From: john cooper @ 2005-11-16 13:40 UTC (permalink / raw)
  To: venkata jagadish.p; +Cc: linux-kernel, Ingo Molnar, john cooper

venkata jagadish.p wrote:
> Hi all,
> I am trying to debug the RT patched kernel with UML. But it is showing 
> these errors
> My kernel version is 2.6.13 and applied patch-2.6.13-rt14 to this kernel
> 
> 
> gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
> -fno-common -ffreestanding -O2 -fno-omit-frame-pointer 
> -fno-optimize-sibling-calls -g -D__arch_um__ -DSUBARCH=\"i386\" 
> -Iarch/um/include -I/usr/src/linux-2.6.13/arch/um/kernel/tt/include 
> -I/usr/src/linux-2.6.13/arch/um/kernel/skas/include -Dvmap=kernel_vmap 
> -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask 
> -fno-unit-at-a-time -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE 
> -Wdeclaration-after-statement -Wno-pointer-sign -nostdinc -isystem 
> /usr/lib/gcc/i386-redhat-linux/4.0.0/include -D__KERNEL__ -Iinclude -S 
> -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
> In file included from arch/um/sys-i386/kernel-offsets.c:3:
> include/linux/sched.h: In function ‘set_tsk_need_resched_delayed’:
> include/linux/sched.h:1465: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared 
> (first use in this function)

That's odd.  Did the patch apply cleanly?
TIF_NEED_RESCHED_DELAYED should be defined in
include/asm-i386/thread_info.h for an i386
target.

-john

-- 
john.cooper@timesys.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RT patched kernel debugging
@ 2005-11-16 16:35 venkata jagadish.p
  2005-11-16 13:40 ` john cooper
  0 siblings, 1 reply; 3+ messages in thread
From: venkata jagadish.p @ 2005-11-16 16:35 UTC (permalink / raw)
  To: linux-kernel, Ingo Molnar

Hi all,
I am trying to debug the RT patched kernel with UML. But it is showing 
these errors
My kernel version is 2.6.13 and applied patch-2.6.13-rt14 to this kernel


gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -ffreestanding -O2 -fno-omit-frame-pointer 
-fno-optimize-sibling-calls -g -D__arch_um__ -DSUBARCH=\"i386\" 
-Iarch/um/include -I/usr/src/linux-2.6.13/arch/um/kernel/tt/include 
-I/usr/src/linux-2.6.13/arch/um/kernel/skas/include -Dvmap=kernel_vmap 
-Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask 
-fno-unit-at-a-time -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE 
-Wdeclaration-after-statement -Wno-pointer-sign -nostdinc -isystem 
/usr/lib/gcc/i386-redhat-linux/4.0.0/include -D__KERNEL__ -Iinclude -S 
-o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
In file included from arch/um/sys-i386/kernel-offsets.c:3:
include/linux/sched.h: In function ‘set_tsk_need_resched_delayed’:
include/linux/sched.h:1465: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared 
(first use in this function)
include/linux/sched.h:1465: error: (Each undeclared identifier is 
reported only once
include/linux/sched.h:1465: error: for each function it appears in.)
include/linux/sched.h: In function ‘clear_tsk_need_resched_delayed’:
include/linux/sched.h:1470: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared 
(first use in this function)
include/linux/sched.h: In function ‘need_resched_delayed’:
include/linux/sched.h:1475: error: ‘TIF_NEED_RESCHED_DELAYED’ undeclared 
(first use in this function)
make: *** [arch/um/kernel-offsets.s] Error 1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RT patched kernel debugging
  2005-11-16 13:40 ` john cooper
@ 2005-11-17  9:38   ` venkata jagadish.p
  0 siblings, 0 replies; 3+ messages in thread
From: venkata jagadish.p @ 2005-11-17  9:38 UTC (permalink / raw)
  To: john cooper; +Cc: linux-kernel, Ingo Molnar

john cooper wrote:

> venkata jagadish.p wrote:
>
>> Hi all,
>> I am trying to debug the RT patched kernel with UML. But it is 
>> showing these errors
>> My kernel version is 2.6.13 and applied patch-2.6.13-rt14 to this kernel
>>
>>
>> gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
>> -fno-common -ffreestanding -O2 -fno-omit-frame-pointer 
>> -fno-optimize-sibling-calls -g -D__arch_um__ -DSUBARCH=\"i386\" 
>> -Iarch/um/include -I/usr/src/linux-2.6.13/arch/um/kernel/tt/include 
>> -I/usr/src/linux-2.6.13/arch/um/kernel/skas/include 
>> -Dvmap=kernel_vmap -Derrno=kernel_errno 
>> -Dsigprocmask=kernel_sigprocmask -fno-unit-at-a-time -U__i386__ 
>> -Ui386 -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement 
>> -Wno-pointer-sign -nostdinc -isystem 
>> /usr/lib/gcc/i386-redhat-linux/4.0.0/include -D__KERNEL__ -Iinclude 
>> -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
>> In file included from arch/um/sys-i386/kernel-offsets.c:3:
>> include/linux/sched.h: In function ‘set_tsk_need_resched_delayed’:
>> include/linux/sched.h:1465: error: ‘TIF_NEED_RESCHED_DELAYED’ 
>> undeclared (first use in this function)
>
>
> That's odd.  Did the patch apply cleanly?
> TIF_NEED_RESCHED_DELAYED should be defined in
> include/asm-i386/thread_info.h for an i386
> target.
>
>
Patch was applied properly, for an i386 target it was compiled with out 
any errors, and it is working properly.
 When i try to complile the rt patch applied kernel
i didnot found TIF_NEED_RESCHED_DELAYED in include/asm-um/thread_info.h
Is there any separate patch required for debugging rtpatched kernel with 
UML.

regards,
Venka ta jagadish.p


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-17  4:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 16:35 RT patched kernel debugging venkata jagadish.p
2005-11-16 13:40 ` john cooper
2005-11-17  9:38   ` venkata jagadish.p

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox