• Decrease font size
  • Default font           size
  • Increase font size

SUSE - Debugging and Troubleshooting

Print E-mail
Course Length - 4 Days
 
Course Description

Linux Debugging and Troubleshooting is a 100% hands-on course for Technology Professionals who need to debug, analyze, and/or troubleshoot problems using the wealth of tools and utilities available for the Linux kernel.

 
     
Course Prerequisites

Technical experience with at least one operating system such as Windows, Netware, UNIX, or a proprietary operating system

  
Course Outline:  

Introduction

 
  • System Debugging Tools 
  • Hardware Debugging Tools 
  • User-Mode Debugging Tools 
  • Using /proc for Debugging 
  • Kernel-Mode Debugging Tools 
 
System Debugging Tools  
  • System Performance Info (top, etc.) 
  • System Memory Info (vmstat, etc.) 
  • System Disk Info (fdisk, df, etc.) 
  • System Networking Info (netstat, etc.) 
  • System Log Files (/var/log, etc.) 
  • System Config Files (/etc/sysconfig, etc.) 
 
Hardware Debugging Tools  
  • I/O and Memory (/proc/iomem, etc.) 
  • Interrupts (/proc/interrupts, etc.) 
  • PCI Bus (lspci, etc.) 
  • USB Bus (lsusb, etc.) 
  • Disks (hdparm, etc.) 
  • Networking (ethtool, etc.) 
  • Hardware Debug Tools 
 
User-Mode Debugging Tools  
  • Process Tools (ps, etc.) 
  • Timing Tools (time, etc.) 
  • Profiling Tools (gprof, etc.) 
  • Tracing Tools (strace, lstrace, etc.) 
  • Binary Tools (strings, objdump, etc.)
 
gdb Debugging  
  • Local Debugging 
  • Core File Debugging 
  • Attach To Process Debugging 
  • Remote Debugging
 
Using /proc for Debugging  
  • Process Information 
  • Kernel Tuning Information 
  • Hardware Information 
  • Other Information 
 
Kernel-Mode Debugging  
  • dmesg 
  • Console Log Level 
  • /proc 
  • mod utils 
  • ksymoops 
  • Magic SysRq
 
More on dmesg  
  • How dmesg works 
  • Understanding dmesg info 
  • Log Levels 
  • Buffer Size Issues 
  • SMP Issues
 
Debugging System panics  
  • How panic works 
  • Decoding panic stack info 
  • Auto reboot options 
  • Memory dump options
 
Watchdog Timer Debugging  
  • How Watchdog Timers Work 
  • Software Timers 
  • Hardware Timers 
  • Reboot vs Log Options
 
Building a Kernel for Debugging  
  • Obtaining Kernel Source 
  • Kernel Debug Options 
  • Memory Debug Options 
  • Spin Lock Debugging 
  • Other Debugging Options 
  • Building and Testing
 
oprofile Debugging  
  • How System Profiling Works 
  • Building the kernel 
  • Using oprofile commands 
  • Using oprofile results 
  • Other profiling options
 
SMP Debugging Issues  
  • UP vs SMP Kernels 
  • UP vs SMP Modules 
  • Spin Lock Issues 
  • Memory Issues 
  • Interrupt Issues
 
kdb - Kernel Debugger  
  • Obtaining Patch Files 
  • Patching and Rebuilding 
  • kdb Commands
 
kgdb - GNU Kernel Debugger  
  • Kernel Building 
  • Setup of Dual Machines 
  • kgdb Operation