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

Android 10: Update kernel modules

I am working with a Pixel 4, build QQ2A.200501.001.B2, which is Android 10. When I build the kernel from the official sources and flash it, the touchscreen does not work. I tracked this down to the...

View Article


List-vmlinux.sh error while compiling android kernel

I want to build an android kernel with Nethunter support, build on parrot OS (in a virtual machine), build the kernel according to this instruction https://vk.cc/9UZyiF,but when compiling, I get this...

View Article


linux headers are consuming a lot of disk space on the EC2 machine. Is it...

EC2 machine on aws is filled with multiple linux headers and currently / is 100% full on disk space. I ran commands like apt-get autoremove but it is throwing an error saying No apport report written...

View Article

Keyboard stops working after suspend, sleep - Kali Linux [closed]

I have just Installed, Kali Linux with dual boot with windows 10 on my laptop. But I have noticed that after I suspend the system or the system goes to sleep after no activity, the keyboard stops...

View Article

Image may be NSFW.
Clik here to view.

RGMII in Linux Kernel: how to simplify get data from a FPGA

I have a FPGA interfacing to the RGMII Rx Mac port of an ARM CPU which has the STMMAC IP.I "just" want to dump a lot of data from the FPGA to the CPU and I don't really need the whole ethernet stack....

View Article


build kernel with aarch64-linux-gnu-gcc

I am trying to build the kernel source on my platform with the following command:make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- generic-v8-defconfigHowever, the error messages appear as shown in the...

View Article

Helping with void *__ctx[] CRYPTO_MINALIGN_ATTR in struct aead_request...

I'm a newbie in Linux driver. Now, I am testing my Linux crypto driver. However, I have some kernel crash bug related to this pointer array. In my opinion, this pointer array is related to a Variable...

View Article

How can we identify a buffer belongs to user space or kernel space from a...

I am writing a driver in which a few functions are called either by a user-space dev node or from another MFD device driver. I need to identify whether the buffer belongs to user space or kernel space,...

View Article


Linux Kernel C code to simulate userland writing / setting a value to /proc...

What's the best way to simulate the same thing as a user doing an "echo a > /proc/file"But doing it from the KERNEL (2.6 in my case) even when the ROOT partition is unreachable.As far as I know the...

View Article


Yocto Patch Linux Kernel In-Tree-Module with extern symbol exported from...

I am using Yocto to build an SD Card image for my Embedded Linux Project. The Yocto branch is Warrior and the Linux kernel version is 4.19.78-linux4sam-6.2.I am currently working on a way to read...

View Article

image compiled with -fPIC and -pie not loading

compiled code with the -fPIC and -pie option and with certain checks able to see that binary generated is not havinf TEXTREL and position independent.But once i load the image i can see that it is...

View Article

drmDropMaster requires root privileges?

Pardon for the long introduction, but I haven't seen any other questions for this on SO.I'm playing with DRM (Direct Rendering Manager, a wrapper for Linux kernel mode setting) and I'm having...

View Article

virtual box installation failing on ubuntu 18.04.4

I have tried to create docker machines on Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0 x86_64)with the following command:docker-machine create test.comRunning pre-create checks...Error with pre-create check:...

View Article


Dynamically Change eBPF map size

In the kernel, eBPF maps can be defined as:struct bpf_map_def SEC("maps") my_map = { .type = BPF_MAP_TYPE_HASH, .key_size = sizeof(uint32_t), .value_size = sizeof(struct task_prov_struct), .max_entries...

View Article

Are existing proc files available to the kernel if system loses access all...

If the answer is NO, that if root filesystem disk partition is lost for any reason, like dying hard drive or if booted via nfs rootfs and network is lost etc, if in these cases the kernel "no longer"...

View Article


Image may be NSFW.
Clik here to view.

Kernel error: IRQ remapping doesn't support X2APIC mode, disabled x2apic...

I need to enable x2apic on Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz, and I find x2apic was supported in cpuinfo:But when kernel started, I find error message:[ 0.138328] IRQ remapping doesn't support...

View Article

Kworker threads getting blocked by SCHED_RR userspace threads

We have a Linux system using kernel 3.14.17, PREEMPT RT. It is a single core system.For latency issues, our application has some of its threads' scheduling type set to SCHED_RR. However, this causes...

View Article


EXPORT_SYMBOL a dynamic memory location

Is it possible to EXPORT_SYMBOL() a struct that contains a kmalloc array? If yes, what are the things that I need to keep in mind?This is a psuedo code of what I want to do.struct test { int a; ......

View Article

Correct way to write SPI driver in kernel space on BBB

I wrote a simple SPI application in userspace used ["/ dev / spidev0.0"] in C++ on linux loaded with Beaglebone black. My app uses gpio to sync between BBB, so I should use kernel driver in C to SPI...

View Article

sk_buff / net_device: Minimum packet size?

I understand that a MTU is defined in struct net_device, and (if I'm correct) that MTU is defined on a per-device basis. Is there a way to get a minimum packet size? I know there are clear cut...

View Article
Browsing all 12244 articles
Browse latest View live


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