# Debug Linux kernel-space issues At a high level, you can categorize issues in the kernel space as kernel panic and bugs. To debug kernel-space issues, you can use the logs, command line tools, and dumps shown in the following figure: **Figure: Resources to debug issues in kernel space** - Logs section includes dynamic debug, kernel debugging configuration, and function tracer - Command-line tools provide access to the `/proc` and `debugfs` file systems - Dumps section lists RAM dump, RAMParser, and crash utility that are used for analyzing system crashes and memory states You can generate kernel logs using the `dmesg` command. To debug issues in the kernel space, it's recommended to use the `debug` build. For more information about how to generate the `debug` build, see [Qualcomm Linux metadata layers overview](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-27/qualcomm_linux_metadata_layers.html). For more information about kernel source configuration files, see [Qualcomm Linux Kernel Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-80022-3/kernel_landing_page.html). ## Next steps - [Enable kernel debugging](https://docs.qualcomm.com/doc/80-80022-12/topic/enable_kernel_debugging.html) - [Configure the kernel for debugging](https://docs.qualcomm.com/doc/80-80022-12/topic/configure_the_kernel_for_debugging.html) - [Assess memory usage](https://docs.qualcomm.com/doc/80-80022-12/topic/assess_memory_usage.html) - [Trace kernel functions](https://docs.qualcomm.com/doc/80-80022-12/topic/trace_kernel_functions.html) - [Collect and parse RAM dump](https://docs.qualcomm.com/doc/80-80022-12/topic/collect_and_parse_ram_dumps.html) - [Parse RAM dumps using RAMParser](https://docs.qualcomm.com/doc/80-80022-12/topic/parse_ram_dumps_using_linux_ramdump_parser_rdp.html) - [Parse RAM dumps using QCAP](https://docs.qualcomm.com/doc/80-80022-12/topic/parse_ram_dumps_using_qcap.html) - [Debug using the crash utility tool](https://docs.qualcomm.com/doc/80-80022-12/topic/crash_utility.html) Last Published: May 14, 2026 [Previous Topic Reboot the system](https://docs.qualcomm.com/bundle/publicresource/80-80022-12/topics/reboot_device_from_userspace.md) [Next Topic Enable kernel debugging](https://docs.qualcomm.com/bundle/publicresource/80-80022-12/topics/enable_kernel_debugging.md)