Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 454913 - [Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
Summary: [Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel
Version: beta
Hardware: All
OS: Linux
Target Milestone: 1.0.1
: ---
Assignee: Red Hat Real Time Maintenance
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-10 18:53 UTC by Jeff Burke
Modified: 2008-08-26 19:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-08-26 19:57:32 UTC
Target Upstream Version:

Attachments (Terms of Use)
Patch from Miao Xie for fix (deleted)
2008-07-10 18:53 UTC, Jeff Burke
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0585 normal SHIPPED_LIVE Important: kernel security and bug fix update 2008-08-26 19:56:57 UTC

Description Jeff Burke 2008-07-10 18:53:12 UTC
Description of problem:
 While running the June LTP release we see a failure with test syscalls test

Version-Release number of selected component (if applicable):

How reproducible:
Actual results:
Testcase                       Result     Exit Value
--------                       ------     ----------
sched_rr_get_interval02        FAIL       1

sched_rr_get_interval02    1  FAIL  :  Test Failed,
sched_rr_get_interval()returned 0, errno = 0 : Success, tp.tv_sec = 2,
tp.tv_nsec = 146673656
tag=sched_rr_get_interval02 stime=1215657134
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0

Expected results:
This should pass

Additional info:
This has been fixed upstream:

commit 1868f958eb56fc41c5985c8732e564a400c5fdf5
Author: Miao Xie <>
Date:   Fri Mar 7 09:35:06 2008 +0800

    sched: fix the wrong time slice value for SCHED_FIFO tasks
    Function sys_sched_rr_get_interval returns wrong time slice value for
    SCHED_FIFO tasks. The time slice for SCHED_FIFO tasks should be 0.
    Signed-off-by: Miao Xie <>
    Signed-off-by: Ingo Molnar <>

Upstream bug:;a=commitdiff;h=1868f958eb56fc41c5985c8732e564a400c5fdf5

Comment 1 Jeff Burke 2008-07-10 18:53:12 UTC
Created attachment 311503 [details]
Patch from Miao Xie for fix

Comment 5 errata-xmlrpc 2008-08-26 19:57:32 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 therefore 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.

Note You need to log in before you can comment on or make changes to this bug.