Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 167800

Summary: CRM648268: kernel reporting init process cutime as very large negative value
Product: Red Hat Enterprise Linux 3 Reporter: Issue Tracker <tao>
Component: kernelAssignee: Peter Staubach <staubach>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: kzak, petrides, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2006-0144 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-15 16:31:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 168424    
Attachments:
Description Flags
output of cat /proc/1/stat
none
Proposed patch
none
Proposed patch none

Description Issue Tracker 2005-09-08 12:30:00 UTC
Escalated to Bugzilla from IssueTracker

Comment 8 Jatin Nansi 2005-09-08 12:34:18 UTC
Created attachment 118590 [details]
output of cat /proc/1/stat

Comment 9 Jatin Nansi 2005-09-08 12:34:48 UTC
Created attachment 118591 [details]
Proposed patch

Comment 10 Peter Staubach 2005-10-07 17:21:19 UTC
Created attachment 119715 [details]
Proposed patch

Comment 11 Peter Staubach 2005-10-07 17:26:25 UTC
The problem appears to be pretty much as described.  The kernel accumulates
the user and system times in the cutime and cstime elements of the task_struct.

The proc file system prints these elements after converting them to "clock"
ticks.  These ticks are currently defined to be 100 per second.  The problem
was that although the original values are unsigned long entities, the converted
values were being printed as signed long entities.

Interestingly, the other "clock" tick entities were being printed as unsigned
long entities already.

Comment 13 Ernie Petrides 2005-10-20 05:40:55 UTC
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.6.EL).


Comment 14 Karel Zak 2005-11-02 20:25:02 UTC
Note that procps update has been rejected from RHEL3-U7 (see bug #167802).

Comment 17 Red Hat Bugzilla 2006-03-15 16:31:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0144.html