71
votes
How to sign a kernel module Ubuntu 18.04
In order to get VirtualBox working without simply disabling UEFI Secure Boot, then you'll need to do the following:
Create a personal public/private RSA key pair to sign the kernel modules. As ...
48
votes
Accepted
Why does the Linux SCSI subsystem drive hardware not obviously related to SCSI?
Without knowledge, I would normally expect SATA, SCSI and USB Mass Storage to be driven by different drivers. In Linux however, the SCSI subsystem drives all of them.
Well, USB Mass Storage is ...
46
votes
Enable user namespaces in Debian kernel
On Debian the ability to create or handle user namespaces from a non-privileged process (usually meaning non-root user) is disabled by default.
There's a Debian-specific patch (from Ubuntu) to the ...
31
votes
VirtualBox Ubuntu Guest Additions not installing : modprobe vboxsf failed
Ok, so this is a known problem. Instead of using the image provided by virtualbox you should just download it trough aptitute sudo apt-get install virtualbox-guest-dkms and if you need the headers ...
24
votes
How to sign a kernel module Ubuntu 18.04
I know that this question is old, but because there is no accepted answer and none of these answers solved the issue for me, I am writing how I solved this today:
When running this command, get this ...
17
votes
Accepted
How to view all boot messages in Linux after booting?
So your console has two types of messages:
generated by the kernel (via printk);
generated by userspace (usually your init system).
Kernel messages are always stored in the kmsg buffer, visible via ...
13
votes
Why does the Linux SCSI subsystem drive hardware not obviously related to SCSI?
This is explained in the
SCSI Interfaces Guide :
Although the old parallel (fast/wide/ultra) SCSI bus has largely
fallen out of use, the SCSI command set is more widely used than ever
to communicate ...
12
votes
Is it possible to make the OOM killer intervent earlier?
For me setting vm.admin_reserve_kbytes=262144 does exactly this thing. OOM killer intervents before system goes completely unresponsive.
12
votes
Is it safe to enable user namespaces in CentOS 7.4 and how to do it?
Namespaces is a kernel feature used by containers like LXC or docker. You have several kinds, PID namespaces, user namespaces,... And you're right, it's quite complicated at first. I find this old ...
11
votes
What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?
So old question and no correct answer so far.
First of all, memory is segmented by CPU and Kernel into so called pages. Size of page is given by architecture of CPU, many architectures support ...
10
votes
How do I fix Manjaro error hibernation device not found on boot?
Did you repartition your swap? If so, the UUID of the swap partition, which is used for hibernation, may have changed. Then this procedure may help.
Live-boot and access your filesystem by mounting ...
10
votes
VirtualBox Ubuntu Guest Additions not installing : modprobe vboxsf failed
open the terminal and run sudo reboot.
then try to install again via devices -> Insert Guest Additions CD Image.
worked for me.
10
votes
What is "modloop" option in Alpine?
The modloop= option specifies a SquashFS filesystem that gets mounted to /.modloop by the init file /etc/init.d/modloop and symlinked from /lib/modules (or possibly union-mounted with the overlay - ...
8
votes
Which is the user‑space command for resuming from hibernation?
The short answer is /sys/power/resume
Much longer answer, because that by itself won't do much if any good.
Most distros recommend initiating a resume from the init / PID 1 process (early user space)....
7
votes
How do I fix Manjaro error hibernation device not found on boot?
I keep having this problem in Arch Linux and Manjaro, when my Laptop runs out of battery while being in standby.
My solution in Arch is to run:
sudo mkinitcpio -p linux
Under Manjaro you might ...
7
votes
How to get a list of active drivers that are statically built into the linux kernel?
The sysfs module area /sys/module is a view into all the modules visible to the running kernel. Each module directory has a set of sysfs interface files to view and manage the module via userspace. ...
7
votes
How to sign a kernel module Ubuntu 18.04
I had the same issue on Ubuntu 20.04, but could not understand why. I tried all the above options but they did not quite work for me. Signing packages seems a bit complex and unnecessary, so I am not ...
6
votes
How to sign a kernel module Ubuntu 18.04
I had this issue. Disable Secure Boot :
https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS
6
votes
Why does the Linux SCSI subsystem drive hardware not obviously related to SCSI?
"SCSI" is an umbrella term for a system of related, layered protocols and definitions. SCSI specifies everything from the physical dimensions of the connectors and cables, the electrical ...
5
votes
How to check which SysRq functions are enabled?
Here is a Bash one-liner which will print you the enabled options:
for i in $(seq 1 8); do (( ($(</proc/sys/kernel/sysrq) & $((1<<$i))) > 0 )) && echo $((1<<$i)); done
...
5
votes
Is there any Linux command that I can use to show all the network interfaces except ifconfig
The ifconfig tool (from net-tools) is being deprecated in favour of the ip tool, which is part of the iproute2 suite.
This will list interfaces, and their ip addresses if they have one:
ip addr
5
votes
Accepted
vmlinuz is missing from my system, how to fix it?
apt-get install --reinstall linux-image-generic
Will only reinstall an empty package which doesn't contain actual kernel code, but exists only for the dependencies it pulls.
What should be (re)...
5
votes
Accepted
How to find Linux-Kernel Menuconfig Dependencies?
I figured it out.
I pressed on H for help, and there's this fied:
Depends on:
I feel dumb right now.
5
votes
How does WSL[2] pose limitations on a guest linux system?
WSL2 is essentially a Linux VM using a real Linux kernel and a custom init system. This custom kernel knows how to access the Windows file system using special drivers, and it receives its internet ...
4
votes
How do I fix Manjaro error hibernation device not found on boot?
I am running Manjaro on virtualbox and ran into this issue when I resized my partition. What finally worked for me was:
sudo blkid to get the new UUID of the swap partition.
Replace the UUID in /etc/...
4
votes
How to launch vmlinuz-linux from efi shell?
Just had to type /vmlinuz-linux root=PARTUUID=3518bb68-d01e-45c9-b973-0b5d918aae96 initrd=/initramfs-linux.img from this https://wiki.archlinux.org/index.php/EFISTUB#Booting_EFISTUB but had to remove ...
4
votes
How to get a list of active drivers that are statically built into the linux kernel?
ls /sys/module
seems to contain all built-in and external modules.
But it also appears to contain some entries which are not actually modules: https://unix.stackexchange.com/questions/225706/are-...
4
votes
Is it possible to make the OOM killer intervent earlier?
The other answers have good automatic solutions, but I find it can be helpful to also enable the SysRq key for when things get out of hand. With the SysRq key, you'd be manually messaging the kernel, ...
4
votes
VirtualBox Ubuntu Guest Additions not installing : modprobe vboxsf failed
in Ubuntu 16.04 I had to reboot the O.S. before installing virtualbox-guest-additions in order to load the correct kernel
4
votes
Is it safe to enable user namespaces in CentOS 7.4 and how to do it?
One can permit user name-space cloning permanently (the default value is 0):
echo user.max_user_namespaces=10000 >> /etc/sysctl.d/98-userns.conf
sysctl -p
This is required for Electron apps (...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linux-kernel × 488linux × 318
kernel × 63
ubuntu × 51
boot × 29
kernel-module × 28
debian × 24
networking × 18
compile × 17
virtualbox × 16
drivers × 15
arch-linux × 15
centos × 14
wireless-networking × 13
memory × 13
fedora × 12
grub × 11
embedded-linux × 11
usb × 10
filesystems × 10
redhat-enterprise-linux × 10
linux-device-driver × 10
hard-drive × 8
operating-systems × 8
ubuntu-10.04 × 8