Re: RT patched kernel debugging

From: venkata jagadish.p (cpvjagadeesh_at_gmail.com)
Date: 11/17/05

  • Next message: Jeff V. Merkey: "Re: [2.6 patch] i386: always use 4k stacks"
    Date:	Thu, 17 Nov 2005 09:38:53 +0000
    To: john cooper <john.cooper@timesys.com>
    
    

    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

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jeff V. Merkey: "Re: [2.6 patch] i386: always use 4k stacks"

    Relevant Pages

    • Re: RT patch acceptance
      ... judge the complexity of a design for that type of system. ... claim that you cannot judge the complexity of a kernel modification. ... Since the patch in question doesn't actually need that information to ... nanokernel's API up to date with additions to Linux's API that RT people ...
      (Linux-Kernel)
    • Re: Granting some root permissions to certain users
      ... We use a kernel patch called trustees to do just what you're talking ... Unfortunately the patch hasn't really been kept up-to-date. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RT-V0.7.47-17 build fails
      ... On Monday 06 June 2005 03:41, Ingo Molnar wrote: ... >> I thought maybe I'd exersize this kernel, but a patch I thought ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... to avoid so we can get this in to the 2.6 kernel ASAP. ... I am pretty certain the patch won't impact the ... > might want to kill the condition depending on the stepping, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.3-rc1-mm1
      ... > This is the first time that anyone told me that it even existed. ... When we're at kernel version 2.6.3! ... without this patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)