|Deletions are marked like this.||Additions are marked like this.|
|Line 1:||Line 1:|
Scheduling While Atomic Bugs
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!
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:
- Set the appropriate tracing output:
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/options/latency-format"
- Start tracing:
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_enabled" $ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_on" $ sudo sh -c "echo function > /sys/kernel/debug/tracing/current_tracer"
- Do whatever you need to do to trigger the bug
- Save the trace log:
$ bzip2 -c /sys/kernel/debug/tracing/trace > trace.bz2
- 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!