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

Creating interaction terms in python

I'm trying to create interaction terms in a dataset. Is there another (simpler) way of creating interaction terms of columns in a dataset? For example, creating interaction terms in combinations of...

View Article


How can I send a signal to a process using its pid from inside the kernel...

I am writing a new syscall where I want to send a kill(pid, SIGSTOP) signal to a process that I just created in order to move it from the runqueue to the waitqueue. Then, I can wake it up again using...

View Article


Jupyter - failed to start the kernel

i am suddenly getting the following error when trying to launch a jupyter-notebook: "Failed to start the kernel"- Unhandled error. Any ideas how to fix this?Traceback (most recent call last): File...

View Article

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

I Want Some Help In Porting New Android version for my Mobile [closed]

how do I modify the stock kernel of my device for porting new version of android to run on my device I wish if anyone can help methanks

View Article


IO to pinned memory

What would be the downside of reading from device directly into user space pinned memory? Unable to find anywhere explaining this.What advantage does reading via multi-step - reading from device into...

View Article

Using MultiDimensional (2D) arrays as enums for Kernel convolution matrices

I'm making a very basic Image Processing program in Java and I have a few pre-defined 3x3 matrices for various convolutions (sharpens, blurs, edge detections etc) I have them hard coded for now for...

View Article

writing simple lsm in kernel 5.x

I'm trying to write a simple lsm module that also do nothing. but I have several problems.static int rdwn_task_kill( struct task_struct* p, struct siginfo *info, int sig, u32 secid) { return 0;}static...

View Article


Can't make menuconfig

I use Debian 7.4 Wheezy. I trying to upgrade my kernel, but when I type "make menuconfig" it says: *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig'...

View Article


Sound not working Focal Fossa Ubuntu 20.04

I have been using ubuntu 20.04 recently and have a HP pavillion laptop with B&O speakers. However i am not able to hear any sound. though, Bluetooth is working fine.I have tried many solutions such...

View Article

Image may be NSFW.
Clik here to view.

Jupyter notebook not running code. Stuck on In [*] until interrupted and run...

I have an issue with running the blocks on Jupyter notebook, without interrupting them first. I run the code it shows that it is Stuck on In [*],But, if I interrupt the kernel and run it again it...

View Article

Can zynq pl cause kernel crash?

Our system uses xilinx zynq soc.Sometimes, issues looked like by kernel crash occur in our system like network is downed or serial port is downed or serial data is crashed and so on.However, we didn't...

View Article

get pid from sk_buff using proper wrapper function

This is a follow up question of Getting PID from sk_buff and inode in Linux Kernel,And since I cannot comment under the answer, so here I am..The answer is...

View Article


"Operation note permitted" when trying to change kern.sysv.shmmni on Mac OS X

I would like to change the shmmni parameter of my shared memory kernel settings, but when I try to write to it, I get "Operation not permitted".sysctl -w kern.sysv.shmmni=2048Output:kern.sysv.shmmni:...

View Article

Where does miscdevice device drivers returned values stored?

ProblemI am learning about Linux kernel module development. I am writing a misc char device driver which can write to the buffer. When the character device node is written to, the data sent to the...

View Article


How do i convert mov RAXto lea RAX?

I have a question about opcodeHave i converted it correctly to lea rax?also, how do i converty jmp rax to call rax?mov rax = 0x48, 0xB8lea rax = 0x4C, 0xB8

View Article

adding patch and another git source does not work in yocto

I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I get my kernel source and it works)...

View Article


Is there a way to execute a file/folder in a folder while I cd into it in the...

Is there a way to execute a file while i'm in cd in the kernel. I am using Unix based systems (Arch, Manjaro, MacOSX, etc). I am trying to get htop for macOSX Big Sur, and I wrote cd...

View Article

getting system module export

I am programming a windows kernel mode driver and have been unable to find the issue with this code for the past three days. Basically the CallKernelFunc() function calls the...

View Article

Android Stuck on boot after flashing the kernel I built (Waiting for service...

Closed. This question is off-topic. It is not currently accepting answers.Questions about writing and publishing Android apps, writing custom ROMs, and other topics that are primarily of concern to...

View Article
Browsing all 6333 articles
Browse latest View live


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