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

Are i/o device polling intervals often consistent?

this is a quick question about common existing operating systems.Is a polled io device (say of 120hz or 250hz) generally getting polled at a fixed rate or there are usually considerable fluctuations in...

View Article


How to send data/trigger ndo_start_xmit of the ethernet network device driver?

I am developing the ethernet network device driver, the steps I followed registered the device as eth1 and assigned MAC address(a0:b0,c0,d0,e0,f0), IPV4 address(192.168.10.127) to it, even can able to...

View Article


Linux Kernel - msync Locking Behavior

I am investigating an application that writes random data in fixed-size chunks (e.g. 4k) to random locations in a large buffer file. I have several processes (not threads) doing that, each process has...

View Article

How can a Linux shared object detect if it is being executed on a standard or...

I would like to know if some piece of C code would allow a shared object to "detect" if it is being executed on a standard or on a real time Linux platform (in order to act accordingly). I'm not asking...

View Article

send packet in linux kernel

I wrote a module to send a packet in kernel-space. but after insmod it gives a segmentation fault error. I have tried to change some parts of it but I still get errors.the code://libraries#define...

View Article


QEMU - No kernel output after "Booting kernel"

I try to boot precompiled kernel in QEMU self-created machine.Serial peripherial is configured and I sucessfully can boot precompiled U-boot image for this machine.In U-Boot all serial IO works great...

View Article

An kdump tool issue with the customized kernel

when we are using the kdump tool, we need to install the according kernel-debug*.rpm at first.My questions is , the linux I am using is compiled by myself with lots of modifications. When could I find...

View Article

Image may be NSFW.
Clik here to view.

Error starting VM - CentOS Kernel Panic - not syncing: Attemped to kill

Clone a VM in VirtualBox and restore from VMware, but starting a VM seemed like an error.

View Article


Virtual Webcam in C++

I want to write a new virtual webcam driver, which for example will take an AVI or live stream for example for screen and stream it as webcam source.I'll not have webcam really, I want to add a virtual...

View Article


How to let kernel choose a port number in the range (1024,5000) in TCP socket...

When I run the following code:struct sockaddr_in sin;int addrlen; addrlen=sizeof(sin); memset(&sin, 0, sizeof(sin)); sin.sin_family = AF_INET; sin.sin_addr.s_addr=inet_addr("123.456.789.112");...

View Article

Play sound in kernel mode in Windows

Is there a way to play a WAVE sound in kernel mode in Windows (i.e. from a kernel mode driver)?I haven’t tried anything yet, I don’t know what to look out for.Thank you.

View Article

AllocatingMemory with C# (Run Driver in Kernel)

Hello there i am trying to create a game hacking , to access some items i need allocate the memoryhere is the Code & Way i tried.I am running a driver named RNG Driver in Kernel that supports...

View Article

OpenCL : incompatible integer to pointer conversion passing

I wrote the following kernel code, but it gave me the following warning. I have tried different solutions but failed. plz any suggestion would help`26:48: warning: incompatible integer to pointer...

View Article


How to suspend a specific thread in kernel?

Is there a way to suspend and resume a thread (what is created by a thread class exists from java) using KID in the kernel? I was thinking of something like pthread_kill, but that function doesn't work...

View Article

How to detect AVB is running normally or not android?

AVB is Android Verified Boot.How to detect in case an abnormality is detected while executing AVB?From boot, I need to notify whether it started normally or not.Is it possible to check through...

View Article


Allocating user space memory in Linux Kernel

is that allowed to allocate user space memory from kernel space? I know that process in Linux uses virtual memory and virtual addresses. And there is a protection which can`t allow using of memory of...

View Article

Can a work submitted to linux workqueue schedule itself

PFB the pseudo code:struct work_struct my_work;my_wq = alloc_workqueue();INIT_WORK(&my_work, worker_func);void worker_func() { if (condition) queue_work(my_wq, my_work);}Is this allowed?

View Article


Update kernel modules after Spyder update

I updated my Spyder today to Spyder 5.1, and now it keeps showing me this error message:Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it...

View Article

linux kernel CPU affinity policy

I'm using an octa core CPU (two quota cores) in my board.5 cpu is allocated to linux and 3 to android.There is a strange phenomenon, when I'm watching CPU utilization for each cpu.The fifth CPU in...

View Article

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-bloc(8,2)...

I am a spanish speaker so excuse me for my bad english.I am learning how to compile slackware kernel, so I have downloaded linux-3.2.7.tar.bz2 from http://www.kernel.orgConditions:Slackware installed...

View Article
Browsing all 6334 articles
Browse latest View live


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