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

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


Docker eCryptfs Capabilities and Cgroup

I'am trying to mount an eCryptfs volume on a running container after some test with root and privileged mode, all works great but now i'am going to restrict all access for security reason and .....

View Article


Why can't I run any command in Jupyter Notbook?

I just downloaded Anaconda for Python 3 for the first time. I opened Jupyter Notebook and am trying to run a command and follow along with pre-written code from my professor. In the top right corner,...

View Article

sklearn SVM custom kernel

I need to implement a custom kernel in sklearn.This would be a custom linear kernel:def my_kernel(x, y): return np.dot(x, y.T) But I am having trouble doing something like RBF kernel. Is it possible to...

View Article

SMBus on PCIe Slot

I have some PCIe cards, which have some PMICs on SMBus. If I connect more than one (identical) PCIe cards on different slots(on an x86), would I be able too access all PMICs (with same address)? Does...

View Article


Why cannot I use xterm to see log infos from modules directly but through log...

I have been reading linux kernel dev by Love (3 edit). I assume, it is quit well known book for kernel development. I have although encounter, I am not able to use code, because I do not know how to...

View Article

Questions about Linux kernel modules

The Linux Debian family 4.10 and later seem to have some rules affecting kernel modules. When trying to add a hook list while building a kernel module, we get an undefined symbolic link error as shown...

View Article

kernel config file location in android

I need to compile custom kernel with dvb-t drivers as kernel modules on _rkm mk602_ android device with rk3066 processor. I have downloaded the kernel source for this processor, however I am having...

View Article


How to make sure only one instance of a C kernel module is running (Singleton)?

For my assignment I need to determine suitable design patterns for my kernel module. Since it modifies one critical area of kernel code, I can't allow there to be more than one instance of it running -...

View Article


Why both ioremap() and kmap() are needed?

In case of memory mapped IO: both memory mapped IO and RAM are in same CPU physical address space. When we map any higmem memory we use kmap() and when we need to map memory mapped IO we use ioremap()....

View Article

How to Upgrade Kernel with Ansible Modules

I am newbie in Ansible and I would like to upgrade all of our environment's kernel. I've checked the modules but I have couple of questions about it. My main point is upgrade only kernel. Some VMs have...

View Article

Install RT Linux patch for Ubuntu

Trying to make my generic Ubuntu to real time Ubuntu by modifying the kernel by patching / installing RT Linux but couldn't find a straight setup. Can someone help with the steps?

View Article

snd-soc-dummy as sound card for embedded linux

I want to use ALSA simple-audio-card witch snd-soc-dummy to play and record sound from I2S/PCM interface, based on this question and this patch I succeeded to play out audio, but audio capturing still...

View Article


Rust bootimage throws error upon compilation with cargo bootimage [closed]

I followed a guide from os-phil-opp and it worked fine until I tried to compile it. It then threw an error:Building kernel Compiling blog_os v0.1.0 (/home/vsonline/workspace/blog_os) error[E0560]:...

View Article

How do you program an efficient sleep function in C?

I am programming a basic kernel in C and I want to implement a sleep function. However, the only way I know is creating a very long loop. The downside of this is that processor cycles are wasted and...

View Article


How to create and display custom characters in C kernel?

I am writing a basic kernel in C and I want to create custom characters so that I can simulate drawing pixels while remaining in 25x80 text mode. Is this possible and how would I access the characters...

View Article

python/pandas "Kernel died, restarting" while loading a csv file

While trying to load a big csv file (150 MB) I get the error "Kernel died, restarting". Then only code that I use is the following:import pandas as pd from pprint import pprint from pathlib import Path...

View Article


I am getting this kernel error in my Jupyter Notebook.Can someone help me to...

Traceback (most recent call last): File "C:\Users\karthick\Anaconda3\lib\site-packages\tornado\web.py", line 1699, in _execute result = await result File...

View Article

How sem_post/sem_wait differntiate between memory based and kernel based...

Not able to figure out , how sem_post/sem_wait functions differentiate between memory based and kernel based semaphore passed to them ? For kernel based semaphore it would require system call to do any...

View Article

Image may be NSFW.
Clik here to view.

BIOS interrupt 0x10 causes booting from ROM loop in QEMU

ProblemI am programming a basic kernel in C with a little bit of assembly. I want to change the video mode to 0x13, but when I call int 0x10, QEMU gets stuck in a booting from ROM loop where it appears...

View Article
Browsing all 6333 articles
Browse latest View live


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