Questions tagged [kernel]

In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).

In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).

Usually as a basic component of an operating system, a kernel can provide the lowest-level abstraction layer for the resources (especially processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.

Operating system tasks are done differently by different kernels, depending on their design and implementation. While monolithic kernels execute all the operating system code in the same address space to increase the performance of the system, microkernels run most of the operating system services in user space as servers, aiming to improve maintainability and modularity of the operating system.

Source: wikipedia

839 questions
0
votes
1 answer

Database or website of kernel config files?

I've experienced some kernel panic after trying to compile gentoo kernel for a Sun UltraSPARC T5120 Server. The kernel panic came from a missing support for the SAS disk controller in the menu config. I've wasted so much time because I had no clue…
Kami
  • 1,424
  • 13
  • 25
0
votes
0 answers

Is it possible to read less than 4 bytes from TUN device when IFF_NO_PI is not set?

I was reading the implementation of wireguard-go, and found it handles reading less than 4 bytes from the TUN device file when the no packet information flag is not set. I wonder is it possible that this can happen without any error? And how can?…
0
votes
0 answers

Is a value of 18446744073692774399 normal for kernel.shmmax?

Context: web server hosted on DigitalOcean with a PostgreSQL database. We were experiencing recurring database crashes for unknown reasons. Eventually I nailed down a faulty query that was overloading the system and am almost sure that's the…
dabadaba
  • 101
  • 1
  • 3
0
votes
0 answers

GNU Linux Debian 11 (should work for Ubuntu too) - compiling latest kernel (Linux/x86 5.17.7) - results in Volume group "name-vg" not found

Dear internet & users & robots & AIs & other entities with access to digital, one fine day... decided to compile the latest currently available kernel under Debian 11. last time did that it was Debian 9 and with a bit of tinkering it worked. now of…
user13226980
  • 57
  • 1
  • 5
0
votes
2 answers

what's root cause of "A start job is running for Create Volatile Files and Directories"

Stuck at "A start job is running for Create Volatile Files and Directories" after reboot a server(Debian 9.5, 64bit), and solve by this "boot-stuck-at-a-start-job-is-running-for-create-volatile-files-and-directories". I can't figure out what is the…
VictorLee
  • 13
  • 8
0
votes
2 answers

Stuck on "update-initramfs: Generating /boot/initrd.img-5.4.0-92-generic"

I have a problem with uninstalling packages on my server(20.04 LTS). When I run apt remove metricbeat receive this message: root@elk:/home/elk# apt remove metricbeat Reading package lists... Done Building dependency tree Reading state…
0
votes
0 answers

Unable to get kernel log messages written to a specific log file on syslog server

I have a working rsyslog setup with CentOS as my server and I am using Kali as the client. I am able to use logger on Kali to send test log messages and see the log messages appear in the CentOS messages file and in the facility specific files I…
0
votes
1 answer

Debian kernel upgrade issue

I was checking my Debian 11 bullseye kernel if i have fix for Dirty Pipe vulnerability. Seems that kernel version 5.10.102 has the fix for that. Problem is that i cannot get upgrade for that kernel version. At least with apt-get update command. Do i…
unix_ike
  • 13
  • 3
0
votes
1 answer

only flush the write cache if there's no read activity

Normally the Linux Kernel flushes the write cache if a specified time limit is exeeded or the cache is full. This leads to stalling with HDDs since the writing process makes reading processes much slower. That's why I want to avoid a flush of the…
france1
  • 23
  • 9
0
votes
0 answers

Server experiencing Kernel-Power Event 41, but only once every two weeks

I go to check on a client's servers once every two weeks as part of an IT contract. For the past month and a half, their secondary server will experience a sudden shutdown and generate the Critical Kernel-Power Event 41 Error in event viewer. This…
Mike
  • 1
0
votes
1 answer

No /dev/dri after upgrading to 21.04

Recently upgraded from 20.04 to 21.04, which installed kernel 5.11. Now it fails to start X with correct screen dimensions, due I assume to this in Xorg log: [ 23.307] (EE) open /dev/dri/card0: No such file or directory If I boot the 5.4 kernel,…
Austin
  • 23
  • 1
  • 6
0
votes
1 answer

Is it possible to route packets using iptables only without enabling ipforwarding?

I'm wondering if it is possible to do routing using iptables only, without using ip_forwarding flag in kernel.
Vahid Hashemi
  • 207
  • 2
  • 11
0
votes
0 answers

Why does booting in debian freeze at /dev/sda1: clean

I need a new debian kernel to activate a module available only on version 5.13 and more. So I found a tutorial to configure, build and install it. After rebooting the computer and selecting through grub the new kernel, the computer get stuck at…
molik
  • 69
  • 2
  • 11
0
votes
0 answers

rsyslog seems to be triggering sdhci dumps when writing in external storage

Acording what I read, rsyslog is usually used to process logs and send them to another locations, either local (external storage, specific partition, etc.) or remote (logging server, for example). However I'm trying to configure rsyslog to store the…
jfernandz
  • 3
  • 5
0
votes
1 answer

Adding kernel config option to Ubuntu Server installation .iso

Is it possible to change the installation files in the .iso live image of Ubuntu Server, to add a certain kernel configuration option? My goal is to enable CONFIG_DMA_CMA, so the kernel is compiled with CONFIG_DMA_CMA with every installation from…
ilykos
  • 103
  • 2