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.
487
questions
1
vote
0
answers
531
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 ...
0
votes
0
answers
499
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 ...
1
vote
0
answers
317
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 ...
1
vote
1
answer
35
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 ...
1
vote
0
answers
65
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 /...
0
votes
1
answer
213
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 ...
1
vote
1
answer
7k
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 ...
1
vote
0
answers
777
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 ...
2
votes
0
answers
126
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 ...
0
votes
0
answers
3k
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 ...
0
votes
0
answers
209
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-...
2
votes
0
answers
632
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 ...
0
votes
1
answer
485
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 ...
1
vote
0
answers
303
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
...
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 -...
5
votes
1
answer
2k
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 ...
1
vote
1
answer
197
views
Does using different kernel versions (dual boot) containing different versions of btrfs with the same btrfs filesystem cause problems?
Didn't find any answer in the official wiki: https://btrfs.wiki.kernel.org/index.php/FAQ
Why would I want to do that?
I want to try another distro along side my currently installed distro.
Where's the ...
0
votes
1
answer
390
views
I cannot find headers for linux kernel 5.3.10-arch1-1
I am trying to modify a live arch linux distro to include some proprietary drivers, but I can't seem to find kernel headers for it. I am trying to compile the bcwc-pcie package for facetime HD cameras....
0
votes
0
answers
129
views
Recommended defconfig options for normal use
I have chrooted Debian on a router arm. Now, a lot of packages I try require kernel options that have not been enabled. Obviously I have the firmware source code and the ability to recompile the ...
0
votes
1
answer
2k
views
Removing old DKMS files fails due to new kernel
I am running Ubuntu 19.10 and due to some problems with the linux kernel 5.3 i switched to 5.4. Now if i want to remove old virtualbox dkms files (virtualbox-6.0.14), dpkg exits with error code 10. ...
0
votes
0
answers
399
views
Where is the Magic SysRq key on the ASUS P50IJ?
The title is the question. Up to now, I was unable to find it. The proposed solutions I could find on Wikipedia, Wikibooks, superuser.com are not working for me. I have not found any information ...
1
vote
0
answers
514
views
How to enable ECN marking in IP header in Linux?
Is the ECN marking in the IP header is performed by default in Ubuntu (4.15.x kernel) or should the kernel be recompiled with a special option? I configured a RED ingress queue at an Ubuntu machine, ...
0
votes
0
answers
109
views
Ethernet Card Drivers in Linux-Libre kernel
I recently installed both Hyperbola and Arch and became thorough with installation process. Didn't like them. Installed parabola linux.
When I finally boot into my fresh install,
ip link
doesn't ...
0
votes
0
answers
185
views
Unable to boot 64-bit kernel after installation
My system supports 64-bit architecture and I am able to use debian-buster meant for amd64 architecture separately. Now, I have an os running debian-buster having kernel as "linux-image-686-pae". I ...
3
votes
0
answers
504
views
New AMD system randomly crashes / kernel panics
About a year ago, I acquired a threadripper based desktop computer, the hardware details of which are:
Samsung 970 EVO Plus 500GB - Solid state drive
ASRock X399M TAICHI (latest firmware)
Gigabyte ...
0
votes
0
answers
507
views
systemd: Freezing execution in Yocto
We have a legacy device with following configurations:
Chipset Architecture : Intel NM10 express
OS : Yocto warrior
CPU : Atom D2250 Dual Core
Volatile Memory : 2GB DDR3
CPU core : 4
I have ...
3
votes
0
answers
770
views
5 GHz AP Mode with Atheros QCA6174A chipset on CentOS 8
I am trying to set up an 5 GHz access point on a machine with an Atheros QCA6174A-equipped Wi-Fi card running CentOS 8.
However, all 5 GHz bands are blocked (no-IR flag set) for operation in AP mode (...
2
votes
1
answer
601
views
Difference between dpkg and kernel architecture?
I was going through one of the servers and I found a very interesting thing while installing .deb package using Debian.
When I am doing uname -a, I get the following output:
Linux ip-10-20-1-20 4.15....
1
vote
2
answers
2k
views
Why is there nothing in my conntrack's output?
I have a simple bench:
Linux machine with nf_conntrack module loaded. This machine is between two other hosts (A and B), so it routes traffic between two networks. When I send ping from A to B through ...
1
vote
1
answer
80
views
Self Authenticating Usb
Is it possible put a script on a usb that it only allows the contents of a folder to be discovered (or even whole usb to be undiscoverable), unless certain requirements are met?
For example; If I ...
0
votes
1
answer
294
views
error while booting custom minimal linux distribution: unable to mount root fs
Recently I followed along an article describing how to build your own minimal linux distribution (Linuxjournal article)
After many tries I finally came to the point where I put my OS on a USB drive. ...
1
vote
0
answers
440
views
Regular audio glitches on Linux with Scarlett 3rd gen USB interface
I have a Scarlett 18i20 audio interface running well on a Samsung laptop with Linux Mint 19.3 Tricia and with the 5.0.21-rt16 real time kernel with fully preemptive configuration.
The same set up on ...
2
votes
3
answers
2k
views
How to use hwsim, "Module mac80211_hwsim not found in directory" error
I have tried using this guide:
https://wireless.wiki.kernel.org/en/users/drivers/mac80211_hwsim
and did
modprobe mac80211_hwsim
However the output is:
modprobe: FATAL: Module mac80211_hwsim not ...
0
votes
0
answers
151
views
running an existing system based on i686 Centos 6 on a 64 bit architecture
I want to run an old Centos 6 based program (i686) on my Core i5 CPU but it doesn't seem to work although I have enabled virtualization. It's a pretty complex system with lots of software libraries ...
0
votes
0
answers
107
views
Fedora31 kernel is not loading after a recent upgrade
I just installed fedora31 on my Dell Inspiron 5567 and ran dnf upgrade --refresh which ran normally and updated all the packages including kernel core and kernel modules. But after I restarted the ...
1
vote
0
answers
70
views
How to build crash kernel for my new kernel?
I am trying to collect kernel crash core for my own custom kernel. So far, I have not been able to.
I see that there is a special 'kdump' kernel associated with the original that came with the distro ...
1
vote
3
answers
2k
views
How do I disable Linux media polling?
I have a USB floppy drive (for reasons, don't ask). When it's plugged into a modern PC with Debian and udev, something is pinging the drive every couple of seconds --- I believe it's looking to see if ...
0
votes
1
answer
75
views
how to install kernel module for blk_mq's io schedulers?
I have recently changed single queue to multi queue on my oracle server. This server is oracle linux 6.10 (4.1.12 kernel). I realize there is no any io scheduler for blk_mq alse show the /sys/block//...
1
vote
0
answers
66
views
which io scheduler is recommended when use the blk_mq block layer with oracle database?
I have oracle Linux 6.10 with 4.1.12 kernel. I have recently moved from the legacy block to the blk_mq block. But all SCSI devices have show io scheduler is none. I have researched but I didn't find ...
1
vote
0
answers
101
views
Linux Kernel 4.18.0 , 5.0.0 and above and GNOME 3.30.0 and above not loading , why?
I was trying to install KALI Linux 2019.3 on my laptop , it is of Kernel 5.2.9 and GNOME 3.30.2 from a bootable pendrive.
This installations were very easy for me before (i.e. while installing Kali ...
0
votes
0
answers
116
views
How to avoid high cpu usage while reading/writing character device?
I need to write a linux kernel driver for a PCIe device with SRAM.
For the first attempt, I've written a driver to access SRAM from PCIe with a character device.
Everything works as expected, but ...
0
votes
0
answers
260
views
How to patch Linux Kernel?
What is the command for patching Linux Kernel RHEL 8? I ran a security check on the RHEL 8 machine using OpenScap which gave me a list of CVE-links and a title with Kernel Security. After trying to ...
1
vote
1
answer
3k
views
Add kernel-headers to yocto raspberrypi-image
How do I add kernel-headers to the yocto image.
I tried adding the below variable in local.conf
IMAGE_INSTALL_append = " kernel-dev kernel-devsrc kernel-modules"
But I am still unable to see build ...
0
votes
0
answers
190
views
Kernel 5.3 on AMD Chipset
currently I use my own compiled Kernel Since some mounth without any big issues, but since the Release 5.3 some physical Servers with AMD Chipset won't boot anymore, my last Kernel Vers. is 5.2.8 ...
0
votes
0
answers
269
views
EC2 instance Amzn2 was down for a month. Kernel panic when starting now
I had this fully functional Amazon Linux 2 instance which I had configured into a mail server. During the summer I shut it down. But nothing more than that. When I try starting it now, it only passes ...
1
vote
0
answers
539
views
The bucket size in TC-HTB
I study the behavior of tc-HTB.
I did a tc setting like the below.
After reading The bucket in tbf, I expect its burst size will be rate / HZ.
sudo /sbin/tc qdisc del dev s1-eth1 root
sudo /sbin/tc ...
0
votes
1
answer
199
views
Byte vs bit @ linux TC
I am confused at the usage of 'Byte' and 'bit' when using linux tc
linux tc-tbf said it use 'Byte'
tbf - Token Bucket Filter
Synopsis
tc qdisc ... tbf rate rate burst bytes/cell ( ...
1
vote
1
answer
2k
views
How does Linux reduce physical memory fragmentation in real-time?
The Linux memory allocator works by mapping pages from physical memory to virtual memory. It can either map a contiguous area or sparse chunks from physical memory, to a contiguous area in virtual ...
0
votes
1
answer
6k
views
Unable to Bind NIC to Driver VFIO-PCI
Context
I'm attempting to run the packet generator MoonGen, however, it requires me to bind a NIC to the VFIO-PCI driver. Therefore, I must first unbind a NIC from its current driver, then rebind it ...
1
vote
0
answers
2k
views
amd64_edac_mod.ko(Error Detection and Correction driver) not loading with the latest kernel to check RAS
I am trying to enable ECC to confirm RAS feature in ubuntu-18.04
Its GIGABYTE BIOS mode, I have checked ECC option, but it is not present.
and details of server is:
:~$ lscpu
Architecture: ...