Questions tagged [kernel]
The main component of most operating systems, the kernel manages most of a computer's communication between hardware and software. Typically, the kernel is the lowest level of abstraction a programmer can have to a resource.
928
questions
0
votes
0
answers
1k
views
Where can I download specific kernel versions for Debian 11?
I'd like to download a specific kernel version to compile on a virtual machine but I can't find a place to download it. I’d like to find this version 4.19.249-2 for Debian 11 do you know where I could ...
1
vote
0
answers
712
views
Is this DMA protection in Group Policy different from Kernel DMA protection?
There is a Bitlocker DMA protection and then there is Kernel DMA protection. the latter is better and enabled by default on capable hardware, the former is only suggested to be used when hardware ...
1
vote
0
answers
95
views
How to install kernel 4.8 in RHEL?
I am using RHEL vm provided by aws. I want to downgrade kernel 4.8 to for research purposes. Is there any way to do that? The result of uname -r is
5.14.0-162.12.1.el9_1.x86_64
i tried converting to ...
1
vote
0
answers
618
views
How to update OpenWrt to kernel 5.10.165 if I have already manually updated the kernel to 5.10.162?
I use OpenWrt and I applied a patch about kernel update, 5.10.162 but now in the master, they updated to .165. But they were at .161, so now they did .161 to .165 so when I try to update my build I ...
0
votes
0
answers
178
views
Can we ditch the Linux initial ramdisk if we don't use loadable modules?
I'd like to boot an embedded machine without using a ramdisk image. I understand one of the reasons for the ramdisk is so it can load the filesystem module needed for accessing the root partition (to ...
0
votes
1
answer
696
views
Signals vs. polling for I/O (uses very simple example of I/O)
I understand how hardware interrupts work. I have a basic question about I/O, and will use keyboard and characters from key presses as the context for the question.
In a general sense, do processes ...
0
votes
0
answers
589
views
Unable to manualy compile kernel 6.1.2 kali
I'm trying to manually compile the linux 6.1.2 from source code to get the latest kernel revision. I actually have Kali 2022.4 whit the 6.0 Kernel. I'm using this website step
I just did a fresh kali ...
0
votes
1
answer
250
views
Linux: top not showing/counting all tasks
Running top I see the total tasks being about 81 (line 2):
top - 21:16:18 up 23 days, 1:47, 2 users, load average: 0.06, 0.03, 0.01
Tasks: 81 total, 1 running, 55 sleeping, 0 stopped, 0 ...
3
votes
1
answer
2k
views
Unable to see CPU temps for new AMD Ryzen 7700x
I have the following problem with a new PC.
Linux Mint was installed on a PC (data see code block), but I can not display the CPU temperature in any way.
╭─user@machine03153 ~
╰─$ sudo inxi -Fxz ...
1
vote
0
answers
245
views
How does the application permission system work on macOS?
How does the permission system work?
Usually, when an app tries to do something, e.g access the camera or the microphone, it has to ask the OS, which then asks the user.
And also, if an app tries to ...
1
vote
0
answers
260
views
Linker warnings with new Linux kernel
Thanks for the pointer to the right spot on the mailing list!
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
LD ...
0
votes
1
answer
229
views
Gentoo kernel panic on hyper-v
I recently installed gentoo. I followed the guide for amd64 installation. I double-checked if the /boot was mounted before I installed the bootloader (GRUB). I chose the GPT+UEFI option for partition ...
0
votes
0
answers
180
views
How can I install Kernel 5.17 on CentOS 7?
On a CentOS 7.9 installation I have some troubles running newer CPUs, e.g Ryzen 5 5600G (with included graphics).
I concluded that it is the Kernel because it boots with certain versions, with kernel ...
0
votes
0
answers
743
views
AMD Ryzen 5 5600G not working on CentOS 7
I have a CentOS 7 install and I moved the disk to a computer with newer processor, the CPU is AMD Ryzen 5 5600G (with included graphics).
When I try to boot (this disk or a fresh USB install disk with ...
2
votes
3
answers
681
views
Fedora 36 hangs on kernel 5.19.16-200.fc36
My desktop computer hangs after installing kernel 5.19.16. Booting into 5.19.15 works fine.
It freezes when I get to enter the password to unlock the encrypted hard drive (LUKS), which is the first ...
0
votes
1
answer
315
views
No kernel output after booting LFS
Whenever I tried to build LFS (Linux from scratch), I don't get any unexpected errors but however, after rebooting all I can see is just grub message from grub-mkconfig which says: Loading Linux 5.19....
0
votes
0
answers
4k
views
Stuck on "Press Ctrl+C to cancel all filesystem checks in progress" after kernel upgrade
After doing a routine upgrade of packages
sudo apt update && sudo apt upgrade
I can no longer get into my system without using recovery mode. The boot sequence gets stuck on "Press Ctrl+...
0
votes
1
answer
455
views
Why the Configured Clock Speed was changes after we add two dimm cards
we have Linux machine with DELL HW , and machine has 256G memory
before adding the new DIMM card with 32G , we verified that Configured Clock Speed is 2400MHz
so later we add additional 32G ( 2 DIMM ...
3
votes
1
answer
4k
views
Is it possible to scan for Bluetooth devices without the bluetoothd daemon running?
I am working on an embedded system and I need to scan for Bluetooth devices. I want to do this with my own program, which I can do using the hci_get_route() and supporting hci functions from the BlueZ ...
3
votes
1
answer
7k
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%...
1
vote
0
answers
526
views
GPIO: Numbering Changed after Upgrade to Ubuntu 22.04
I have a strange effect with GPIOs.
We are using intel-based single-board mini PCs featuring also some GPIOs.
As we were using Ubuntu MATE 20.04 on them, GPIOs via sysfs worked out of the box.
Now, ...
1
vote
0
answers
106
views
Is there way to cap memory usage and/or CPU affinity globally (on boot) to allow manual exceptions per instance in the Windows NT kernel?
I don’t know if this is even possible in Windows. But I know it can be done with Linux. Can it be done in Sindows?
As in...
tricking Windows into running boot up on 1 NUMA domain/CCX
Or 32G of Ram ...
1
vote
0
answers
653
views
Large performance penalty when compiling in container
Summary
When building a large C/C++-based code base, the build in a Docker container takes about 3.5 times longer than the build in the OS. The issue can be mitigated by declaring all 3rd party ...
0
votes
1
answer
142
views
How could I connect 2 computer via USB-Serial adapter (2x FT232)
First time asking a question (if I'm not at the right place, feel free to point me to the right place) :)
I want to access PC2 with PC1 via two FT232 adapter.
Example:
I already tried to pass the ...
1
vote
0
answers
77
views
Is it possible to use cuda or opengl in a container without passthrough the physical gpu?
After googling how to run cuda in a container, I am confused why most articles requires "passthrough" the gpu to the container: the container does not have own kernel, how does the kernel ...
-1
votes
1
answer
67
views
RHEL + can we improve disks performance by tuning kernel parameters?
we have Hadoop cluster and we are collection metrics collection data in order to investigate slowness behavior on spark applications
after long investigation on our Hadoop cluster
we noticed from ...
2
votes
0
answers
1k
views
How do I tell the kernel to stop trying to activate a broken USB port?
Problem
One of my USB ports (1-4) on my laptop is broken. I am not looking for a fix since it is a hardware issue, I am simply looking for a way to tell the kernel to stop trying to activate it ...
20
votes
2
answers
13k
views
Which Linux kernel do I have in WSL?
I installed WSL 2 with Ubuntu 22.04.
When I try to check the WSL kernel in PowerShell, I am getting this result:
PS C:\Users\user> wsl --status
Default Distribution: Ubuntu-22.04
Default Version: 2
...
5
votes
0
answers
3k
views
Kernel lockdown disallows loading of an self-compiled and self-signed in-tree kernel module
I'm having difficulties loading a kernel module that I myself compiled and signed for Secure Boot. The module in question is ec_sys, located within drivers/acpi directory of the kernel tree.
I'm using ...
0
votes
0
answers
2k
views
Kali Linux getting stuck on
I've been trying for 2 days now, and Kali keeps giving me this while installing in VirtualBox. I've checked that my virtualisation is turned on and I've tried with 3 different Kali images, 2022.1, ...
1
vote
0
answers
889
views
How is a batch file (`.cmd` / `.bat`) file executed on Windows?
Context
On Windows, the application responsible for opening a given file type (identified by its extension) is resolved using file associations defined (among a few other places) in HKEY_CLASSES_ROOT.
...
0
votes
1
answer
9k
views
kernel parameter - net.core.netdev_max_backlog , what happened when its too low
we want to understand what are the aspects when net.core.netdev_max_backlog kernel value is very low and not as recommended
on our Linux RHEL machines , the value for this parameter is 1000
since our ...
2
votes
0
answers
3k
views
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-...
2
votes
1
answer
2k
views
Booting a custom Linux kernel from USB on Real Hardware?
I'm an absolute beginner to compiling Linux kernel. I followed this tutorial and I'm now left with a bzImage containing the Custom kernel and an initrd.img containing the root directory or at least ...
1
vote
0
answers
25
views
Detect SCSI signals using netlink sockets
I'm trying to detect any SCSI signals sent from the kernel using netlink.
Usually I would use udev hooks but I'm trying to detect the addition or removal of hard drives from a RAID controller and udev ...
3
votes
0
answers
645
views
Why cannot veth-pair I created ping through each other
I created veth pair
ip link add veth0 type veth peer name veth1
ip addr add 1.2.3.101/24 dev veth0
ip addr add 1.2.3.102/24 dev veth1
ip link set veth0 up
ip link set veth1 up
485: veth1@veth0: <...
38
votes
3
answers
180k
views
How can I update the kernel in WSL2 kernel to latest release?
The current kernel version in my WSL2 subsystem is:
5.10.60.1-microsoft-standard-WSL2
However, I see in the official Microsoft WSL GitHub repo there is a newer version of the kernel:
linux-msft-wsl-5....
1
vote
0
answers
2k
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 ...
0
votes
0
answers
282
views
Changing the default kernel does not change uname
I have a hetzner server, and I wanted to use wireguard on the server. As shown below, my wireguard module is only available for the kernel version "4.18.0-348.el8.x86_64".
$ rpm -ql kmod-...
0
votes
0
answers
2k
views
Trouble building kernel module during nvidia-driver install
I am running Debian 10 with a kernel that I built from source. When I attempt to install nvidia-driver from buster-backports with "sudo apt -t buster-backports install nvidia-driver", it ...
0
votes
0
answers
291
views
Broken Linux kernel, can't reinstall it
I got /boot/vmlinuz-linux not found while booting my Arch Linux. I know the kernel is damaged and I have to reinstall the kernel. But the problem is: I don't have ANY bootable devices, and also, I ...
1
vote
3
answers
3k
views
How to download and apply kernel patches
There are a number of websites sharing the same series of patches
I want to apply this series of patches https://lore.kernel.org/all/[email protected]/
What I would do is to ...
0
votes
0
answers
1k
views
rtkit-daemon[1119]: The canary thread is apparently starving. Taking action
I am using Oracle Linux Server release 7.9, we have installed oracle 12c on this machine and running a consistent load. During the night time after running the test for more than 8-10 hours, suddenly ...
0
votes
1
answer
269
views
How can I get my CPU to run at maximum speed by circumventing CPU scaling?
I am running CentOS 7 (7.9.2009) (kernel 3.10.0-1160.49.1.el7.x86_64) on a rather old laptop (Lenove T61) with a dual core CPU (Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz). The driver for CPU scaling ...
0
votes
1
answer
157
views
Having a proxy machine with Windows KDNET kernel debugging?
I'm using KDNET to debug a Windows kernel driver on a second laptop via Ethernet cable. It works by directly plugging the Ethernet cable from the host to the target laptop. The process is described in ...
1
vote
0
answers
259
views
Which package provides kmod-zstd on openSUSE 15.2?
I am running openSUSE 15.2, but with a newer stable kernel in order to have a driver for the RTL8125 network interface.
Currently, I am on kernel-default-5.13.7-1.1.gb1bb2c4.x86_64 and I would like to ...
4
votes
0
answers
193
views
Any way to tweak Windows' kernels or drives to handle I/O and reduce or eliminate hangs with failing drives?
I frequently work with failing hard drives for data recovery and various tasks. These tasks are usually short lived in nature, but important. The way Windows seems to handle any failing drive that's ...
1
vote
0
answers
49
views
After kernel update that begins with 5.14.15 (5.14.16 too) computer not booting (Fedora 35)
But my notebook after the same update is working.
What to do?
Maybe I should report an error in kernel, but I don't know where it is to do.
My hardware:
Motherboard – ASROCK A320M-HDV R4.0
CPU – AMD ...
2
votes
1
answer
5k
views
How to find out what a kworker does?
I have kworker processes, which regularly enters D state. My computer also becomes laggy, which I think may be due to D state kworkers. Usually, these processes run with a command similar to this: ...
0
votes
1
answer
3k
views
Pop!_OS : setting kernel parameters (boot loader options) permanently is not working
Was experimenting GPU passthrough with QEMU (following the steps given here) on Pop!_OS and in the process I added kernel parameters.
Now I want to remove the intel_iommu=on kvm.ignore_msrs=1 vfio-pci....