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

If two lines have point in common, write it out. (Assemlby language)

I am trying to make program in ASSEMLBY language, where you put in 4 points A(a1, a2); B(b1, b2); C(c1, c2); D(d1, d2). I have tried to make a two vectors and then compare them and i dont know where I...

View Article


Is the kernel's physical memory mapping the same between all virtual address...

On boot, I understand the the kernel is loaded into main memory. When we spawn processes, a portion of the virtual address space is reserved for the kernel. If every processes' virtual address space...

View Article


How to enable KVM on Nvidia Jetson Nano / How to build kernel with KVM support?

I am trying to run firecracker, a KVM virtualization tool, on my Nvidia Jetson Nano. However, it fails on the creation of the KVM device. It turns out there's no /dev/kvm, so I guess the kernel wasn't...

View Article

Kernel switches to unknown using pyspark

I am working in jupyter hub in a notebook. I am using pyspark dataframe for analyzing. The code works until I get to some point where the kernel is busy and after approximately 10 minutes of being...

View Article

Detecting windows shutdown event from background application c++ [duplicate]

I'm currently trying to detect a shutdown event from a background windows c++ application. This application is not a console app or service (no GUI etc) so I cannot use RegisterServiceCtrlHandlerEx or...

View Article


unable to disable SELinux or set to permissive in Galaxy Tab S4 (SM-T835)

I’m having Samsung Galaxy Tab S4 which is running Oreo (8.1.0) andSuccessfully installed Nethunter referring to this post, had to update apt and install relink firmware to get work external Wi-Fi...

View Article

How to convert an ASCII trace generated by ftrace to a .dat one?

I have a ASCII trace named trace and I'd like to convert it to a .dat in order to analyze it with kernelshark (I cannot change tool such as TraceCompass, I am constrained to kernelshark).These two...

View Article

PXE server can't mount NFS

on a test machine, I tried to install PXE to make it easier for the server to install OS systemsmy settings simple#...

View Article


Restarting kernel, ipython console in spyder

I am having this problem in spyder where, after I run my code and exit the gui.program, the kernel needs to manually be restarted after every time my code is ran, I sometimes even have to shut down...

View Article


Docker loading kernel modules

I tried to install a kernel module, xfsprogs. It was successfully installed inside a container. It is really surprising, but lsmod doesn't list this module inside container or in the host system.How...

View Article

Selinux blocks ls /sys/fs/pstore on android, is there a way to fix it?

I'm trying to use pstore logs on my Poco M3. I tried everything. PSTORE configs are activated on the kernel, pstore module is loaded on the phone, phone is rooted, /sys/fs/pstore is mounted...

View Article

Is it possible to build linux's KVM as a module?

CONFIG_KVM does not have the m option, it's just y or n. But is there a way to build it as a separate module? I need it because if I build my android kernel with CONFIG_KVM=y it won't boot and I don't...

View Article

Image may be NSFW.
Clik here to view.

Printing to 0xb8000 not working as needed- osdev

I am trying to create a simple kernel and when I print to 0xb8000 in video memory using this code:print.cvoid screenPrintString(char *str, uint_8 color, int x, int y){ uint_16 position =...

View Article


Which hardware timer is used for hr timers in linux?

The kernel timers are based on the systick HW timer (systick HW timer block or some other timer) with a resolution of 1 jiffy. In case of hr timers (high resolution timers) the resolution is 1 ns....

View Article

When do you use container_of macro?

I know what the macro does.In many kernel level codes, it is often used to traverse linked-list.I want to find other useful cases.When do you use container_of or CONTAINING_RECORD macro?When is the...

View Article


how to solve Pintos project2 userprogram intrcontext error?

Korea's KAIST Revised and Distributed Pintos KAIST Project The same error occurred in all tests in the project 2 user program, so I am asking you this question. As a result of backtrace, an error...

View Article

how to Read/Write a sector of hard disk in c?

I tried very hard to find a document on how to access sectors in the C programming languageOr is it possible to read a file and it gives us the sector addressOr access its value with the sector...

View Article


SystemTap failed with error "WARNING: kbuild exited with status: 2"

I built a custom kernel 3.2-41, required kernel-debuginfo-common and kernel-debuginfo packages. I installed these packages on CentOS System with kernel 2.6.32-358. System booted fine with new kernel. I...

View Article

/sys/fs/pstore won't work on poco m3 android, is there a way to fix it?

I'm trying to use pstore logs on my Poco M3. I tried everything. PSTORE configs are activated on the kernel, pstore module is loaded on the phone, phone is rooted, /sys/fs/pstore is mounted...

View Article

Ubuntu 20.04 Cannot find Ksplice Uptrack information for your kernel version

I'm running the latest Ubuntu 20.04 LTS and trying to get ksplice working as described here. Kernel version 5.4.0-77-genericI downloaded and installed the .deb file and accept the terms of service but...

View Article
Browsing all 6333 articles
Browse latest View live


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