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

Physical KASLR disabled: no suitable memory region

I built and installed the latest Kernel (v5.4) from source (downloaded from Linux repo). I followed the steps explained here:https://www.cyberciti.biz/tips/compiling-linux-kernel-26.htmlI used make...

View Article


CUDA - dynamically reallocate more global memory in Kernel

I have a question about the following task:"Given a two-dimensional array "a[N][M]" so N lines of length M. Each element of the array contains an random integer value between 0 and 16. Write a kernel...

View Article


How is google call screen streaming audio to an incoming call?

I have been trying to stream an on-device audio file to an incoming call, I am not able to achieve that. but it looks google call screen is having no problem streaming audio to an incoming call.I just...

View Article

How to run ksize.py tool of Yocto when build a core-image-minimal image?

I want to further reduce the kernel and rootfs of the core-image-minimal build to adapt to our minimal application. The core-image-minimal build does not create a build directory and vmlinux so I...

View Article

Image may be NSFW.
Clik here to view.

Can't start a virtual box without NtCreateFile error

Every time I try to start any of my virtual machines I get this error:So did my research and people told me to: Right click on "VBoxDrv.inf" file and select Install option and then type this command:...

View Article


Warning vboxdrv kernel module is not loaded

Well I run this command aptitude purge ~oTo delete all the Obsoletes files that aptitude show me big mistake I guess after that I update the system everything works fine but when I restart the system...

View Article

How to pass file name to kernel mode driver?

I want to read from already opened file. There are some examples available like general/ioctl in windows driver samples or How to open a file from a kernel mode device driver and how to read from or...

View Article

Linux kernel fatal exception (alignment trap)

I am trying to get into kernel programming a bit. I would like to try and print out processes in run queues on each CPU when a specific kernel panic occurs. I have been looking at various code chunks...

View Article


How can I programmatically determine the number of CPUs when writing Windows...

I need to programmatically determine the number of CPUs in my Windows driver code. Is there a kernel call I can make that will get me this information? I see lots of references to GetSystemInfo, but I...

View Article


data_generater function :getitem

def __getitem__(self, index): start = self.batch_size*index end = min(start + self.batch_size, len(self.match) + len(self.unmatch)) size = end - start assert size > 0 a = np.zeros((size,) +...

View Article

What is the difference between register_chrdev_region and alloc_chrdev_region...

I want to know the difference between these two functions:int register_chrdev_region(dev_t first, unsigned int count, char *name); int alloc_chrdev_region(dev_t *dev, unsigned int firstminor, unsigned...

View Article

When I open the spyder in anaconda, the spyder indicates that an error...

When I open the Spyder in anaconda, the Spyder indicates that an error occurred while starting the kernel in Spyder. I have tried (in the terminal) two suggested commands from Spyder. However, after I...

View Article

Linux kernel cfs_tasks

What does cfs_tasks in struct rq represent? Is it a list of (all) tasks waiting to be scheduled on that CPU?As far as I know, CFS is short for Completely Fair Scheduler, but I am thinking if it...

View Article


Redhat OpenStack: Virtio is only using 2 multi-queues eventhough 8...

I have a RedHat OpenStack where I have orchestrated virtual machines. Multi-Queue Virtio-net is enabled on 8 of the virtual machines. The command used to enable the Virtio multiqueue was: ethtool -l...

View Article

Error while removing canonical signature from kernal file using pesign tool...

I want to remove the canonical signature from the Linux kernel file. I am using Ubuntu 18.04.3 and I am using pesign tool to remove the signature from the Linux kernel vmlinuz-5.0.0-36-generic. But...

View Article


how to insert kernel module which has only subsys_initcall

I am trying to make changes to the md.c file and reload it to the kernel. Since its a kernel module I thought it would be an easy task.But, after reading the code, I found out that it does not have a...

View Article

Meltdown/Spectre attack

What concepts should a newbie(someone who doesn't have too much knowledge about computer architecture, user/kernel space, memory etc.) understand if he wants to know how Metldown/Spectre works?I would...

View Article


Reading Large json.gz files crashes kernel

I have a dataset that's 7GB worth of data. I am reading it as follows:path = direc + '2018-01-*.*' ddf = dd.read_json(path,blocksize=None)I used this method because reading it through pandas seemed to...

View Article

Preprocess the Linux source code and save to another directory

Suppose I have the entire Linux source code in /tmp/linux-src. After menuconfig I want to do "some kind of gcc -E" where all the preprocessor macros other than #include are expanded so the actual...

View Article

i want customize or edit linux GUI interface. how can i edit or modify the...

I want to customize or change GUI interface linux distribution comme ubuntu or linux mint etc. How can i modify linux distribution GUI interface by source code ? I have some knowledge C++ and python...

View Article
Browsing all 6372 articles
Browse latest View live


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