Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 645777

Summary: [RHEL6][Kernel] BUG: MAX_STACK_TRACE_ENTRIES too low!
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Burke <jburke>
Component: kernelAssignee: Kyle McMartin <kmcmartin>
Status: CLOSED ERRATA QA Contact: Botu Sun <bosun>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: arozansk, czhang, dtian, jstancek, kzhang, lwang, pbunyan, peterm, phan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-212.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 12:34:45 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: 750914    

Description Jeff Burke 2010-10-22 12:59:45 UTC
Description of problem:
 While running the tracepoint operational test we get the following message:
BUG: MAX_STACK_TRACE_ENTRIES too low!

Version-Release number of selected component (if applicable):
2.6.32-71.el6

How reproducible:
 Often on x86_63 kernel debug variant

Steps to Reproduce:
1. Install RHEL6 
2. Run the RHTS test /kernel/tracepoints/operational
  
Actual results:
BUG: MAX_STACK_TRACE_ENTRIES too low!
turning off the locking correctness validator.
Pid: 31932, comm: stapio Not tainted 2.6.32-71.6.1.el6.x86_64.debug #1
Call Trace:
 [<ffffffff810aac57>] save_trace+0xb7/0xd0
 [<ffffffff810aaccb>] add_lock_to_list+0x5b/0xf0
 [<ffffffff810afd88>] __lock_acquire+0x1028/0x1590
 [<ffffffffa06fd7f9>] ? _stp_ctl_write+0xa9/0x100 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffffa06fd7f9>] ? _stp_ctl_write+0xa9/0x100 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffff8101b145>] ? native_sched_clock+0x15/0x70
 [<ffffffff8101a739>] ? sched_clock+0x9/0x10
 [<ffffffff8101a739>] ? sched_clock+0x9/0x10
 [<ffffffff810b0394>] lock_acquire+0xa4/0x120
 [<ffffffffa06fd7f9>] ? _stp_ctl_write+0xa9/0x100 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffff814fbcc5>] _spin_lock_irqsave+0x55/0xa0
 [<ffffffffa06fd7f9>] ? _stp_ctl_write+0xa9/0x100 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffff810ae43d>] ? trace_hardirqs_on+0xd/0x10
 [<ffffffffa06fd7f9>] _stp_ctl_write+0xa9/0x100 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffffa06fd9f1>] _stp_ctl_send+0x51/0xa0 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffffa06ff17e>] _stp_ctl_write_cmd+0x3fe/0x440 [stap_c3111fde0a20e326539b49c5f21d2afd_850]
 [<ffffffff8121f7c6>] ? security_file_permission+0x16/0x20
 [<ffffffff81188c38>] vfs_write+0xb8/0x1a0
 [<ffffffff81189ff6>] ? fget_light+0x66/0x100
 [<ffffffff81189671>] sys_write+0x51/0x90
 [<ffffffff81013172>] system_call_fastpath+0x16/0x1b


Expected results:
 No BUG messages while running the test. 

Additional info:
 I believe I have only seen this with the x86_64 debug variant.

Comment 2 RHEL Program Management 2011-01-07 04:23:18 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Suzanne Logcher 2011-01-07 16:12:53 UTC
This request was erroneously denied for the current release of Red Hat
Enterprise Linux.  The error has been fixed and this request has been
re-proposed for the current release.

Comment 4 RHEL Program Management 2011-02-01 05:53:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 RHEL Program Management 2011-02-01 18:48:22 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 8 PaulB 2011-06-24 14:26:20 UTC
All,
Regarding the opening BZ comment:

"Additional info:
 I believe I have only seen this with the x86_64 debug variant."

This issue was reproduced with the "s390x" debug variant while testing /kernel/tracepoints/operational here:
[] https://beaker.engineering.redhat.com/recipes/206828#task2251682
   http://tinyurl.com/5r49ryo    
    <-SNIP->
     stap_9c2030b0ae9a8abc2171aab3734c231d_848: systemtap: 1.2/0.148, base:  
     000003c002cbc000, memory: 18data/24text/0ctx/13net/48alloc kb, probes: 1
     BUG: MAX_STACK_TRACE_ENTRIES too low!
     turning off the locking correctness validator.
     CPU: 0 Not tainted 2.6.32-71.33.1.el6.s390x.debug #1
     Process systemtap/0 (pid: 13332, task: 00000000faeb8740, ksp: 
     00000000d8b3bc50)
     00000000d8b3b908 00000000d8b3b888 0000000000000002 0000000000000000 
       00000000d8b3b928 00000000d8b3b8a0 00000000d8b3b8a0 00000000004b4f3c 
       0000000000000000 0000000000000001 0000000000000001 0000000000000003 
       000000000000000d 000000000000000c 00000000d8b3b8f8 0000000000000000 
       0000000000000000 000000000010503c 00000000d8b3b888 00000000d8b3b8c8 
     Call Trace:
     ([<0000000000104f34>] show_trace+0xf0/0x148)
     [<000000000018139a>] save_trace+0x102/0x114
     [<0000000000181412>] add_lock_to_list+0x66/0x108
     [<0000000000185d0e>] validate_chain+0x7ae/0x116c
     [<0000000000186bc8>] __lock_acquire+0x4fc/0xb6c
     [<00000000001872f6>] lock_acquire+0xbe/0x138
     [<00000000004b9908>] _spin_lock+0x50/0x8c
     [<000000000012cb9e>] task_rq_lock+0x6e/0xb8
     [<000000000013d5b2>] try_to_wake_up+0x5e/0x44c
     [<000000000016aecc>] autoremove_wake_function+0x28/0x64
     [<00000000001257d4>] __wake_up_common+0x6c/0xb4
     [<000000000012c782>] __wake_up+0x4e/0x64
     [<000003c002cbe7e8>] _stp_ctl_send+0xb4/0xc8   
     [stap_9c2030b0ae9a8abc2171aab3734c231d_848]
     [<000003c002cbf0d2>] _stp_work_queue+0xfa/0x100  
     [stap_9c2030b0ae9a8abc2171aab3734c231d_848]
     [<00000000001645d4>] worker_thread+0x1f8/0x36c
     [<000000000016aaec>] kthread+0xa4/0xac
     [<0000000000109be6>] kernel_thread_starter+0x6/0xc
     [<0000000000109be0>] kernel_thread_starter+0x0/0xc
     INFO: lockdep is turned off.
    <-SNIP->

-pbunyan

Comment 10 PaulB 2011-06-25 15:20:28 UTC
CORRECTION!!
Please forgive me!

Comment#9 was meant for the following BZ:
ppc64-
Date: 2009-10-05
Bug 527222 - MAX_LOCKDEP_SUBCLASSES too low! during the installation of RHEL6
https://bugzilla.redhat.com/show_bug.cgi?id=527222

My apologies...
I have added comment#9 to BZ#527222, as originally intended :/


-pbunyan

Comment 11 RHEL Program Management 2011-10-07 15:15:39 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 12 Caspar Zhang 2011-10-14 03:40:34 UTC
*** Bug 729924 has been marked as a duplicate of this bug. ***

Comment 14 RHEL Program Management 2011-10-18 17:50:44 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 16 Aristeu Rozanski 2011-10-25 14:51:47 UTC
Patch(es) available on kernel-2.6.32-212.el6

Comment 26 errata-xmlrpc 2011-12-06 12:34:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1530.html