Bug 6626 - procps Unknown HZ value! (XX) Assume 100.
Summary: procps Unknown HZ value! (XX) Assume 100.
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2013.08
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-29 01:51 UTC by Cassiano Martin
Modified: 2014-06-08 20:40 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
procps-3.2.8-linux_version_init.patch (1.70 KB, patch)
2013-10-29 01:51 UTC, Cassiano Martin
Details
procps-ng.patch (8.21 KB, patch)
2013-11-16 12:28 UTC, Cassiano Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cassiano Martin 2013-10-29 01:51:06 UTC
Procps suite is goes nuts with my mips64 board. the problem seem harmless, as I read from the gentoo forums. All binaries included in procps suite show the same message "Unknown HZ value! (XX) Assume 100.", like top, ps, uptime, et all.

Attached is a patch from the gentoo, which seems to solve this. it works fine for x86 and mips64 as I tested.
Comment 1 Cassiano Martin 2013-10-29 01:51:58 UTC
Created attachment 5102 [details]
procps-3.2.8-linux_version_init.patch
Comment 2 Thomas Petazzoni 2013-11-13 23:36:02 UTC
Instead, we should switch the procps package to use procps-ng, at http://sourceforge.net/projects/procps-ng/. This one has an active upstream, with a Git repository and so on.

Cassiano, would you be willing to provide a patch to Buildroot that does this?
Comment 3 Cassiano Martin 2013-11-16 12:28:00 UTC
Created attachment 5120 [details]
procps-ng.patch
Comment 4 Cassiano Martin 2013-11-16 12:28:15 UTC
Patch provided.

Working fine with no more patches on x86, x86_64 and mips64.

I''l leave to the buildroot devs find out why configure script concatenates exec-prefix, resulting in a bogus path. As a workaround I had to set --exec-prefix=/
Comment 5 Thomas De Schampheleire 2014-02-07 08:43:10 UTC
Hi Cassiano, 

Would you mind sending also this patch to the mailing list instead?

Thanks,
Thomas
Comment 6 Thomas De Schampheleire 2014-06-08 20:40:34 UTC
Procps-ng is merged now, making this as resolved.