Re: What are the different timer that exists in the kernel?

2008-09-19 Thread Peter Teoh
Thank you Sitsofe. On 9/18/08, Sitsofe Wheeler [EMAIL PROTECTED] wrote: Peter Teoh wrote: Thank you for your reply Sitsofe. I hope you will allow me to share with the Kernelnewbies team as well. Of course. To rephrase my question: In a standard x86 hardware system, we have

Kernel command line parameter?

2008-09-19 Thread Chetan Nanda
Hi All, I have to pass a new command line parameter to linux kernel at bootup time, I am using Intel x86 machine. How will I go about this? I have seen in kernel code many statements like: __setup(str,fn); Is statement of this kind is sufficient enough? How/where (in code) kernel parse these

RE: Kernel command line parameter?

2008-09-19 Thread Vivek Kumar Gupta
Simplest is do $make menuconfig Change the boot options for command line paramenter. If you see .config it is CONFIG_CMDLINE= Regards Vivek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chetan Nanda Sent: Friday, September 19, 2008 2:13 PM

virtual address space ?

2008-09-19 Thread nidhi mittal
as if linear address is of 32 bits then total linear address space of 4GB is mapped to physical address space. then i wanted to ask Is this address space is split among all processes ? OR each process gets its independent full 4GB linear address space. ? -- Thanks Regards Nidhi

Re: virtual address space ?

2008-09-19 Thread Sandeep K Sinha
On Fri, Sep 19, 2008 at 5:29 PM, nidhi mittal [EMAIL PROTECTED]wrote: as if linear address is of 32 bits then total linear address space of 4GB is mapped to physical address space. then i wanted to ask Refer a book by james turley on x86, they have explained it in quite detail. Is this

Re: virtual address space ?

2008-09-19 Thread patrick
On Fri, Sep 19, 2008 at 05:29:20PM +0530, nidhi mittal wrote: as if linear address is of 32 bits then total linear address space of 4GB is mapped to physical address space. then i wanted to ask Is this address space is split among all processes ? OR each process gets its independent full 4GB

Re: virtual address space ?

2008-09-19 Thread karunakar rao
On Fri, Sep 19, 2008 at 5:54 PM, [EMAIL PROTECTED] wrote: On Fri, Sep 19, 2008 at 05:29:20PM +0530, nidhi mittal wrote: as if linear address is of 32 bits then total linear address space of 4GB is mapped to physical address space. then i wanted to ask Is this address space is split

Re: I need to crash and hang Linux

2008-09-19 Thread Karl Tatgenhorst
Not very innovative, but fill your log partition. On Fri, Sep 19, 2008 at 12:16 AM, shankar [EMAIL PROTECTED] wrote: Hi, I am looking for innovative ways to crash and 'hang' my embedded Linux board ( ARM11 cpu ). This is to check if I can debug the problem with my Lauterbach ICD

Automatic USB drive detection/Disconnection in user application!!!

2008-09-19 Thread Nalajala Murali
Hi All, I need a solution for the below problem. When the USB got detected by the kernel ( Linux ) i am not able to figure it out to where it is mapped on my dev file system. Please let me know how will i come to know to where my USB is mapped using the C routine!!! Is there any provision to call

Re: I need to crash and hang Linux

2008-09-19 Thread Thomas De Schampheleire
On Fri, Sep 19, 2008 at 7:16 AM, shankar [EMAIL PROTECTED] wrote: Hi, I am looking for innovative ways to crash and 'hang' my embedded Linux board ( ARM11 cpu ). This is to check if I can debug the problem with my Lauterbach ICD debugger set up with Linux awareness. ( In the

Re: What are the different timer that exists in the kernel?

2008-09-19 Thread Sitsofe Wheeler
Peter Teoh wrote: On 9/18/08, Sitsofe Wheeler [EMAIL PROTECTED] wrote: Just after start up the kernel decides which hardware clock source it deems to be the best after tests (the order on x86 from most to least prefered is roughly HPET, ACPI, TSC, PIT) and goes on to only use that (after I am

Re: What are the different timer that exists in the kernel?

2008-09-19 Thread Peter Teoh
Ah...thank youu just taught me several key API .thanks. But now I am yearning for more:=). On Sat, Sep 20, 2008 at 12:03 AM, Sitsofe Wheeler [EMAIL PROTECTED] wrote: Peter Teoh wrote: On 9/18/08, Sitsofe Wheeler [EMAIL PROTECTED] wrote: Just after start up the kernel decides