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 5 product line. The current stable release is 5.10. 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 467927

Summary: [RHEL5] patch enabling deep C states makes a RHTS machine hang on boot
Product: Red Hat Enterprise Linux 5 Reporter: Aristeu Rozanski <arozansk>
Component: kernelAssignee: John Feeney <jfeeney>
Status: CLOSED ERRATA QA Contact: Mike Gahagan <mgahagan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: benl, duck, dzickus, jburke, mgahagan, peterm, qcai, syeghiay
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:17:04 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:
Attachments:
Description Flags
Only use C3 states that have no bm_control flag if they're accessed via _CST none

Description Aristeu Rozanski 2008-10-21 18:18:44 UTC
Description of problem:
since kernel -99, athlon3.rhts.bos.redhat.com is hanging at boot time. after
some bisecting, I found that the patch linux-2.6-acpi-enable-deep-c-states-for-idle-efficiency.patch is the culprit. removing it on -99 or on -120 fixes
the problem and the machine boots without problems.

The problem is 100% reproducible.

Comment 2 Matthew Garrett 2008-10-24 21:48:31 UTC
At what point in the boot does the system hang?

Comment 3 Aristeu Rozanski 2008-10-27 13:48:31 UTC
Right before the serial initialization. I'll find a dmesg output and attach it
here.

Comment 4 Aristeu Rozanski 2008-10-27 15:13:29 UTC
Here's the output:
http://rhts.redhat.com/cgi-bin/rhts/test_log.cgi?id=4681599

the machine has no remote console (except serial console) and has LAPIC disabled
by BIOS (thus no NMI watchdog support), so I couldn't get more info.

Comment 5 Matthew Garrett 2008-10-28 21:19:43 UTC
Hmm. Does it boot if you force-enable the apic with the lapic boot option?

Comment 6 Aristeu Rozanski 2008-10-28 21:26:57 UTC
No. It crashes with nmi_watchdog enabled/disabled.

Comment 7 Matthew Garrett 2008-10-28 21:48:30 UTC
Ok. Does booting with the

processor.max_cstate=0

parameter work? If so, what is the maximum number you can increase that to and still get a working boot?

Comment 8 Aristeu Rozanski 2008-10-29 15:36:19 UTC
this machine (on RHTS) is not reserved to me anymore. I'll reserve and test it,
unless you want to do it.

Comment 9 Matthew Garrett 2008-10-29 15:54:12 UTC
Yeah, rhts is giving me weird errors whenever I attempt to reserve it (Transaction aborted: Empty recipe_set at /usr/share/rhts/lib/Workflows.pm line 321), so might be worth you giving it a shot.

Comment 14 Matthew Garrett 2008-10-30 05:02:27 UTC
Looks like we need to backport ed3110efb538d7acbf635095c1382118f7414f75 from upstream - doing a test build now.

Comment 15 Matthew Garrett 2008-10-30 13:23:41 UTC
Created attachment 321932 [details]
Only use C3 states that have no bm_control flag if they're accessed via _CST

Confirmed to fix the system

Comment 19 Don Zickus 2008-11-04 16:51:08 UTC
in kernel-2.6.18-122.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 21 Matthew Garrett 2008-11-18 13:41:35 UTC
*** Bug 465251 has been marked as a duplicate of this bug. ***

Comment 24 errata-xmlrpc 2009-01-20 20:17:04 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-0225.html