Bug 479764

Summary: Leap second message can hang the kernel
Product: Red Hat Enterprise Linux 4 Reporter: Chris Adams <linux>
Component: kernelAssignee: Prarit Bhargava <prarit>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: low    
Version: 4.6CC: jtluka, vgoyal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 808946 (view as bug list) Environment:
Last Closed: 2009-05-18 19:37:18 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: 808946    
Attachments:
Description Flags
RHEL4 fix for this issue none

Description Chris Adams 2009-01-12 22:30:08 UTC
The kernel attempts to print a message when a leap second is inserted or removed.  This can cause kernel versions prior to 2.6.29 to hang, due to a deadlock on xtime_lock.  See http://lkml.org/lkml/2009/1/2/373 for a trace and explanation.

The simplest solution for the older RHEL kernels is probably just to remove the leap second printks.

Comment 1 Prarit Bhargava 2009-01-28 17:49:17 UTC
See comments in 479695, the RHEL5 version of this BZ.

P.

Comment 2 Prarit Bhargava 2009-01-29 13:41:13 UTC
Created attachment 330351 [details]
RHEL4 fix for this issue

Comment 4 Ludek Smid 2009-02-09 13:55:46 UTC
Proposed for RHEL 4.8, based on comment #3.

Comment 5 RHEL Program Management 2009-02-09 14:09:46 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 8 Vivek Goyal 2009-03-11 14:10:34 UTC
Committed in 83.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 11 errata-xmlrpc 2009-05-18 19:37:18 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.

http://rhn.redhat.com/errata/RHSA-2009-1024.html