Windows 10: Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...

Discus and support Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access... in Windows 10 Software and Apps to solve the problem; I have the source code of v4l2loopback kernel module that works in Ubuntu 20 in a laptop. Now I am trying to compile the same code in Ubuntu 20 but... Discussion in 'Windows 10 Software and Apps' started by usdkDhin, Apr 18, 2024.

  1. usdkDhin Win User

    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...


    I have the source code of v4l2loopback kernel module that works in Ubuntu 20 in a laptop. Now I am trying to compile the same code in Ubuntu 20 but inside WSL2. For that I am using this:make -C /lib/modules/$shell uname -r/build M=$PWD modulesThe problem is that /lib/module/ is empty. So I tried getting the headers using:sudo apt search linux-headers-`uname -r`Sorting... DoneFull Text Search... DoneBut nothing get's populated in the modules folderIs there anything I need to do in order that folder contains all required modules?

    :)
     
    usdkDhin, Apr 18, 2024
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access... 298438d1600682026t-wsl2-windows-image.png


    and


    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access... 298439d1600682036t-wsl2-windows-image.png


    What I did wrong ? I have the following W10 version:

    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access... 298440d1600682100t-wsl2-windows-image.png


    Another question: am I in the the right forum ?
     
    Flaviu2, Apr 18, 2024
    #2
  3. GXC 2356 Win User
    GXC 2356, Apr 18, 2024
    #3
  4. Brink Win User

    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...

    WSL2 will be generally available in Windows 10 version 2004

    Source: https://devblogs.microsoft.com/comma...-version-2004/


     
    Brink, Apr 18, 2024
    #4
Thema:

Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...

Loading...
  1. Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access... - Similar Threads - Required guidance building

  2. Looking for guidance to build a Windows app for mock tests like a desktop quiz/exam simulator

    in Windows 10 Gaming
    Looking for guidance to build a Windows app for mock tests like a desktop quiz/exam simulator: Hello Microsoft Community,I run a free educational website https://sarkariexam.center, where students can take mock tests for competitive exams. These tests work well on the website, but I now want to build a Windows desktop application so that users can take these exams...
  3. Looking for guidance to build a Windows app for mock tests like a desktop quiz/exam simulator

    in Windows 10 Software and Apps
    Looking for guidance to build a Windows app for mock tests like a desktop quiz/exam simulator: Hello Microsoft Community,I run a free educational website https://sarkariexam.center, where students can take mock tests for competitive exams. These tests work well on the website, but I now want to build a Windows desktop application so that users can take these exams...
  4. Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...

    in Windows 10 Gaming
    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...: I have the source code of v4l2loopback kernel module that works in Ubuntu 20 in a laptop. Now I am trying to compile the same code in Ubuntu 20 but inside WSL2. For that I am using this:make -C /lib/modules/$shell uname -r/build M=$PWD modulesThe problem is that /lib/module/...
  5. Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...

    in Windows 10 Customization
    Required guidance on building a kernel module like v4l2loopback on WSL2 and how to access...: I have the source code of v4l2loopback kernel module that works in Ubuntu 20 in a laptop. Now I am trying to compile the same code in Ubuntu 20 but inside WSL2. For that I am using this:make -C /lib/modules/$shell uname -r/build M=$PWD modulesThe problem is that /lib/module/...
  6. Change wsl2 kernel

    in Windows 10 Gaming
    Change wsl2 kernel: Hi I'm custom ROM builder, I have been using wsl2 from a longtime and it's perfect but it will be better and faster if I updated it's kernel, https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-5.15.123.1I found this kernel and I wanna apply it but idk...
  7. Change wsl2 kernel

    in Windows 10 Software and Apps
    Change wsl2 kernel: Hi I'm custom ROM builder, I have been using wsl2 from a longtime and it's perfect but it will be better and faster if I updated it's kernel, https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-5.15.123.1I found this kernel and I wanna apply it but idk...
  8. Accessing tftpd in wsl2 docker container

    in Windows 10 Network and Sharing
    Accessing tftpd in wsl2 docker container: Problem: Connect to tftpd in Docker from WSL2. Client tftp is running inside wsl2 ubuntu Server is tftpd-hpa running inside docker for windows started from wsl2 ubuntu Windows firewall should be irrelevant, however it is also disabled completelty Summary: I can udp...
  9. Microsoft Guidance for Vulnerability in Trusted Platform Module (TPM)

    in Windows 10 News
    Microsoft Guidance for Vulnerability in Trusted Platform Module (TPM): ADV190024 | Microsoft Guidance for Vulnerability in Trusted Platform Module (TPM) Security Advisory Published: 11/12/2019 Executive Summary This advisory addresses CVE-2019-16863. A security vulnerability exists in certain Trusted Platform Module (TPM) chipsets. The...
  10. Will WSL 2 support installing kernel modules?

    in Windows 10 Software and Apps
    Will WSL 2 support installing kernel modules?: This would be very useful and would make WSL almost indistinguishable from a Linux machine. https://answers.microsoft.com/en-us/windows/forum/all/will-wsl-2-support-installing-kernel-modules/43123aa7-9577-4b35-a5cd-49edd8aa0ac1