----- Original Message ----- 
From: "Bruce Dubbs" <bruce.du...@gmail.com>
To: "LFS Developers Mailinglist" <lfs-dev@linuxfromscratch.org>
Sent: Monday, September 05, 2011 6:48 AM
Subject: Re: "unknown HZ value" message still appears in procps utils


> DJ Lucas wrote:
> > On 06/07/2011 05:16 AM, LANOUX Bertrand wrote:
> >> Hi all,
> >>
> >> I have noticed the "unknown HZ value" message still appears at boot
> >> time and under some unpredictable circumstances when running the ps
> >> command, even after applying the procps-3.2.8-fix_HZ_errors-1.patch
> >> (I currently use a SMP, 2.6.38.4 tickless kernel). So after looking
> >> inside the procps code and patch, I deduced the linux_version_code
> >> variable was not correctly valued. After starting to make my own
> >> patch, I came across a similar issue when looking over the net
> >> (seen on
> >>
http://www.linuxquestions.org/questions/slackware-14/slackware-13-37-rc-unknown-hz-value-after-procps-upgrade-871679/).
> >> It seems the constructor functions don't run as the package expect
> >> on recent libgcc.
> >>
> >> After applying it, the message definitively disappeared. The patch
> >> is attached (another solution is to prioritize the constructor
> >> functions).
...
> > Upstream patch committed as procps-3.2.8-fix_HZ_errors-2.patch. Still
> >  needs to be updated in the book.
>
> DJ, It's unclear to me if the -2 patch should be done in addition to the
>   -1 patch or if it should  just replace the -1 patch.
>
>    -- Bruce
> -- 
 errors-2 patch replace errors-1.

If you look a patch 1, it does update old_Hert_hack that does not need an
update.
old_Hert_hack is run by accident because linux_version_code is not properly
set, so find_elf_note is not run as it should to find Herzt value.

Gilles

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to