VisualKernel 3.1 Examples do not work with Ubuntu 18.04

Sysprogs forums Forums VisualKernel VisualKernel 3.1 Examples do not work with Ubuntu 18.04

This topic contains 2 replies, has 2 voices, and was last updated by  support 1 week, 4 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25302

    xsyourpal
    Participant

    Trying to follow the VisualKernel Tutorials “Hello World” with VisualKernel 3.1.  The “Download and install kernel symbols” setup of the project keeps looping and is unsuccessful in downloading the symbols and kernel source to allow source debugging.

    The Linux Machine is a VMWare workstation instance of Ubuntu 18.04.2 desktop and Visual Kernel 3.1 is running on Visual Studio 2017. The tutorials seem bit outdated since screens do not match however they are close enough for me to follow along.  The Kernel on the VM is (uname -r ==>   4.18.0-25-generic) and (uname -v ==> #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019)

    The problem it seems is that VisualKernel is issuing deprecated commands for downloading the debug Symbols and Source.  The ddebs file created in the /etc/apt/sources.list.d seems incorrect.  (The bionic-security line in ddebs does not seem to work and download fails).  This is possibly causing the setup to go into an infinite loop.

    If I cancel or do not select the Download and Install Kernel Symbols then source debugging is not working, even though I have manually installed the kernel source and debug symbols for the kernel.  VisualKernel does not seem to find or recognize that the source and symbols are there.   The manual commands that work on Ubuntu 18.04.2 are:: (Not the same as ones issued by VisualKernel)

    sudo apt install linux-source-4.18.0

    sudo apt install linux-image-4.18.0-25-generic-dbgsym

    I am a student and this is my first time using these tools.  Please help fix this so I can follow the tutorials on your website.

    Thank You

    #25303

    xsyourpal
    Participant

    Sorry About Repeating the post… now  attached the terminal session transcript of the failure.

    Trying to follow the VisualKernel Tutorials “Hello World” with VisualKernel 3.1. The “Download and install kernel symbols” setup of the project keeps looping and is unsuccessful in downloading the symbols and kernel source to allow source debugging.

    The Linux Machine is a VMWare workstation instance of Ubuntu 18.04.2 desktop and Visual Kernel 3.1 is running on Visual Studio 2017. The tutorials seem bit outdated since screens do not match however they are close enough for me to follow along. The Kernel on the VM is (uname -r ==> 4.18.0-25-generic) and (uname -v ==> #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019)

    The problem it seems is that VisualKernel is issuing deprecated commands for downloading the debug Symbols and Source. The ddebs file created in the /etc/apt/sources.list.d seems incorrect. (The bionic-security line in ddebs does not seem to work and download fails). This is possibly causing the setup to go into an infinite loop.

    If I cancel or do not select the Download and Install Kernel Symbols then source debugging is not working, even though I have manually installed the kernel source and debug symbols for the kernel. VisualKernel does not seem to find or recognize that the source and symbols are there. The manual commands that work on Ubuntu 18.04.2 are:: (Not the same as ones issued by VisualKernel)

    sudo apt install linux-source-4.18.0

    sudo apt install linux-image-4.18.0-25-generic-dbgsym

    I am a student and this is my first time using these tools. Please help fix this so I can follow the tutorials on your website.

    Thank You

    Attachments:
    You must be logged in to view attached files.
    #25331

    support
    Keymaster

    No problem. We have managed to reproduce the problem. It was not caused by using the older apt-get syntax (it is still fully supported and VisualKernel keeps it for backward compatibility with older distros), but was instead caused by a change in the versioning tag format of the kernel symbols for recent Ubuntu builds (the symbol file version is 25.26~18.04.1 instead of just 25.26). We have updated the version matching rules in the following build: VisualKernel-3.1.0.2230.msi

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.