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 ...
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
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 ...
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 ...
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 ...