Re: Grub menu entry without root= in SLES11SP2 machine

2013-01-22 Thread Mulyadi Santosa
Hi Chaitanya On Mon, Jan 21, 2013 at 4:39 PM, Chaitanya Gotkhindikar cg011...@gmail.com wrote: Hello, I am trying to write a script that parse /boot/grub/menu.lst. On SLES11 SP2 installed machine I observed that no root=device entry specified in menu entry of grub.However, the system

Re: Can jiffies freeze?

2013-01-22 Thread Mulyadi Santosa
Hi.. On Tue, Jan 22, 2013 at 12:51 PM, sandeep kumar coolsandyfor...@gmail.com wrote: Hi all As far as I know jiffie counter is incremented HZ times/second. And it is used to measure the time lapses in the kernel code. I m seeing a case where, actualy time spent in some module using giffies

Re: Grub menu entry without root= in SLES11SP2 machine

2013-01-22 Thread Grzegorz Dwornicki
On the Sylicon Valey Linux User Group at the Kernel Walktrought (you can watch it on youtube) Jim said something about kernel remembering its root devide durring compilation soo when you don't use root arg it will use that setting inside of its image. But someone might verify this G. 22 sty 2013

Re: Can jiffies freeze?

2013-01-22 Thread hejianet
how about to check the disable/enable timer interrupt? cat /proc/stat before/after 2 seconds? On 2013-01-22 13:51, sandeep kumar wrote: Hi all As far as I know jiffie counter is incremented HZ times/second. And it is used to measure the time lapses in the kernel code. I m seeing a case where,

question on debug

2013-01-22 Thread horseriver
hi: I am debuging kernel with gdb , when it comes into a page_fault exception ,how to get to know how does that address come out ? It is the same to ask : which code is using that address , causing the page_fault exception? thanks! ___

Re: Can jiffies freeze?

2013-01-22 Thread sandeep kumar
Hi All I am seeing this problem at the very early in the start_kernel-- mm_init-- free_highpages, at that time nothing is up and kernel is running in single thread. Thanks Sandeep On Tue, Jan 22, 2013 at 1:07 AM, hejianet hejia...@linux.vnet.ibm.comwrote: how about to check the disable/enable

Re: Can jiffies freeze?

2013-01-22 Thread Valdis . Kletnieks
On Tue, 22 Jan 2013 10:29:05 -0800, sandeep kumar said: I am seeing this problem at the very early in the start_kernel-- mm_init-- free_highpages, at that time nothing is up and kernel is running in single thread. If you build a kernel with printk timestamps, you'll see that they all come out

Re: Can jiffies freeze?

2013-01-22 Thread sandeep kumar
Dear Anish, Mulyadi, this is how i read jiffies. unsigned long start_time, end_time; start_time = jiffies; free_area(***); end_time = jiffies; printk(%ld, end_time-start_time); I onserved jiffies getting incremented at different place, though thanks sandeep On Tue, Jan 22, 2013 at 10:29 AM,

Re: Can jiffies freeze?

2013-01-22 Thread sandeep kumar
Hi Mr.Valdis as you rightly mentioned,cat /proc/kmsg is showing the time stamps, according to that it is 0ms only. But when you see the same with UART there is 2sec delay in showing the next log. i caught this while i m observing the UART logs with Terminaliranicca. Since i m early in the

Re: Can jiffies freeze?

2013-01-22 Thread Valdis . Kletnieks
On Tue, 22 Jan 2013 11:32:19 -0800, sandeep kumar said: as you rightly mentioned,cat /proc/kmsg is showing the time stamps, according to that it is 0ms only. But when you see the same with UART there is 2sec delay in showing the next log. i caught this while i m observing the UART logs with

Re: Can jiffies freeze?

2013-01-22 Thread sandeep kumar
Hi Valdis, Device specs: CPU: 1.7Ghz RAM: 2GB. We are not adding any code in the mm_init, All we do is reserve some memory during the boot time and rest of the memory around 1.45GB we configure it as HIGHMEM. Can you give me any info on how to do the profiling of the function calls during ealry

Re: Can jiffies freeze?

2013-01-22 Thread bill4carson
On 2013年01月23日 03:32, sandeep kumar wrote: Hi Mr.Valdis as you rightly mentioned,cat /proc/kmsg is showing the time stamps, according to that it is 0ms only. But when you see the same with UART there is 2sec delay in showing the next log. i caught this while i m observing the UART logs