ERROR while unpacking kernel sources

Sysprogs forums Forums VisualKernel ERROR while unpacking kernel sources

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26764
    Goerge255
    Participant

    The installation of kernel sources to the Debugee has failed because the “patch” command was not installed.

    Running apt-get install patch solved the problem.

     

    VisualKernel version: 3.1.0.2213
    —————— System.Exception ——————
    System.Exception: Cannot patch unpacked kernel sources
    at nk2.k_2(yl a, cm2 b, String& c)
    at d01.g(cm2 a)
    at VisualGDB.WPF.LinuxKernel.InteractiveLinuxActionWindow.<>c__DisplayClass7_0`1.<RunActionInteractively>b__0(cm2 a)
    at VisualGDB.WPF.LinuxKernel.InteractiveLinuxActionWindow.ControllerImpl.WorkerThreadBody()

    —————— System.Exception ——————

     

    uname -r
    4.19.0-6-armmp-lpae
    uname -v
    #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)
    Detecting Linux distro…
    lsb_release -i
    Distributor ID: Debian
    Detected Debian Linux
    cat “/usr/lib/debug/boot/vmlinux-4.19.0-6-armmp-lpae.DebianKernelVersion”
    #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)
    Found kernel symbols: /usr/lib/debug/boot/vmlinux-4.19.0-6-armmp-lpae
    cat /usr/src/linux-source-4.19/LinuxKernelSourceVersion_Debian.txt
    cat: /usr/src/linux-source-4.19/LinuxKernelSourceVersion_Debian.txt: No such file or directory
    apt-get update
    Hit:1 http://deb.debian.org/debian buster InRelease
    Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
    Hit:3 http://security.debian.org/debian-security buster/updates InRelease
    Fetched 49.3 kB in 19s (2,630 B/s)
    Reading package lists… Done
    apt-get install -y –force-yes linux-source-4.19=4.19.67-2+deb10u2
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    linux-source-4.19 is already the newest version (4.19.67-2+deb10u2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    W: –force-yes is deprecated, use one of the options starting with –allow instead.
    apt-get install -y libssl-dev libelf-dev flex bison g++
    Reading package lists…
    Building dependency tree…
    Reading state information…
    bison is already the newest version (2:3.3.2.dfsg-1).
    libelf-dev is already the newest version (0.176-1.1).
    flex is already the newest version (2.6.4-6.2).
    g++ is already the newest version (4:8.3.0-1).
    libssl-dev is already the newest version (1.1.1d-0+deb10u2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Unpacking kernel sources…
    ls -1 linux-source-4.19.tar.*
    linux-source-4.19.tar.xz
    tar xf linux-source-4.19.tar.xz
    ls -1 linux-patch-4.19*.patch*
    linux-patch-4.19-rt.patch.xz
    sh -c ‘unxz –stdout ../linux-patch-4.19-rt.patch.xz | patch -p1’
    sh: 1: patch: not found

    • This topic was modified 4 years, 11 months ago by Goerge255.
    • This topic was modified 4 years, 11 months ago by Goerge255.
    #26776
    support
    Keymaster

    Thanks for reporting this. We have fixed it in our development branch and will include in the next VisualKernel update.

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