Troubleshooting - Troubleshooting - 2026.1 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2026-06-23
Version
2026.1 English

This section describes some common issues you can experience while debugging the Linux kernel in QEMU.

Table 1. Debugging the Linux Kernel in QEMU Troubleshooting
Problem / Error Message Description and Solution
(gdb) target remote W.X.Y.Z:9000:9000: Connection refused. Problem Description:

GDB failed to attach the QEMU target. This is most likely because the port 9000 is not the one QEMU is using

Solution:

Check your QEMU console to ensure QEMU is running.

Watch the Linux host command line console. It should show the full QEMU commands and you should be able to see which port is being used by QEMU.