Servin | Linux Debugging and Troubleshooting Course
  • Request A Quote

  • Course Description
    This is a 100% hands-on course for computer and IT professionals who need to debug, analyze, and/or troubleshoot problems using the wealth of tools and utilities available for the GNU/Linux kernel.
    Course Prerequisites
    Technical experience with at least one operating system such as Windows, Mac OS X, Netware, UNIX, or a proprietary operating system.
    Course Outline
    1. Introduction to GNU/Linux Debugging
      1. System Debugging Tools
      2. Hardware Debugging Tools
      3. User-Mode Debugging Tools
      4. Using /proc for Debugging
      5. Kernel-Mode Debugging Tools
    2. System Debugging Tools
      1. System Performance Info (top, etc.)
      2. System Memory Info (vmstat, etc.)
      3. System Disk Info (fdisk, df, etc.)
      4. System Networking Info (netstat, etc.)
      5. System Log Files (/var/log, etc.)
      6. System Config Files (/etc/sysconfig, etc.)
    3. Hardware Debugging Tools
      1. I/O and Memory (/proc/iomem, etc.)
      2. Interrupts (/proc/interrupts, etc.)
      3. PCI Bus (lspci, etc.)
      4. USB Bus (lsusb, etc.)
      5. Disks (hdparm, etc.)
      6. Networking (ethtool, etc.)
      7. Hardware Debug Tools
    4. User-Mode Debugging Tools
      1. Process Tools (ps, etc.)
      2. Timing Tools (time, etc.)
      3. Profiling Tools (gprof, etc.)
      4. Tracing Tools (strace, lstrace, etc.)
      5. Binary Tools (strings, objdump, etc.)
    5. gdb Debugging
      1. Local Debugging
      2. Core File Debugging
      3. Attach To Process Debugging
      4. Remote Debugging
    6. Using /proc for Debugging
      1. Process Information
      2. Kernel Tuning Information
      3. Hardware Information
      4. Other Information
    7. Kernel-Mode Debugging
      1. dmesg
      2. Console Log Level
      3. /proc
      4. mod utils
      5. ksymoops
      6. Magic SysRq
    8. More on dmesg
      1. How dmesg works
      2. Understanding dmesg info
      3. Log Levels
      4. Buffer Size Issues
      5. SMP Issues
    9. Debugging System panics
      1. How panic works
      2. Decoding panic stack info
      3. Auto reboot options
      4. Memory dump options
    10. Watchdog Timer Debugging
      1. How Watchdog Timers Work
      2. Software Timers
      3. Hardware Timers
      4. Reboot vs Log Options
    11. Building a Kernel for Debugging
      1. Obtaining Kernel Source
      2. Kernel Debug Options
      3. Memory Debug Options
      4. Spin Lock Debugging
      5. Other Debugging Options
      6. Building and Testing
    12. oprofile Debugging
      1. How System Profiling Works
      2. Building the kernel
      3. Using oprofile commands
      4. Using oprofile results
      5. Other profiling options
    13. SMP Debugging Issues
      1. UP vs SMP Kernels
      2. UP vs SMP Modules
      3. Spin Lock Issues
      4. Memory Issues
      5. Interrupt Issues
    14. kdb - Kernel Debugger
      1. Obtaining Patch Files
      2. Patching and Rebuilding
      3. kdb Commands
    15. kgdb - GNU Kernel Debugger
      1. Kernel Building
      2. Setup of Dual Machines
      3. kgdb Operation

    Updated 2009 Jan 12
    Content viewable on all web browsers, including smart mobile phone devices.
    Copyright © 1995-2009 Servin Corporation. All rights reserved.