Does kernel run with PID=0?

From: jm (anonymous_at_discussions.microsoft.com)
Date: 02/27/04

  • Next message: Carol: "Re: how to access the CE-Store card's free space"
    Date: Thu, 26 Feb 2004 18:21:07 -0800
    
    

    Hi,

    Was going through the shared source code and was trying to figure out how the kernel gets initialized...

    1. Does kernel get assigned PID=0?
    2. With a min-kern configuration for headless device, the kernel creates 2 threads (from the PB Help). Is this correct?
    3. For ARM based implementation, I can calculate where the Translation Address Table should be located for our implementation, but while stepping through the code, I find a different address. Where does this get set? How do I correct this?
    4. While stepping : KernelInit() -> calls -> SchedInit() -> calls -> VirtualMemoryAlloc(). This function is returning 0xc2010000 which is a non-mapped address and hence the function MDCreateThread() that uses this address fails. Does this sound like a good address - it looks like it is looking at the wrong location for the translation tables.

    Any inputs appreciated.

    Regards,
    jm


  • Next message: Carol: "Re: how to access the CE-Store card's free space"

    Relevant Pages

    • Re: Documentation of kernel messages (Summary)
      ... suggested solutions for documentation / translation of kernel messages ... the messages should _be_ documentation. ... Use printk format string as message identifier ...
      (Linux-Kernel)
    • Re: [Lf_kernel_messages] Re: Documentation of kernel messages (Summary)
      ... The idea that was tossed about was essentially printk hashes (hashed ... that will be a major pain for whoever wants to do the translation --- ... but sometimes kernel developers *like* cute messages. ...
      (Linux-Kernel)
    • Documentation of kernel messages (Summary)
      ... suggested solutions for documentation / translation of kernel messages ... to the corresponding documentation / translation. ... Use printk format string as message identifier ...
      (Linux-Kernel)
    • KDGKBENT and unicode
      ... I hope to avoid reading all the keymaps from the kernel to the application for keycode translation. ... Basically this works except, when the translation result is an unicode keysym or should I say the unicode value happens to be greater than 0xFF, I get K_HOLE. ... For each keycode switch to K_UNICODE mode, ask the translation from kernel, switch back to K_MEDIUMRAW mode and read the next keycode. ...
      (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)