This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Failed to load symbols

I use DS-5 to debugging linux kernel and device driver, shows "Failed to load symbols for "test.ko"", execute the following command:

add-symbol-file Z:/vmlinux

add-symbol-file Z:/test.ko

test.ko with debug_info and not stripped.

error message is:

ERROR(CMD685-COR11-IMG75):
! Failed to load symbols for "test.ko"
! Failed to read the symbols from Z:\test.ko
! No section relocation information provided for the relocatable ELF file "Z:\test.ko"

thanks

Parents Reply Children
  • Hello, I select "Bare Metal Debug" in the Debug Configuration.

    When select "Linux Kernel Debug" in the Debug Configuration, execute add-symbol-file Z:/vmlinux, Debug Control shows "Status: connected OS Support: Waiting for the OS to be initialised".

    add-symbol-file Z:/vmlinux
    WARNING(ROS60): Could not enable OS support as the OS does not appear to be initialized. This might be caused by a mismatch between the loaded symbols and the code on the target or because the OS is not up and running. Enabling OS support will be re-attempted when the target next stops.