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

CentOS & Ubuntu - running kernel release date

By looking at the my kernel version how can i track date of release ?eghttps://linuxsoft.cern.ch/cern/centos/7/updates/x86_64/repoview/kernel.htmlAny official way to track it thanks

View Article


Debugging kernel panic error

I have a arm board on which I am running yocto with kernel 4.1.15. While I am running my python program I get following kernel error frequently but randomlyUnable to handle kernel paging request at...

View Article


'Bad page state' kernel error appearing randomly on azure vm when SAS is running

Since a few months, we start seeing Bad page state errors appearing in /var/log/message.Here is the exact stack traceSep 27 15:14:11 az-prod-sas1 kernel: BUG: Bad page state in process sas...

View Article

Are there any restrictions on the virtual addresses mapped by the private...

The following code:int prot = PROT_READ | PROT_WRITE;int flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE;void* address = mmap(NULL, mmap_size, prot, flags, -1, 0);I remember that the addresses of...

View Article

How to enable ECN marking in IP header in Linux?

Is the ECN marking in the IP header is performed by default in Ubuntu (4.15.x kernel) or should the kernel be recompiled with a special option?I configured a RED ingress queue at an Ubuntu machine,...

View Article


pagination on demand swap disk full what's appends?

if we a page who want to steal a real page, this real page is modified so it has to be copied in swap disk, what happens if the swap disk is full? in case of OS like linux.Thanks

View Article

How to make a dedicated Ethernet port on a dual Ethernet supported Linux...

A5 based Linux board in which I have connected an external Ethernet through SPI protocol. Now the system has 2 Ethernet port. After modifying the file /etc/network/interfaces, I got 2 different IP....

View Article

linux network acceleration ,hardware offload

I am learning network hardware acceleration in Linux kernel for quiet a long time, but there still are several problems that make me very very confused. After deeply inspecting source code in kernel...

View Article


How to use ipv6 flow label

I was going through ipv6, and came across flow label.my question is.How to use IPv6 Flow Label?Is there any config which we need to enable/configure to enable flow label? Is there a way to configure a...

View Article


Kernel preemption

Do priority of the processes constitute to preemption when they are in Kernel mode?. Say there are two processes with priorities 3 and 5. It is quiet obvious that the priority 5 process can be...

View Article

How to properly port the "dynamic ftrace wtih registers" support to the Pixel...

I'm currently working to integrate the ARM64 ftrace patches to enable the full support to "dynamic ftrace with registers". Specifically I'm working on the 4.9.200 kernel version for the Pixel 3a...

View Article

looping over a process's parents, Linux kernel

The following code loops over the ancestors of curr_task, all the way to the swapper process (i.e the "most distant" ancestor of any Linux process), where it stops because swapper ==...

View Article

How to get GPIO interrupt from an IOexpander in Linux

I am developing a kernel module for an embedded device, The device core is Toradex iMX6DL.So I have an IO-Expander of mcp23xxx series on this device and I can work with its GPIOs. I can set them as...

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

Remote function call between linux drivers [closed]

Is there a way in linux to communicate between the drivers by invoking remote methods within the kernel context? For e.g. if Driver A would like invoke some methods of driver B by passing some...

View Article


How to export symbol from Linux kernel module in this case?

I've got two kernel modules built, one of which is a net_device. My net_device module A depends on module B which provide some extra control mechanism to export device info.I want module B to be able...

View Article

Can't get gdb to stop at breakpoint in Linux kernel running under Qemu

Have compiled linux 5.5.5 kernel, with make menuconfig added option CONFIG_GDB_SCRIPTS and turned off option CONFIG_DEBUG_INFO_REDUCED .Runned qemuqemu-system-x86_64 \ -kernel arch/x86/boot/bzImage \...

View Article


Android i2c permission denied

I’ve developed an NDK application to access an i2c device via the i2c-dev interface. This application is running on an Android development kit, on which we have connected an MPU6050 device via i2c.I’ve...

View Article

hotplug vga(drm radeon) turns disconnected to connected, but is still...

Here is my graphic card:03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] Subsystem: XFX Pine Group Inc. Caicos [Radeon HD...

View Article

What should I set to fs.aio-max-nr on Ubuntu - Sysctl Parameter

I noticed about this value when I ran MySQLTuner with verbose arg. It recommended to me adjust value to higher than 1MB; fs.aio-max-nr > 1M (echo 1048576 > /proc/sys/fs/aio-max-nr)The default...

View Article
Browsing all 12374 articles
Browse latest View live


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