[Ubuntu Wiki] Update of "Kernel/DebuggingSchedulingWhileAtomic" by brian-murray
Ubuntu Wiki
noreply at ubuntu.com
Tue Mar 1 21:22:05 UTC 2011
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.
The following page has been changed by brian-murray:
http://wiki.ubuntu.com/Kernel/DebuggingSchedulingWhileAtomic?action=diff&rev1=1&rev2=2
The comment on the change is:
Trace file is owned by root
------------------------------------------------------------------------------
These bugs occur typically in an interrupt context. I tried to come up with a simple description for what this means and why it's bad, but it was too cumbersome and honestly, you probably just want your bug fixed so you can get on with your life!
= Debugging =
- With normal kernel bugs, an !OopsText.txt log file is attached to the bug report at launchpad.net. This often contains enough information for us to get started on resolving the issue. However, the information in this log file usually is not enough for scheduling while atomic bugs. What we need in this case is called a function trace. When you are ready, perform the following to retrieve a trace:
+ With normal kernel bugs, an !OopsText.txt log file is attached to the bug report at Launchpad. This often contains enough information for us to get started on resolving the issue. However, the information in this log file usually is not enough for scheduling while atomic bugs. What we need in this case is called a function trace. When you are ready, perform the following to retrieve a trace:
1. Set the appropriate tracing output:
{{{
@@ -21, +21 @@
3. Do whatever you need to do to trigger the bug
4. Save the trace log:
{{{
- $ bzip2 -c /sys/kernel/debug/tracing/trace > trace.bz2
+ $ sudo sh -c "bzip2 -c /sys/kernel/debug/tracing/trace > trace.bz2"
}}}
- 5. Upload the trace.bz2 file to launchpad so a kernel developer can work on the issue
+ 5. Upload the trace.bz2 file to Launchpad so a kernel developer can work on the issue
This should be all the information needed to begin work on a resolution for these types of bugs. The Ubuntu kernel developers sincerely appreciate your work to help us fix your issue!
+ ----
+ CategoryDebugging
More information about the Ubuntu-bugsquad
mailing list