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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
18 views

High System CPU usage on Linux

We have an unusual problem where some of our Linux servers are going into a state where the CPU utilisation is very high and when we dig down, most of it is in kernel space. The %sys utilisation is 80%...
user avatar
  • 121
0 votes
0 answers
10 views

displaylink devices not detected on manjaro even after installing evdi and displaylink

Trying to run external monitors connected via usb-c, which use DisplayLink. I have installed the linux headers of my kernel: ~$ sudo pacman -S linux-headers-5.15.60 as well as both evdi and ...
user avatar
0 votes
0 answers
10 views

Qemu debug linux kernel, can not load modules

Recently, I'm trying to compile Linux kernel and use gdb to debug, I followed :debug kernel ;linux kernel debug; And I found my lx-symbols gdb cmd can not load other modules and symbols, its only ...
user avatar
0 votes
1 answer
75 views

Change default kernel for an AWS instance running Ubuntu 18.04

1. Problem summary I have an instance on AWS running Ubuntu 18.04. The kernel version is 5.4.0. I have installed kernel 4.15.0 but I am failing to set it as the default. 2. What I have tried A) I set ...
user avatar
  • 1
0 votes
1 answer
35 views

Can't open pseudoterminals from local following an update on Arch

I did a complete update (via yay->pacman), restarted, and now I seemingly can't open any pseudoterminals. All I can do is switch to TTY/teletype terminals. If I try to open a terminal app, it just ...
user avatar
0 votes
0 answers
49 views

No Space Left Kernel Compile & Install Issue - Oracle Linux

I am getting this error every time when I start installing the kernel. [root@aaa linux-5.17.8]# sudo make install sh ./arch/x86/boot/install.sh 5.17.8 \ arch/x86/boot/bzImage System.map "/...
user avatar
  • 27
0 votes
0 answers
108 views

Custom Linux kernel image doesn't boot up

I was trying to compile a very minimal Linux kernel but it doesn't open on real hardware. I tried it out on qemu and it works. but when i put it on a usb using syslinux or a systemd-boot it doesn't ...
user avatar
1 vote
0 answers
215 views

Fedora 35: Switch back to stock kernel?

A few months ago I built a new machine and installed Fedora on it. At the time, 5.15 was the latest "stock" kernel, but I needed some of the Alder Lake fixes/improvements from 5.16 and 5.17,...
user avatar
  • 11
0 votes
0 answers
139 views

Linux TAP interface mac address not random, getting into conflict on two distinct servers

Have two VPS Debian (Bullseye) servers in two physically distinct location, but with very similar configuration that are creating tap interfaces with same mac address over and over: host1: root@bee1:~#...
user avatar
  • 1
1 vote
1 answer
62 views

linux-ck-ivybridge stuck on 5.12.18-1

I use the CPU optimized kernel linux-ck-ivybridge on Arch Linux using the repository below, however for unknown reasons pacman has stopped upgrading the kernel since July 2021. It is also not listed ...
user avatar
1 vote
0 answers
777 views

Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005

I'm pretty new to embedded linux and I would really appreciate a bit of help. I'm trying to run a linux kernel on the risc-v fpga. I built linux 5.0.0 with busybox initramfs and compiled with this ...
user avatar
0 votes
1 answer
400 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 ...
user avatar
  • 696
0 votes
1 answer
21 views

KVM 3.1.1 installation

I have a requirement to install KVM 3.1.1 on RHEL7 or 8. When I am checking I found that qemu-kvm is automatically installed on RHEL8 and the version is 4.2. It would be great if anyone can share the ...
user avatar
0 votes
0 answers
36 views

Linux System goes back to vendor's default config after reboot

I hope everyone is 0k. I have embraced Linux systems for around 3-4 years now, I am not what you called an expert nor a rookie. Anyway, I have a NAS device running BusyBox v1.20.2 - Linux version 3.2....
user avatar
0 votes
0 answers
79 views

my wireless keyboard and mouse is not working after apt upgrade

I upgrade my ubuntu OS to new version of kernel but after restart my wireless mouse & keyboard are not working anymore? Error in syslog file : kernel: [ 798.151940] usbhid: probe of 2-2:1.1 ...
user avatar
  • 1
1 vote
1 answer
461 views

How to use dracut in chroot environment established through SLES15 Rescue boot image?

To fix an unbootable SLES15 system, I booted the Rescue image, mounted the existing system to /mnt, and then did chroot /mnt (I'm leaving out the details, as those are probably known (or found in How ...
user avatar
  • 332
0 votes
0 answers
49 views

kernel.org 4.8.17: Cannot reserve enough space for Crash Kernel to initialize itself

Using kernel.org 4.8.17: Cannot reserve enough space for Crash Kernel to initialize itself. kexec works I force the kernel to crash and the crash kernel's initialization starts to run. The crash ...
user avatar
2 votes
1 answer
208 views

HDD I/O error after high multithreading usage

I have a computer with 64 physical cores (AMD Ryzen Threadripper PRO 3995WX 64-Cores), with two threads per core capability (that is, 128 logical cores), running on Ubuntu 20.04.3 LTS. Recently, I ...
user avatar
3 votes
0 answers
860 views

Connecting two monitors at boot causes Linux kernel to hang when enabling KMS

When two monitors are connected at boot, the Linux kernel completely hangs at fb0: switching to i915 from EFI VGA. The screens stay on and continue displaying the last message, but everything is ...
user avatar
  • 116
0 votes
0 answers
279 views

Defragment BTRFS to change the compression level

I can do: btrfs filesystem defragment -rvf -czstd ./ But not: btrfs filesystem defragment -rvf -czstd:1 ./ I get the error: ERROR: unknown compression type zstd:1 Is there any way to change the ...
user avatar
0 votes
0 answers
62 views

How to change NIC driver in two interfaces with same driver

I have a machine with two interfaces with the same NIC driver (igb). What I want to do is to change the driver running in, let's say iface2, without changing anything in the other iface1 driver. ...
user avatar
0 votes
1 answer
637 views

How to disable features in an xfs file system to make it compatible with an older kernel?

I am using a rocky8 system on which I need to build, install and run a 3.10 kernel. I managed to get it to build and install, but when booting it up I get the error message: XFS (sda1): Superblock has ...
user avatar
  • 219
1 vote
1 answer
90 views

linux-firmware apt package VS fwupd tool: Are they doing same thing?

I noticed here two things about firmware: 1. apt list linux-firmware https://launchpad.net/ubuntu/+source/linux-firmware $ apt list linux-firmware -a Listing... Done linux-firmware/focal-updates,focal-...
user avatar
  • 313
0 votes
0 answers
124 views

QEMU cannot terminate when guest OS power off (reboot: System halted)

I'm booting a Debian 10 QEMU image with Linux kernel 5.2. When I type poweroff inside the guest, system halts here: ... ... [ OK ] Reached target Power-Off. [ 5.271091] printk: systemd-shutdow: ...
user avatar
  • 101
0 votes
0 answers
16 views

How possible is it that LibreOffice could be causing a new kernel build of release candidate status to Freeze?

This is for kernel source version 5.15-rc2. I'm testing it for fun and would like a better understanding of how the following could happen. As a programmer and past troubleshooter my gut is telling me ...
user avatar
0 votes
1 answer
261 views

centos7 crash when systemctl start docker successed

[phenomenon] 1、I enter the command systemctl start docker from centos7, the centos7 crashed after docker successfully started.(It's reproducible) 2、Docker used to be available until I ran 3 ZooKeeper. ...
user avatar
0 votes
0 answers
18 views

configuration of linux kernel compilation

I need to compile a slightly customized Linux kernel (version 5.6.0-rc6). Now I use x86_64_defconfig followed by menuconfig to configure some more options. This method works perfectly on VirtualBox ...
user avatar
1 vote
0 answers
93 views

Linux USB mass storage gadget issues with large drives

I'm trying to make a linux device act as a large USB drive with a USB port in OTG/device mode. The g_mass_storage module works well with backing files up to 2Tb of size, but I can't find a way to ...
user avatar
  • 11
0 votes
0 answers
78 views

Remove kernels installed from source from Fedora 34

I have compiled and installed a linux kernel from source, installing it with sudo make install, but the system failed to boot. How can I remove the kernel installed as such?
user avatar
0 votes
0 answers
108 views

Error while "make install" vanilla Linux kernel when compiling DKMS Nvidia proprietary drivers: "No rule to make target '/Kbuild'. Stop"

I have a Fedora 34 Workstation and want to install a vanilla kernel. My current kernel is 5.13.12-200. I downloaded 5.14 from kernel.org. I copied the config file of the current kernel with cp /boot/...
user avatar
0 votes
0 answers
613 views

iptables use to ignore TCP packets. Not reject But ignoring including syc comning in but nothing is done

I like to simulate TCP connection in Server-client using layer 2 sockets for receiving packets and sending packets using Packet MMAP or DPDK or netfilters and dev_xmit for this to come any close to ...
user avatar
  • 133
0 votes
1 answer
118 views

Is it possible to build Linux kernel inside an LXC container?

I would like to build an optimized kernel for a machine that runs Ubuntu 20.04 but in my scenario I cannot "pollute" the Linux installation with all the dependencies required to do the build....
user avatar
0 votes
0 answers
327 views

location of kernel source code directory in centos 7

I wanted to enable a specific feature in centos 7 kernel. What is the exact location of kernel directory in centos 7.4, so that I can lauch this command successfully inside the kernel source code ...
user avatar
0 votes
1 answer
167 views

Linux Kernel support for ARM Cortex-A78

I am planning to boot Linux for an ARM Cortex A78 based system. And I have some doubts about the same. 1. Which kernel version should I select ? I checked 5.4.112, 5.10.30, 5.11.14, 5.12-rc7 kernels, ...
user avatar
1 vote
0 answers
103 views

Linux system completely freezes "CPU Stuck for 22 seconds"/ Hardware Error?

I have got the issue of regular freezes on my ryzen 5 computer. It occurs across different distibutions and kernels. The freezes occur mostly when trying to suspend the system to ram, but also changes ...
user avatar
0 votes
0 answers
194 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 ...
user avatar
  • 3
1 vote
0 answers
99 views

Freshly installed Manjaro linux doesn't show up wifi

I just installed Manjaro on my dell latitude 7389. Wifi worked just fine right after I installed. but after I did a full upgrade with "pacman -Syu" wifi stopped working. ethernet and ...
user avatar
  • 11
1 vote
1 answer
26 views

Downloading Terraform onto linux OCI VM

I am currently trying to play around with some tf scripting in an OCI compartment I have access to. My current position is: I have successfully spun up a VM through the OCI console running Linux 8 on ...
user avatar
1 vote
0 answers
32 views

enable zswap selectively per-device?

Is it possible to enable zswap for some swap devices but not for others? I don't see any tunables, and quick checks show that even zram swaps end up using zswap (leading to double compression). Once /...
user avatar
  • 177
0 votes
1 answer
59 views

Compiling Linux creates corrupted object files

I'm trying to update my current system to Linux 5.4.85. I have two toolchains that support compiling this kernel: gcc 4.6.3 and gcc 10.2.1. The compilation fails with both. I downloaded and extracted ...
user avatar
1 vote
1 answer
4k views

How to fix nvidia-current not found after modprobe?

I'm using Debian 10 (Buster) with a NVidia GT630 graphics card on a i386 system. apt install nvidia-driver installed nvidia-legacy-390xx drivers. Unfortunately the kernel module doesn't load (output ...
user avatar
  • 204
1 vote
0 answers
450 views

Unable to login after switching to "multi-user" target in Yocto Linux

I have a device running yocto(warrior) and selinux is enabled by default. I am unable to login to device if I switch to multi-user target. If I change selinux in permissive mode, I am able to login ...
user avatar
2 votes
0 answers
69 views

Full-text searching, how fast one can find "Linus Torvalds" into the linux kernel? [closed]

Three things: Currently, what are the fastest full-text search tools? Are there full-text search tools capable of reporting fullpaths of files containing hit(s), FAST? Is Linus Torvalds right about ...
user avatar
  • 21
0 votes
0 answers
990 views

How to stop linux watchdog feeding?

I'm making a daemon that feeds the watchdog (by writing to /dev/watchdog), but when the code stops writing, I expected the machine to reboot, but it didn't. I though that maybe something else is ...
user avatar
  • 101
0 votes
0 answers
102 views

Can't change ubuntu linux kernel

In server default kernel is 2.6.32-042stab141.3 I want to upgrade to 3 or higher I tried these steps wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-headers-4.11.2-041102_4.11.2-...
user avatar
  • 1
2 votes
0 answers
382 views

why do i see the message "do_IRQ: 5.33 No irq handler for vector" on my dell xps 15 9550?

Every time I suspend/unsuspend my laptop (Dell XPS 15 9550) I see this kernel log: Message from syslogd@cruz-XPS-15-9550 at Sep 14 07:58:31 ... kernel:[ 725.565407] do_IRQ: 5.33 No irq handler for ...
user avatar
  • 150
0 votes
1 answer
184 views

Is there a way to move a frame directly to userspace?

When receiving an Ethernet frame,It goes kernel protocol stack(TCP/IP) first,after,it goes to userspace.... I want to implement userspace stack...My operating system is Linux(Ubuntu/Parrot sec)....Is ...
user avatar
  • 103
1 vote
0 answers
122 views

Fix CPU overheating after Sleep | Linux

I have: Linux mx18 4.19.0-5-amd64 #1 SMP Debian 4.19.37-2~mx17+1 (2019-05-15) x86_64 GNU/Linux The output of the lscpu command: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit ...
user avatar
  • 11
0 votes
0 answers
2k views

Missing firmware for module amdgpu

After I updated and upgraded Kali Linux now I can't boot from the latest Linux update. VFS:unable to mount root fs on unknown-block(0 0) While updating and upgrading Kali Linux: sudo apt install git -...
user avatar
  • 1
3 votes
1 answer
1k views

How does WSL[2] pose limitations on a guest linux system?

As soon as I got WSL2 on my Windows PC, I installed an adapted CentOS 8.2 version. As I explored it, I found that I could read and write in the host's NTFS file system out of the box. It was also ...
user avatar
  • 131

1
2 3 4 5
10