Bug 178119

Summary: [RHEL3] dump_stack() isn't implemented on x86_64
Product: Red Hat Enterprise Linux 3 Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jparadis, petrides, steved
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2006-0437 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-20 13:41:34 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: 181405    
Attachments:
Description Flags
patch to add dump_stack functionality to x86_64
none
simple kernel module that demonstrates problem none

Description Jeff Layton 2006-01-17 21:10:14 UTC
dump_stack() isn't implemented on x86_64. Trying to call it from a module gives
an error message like this:

This architecture does not implement dump_stack()

This is not a "bug" per-se, but it does mean that x86_64 lacks a debugging tool
that can be very nice to have (triggering a stack dump on a certain condition
from a module).

Comment 1 Jeff Layton 2006-01-17 21:18:31 UTC
Created attachment 123333 [details]
patch to add dump_stack functionality to x86_64

This patch corrected this problem on my test rig.

Comment 2 Jeff Layton 2006-01-17 21:20:09 UTC
Created attachment 123334 [details]
simple kernel module that demonstrates problem

This is a simple kernel module that simply does a dump_stack in the init phase.
This can be used to demonstrate the problem (and test the patch).

Comment 3 Ernie Petrides 2006-02-24 03:44:19 UTC
A fix for this problem has just been committed to the RHEL3 U8
patch pool this evening (in kernel version 2.4.21-40.3.EL).


Comment 4 Ernie Petrides 2006-04-28 21:45:44 UTC
Adding a couple dozen bugs to CanFix list so I can complete the stupid advisory.

Comment 7 Red Hat Bugzilla 2006-07-20 13:41:35 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-0437.html