Bug 178119 - [RHEL3] dump_stack() isn't implemented on x86_64
[RHEL3] dump_stack() isn't implemented on x86_64
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Layton
: FutureFeature
Depends On:
Blocks: RHEL3U8CanFix
  Show dependency treegraph
 
Reported: 2006-01-17 16:10 EST by Jeff Layton
Modified: 2014-06-18 03:35 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2006-0437
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-20 09:41:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to add dump_stack functionality to x86_64 (787 bytes, patch)
2006-01-17 16:18 EST, Jeff Layton
no flags Details | Diff
simple kernel module that demonstrates problem (558 bytes, patch)
2006-01-17 16:20 EST, Jeff Layton
no flags Details | Diff

  None (edit)
Description Jeff Layton 2006-01-17 16:10:14 EST
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 16:18:31 EST
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 16:20:09 EST
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-23 22:44:19 EST
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 17:45:44 EDT
Adding a couple dozen bugs to CanFix list so I can complete the stupid advisory.
Comment 7 Red Hat Bugzilla 2006-07-20 09:41:35 EDT
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

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