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
0
votes
1 answer

How to list the capabilities associated with a process in *nix systems?

From - man capabilities UNIX implementations distinguish two categories of processes: privileged processes (whose effective user ID is 0, referred to as superuser or root), and unprivileged processes (whose effective UID is nonzero). and Starting…
samshers
  • 238
  • 1
  • 5
0
votes
1 answer

How to load one physical CPU in a system with virtual cores?

I have an AMD processor with 4 physical cores and SMT enabled. Because of the latter, I see 8 virtual cores in a Linux box. For example, stress command can spawn a number of workers spinning on sqrt(). If I run stress with -c 1 option, using mpstat…
0
votes
1 answer

Why is the Linux kernel such an important/popular thing? Are there must-know things about it for day-to-day work?

DISCLAIMER: I have been a Windows guy for as long as I can remember, but I now slowly moving to Linux, Docker and Kubernetes (oh, boy!). On Windows I developed and administered commercial applications and seen large-scale solutions. I have never…
Borislav T
  • 178
  • 1
  • 1
  • 6
0
votes
0 answers

IPVS transmitting packets to incorrect backends

We are using ipvs for L4 loadbalancing which transmits packets to L7 backends on ipip tunnel mode. There are three ipvs systems configured with source hashing for persistence. Sometimes, ipvs is transmitting the packets to incorrect backends. For…
Vignesh SP
  • 129
  • 1
  • 10
0
votes
1 answer

pcie SR-IOV driver howto

I am trying to know how linux PCIE NIC SR-IOV work. I am using a Unbuntu with Intel 82599 NIC as a host. Under NIC driver directory(ixgbe) in linux Kernel, there is a file named "ixgbe_sriov.c". I know this file may drive to make some VFs which…
0
votes
2 answers

Systemwide File Access and System Call Monitoring on Linux?

In Windows land, you can run Procmon (Process Monitor) from Sysinternals, which will show you every File access, Registry Query etc Systemwide (screenshot attached). You can then backtrack to find which process(es) are touching / accessing a…
Patrick Rynhart
  • 190
  • 1
  • 11
0
votes
1 answer

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, net.ipv4.tcp_ecn is set to 1 in all hosts of the…
v1mm3r
  • 1
  • 2
0
votes
0 answers

RTX 2070 + Fedora 31: nvidia_modeset error freezes computer just before login

I'm experimenting an error -which I'll describe next- with the following Linux system: Fedora 31 - kernel: 5.5.17-200.fc31.x86_64 GPU is ASUS RTX 2070 SUPER with drivers 440.82, also CUDA 10.1 and CuDNN 7.6.5 i7 8 8700 32GB ram (2dims) Aorus Pro…
Eduardo G.R.
  • 101
  • 2
0
votes
1 answer

does RedHat EL6 uses systemd?

Does EL6 uses systemd? OS DETAILS here Linux version 2.6.32-642.11.1.el6.x86_64 (mockbuild@x86-027.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) SMP Wed Oct 26 10:25:23 EDT 2016 Please answer with regard to I have…
0
votes
1 answer

I have deleted /etc/rc.d/ dirs, how can I restore them?

I have accidentally deleted /etc/rc.d and /etc/rc0.d folders which resulted deletion of init.d and other related folders. 1.What is the use of /etc/rc.d, rc, rc.d, rc0.d, rc1.d, rc2.d.......rc6.d and other files inside /etc/rc.d? 2.If we…
0
votes
1 answer

Linux pvmove gone awry after turning on mq_deadline, any way to recover?

So we had a migration in the office using pvmove. Then this happened Mar 8 12:26:51 v1 kernel: [ 5798.100321] BUG: kernel NULL pointer dereference, address: 0000000000000140 Mar 8 12:26:51 v1 kernel: [ 5798.101099] #PF: supervisor read access in…
Ajay
  • 61
  • 1
  • 6
0
votes
1 answer

Why is oom-killer truncating the name of a presumed offending file?

Here's an example log Jan 31 11:46:15 [kernel] [753684.206218] /usr/local/Calc cpuset=/ mems_allowed=0 Jan 31 11:46:15 [kernel] [753684.206244] CPU: 0 PID: 7577 Comm: /usr/local/Calc Tainted: P Now here's the thing, /usr/local/Calc is not a thing…
mauricev
  • 71
  • 1
  • 2
  • 4
0
votes
1 answer

How can I tell which version of CIFs is in the kernel if CIFs module isn't loaded?

I need to determine the CIFs version that exists in my kernel, but the CIFs module isn't loaded. my-user@ip-XX-XX-XX-XX:~$ modinfo kernel/fs/cifs.ko modinfo: ERROR: Module kernel/fs/cifs.ko not found. When I run find /lib/modules/$(uname -r) -type…
Shawn
  • 103
  • 4
0
votes
1 answer

How to disable IPv4 and enable only IPv6 on arm Linux target?

I am testing bind9 dns server for AAAA records. I would like to disable IPv4 to stop dns requests going to my default ipv4 dns server. In the resolv.conf i have added domain mydomain.com nameserver xxxx:xxxx:xxxx:xxxx:xxxx::xxxx search…
0
votes
1 answer

Is there a way to have two versions of the same Adaptec RAID driver installed on RHEL 5 / CentOS 5?

We have an older Adaptec 5805 RAID controller on our CentOS 5 server. (I added RHEL 5 to the question because of the similarity in these Linux distributions.) An Adaptec 8805 controller was recently added, but it is not detected by even a recent…
Jake
  • 113
  • 5