Issue with ps -l command "Unknown HZ value! (744514) Assume 100."
Hi All, I am working on porting linux kernel 3.4 to an arm926-ejs based fpga board. After the kernel bootup, in the command prompt when i am using the command "ps -l "..i am getting the following *sh-4.2# ps -l* *Unknown HZ value! (744514) Assume 100.* * * * * *F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD* *0 S 0 51 1 0 80 0 - 443 wait ttySAC0 00:00:12 sh* *0 R 0 56 51 0 80 0 - 297 - ttySAC0 00:00:04 ps* * * * * The issue i am facing is *"I configured the jiffies for 25Hz,still it is assuming 100hz."* Is this problem related to the filesystem i am using. I am using ".ext2" filesystem build from buildroot. The option set in buildroot for creating filesystem are as mentioned below: *(3.4) linux version * *uClibc C library Version (uClibc 0.9.33.x)* *Binutils Version (binutils 2.21.1)* *GCC compiler Version (gcc 4.7.x)* Will this issue be fixed If i use glibc nstead of uclibc in buildroot ? Thanks, Karthik.
Hi... On Thu, Aug 30, 2012 at 12:28 PM, KARTHIK SEKURU <karthik.sekuru@gmail.com> wrote:
After the kernel bootup, in the command prompt when i am using the command "ps -l "..i am getting the following
sh-4.2# ps -l Unknown HZ value! (744514) Assume 100.
IIRC, if you run this at shell: getconf -a | grep TCK you will get (in x86 32 bit): CLK_TCK 100 It means to me that 100 is assumed as "known value in user space". However, in reality, the real timer precision is based upon real HZ value in kernel. Regarding your "broken" HZ, i guess it is more a user space issue rather than kernel space. I check "man sysconf" and "man getconf", and I got impression that it is a value either stated in one of glibc headers or kernel headers..... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (2)
-
KARTHIK SEKURU -
Mulyadi Santosa