Stuck on Loading LinuxKernelDebugHelper Module

Sysprogs forums Forums VisualKernel Stuck on Loading LinuxKernelDebugHelper Module

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6481
    Moffatt
    Participant

    I’m attempting to evaluate using VisualKernel for my development on the BeagleBone Black.

    I have a Linux VM that I build my kernel on and then deploy to the BeagleBone Black, unfortunately when I attempt to debug with VisualKernel I get stuck on the Loading LinuxKernelDebugHelper module.

    The following is the ouput from the details of VisualKernel.

    make: Entering directory `/home/nanoptix/develop/dev20150407_SM_TI_SDK_V8_Investigation/linux-3.14.26-g2489c02′

    CC [M] /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/AppendableBuffer.o
    In file included from /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/AppendableBuffer.c:3:0:
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/AppendableBuffer.h:14:13: warning: ‘ResetAppendableBuffer’ defined but not used [-Wunused-function]
    CC [M] /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper_main.o
    In file included from /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper_main.c:5:0:
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/SerialInterface.h:32:26: warning: multi-character character constant [-Wmultichar]
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/SerialInterface.h:33:27: warning: multi-character character constant [-Wmultichar]
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper_main.c:20:2: warning: multi-character character constant [-Wmultichar]
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper_main.c:23:2: warning: initialization makes integer from pointer without a cast [enabled by default]
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper_main.c:23:2: warning: (near initialization for ‘KernelDebugDataBlock.Reserved’) [enabled by default]
    CC [M] /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/SequentialModuleInfo.o
    In file included from /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/SequentialModuleInfo.h:2:0,
    from /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/SequentialModuleInfo.c:2:
    /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/AppendableBuffer.h:14:13: warning: ‘ResetAppendableBuffer’ defined but not used [-Wunused-function]
    LD [M] /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper.mod.o
    LD [M] /tmp/LinuxKernelDebugHelper-3142ca0b-37b3-4934-bdf4-cc2b6d847c1a/LinuxKernelDebugHelper.ko
    make: Leaving directory `/home/nanoptix/develop/dev20150407_SM_TI_SDK_V8_Investigation/linux-3.14.26-g2489c02′

    Any assistance would be appreciated. Let me know if you need more information.

    Thanks.

    #6820
    janulo
    Participant

    I have exactly the same problem with Toradex Colibri VF50.

    I’m trying to debug LinuxKernelModule using VirtualBox Ubuntu 14.04 and as target Toradex Colibri VF50. Build is OK and output module is working on target when copied and insmod-ed. Only problem I have is with debug. It looks that loading of LinuxKernelDebugHelper.ko module, build automaticaly when debug is started, fails.

    I can see error messages in target console:

    [ 3597.524567] LinuxKernelDebugHelper: Unknown symbol tracepoint_probe_register (err 0)
    [ 3597.546720] LinuxKernelDebugHelper: Unknown symbol tracepoint_probe_unregister (err 0)

    Any solution to fix this?

    #6963
    support
    Keymaster

    Hi,

    Normally, tracepoint_probe_register() should be defined in source/kernel/tracepoint.c. Is your kernel patched to exclude it? Does it show in /proc/kallsyms?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.