New answers tagged kernel
0
votes
Pro-Gaming With GNU
Personally I will start with a kernel optimized for desktop, there are some distro oriented to this (Mandriva, Fedora, Ubuntu). Then I will start to read some guides to optimize kernel performance ...
0
votes
Accepted
Debian: convert from RAID1 to RAID 0
In my (unfortunately deleted post) I showed the results of testing mdadam (included in Debian) RAID1, RAID0, RAID10, and single disk. The expected RAID1 performance -slightly slower write speed than ...
1
vote
Custom path for syslog socket
What you're doing is totally nonsensical.
Daemons usually log by calling the syslog(3) function from the C library, which works by sending a message to the hardwired /dev/log unix domain socket. ...
1
vote
Can I change the order of IP addresses in Linux?
After much trials & tribulations, the main issue has been identified.
The problem was the scope of IP addresses. The two internal addresses (169.254.x.x) were set up with a scope of global. ...
1
vote
What changed from Linux Kernel 5.9 to 5.10?
5.9 -> 5.10 differences can be seen here
Various scheduler updates introduced in 5.10 can be seen here
0
votes
What changed from Linux Kernel 5.9 to 5.10?
It appears that something changed regarding priority scheduling between these two Linux kernels. The program that is running requests a scheduling priority of 90, and that is what is causing the ...
1
vote
Accepted
Is it possible to increase the size of OpenBSD's bsd.rd without building it from source?
Someone came up with a similar question some time ago on the misc@openbsd.org mailing list. Quoting directly Stuart Henderson's answer:
Hello, I want to build "bigger" bsd.rd image. Does ...
0
votes
Unable to launch Steam on Nvidia 495 driver, 5.4 kernel, Linux Mint 20.3
I have the same problem, Ubuntu 22.04, kernel 5.15.0-39-generic and Nvidia driver 510.73.05 not sure the reason but start happening just after update, I can still open Steam but only trough the ...
-1
votes
How can I write to dmesg from command line?
echo "Add your message here" | sudo tee /dev/kmsg
Verify by running dmesg -T
2
votes
Accepted
Virtualbox < 5.1.34 crashes frequently on kernel > 5.18
After some internet recherche I found this nice discussion on the virtualbox forum. At first I thought my vm installation troubles but it happens on all guest machines.
The solution up to now is to ...
1
vote
Accepted
plymouth-git when boot appears a grey screen and white 3 dots and then lightdm
I fixed by adding my kernel modules of my video card; for me, that is nouveau to the MODULES=() in mkinitcpio.conf and running sudo mkinitcpio -p linux
1
vote
Accepted
How is it possible that getcwd() takes sometimes half a second, according to strace?
We found out, that it was a faulty SSD.
These were the commands that helped to identify it:
$ ioping -c 20 /home/jsaak/temp/
min/avg/max/mdev = 1.00 ms / 5.71 ms / 29.3 ms / 7.62 ms
$ fio --...
1
vote
Disabling any and all forms of write buffering and write caching
Create e.g. /etc/sysctl.d/disable_dirty_cache.conf (the name is arbitrary, it just has to end with .conf), reboot:
vm.dirty_background_bytes = 0
vm.dirty_bytes = 0
Not tested, not even sure it's ...
0
votes
Why does the same process bounce around on different "CPUs"?
even though they should all be balanced across different CPUs while the overlying jobs are running
No they shouldn't. You didn't say which scheduler you are using but AFAIK all current mainstream ...
2
votes
Make: Include file causes "Permission denied" while trying to compile kernel
I managed to successfully compile the kernel using make -j 48. The problem was that the working directory was not physically on the computing node that was performing the actual compilation, so going ...
2
votes
Accepted
make && echo "hello" only print hello when make succeeds (kernel)
Because of the pipe to tee, the second make’s exit status is ignored.
To get the behaviour you want, you need to enable pipefail: change the set -xe line to
set -xe -o pipefail
See Debugging scripts, ...
22
votes
Accepted
How Linux kernel sees the filesystems
There is some confusion here because kernel source and documentation is sloppy with how it uses the term 'inode'.
The filesystem can be considered as having two parts -- the filesystem code and data ...
5
votes
How Linux kernel sees the filesystems
The inodes, free blocks etc. are handled by the file system driver. This file system code provides a generic interface to the kernel which means the kernel can access files on a range of file systems ...
1
vote
You to know how many sectors to load from in the boot loader
Traditional boot loaders were multistage. The first stage bootloader for a system with an MBR partition table had the bootloader in the same block as the partition table, right after the partition ...
0
votes
Why does the same process bounce around on different "CPUs"?
You wrote watching the phenomenon using top.
I am not sure it is the right tool for your analysis since, as man top acknowledges :
P -- Last used CPU (SMP) A number representing the last used ...
0
votes
Accepted
Linux-next kernel version of the kernel tree
Not quite; linux-next is described as
the holding area for patches aimed at the next kernel merge window.
It gives an indication of what’s likely to be in the next release, but a patch’s presence in ...
0
votes
Why does the same process bounce around on different "CPUs"?
The Linux scheduler uses natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. You can enforce CPU affinity in a normal Linux ...
8
votes
Accepted
kernel 5.10.119 caused the values of /proc/sys/kernel/random/entropy_avail and poolsize to be 256
With no intention to compete with Marcus' complete answer. Just to explain what happened and justify that what you are noticing is not a bug.
Default poolsize is hardcoded in drivers/char/random.c but ...
6
votes
kernel 5.10.119 caused the values of /proc/sys/kernel/random/entropy_avail and poolsize to be 256
yes we can.
You could also before, when the same value would have been displayed – "entropy" is just a wild guess how much random sources for modifying the state of a pseudo-random number ...
0
votes
Where is kvm.ko in my linux kernel/files?
If it’s built into the kernel, not as a module, then it’s part of your main kernel image (typically Image.gz on Aarch64, zImage, uImage etc. on 32-bit ARM).
You only get a separate kvm.ko if KVM is ...
0
votes
Accidently deleted kernels in the /boot directory and the computer will not boot
This is a full copy of my answer at Ask Ubuntu SE's How can I repair a system with a deleted kernel?. It might still help someone here to find a way through the jungle.
I only thought that I had ...
Top 50 recent answers are included
Related Tags
kernel × 3231linux × 1243
linux-kernel × 481
kernel-modules × 253
debian × 235
drivers × 219
boot × 190
ubuntu × 158
compiling × 151
memory × 138
centos × 109
rhel × 105
process × 85
networking × 84
fedora × 76
usb × 75
filesystems × 71
cpu × 66
upgrade × 56
kernel-panic × 56
system-calls × 55
arch-linux × 54
initramfs × 54
grub × 53
make × 51