Questions tagged [linux-kernel]
This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.
25
questions
54
votes
4
answers
120k
views
How to sign a kernel module Ubuntu 18.04
I am new to using Ubuntu. I am trying to install Genymotion so I can have access to an android emulator. In order to use Genymotion, it is required I have VirtualBox. I have VirtualBox installed but ...
52
votes
5
answers
70k
views
How to get a list of active drivers that are statically built into the linux kernel?
While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
2
votes
2
answers
5k
views
Forcing Ping to Egress When Destination Interface is Local (Debian)
I am running a Debian-based Linux container under Proxmox 4.4. This host has five network interfaces (though only two come into play in the problem I'm having).
While I am shelled into this host, I ...
49
votes
5
answers
14k
views
Is it possible to make the OOM killer intervent earlier?
I try to tweak my development system to maximal reliability. I disabled swap, because for GUI usage it mostly renders the machine unresponsive in such a way not useable anymore. Nevertheless, if ...
40
votes
2
answers
58k
views
Directory - /sys in linux
What is going on inside the /sys directory on a Linux system?
8
votes
1
answer
9k
views
Hairpinning in Linux
I have a router in which I installed a Linux system.
I want my router to support NAT hairpinning.
Does a such feature exists in Kernel Linux? If yes how to activate it? Are there a patch to apply it ...
3
votes
3
answers
7k
views
Running linux kernel 0.01 in a virtual machine
I'm just trying to know if is there is a way to run the first version of linux in a virtual machine. Since I am very new to this, my aim is to learn something basic on how the first version of linux ...
0
votes
1
answer
805
views
Fedora 37 Infinite boot on kernel 6.1.9-200 (and higher)
Fedora Linux 37 (Workstation Edition) x86_64
GNOME 43.2
Kernel: 6.1.7-200.fc37.x86_64
After selecting kernel 6.1.9 while boot (which is chosen by default) I'm having infinite black screen with ...
39
votes
7
answers
133k
views
Unable to install VIrtualbox, `"Specify KERN_DIR=<directory>"` -- installing Virtual Box to Debian?
I am getting this error:
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Basically I'm doing:
$ sudo /etc/init.d/...
22
votes
2
answers
11k
views
How to check which SysRq functions are enabled?
The file /proc/sys/kernel/sysrq contains a single number, such as:
1 (enable all SysRq commands),
0 (disable all),
or a base-10 positive integer which functions as a binary bitmask, enabling a subset ...
13
votes
4
answers
45k
views
Linux kernel hangs at 'Switching to clocksource tsc" on Pentium 4
Hardware: Dell Dimension 4500S : i845G, Pentium 4, stock + 2GB RAM and latest (circa 2002) BIOS update.
I've been building a Linux system from source, so far it's LFS 7.0 by the book. The first ...
11
votes
5
answers
6k
views
Does linux have any measures to protect against fork bombs?
#include <unistd.h>
int main(int argc, char* argv[]) {
while(1)
{
fork();
}
}
I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have ...
6
votes
1
answer
3k
views
bash autocompletion is slow, freezing my desktop
sometimes when working with a custom kernel, pressing tab in the bash autocompletes at a horrible pace. It freezes the whole desktop. Then comes back after awhile.
This is the only quirk that I've ...
6
votes
6
answers
63k
views
Where can I find linux-kernel-headers-x.x.x.x for SUSE?
I'm installing VMware Workstation on a SLED 11 SP1, and the installation is blocked by an error message "Kernel headers for version 2.6.32.27-0.2-default were not found". If you installed them in a ...
5
votes
3
answers
2k
views
Is it possible to boot a consumer i7 system with a Xeon processor and ECC memory?
I have read a couple of blog posts on the Internet that appear to imply one can boot at least some i7 motherboards with unbuffered ECC memory and a Xeon 43xx processor installed.
I can boot my MSI ...
4
votes
3
answers
1k
views
Pipe kernel messages to another process as they occur
I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an ...
3
votes
3
answers
25k
views
vmlinuz is missing from my system, how to fix it?
All Linux should come with vmlinuz under "/", and "/boot/" as well. However, my system doesn't have it:
% ls -l /vmlinuz* /initrd* /boot/vmlinuz*
ls: cannot access '/vmlinuz*': No such file or ...
2
votes
0
answers
2k
views
How to reduce unmovable and and unevictable pages in linux
We have BBB based custom board and it has 256MB RAM and 4GB of eMMC,
We are seeing fragmentation issue on it.
And as a part of analysis I wanted understand, what are unmovable( from /proc/pagetypeinfo)...
2
votes
1
answer
20k
views
dkms does not find kernel source
For days now I am trying to get ZFS-on-Linux working on Debian 7 but the module doesn't want to compile:
# dpkg-reconfigure zfs-dkms
------------------------------
Deleting module version: 0.6.3
...
2
votes
1
answer
324
views
in which kernel version CONFIG_IP_NF_MATCH_OWNER appears?
In which kernel version CONFIG_IP_NF_MATCH_OWNER key appears? I dont see it while make mennuconfig on 3.2.28 that I am trying to compile for my ubuntu 12.04 (3.2.0 - default kernel version).
1
vote
1
answer
761
views
Radeon HD6570 only working in Linux Kernel 3.6.7
I have an interesting problem getting my Radeon HD6570 graphics card working in Fedora 17:
When booting into any Linux kernel version above 3.6.7-4, after GRUB finishes there is no video except for a ...
1
vote
1
answer
3k
views
UEFI Variable Storage (removing /sys/firmware/efi dump files) when Kernel Variables CONFIG_EFIVAR_FS & CONFIG_EFI_VARS both =y as in Ubuntu 20.04
In the Arch Wiki I see that the two kernel variables CONFIG_EFIVAR_FS & CONFIG_EFI_VARS should be set =y and =n respectively. Arch says, "This option should be disabled to prevent any ...
0
votes
0
answers
547
views
High CPU load on SYN flood
When being under SYN flood attack, my CPU reach to 100% in no time by the kernel proccess named ksoftirqd,
I tried so many mitigations but none solve the problem.
This is my sysctl configurations ...
0
votes
0
answers
210
views
How can I install Kernel 5.17 on CentOS 7?
On a CentOS 7.9 installation I have some troubles running newer CPUs, e.g Ryzen 5 5600G (with included graphics).
I concluded that it is the Kernel because it boots with certain versions, with kernel ...
0
votes
1
answer
1k
views
Package: "xorgxrdp" install failed! [Webmin]
What should I do to fix this on Webmin (web-based system configuration tool for Linux)?
Resolving Dependencies
--> Running transaction check
---> Package xorgxrdp.x8664 0:0.2.6-1.el7 will be ...