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

Loadable Kernel Module Loading

I need some clarification on how the Loadable Kernel Modules in linux are loaded.I have the following doubts:Which are the steps the kernel do when we load a new Kernel Module? And which are the steps...

View Article


When do we use irq_domain_add_hierarchy to register our irq domain?

I have gone through the documentation related to it but I am not able to understand how the hardware works here. lic: interrupt-controller@60004000 { compatible = "nvidia,tegra20-ictlr"; reg =...

View Article


What exactly expands the KERN_INFO, and where it is implemented?

In this question: Why doesn't the function printk() use a comma to separate parameters?, someone said KERN_INFO expands to ""\001""6". I know the first \0 is null character, but then what 01 is? As I...

View Article

Where is the TTL (Time-To-Live) value defined in the Linux kernel source?

I'm having a hard time finding where, in the Linux Kernel source, the TTL is defined. Could someone point out which file that's in?I'm not sure, but I may have found it at line 820 in...

View Article

Shipping linux with windows

I'm a Java developer. And I love working on both Windows and Linux. Is there any way to ship windows to linux or linux to windows without using virtual machine?I tried wine in ubuntu. And it suck for...

View Article


Find actual file names with inotify when files are created with linkat API

First of all, sorry to post a long question. I wish I could write this shorter. :(Imagine there are many concurrent file creations in /path/to/dir directory using linkat and traditional method.The...

View Article

Can a user change kernel configuration form within a docker container?

According to what I understood from reading docker's documentation, containers share the kernel of the host on which they run. Does that mean that a user can - by using a container - set the kernel...

View Article

How does the Linux Operating System understand the underlying hardware?

I want to learn how Linux OS understands the underlying hardware.Can anyone suggest me where to start for getting this understanding,As of now i just know the '/dev' sub-directory plays a vital role in...

View Article


Compile Linux Kernel on Mac: Undefined symbols for architecture x86_64

Compile Environment: 1.Mac 10.13.6 2.linux kernel: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/grus-p-oss 3.compile tools:...

View Article


xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command

When I Muti-times to plugin and pullout USB, the controller tips: [xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command] Kernel 4.19.4, CPU: AM4379 here is log as below:[...

View Article

Why need seprate IOREMAP and KMAP, when they both map cpu physical address...

In case of memory mapped IO : Both Memory mapped IO and RAM are in same CPU physical address space. When we map any higmem memory we use kmap and when we need to map memory mapped IO we use ioremap So...

View Article

Doubts about driver development with the help of the book Linux Device...

I am reading the book Linux Device Drivers 3rd edition and in the book teaches about drivers for kernel 2.6.what are the main differences for 4.9.0-9-amd64?Can I replicate the examples with few...

View Article

How to get kernel executable pages in Volatility (linux memory)?

I have a memory dump of Linux system. I am trying to find all the executable pages in memory belonging to the kernel. How can I do that using Volatility/Rekall?

View Article


Linux kernel module crash debug: general protection fault: 0000 [#1] SMP

I have a kernel module for splitting incoming rtp packets and merging rtp outgoing packets. The program crashes once in 2/3 days. If would be very convenient for me if its possible to find the exact...

View Article

Compiling PowerPC (e5500 family) with little endian in Linux

I have PowerPC e5500 family based embedded board. I want to compile a linux kernel with Yocto. I want this kernel to be a little endian kernel. But when I try to enable little-endian option in kernel...

View Article


ath9k stacks date in ocb mode

I have a WPEA-121N card connected to nitrogen SOM v2 with NXP i.MX 6 dual. For handling WPEA-121N I'm using ath9k driver. Linux version used: 18.04.3 and kernel version: 4.14I need to receive data from...

View Article

How to esteblish NOT static L2TPv3 socket connection over IP between two...

I did not found any examples how to implement L2TPv3 over IPI found only a couple of open source implementations of L2TP which are:openL2TP: https://github.com/breed/openl2tp which does not support...

View Article


Why no zero-copy networking in linux kernel? [closed]

I'd like to know the reasons for why the linux kernel (or any other mainstream OS) does not have a feature for zero copy networking ? By zero copy I mean, that an packet/datastream does not get copied...

View Article

Using wait_event_interruptible and wake_up_all together

For a class project involving scheduling processes using blocking and locks, we're supposed to use two kernel functions:int wait_event_interruptible(wait_queue_head_t q, CONDITION); void...

View Article

Why both ioremap() and kmap() are needed?

In case of memory mapped IO: both memory mapped IO and RAM are in same CPU physical address space. When we map any higmem memory we use kmap() and when we need to map memory mapped IO we use ioremap()....

View Article
Browsing all 12244 articles
Browse latest View live


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