Panic while using userstacktrace.

Solution Verified - Updated -

Issue

  • When enable mm_kernel_pagefault trace event with userstacktrace option enabled, we got panic.
  • The cause should be, userstacktrace itself can pagefault, so it can lead to dead-loop.

  • Step to Reproduce:

  1. mount -t debugfs xxx /sys/kernel/debug
  2. echo userstacktrace > /sys/kernel/debug/tracing/trace_options
  3. echo 1 > /sys/kernel/debug/tracing/events/enable (or: echo 1 > /sys/kernel/debug/tracing/events/kmem/mm_kernel_pagefault/enable)
  4. We got panic immediately.

Environment

  • Red Hat Enterprise Linux 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.