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 ...
balast's user avatar
  • 811
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 ...
u1686_grawity's user avatar
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 ...
A.B's user avatar
  • 5,936
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 ...
dmb's user avatar
  • 1,302
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 ...
Adriana Hernández's user avatar
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 ...
u1686_grawity's user avatar
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 ...
harrymc's user avatar
  • 481k
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.
Michael Vigovsky's user avatar
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 ...
HoD's user avatar
  • 3,372
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 ...
Petr's user avatar
  • 2,341
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 ...
zahbaz's user avatar
  • 201
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.
Simon's user avatar
  • 249
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 - ...
Tripp Lilley's user avatar
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)....
Argonauts's user avatar
  • 4,440
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 ...
Robin at webappcreations's user avatar
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. ...
dturvene's user avatar
  • 171
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 ...
John's user avatar
  • 71
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
ejaenv's user avatar
  • 161
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 ...
Jörg W Mittag's user avatar
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 ...
kenorb's user avatar
  • 25.4k
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
Paul's user avatar
  • 60.1k
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)...
A.B's user avatar
  • 5,936
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.
A.Barth's user avatar
  • 91
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 ...
bk2204's user avatar
  • 2,626
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/...
Plasty Grove's user avatar
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 ...
ChiseledAbs's user avatar
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-...
Ciro Santilli OurBigBook.com's user avatar
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, ...
timuzhti's user avatar
  • 314
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
Josexato's user avatar
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 (...
Martin Zeitler's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible