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

Where is eax in the pt_regs struct? Only ax is present

I am trying to use the pt_regs struct to get and set registers such as eax, but compilation errors tell me that pt_regs has no such member eax. However, I am able to get the ax register. Can anybody...

View Article


"address_space()" definition as a "Sparse" annotation in the linux kernel

I came across some macros with the definitions like this:#ifdef __CHECKER__# define __user __attribute__((noderef, address_space(1)))And I know those are merely to be used with sparse(__CHECKER__) and...

View Article


Can i change the location of page table to another NUMA node?

Hi i'm studying memory management of linux kernel.My machine has multiple NUMA nodes, and i wonder if i can change the location of page table from NUMA 0 to NUMA N.I studied that, at the page table...

View Article

When I use eBPF, can I write some value into the module variable?

For eaxmple:This is module. There is array for saving irq history.<drivers/###/a.c>int irq_number[1024];I add the bpf program into generic_handle_irq function in...

View Article

Nouveau Kernel Driver does not support CUDA Toolkit? [closed]

I am installing CUDA on my GPU machines, and it's required that I have to disable the Nouveau kernel driver.From NVIDIA:To install the Display Driver, the Nouveau drivers must first bedisabled. Each...

View Article


Why? BUG: Bad page map in process *process* pte:b3e05275201 pmd:238adf067

I develop a kernel module using DMA dma_alloc_coherent() and remap_pfn_range().Sometimes, when I close the app that opened the character device, I get the following message in dmesg. That leads to a...

View Article

Bad system call (core dumped) in openbsd

I installed kernel and made a file with a system function in c, an syscall(331, "helloWorld!". It compiles, but i get Bad system call (core dumped) when i try to run it. I mention that i'm new into...

View Article

What are vdso and vsyscall?

I did sudo cat /proc/1/maps -vvI am attempting to make sense of the output.I can see a lot of shared libraries being mapped to the memory mapping segment as expected.7f3c00137000-7f3c00179000 r-xp...

View Article


auto indent not working in jupyter lab; Kernels?

I am making my first project in Jupyter Lab using a Python3 kernel. I believe there should be auto-indent happening, but it's not. Can anyone point me in the right direction? While you're here maybe...

View Article


Notifications through Task Scheduler in Laravel

I am trying to make my task appear on the notifications part. I have set the task scheduler already(windows10) and I have this function inside a class:public static function forecastModal($store_id =...

View Article

Linux kernel contiuguous memory allocation for skbuff

When structures like the skbuff are allocated by the Linux kernel, is the data area allocated (skbuff->tail - skbuff->head) always a contiguous memory block, or can this be non-contiguous?

View Article

Kernel Crash and Restarting during reading OPC data using OpenOPC

I got stuck up with small issue while using openOPC.I have installed python 3.8.3 on windows 10 64 bit system.Installed OpenOPC-Python3x through pip install.Running Matrikon OPC simulation server and...

View Article

Why does my updated Debian buster server with only Docker services running...

I have an updated Debian Buster server hosted in my friend house, it used to serve websites under Docker.There's only docker running on it, with the following services:ghost:3.36.0-alpine...

View Article


Old Linux Kernel Versions

I'm trying to find downloads for linux versions which contain a kernel version lower than 4.8.3 for some research into the DirtyCOW vulnerability.I can't seem to find any information for this online...

View Article

linux kernel, how to loop through all cpus?

I need to loop through each CPU so I can get a per_cpu value from them, but there does not seem to be a for_each_cpu(i) macro in version 2.6.26.5 of the Linux Kernel.How can I achieve something like...

View Article


The kernel appears to have died. It will restart automatically python 3

Whenever I try to import tensorflow in my windows machine, its saying that The kernel appears to have died. It will restart automatically and then its not even working. The below is the following...

View Article

Reversed (or previously applied) patch detected?

I was patching a patchenter link description here to the kernel source, but I keep getting the error message like Reversed (or previously applied) patch detected!. And I can't see no files patched. How...

View Article


Error: Class App\Kernel contains 1 abstract method and must therefore

enter image description hereError: Class App\Kernel contains 1 abstract method and must therefore be declared abstract or implement the remaining methods...

View Article

How to "fix" localversion in Kernel menuconfig?

I'm building Kernel for my embedded ARM-based system (system is a ARM7 VARISCITE DART6UL).Since I need to build Kernel appending my local version to it, I read it's possible to edit (using make...

View Article

Invalid kernel configuration

I'm trying to install a graphic card driver, and got the following error:ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-304.0.crash' Error! Bad return status for module build...

View Article
Browsing all 6333 articles
Browse latest View live


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