Questions tagged [linux-kernel]

The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.

The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.

The Linux kernel is released under the GNU General Public License version 2 (GPLv2) (plus some firmware images with various non-free licenses[citation needed]), and is developed by contributors worldwide. Day-to-day development discussions take place on the Linux kernel mailing list.

585 questions
1
vote
0 answers

Linux kernel version with (uname -r) does not show distribution version, where can I get the kernel source for this kernel?

I'm trying to compile a specific kernel module for my linux machine running on a hosted dedicated VPS. The VPS instance is running Ubuntu 20.04 64bit. In order to get the source code for the kernel I need to find out the exact kernel version. When I…
dihit32745
  • 11
  • 1
1
vote
1 answer

Need ubuntu 18.04.4 with 5.3 kernel, not 5.4

I had an 18.04.4 version of ubuntu that I recently upgraded, and lo and behold the kernel upgraded to 5.4, which is not what I wanted, as I have hardware that doesn't work on 5.4. I tried re-installing with 18.04.4 from usb, but it once again…
Jacko
  • 163
  • 6
1
vote
0 answers

Linux : process state and nettwork request

Looking at this post are are following assertions about linux load and tomcat right ? , I need an information : what is the state of a process waiting for an http request ? I guess that the process is in sleeping state, then it is remove from the…
1
vote
0 answers

Windows equivalent of the linux kernel AnyIP feature

I have been leveraging the linux kernel's AnyIP feature to provide me with tens of thousands of addresses without the need to actually alias/assign those IPs and I was hoping the same feature has an equivalent for windows. On linux I typically…
1
vote
2 answers

which is the popular and linux distros for begginers

I want to install Linux but i know that it is not compatible with a lot of software and it is hard to use but it is good at security issues. so i would like your help for choosing the best distro as beginner software developer that will prevent my…
Gad
  • 113
  • 5
1
vote
1 answer

Ping self IP address bypassing kernel

I wonder if there is a way to bypass kernel and redirect the ping packet to my network gateway when I ping my self IP address. For example, my private IP address is 172.31.42.99 and the gateway IP is 172.31.32.1. What I want to do is when I do "ping…
1
vote
1 answer

How to tell how much memory is available to a single process in Linux?

I have a Linux server dedicated to Redis. Redis is supposed to take up almost all RAM to itself. I am worried that Linux may impose a limit on memory consumption for Redis. The question is this: how to determine exactly how much RAM one single…
Gherman
  • 145
  • 6
1
vote
1 answer

How to disable Meltdown and Spectre patches in Centos 6?

I wondering how you can disable the Meltdown/Spectre patches in Centos 6? Various tutorials refers to Grub2 and recompiling, but in Centos 6, I do not have this. I can edit the grub.conf file in /boot/grub directory I have ran the command for f in…
TheMightY
  • 19
  • 1
  • 3
1
vote
2 answers

How to enable and disable IPv4 in linux system programmatically?

I am new to linux programming and based on some configuration parameter I want to disable and enable IPv4 on linux system programatically. The Pseudo-code of the solution would be like: if(is_ipv4_enabled) { // enable IPv4 and IPv6 } else { …
Anon
  • 25
  • 2
  • 7
0
votes
1 answer

Anyway to redirect 'page allocation failure: order:N' spew away from the "messages" file?

On big Linux systems running Centos, we sometimes see messages like kernel: : page allocation failure: order:, mode:0xNNNN Reading articles like…
Ben Slade
  • 149
  • 1
  • 5
0
votes
1 answer

Can RHEL6 based kernel be upgraded with RHEL7 kernel version

To fix an issue with the kernel I need to upgrade it from 2.6.32.xxx.el6 to a 3.10.0.xxx.el7 but I am little skeptical because the version of Operating system is 6.10. Is it possible to upgrade new kernel of a recent/later OS version? Could someone…
UnicsSol
  • 21
  • 3
0
votes
0 answers

How to build kernel-debuginfo from available kernel

Problem: I have kernel(with iso) however that iso is not having kernel-debuginfo, I want to build build kernel-debuginfo to debug kernel issues. Any references will be appreciated.
asktyagi
  • 2,860
  • 2
  • 8
  • 25
0
votes
1 answer

Unable to build initscripts package

I have some patches that I added in spec files and after adding those patches I am unable to build the rpm package. Obsoletes: hotplug <= 3:2004_09_23-10.1 Processing files: debugmode-9.03.61-1.0.3.el6_9.2prerel0.63189.x86_64 error: File must begin…
UnicsSol
  • 21
  • 3
0
votes
1 answer

How to configure auditd to collect logs from /proc kernel file directory

I've been looking for this for about 3 days now and have come up empty-handed. I am looking for a way to build a threat alert for Linux-based credential dumping in Splunk. To do this I need to be able to monitor the /proc directory. I found audit…
0
votes
1 answer

How to disable power_efficient kernel's feature?

The question, in fact, has been asked in the subject. I use the ArchLinux. I tried to put the workqueue.power_efficient=false to the grub.cfg, but after reboot the contents of the /sys/modules/workqueue/parameters/power_efficient is 'Y'.