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

Android Kernel Driver Fails to request irq

While up-streaming a kernel(3.18 to 4.9) for an android device I faced a issue where the display driver(ft5435) fails to load.. upon looking onto logs it suggest it has something to do with failing irq...

View Article


Turn linux as usb keyboard for a android device? [closed]

I'm trying to turn my laptop as a USB keyboard for an Android(or all keyboard supported) devices. For that, I need to create a vendor id for external connection (if it needed). If it is possible, how...

View Article


Build static library and link it to kernel module at compile time

I'm trying to build a static -helper- library of pure C code (no standards c headers) and then link it with a kernel module in compile time in the Makefile, but I can't seem to get it working.Let's say...

View Article

Postgresql not getting installed on ubuntu 20

I have recently upgraded my ubuntu to 20.04. Now, I am trying to install the postgresql but I am getting error. I have tried to 100 different ways and crawled every web but nothing worked.These are the...

View Article

Kernel Module/driver project/semi projects ideas? [closed]

Hey guys I want to expand my knowledge and experience in Linux internals and C language so I wondered if there are some recommended projects to do related to the Linux kernel.Thank you for any help!

View Article


Linux kernel mode string copy

After few minutes of search for string copy on kernel mode, thought of posting a new question. What utility will help me to do a string copy when the code runs in ** Kernel Mode ** ?I'm sure there...

View Article

Image may be NSFW.
Clik here to view.

Unable to boot kernel image built for vexpress-a9 on qemu : Blank Screen

I have compiled linux kernel v4.9 using the following steps : export ARCH=armexport CROSS_COMPILE=arm-linux-gnueabi-make vexpress_defconfigmake all -j40Then I created ramdisk with a simple hello world...

View Article

missing "linux/ext2_fs.h" in Ubuntu 16.04 [duplicate]

O/S : Ubuntu 16.04 LTSWhile attempting to compile the e2undel source, gcc is complaining about :e2undel.h:9:27: fatal error: linux/ext2_fs.h: No such file or directoryThe file most certainly does not...

View Article


modifying u-boot environment in kernel init

I'm trying to modify a u-boot env arg within the kernel code.I've found boot_command_line var in main.c and setup.c, which contains an arg, so that made me think it is possible, however, I coudn't find...

View Article


Why is the MTF bit reset after a while in kvm?

I have been playing around with VMX and KVM and have a few more general and some more precise questions.I created a VM with the virtual manager because I assumed (from what I have read online) it to be...

View Article

Controversial __set_task_state(tsk, state_value) macro syntax in linux kernel...

I came across this syntax in several macros, in linux kernel 2.4.31 files, but to keep things in focus I am asking regarding __set_task_state(tsk, state_value) macro defined in...

View Article

Is socket routing based on source address or destination address in Linux...

Consider there are multiple NICs in a PC. When sending a packet on an unconnected and unbound raw socket e.g. using sendmsg(), which interface will be selected for forwarding the packet to the...

View Article

Using docker rootless with new version

There is a new capabilities on docker new release,https://docs.docker.com/engine/security/rootless/We need to run it in our environments and provide usingDockerfileI try the followingFROM...

View Article


Close call does not release underlying resources for the device

A bit of context: Linux 3.10.40, Multi-threads application, main thread waiting for user input (keyboard), other threads waiting (epoll_wait) for events. No specific priority for either application or...

View Article

Check if the page is in the task's VMA

Is there a way in order to check if the page in question is used by specified process?i.e. I have a pointer to struct page and struct task_struct and I want to obtain a boolean value denoting if the...

View Article


Why does the Linux kernel not stop at the first handler for a shared IRQ that...

I'm sure there's a good reason for this, but I can't see what it is. Inside __handle_irq_event_percpu the kernel loops over all the handlers registered for a particular IRQ line and calls it. What I...

View Article

Scatterlist in linux crypto api

I start to learn how to work with Crypto API in linux. It's offered to use scatterlist structures to transfer plaintext to block cipher function. Scatterlist handle to the plaintext by storing location...

View Article


Linux kernel module compilation fails

My last kernel development was in version 2.6~Now I try to compile a module, and I get the following error when compiling outside the kernel tree./bin/sh: 1:...

View Article

Is there a way to identify the start of Linux's signal handling using systems...

I am learning about Linux signal handling.I am auditing an application (using Sysdig) while it runs. The application can receive different signals at any time and it defines various signal handlers for...

View Article

kernel panic not syncing attempted to kill init exitcode=0x00007f00 [closed]

After downloading virtualBox on my Centos 8 the kernel got damaged so I tried a solution on my command line and then I reboot the system so after this I got this errorenter image description hereI...

View Article
Browsing all 12348 articles
Browse latest View live


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