Debugging

Differences between revisions 2 and 32 (spanning 30 versions)
Revision 2 as of 2010-04-30 13:09:10
Size: 1687
Editor: eth0
Comment:
Revision 32 as of 2016-12-31 20:52:21
Size: 3396
Editor: penalvch
Comment: 1) URL presentation chg. 2) Chg. Heading sect names to delineate kernel debug tools from app debug tools in DebuggingProcedures.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="float:right; background: #FFFFFF; margin: 0 0 1em 1em;" style="padding:2.0em;"> || ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>||
Line 4: Line 4:
== Debugging == ##Please note the headings of this article are linked elsewhere on the Ubuntu wiki (ex. https://wiki.ubuntu.com/DebuggingProcedures)
Line 6: Line 6:
 * [[KernelTeam/DebuggingVoodoo]] - Q&A for strange symptoms and how to debug
 * [[DebuggingIRQProblems]] - HEFIBootLoaderselp debugging common IRQ problems.
 * [[DebuggingKernelSuspendHibernateResume]] - Help debugging suspend/resume and hibernate/resume problems.
 * [[Testing/KernelPPA|KernelPPA]] - Instructions on how to use the kernel team's PPA as well using a specific kernel developer's PPA.
 * [[BIOSandUbuntu]] - Debugging BIOS issues on Ubuntu (DSDT, Reboot, Suspend/Resume).
 * KernelTeam/MainlineBuilds - How to use mainline kernels for debugging.
 * [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu to mainline mapping]] - a table of Ubuntu releases and which mainline version they are based on including the current release pocket assignments.
 * [[KernelTeam/KernelDebuggingTricks]] - Some kernel debugging tricks and tips.
 * [[Hotkeys/Troubleshooting]] -- How to debug non-working hotkeys.
 * [[KernelTeam/Debugging/USB|Debugging USB]] -- How to debug USB problems
 * [[KernelTeam/CrashdumpRecipe|Crash Dump]] -- How to use linux-crashdump to capture a kernel oops/panic
 * [[KernelTeam/DebuggingUpdateErrors|Debugging Update Errors]] - Debugging common errors seen when updating/upgrading
 * [[KernelTeam/Netconsole]] - Configuring console over network using netconsole
 * [[KernelTeam/Firmware]] - All about firmware and how to debug firmware loading issues
 * [[KernelTeam/DebuggingSchedulingWhileAtomic]] - How to gather a trace to help debug "scheduling while atomic" bugs
== Introduction ==

To determine which guides are relevant to your problem see the [[Kernel/Debugging/Symptom|symptom]] based debugging guide.

== Kernel Debugging Scenarios ==

 * [[Kernel/Debugging/Backlight|Backlight]] -- How to debug issues related to backlight brightness control
 * [[DebuggingKernelHibernate|Hibernate/Resume]] -- Help debugging kernel hibernate/resume problems
 * [[Kernel/Debugging/HighTemperatures|High Temperatures]] -- How to debug thermal issues and/or fan related problems
 * [[Hotkeys/Troubleshooting|Hotkeys]] -- How to debug non-working hotkeys
 * [[DebuggingKernelBoot|Kernel Boot]] -- debugging Kernel boot issues
 * [[DebuggingKernelOops|Kernel Oops]] -- Analyzing Kernel Oopses
 * [[DebuggingKernelSuspend|Suspend/Resume]] -- Help debugging kernel suspend/resume problems
 * [[Kernel/DebuggingSchedulingWhileAtomic|Trace scheduling while atomic]] -- How to gather a trace to help debug "scheduling while atomic" bugs
 * [[Kernel/DebuggingUpdateErrors|Update Errors]] -- Debugging common errors seen when updating/upgrading
 * [[Kernel/LinuxWireless|WiFi]] -- Help debugging WiFi issues

== Kernel Debugging Guides ==

 * [[DebuggingACPI|ACPI]] -- debugging ACPI (Advanced Configuration and Power Interface)
 * [[BIOSandUbuntu|BIOS]] -- Debugging BIOS issues on Ubuntu (DSDT, Reboot, Suspend/Resume)
 * [[DebuggingIRQProblems|IRQ]] -- debugging interrupt related issues
 * [[DebuggingSoundProblems|Sound]] -- Basic troubleshooting tips for debugging sound problems
 * [[https://help.ubuntu.com/community/DebuggingSystemCrash|System Crash]] -- Tips for gather information regarding system crashes and lockups

== Kernel Debugging Tools/Information ==

 * [[Kernel/Firmware|Firmware]] -- All about firmware and how to debug firmware loading issues
 * [[Kernel/KernelDebuggingTricks|Kernel Debugging Tricks]] -- Some kernel debugging tricks and tips
 * [[Kernel/CrashdumpRecipe|linux-crashdump]] -- How to use linux-crashdump to capture a kernel oops/panic
 * [[Kernel/MainlineBuilds|Mainline Kernel Builds]] -- How to use mainline kernels for debugging
 * [[Kernel/Netconsole|Netconsole]] -- Configuring console over network using netconsole
 * [[Kernel/Systemtap|Systemtap]] -- Introduction to Systemtap for reboot free, dynamic instrumentation
 * [[Testing/KernelPPA|Ubuntu Kernel Team PPA]] -- Instructions on how to use the Ubuntu Kernel Team's PPA, as well as using a specific kernel developer's PPA
 * [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu to mainline kernel mapping]] -- A table of Ubuntu releases and which mainline version they are based on, including the current release pocket assignments
 * [[Kernel/Debugging/USB|USB]] -- How to debug USB problems
 * [[Kernel/Debugging/USBearlyprintk|View early printk via USB]] -- How to view early printk messages using USB debug
 * [[Kernel/DebuggingVoodoo|Voodoo]] -- Q&A for strange symptoms and how to debug

== Links ==

 * [[https://kernelnewbies.org/KernelDebug|Kernel Newbies Debug]] -- Debugging the Linux Kernel

Introduction

To determine which guides are relevant to your problem see the symptom based debugging guide.

Kernel Debugging Scenarios

Kernel Debugging Guides

  • ACPI -- debugging ACPI (Advanced Configuration and Power Interface)

  • BIOS -- Debugging BIOS issues on Ubuntu (DSDT, Reboot, Suspend/Resume)

  • IRQ -- debugging interrupt related issues

  • Sound -- Basic troubleshooting tips for debugging sound problems

  • System Crash -- Tips for gather information regarding system crashes and lockups

Kernel Debugging Tools/Information

  • Firmware -- All about firmware and how to debug firmware loading issues

  • Kernel Debugging Tricks -- Some kernel debugging tricks and tips

  • linux-crashdump -- How to use linux-crashdump to capture a kernel oops/panic

  • Mainline Kernel Builds -- How to use mainline kernels for debugging

  • Netconsole -- Configuring console over network using netconsole

  • Systemtap -- Introduction to Systemtap for reboot free, dynamic instrumentation

  • Ubuntu Kernel Team PPA -- Instructions on how to use the Ubuntu Kernel Team's PPA, as well as using a specific kernel developer's PPA

  • Ubuntu to mainline kernel mapping -- A table of Ubuntu releases and which mainline version they are based on, including the current release pocket assignments

  • USB -- How to debug USB problems

  • View early printk via USB -- How to view early printk messages using USB debug

  • Voodoo -- Q&A for strange symptoms and how to debug

Kernel/Debugging (last edited 2019-08-06 14:38:47 by arighi)