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

openCL kernel returns trash value despite no errors

I've been following these openCL examples. OpenCL isn't giving me any errors even when checking error codes with cl_int err, or from the kernel. But when I output the results of landmap_flags[i], It...

View Article


Execute PE from memory 64bit

I'm trying to put into my program a PE which is 64 bit and will run from my program itself. However I only have the PE execute form of 32bit so it doesn't work with my 64bit program. Source Code :...

View Article


Change DKMS of system which is not booted

I've made some errors in my wifi firmware and I can't boot properly.I want to be able to do something like "dkms remove rtl8723de", but from another system from flash.I solved my problem by booting an...

View Article

How to intercept DNS queries in Windows

I am looking into how I can intercept DNS queries in Windows,in a way that would not necessitate a DLL to be injected into every process and one that would ideally be able to make decisions based on...

View Article

Incorrect results drawing horizontal and vertical lines to the LFB returned...

I finally managed to draw a cyan pixel on the screen using the VESA BIOS Extensions (1920px * 1080px, 24bpp).;esi = bytes per scan line;edx = physical address of linear framebuffer memory.;ebx = x...

View Article


Ubuntu 16.04 Kernel headers for 4.4.0 were not found [closed]

I have a Linux system with the kernel "4.4.0" but nothing else. Not "4.4.0-1008" or something else, only "4.4.0" and I doesn't find any linux-headers for the version "4.4.0" (remember: the version is...

View Article

Qemu restarts if I add a while loop in my kernel

I wrote a while loop that hangs when the keyboard controller is not ready:while(inb(0x64)!=0){ }However now qemu restarts everytime I attempt to boot the kernel. Sometimes I can see the vga output for...

View Article

Image may be NSFW.
Clik here to view.

What are the colorbar units in seaborn.kdeplot?

Is it percentage, decimal fraction, or something else?, for example, would the darkest blue shade represent 0.00027/1 (0.027%) of the data; or 0.00027%; or something completely different?

View Article


I always get a Kernel Dead when using "pd.read_parquet()". (No matter which...

As you can guess by the title, the kernel always dies when using pd.read_parquet().I already tried it with different sizes but it wont work.here the code... (I am using jupyter (without anaconda,...

View Article


Why some processes(even they are user processes) could not be migrated to a...

Why some processes could not be migrated to a certain cpu by cpuset(7)?I found that these processes could not be really migrated to a certain cpu(Though when you check the cpuset filesystem,it seems...

View Article

why kernel macro for_each_cpu loop from cpu = -1 for smp?

Why macro for_each_cpu loops from cpu equal to -1? It is hard to understand this definition in include/linux/cpumask.h:249 /**250 * for_each_cpu - iterate over every cpu in a mask251 * @cpu: the...

View Article

Convert dmesg timestamp to custom date format

I am trying to understand the dmesg timestamp and find it hard to convert that to change it to java date/custom date format.any help is much appreciated.Sample dmesg log: [14614.647880] airo(eth1):...

View Article

Cross-compiling to arm64 against kernel source, does not find header files

I wrote a basic module that implements IOCTL handling.I'm trying to cross compile this module to arm64, against 4.19.114 kernel source.Here is my...

View Article


Linux kernel System Keyring physical location

I have enabled Integrity Measure Architecture (IMA) with signature in kernel (4.19.108). An IMA X509 certificate is loaded at run time located at /etc/keys/x509_ima.der. The IMA cert is signed by...

View Article

Bootsplash kernel

My question is simple, I am designing a kernel from scratch, and I was wondering how it is possible to display an image, like linux or windows when the OS boots.And I mean JUST an image, not an...

View Article


Full speed Vs High speed Usb device Detection in Linux

I have encountered a strange problem regarding Usb detection .My full speed Usb(ACM) device is getting detected normally in kernel & in udev logs.But an upgraded high speed usb device from same...

View Article

Print Value from PLARGE_INTEGER

I am writing a kernel mode driver for windows 10 64-bit and whenever I trying to print the value of PLARGE_INTEGER(QuadPart,HighPart,LowPart), it just crash.LONGLONG val =...

View Article


User mode driver with NDIS

Windows Filtering Platform provides API to develop both Kernel mode and User mode network filter driver.Is it possible to develop User mode Network filter driver on NDIS using Windows API?

View Article

Apple: Compile clang frame size with -O0 vs -O2 (kernel)

I have an existing project, which we compile DEBUG for developers (and -O0 so lldb makes sense). But I have one function in particular that balloons in size when -O0 is used:-O2...

View Article

Is there a way to install packages in a Jupyter notebook and not have to...

I am working on a notebook and it involved geopy and folium. The packages take a while to install. Whenever I close my computer and open it back up again, I have to refresh the page to reconnect to the...

View Article
Browsing all 6333 articles
Browse latest View live


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