Prepare a Linux Server for Kernel Debugging

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

The Linux kernel is the core component of the operating system and undoubtedly what makes Linux… Linux. And when there’s something wrong with the kernel, the system will end up in an unusable state. You can make things easier when these issues occur by using the tools available at your disposal for monitoring and debugging your kernel. In this lab, you’ll explore two of these tools, `kdump` and `systemtap`.

_This lab is not approved or sponsored by Red Hat._

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Enable kdump

Start and enable kdump.

Enable the traffic-dump Module

Use stap to enable the provided traffic-dump.stp so it is available as a kernel module.

Give the cloud_user Access to SystemTap Commands

Add the cloud_user to the appropriate group.

Additional Resources

Prepare the provided server for kernel debugging by enabling kdump, ensuring the provided traffic-dump.stp SystemTap module has been added as a kernel module and the cloud_user can call it using the staprun command.

This lab is not approved or sponsored by Red Hat.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?