Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Browsing all 6334 articles
Browse latest View live
↧

g_audio module : How does it works?

If we enable gadget_only_mode under CONFIG_USB_MUSB_GADGET in our kernel or linux based device. if it will work as a gadget. Gadget means if I connect my device to my system then my device will listed...

View Article


executing command after breakpoint with Windbg doesn't work?

I am using a simple command like this :bp KernelFunctionAddress "dd esp L1;g"but when the breakpoint is hit I get this :Breakinstruction exception - code 80000003 (first...

View Article


building own kernel and loading it

I downloaded the official linux kernel and tried to build it in ubuntu wsl2 but got error 2. I successfully in virtualbox ubuntu built the kernel, but loading it in wsl2 gives an error. So, my question...

View Article

macos laptop WakeUp with mouse on USB [closed]

MacOs, How with a laptop, use the mouse or the keyboard (connected in USB)To WakeUp?On a laptop the WakeUp with MacOs is always achieved by pressing the PowerButton key, the USB ports are made inactive...

View Article

How to get an ARM64-Ubuntu20.04-kernel working with virtio-gpu on Qemu

I created a virtual machine by using qemu which emulates ARM64 Ubuntu 20.04 on x86_64 hardware.And now I want to use that machine with a desktop.But the kernel of the virtual machine isnt supporting...

View Article


in Linux kernel, which function used process to get all inputs received from...

I want to monitor all incoming data received from networks but i want to use virtual memory introspection from Hypervisor level to put Breakpoints in common function used by network stack to intercept...

View Article

Enlarge Linux Kernel Log Buffer more that 2M

I am in the process of collecting some sort of Linux Kernel activities. I have placed multiple printk statements with in the kernel source code and would like to monitor those during regular kernel...

View Article

Linux kernel /proc FIFO/pipe

I'm currently trying to create a kernel module that will produce data based on kernel events and push them to a file. After reading that this is bad (and I agree), I decided it would make more sense to...

View Article


How to implement terminal scrolling?

I am currently trying to develop an OS for drones. I am following this guide: https://wiki.osdev.org/Bare_BonesPlease find my code here, I intentionally removed the header files.void...

View Article


Plotly trouble with starting the kernel

I am a begginer and I need to work with PlotlyHowever I find this problem, and it doesnt let me run anny command or open anythingPlus I already re-install it several times and the problem persistHere...

View Article

Physic memory cannot be wrriten after paging

In my toy kernel, I active paging and assigned a memory chunk to the variable, but it seems that the memory can not be written.The CPU can access the memory, and interrupt is active. No page fault and...

View Article

Unreachable Instruction while compiling kernel on Virtual Machine

I've been trying to compile, build and install the latest stable version of the Linux kernel, 5.7.7.I first downloaded and unzipped the tar. Next, I ran cp /boot/config-$(uname -r) .config, followed by...

View Article

What is the stack used for in CPython, if anything?

As far as I understand:The OS kernel (e.g. Linux) alwaysallocates a stack for each system-level thread when a thread is created. CPython is known for using a private heap for its objects, including...

View Article


How to boot Linux kernel on Cortex m7 [closed]

I want to configure and boot the Linux kernel on a Cortex m7 microcontroller. In this case I'm using stm32H743 development board with on board DRAM. please guide me how to boot Linux on this board.I'm...

View Article

OpenCL: how to avoid duplicate scalar/vector functions?

OpenCL built-in math functions accept abstract gentype as argument types, so you have only one exp(x) or log(x) function and the compiler switches automatically to the right one depending on the actual...

View Article


How does windows and linux kernel handle deadlock conditions?

Assume a situation where the Linux kernel runs into a kernel thread deadlock condition, how does it handles it: Will it just stop kill the thread ,if yes, how does the kernel knows that this will not...

View Article

Buildroot and Qemu

I'm using buildroot to compile a minimalistic linux with a 4.19-rt kernel. It is supposed to run on a raspberry pi 3b (arm processor). Additionally I want to run it on a x86_64 linux computer and found...

View Article


What RT patch to use for a specific linux kernel version

Running the $uname -r command on my device running ubuntu reveals my kernel to be 4.14.73-ltsi.I intend to install the real time patch for this kernel version.However on the website...

View Article

Error during compile kernel module with clang: unknown warning option...

I made example module and it compile very well with gcc. But when I try to compile with clang, it report error and stop. How can I solve this problm?This is my Makfile:obj-m += example_module.oDIR =...

View Article

Build kernel-headers rpm with kernel 5.7.7 rpm for Centos7

Recently Linux kernel 7.7 stable version has released.I would like know how to build kernel-headers out of it. My appliance has dependency on it.

View Article
Browsing all 6334 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>