Skip to main content

Questions tagged [kernel-parameters]

Filter by
Sorted by
Tagged with
5 votes
2 answers
494 views

In GRUB, when loading a kernel, you can pass various parameters to linux/vmlinuz, for example: menuentry 'GNU/Linux' { ... linux /live/vmlinuz boot=live config live-media=removable ...
ReflectYourCharacter's user avatar
1 vote
2 answers
71 views

I have a linux-box. My hdd is nvme, hence boot is fast. I need to analyze each line of after grub. Can I pass a kernel parameter to capture my boot lines?
PersianGulf's user avatar
  • 11.3k
0 votes
1 answer
103 views

I am new to the concept of Sandboxing. I run Linux Mint Debian Edition 7 with kernel 6.12.48+deb13-amd64, and just installed the Brave browser. At this moment I am trying to enable all sandbox ...
Vlastimil Burián's user avatar
1 vote
1 answer
410 views

I know the Linux kernel has a key retention service even though I haven't used it myself. I'm constructing a system where anybody with root cannot check the keys in that service that were registered ...
Gwangmu Lee's user avatar
0 votes
0 answers
112 views

I bought this second hand laptop one month ago (Lenovo X1 carbon gen7) and I started installing Arch Linux on it and I noticed there was a problem with the touch pad. The touchpad works at the end but ...
michael pasqui's user avatar
0 votes
0 answers
45 views

I am having a conflict with third party moxa driver mxupcie and the default linux 8250_moxa which is compiled in. I have been following this thread but still having issues. -bash-4.2$ lspci -vvv -s8a:...
mreff556's user avatar
2 votes
0 answers
114 views

Similar question was asked here. I have a SATA disk connected to a SAS2308 HBA and there is backplane. Is there any way i can make the linux system ignore the disk at boot. # lsscsi -v [0:0:3:0] ...
trumee's user avatar
  • 121
2 votes
2 answers
3k views

First off, this question is not a duplicate of Why is journalctl reporting "PCIe Bus Error" BadTLP and BadDLLP? because instead of asking what is causing this kernel warning, I directly ask ...
Vlastimil Burián's user avatar
0 votes
1 answer
134 views

Question In GRUB one can use the cryptomount command to mount a LUKS partition. Is there a way to pass this decrypted partition to linux such that it appears as a device mapper (/dev/mapper/xxx) entry ...
Daniel's user avatar
  • 713
0 votes
1 answer
442 views

I'm trying to redirect the console to ttyUSB0, with the idea of later disable tty1, but I'm not getting anywhere.... I've added GRUB_CMDLINE_LINUX="console=tty1 console=ttyUSB0,19200n8r" To ...
Yves Dorfsman's user avatar
0 votes
1 answer
608 views

According to the documenation of the kernel parameters kexec_load_disabled, This value defaults to 0 (false: kexec_load enabled), but can be set to 1 (true: kexec_load disabled). Once true, kexec can ...
KDM's user avatar
  • 128
1 vote
0 answers
48 views

I am wanted to build a custom kernel image in which macro CONFIG_BLK_CGROUP is not defined. After researching a little bit I found we can do such configurations in .config file. To be more precise I ...
mSatyam's user avatar
  • 111
4 votes
1 answer
2k views

I'm trying to understand the “memmap” parameter from the Linux kernel (see The kernel’s command-line parameters), in particular, the following options: memmap=nn[KMG]$ss[KMG] [KNL,ACPI] Mark ...
Franks's user avatar
  • 193
0 votes
1 answer
299 views

I want to reinstall my VPS with the debian's official repository, instead of with the image provided by the VPS operator(I don't trust the VPS operator). On original system I installed debian-...
Leon's user avatar
  • 203
0 votes
0 answers
449 views

What is the correct syntax to use these bits of information from systemd manual: systemd-sysusers(8) will look for the credentials passwd.hashed-password., passwd.plaintext-password. and passwd.shell....
gcb's user avatar
  • 953
2 votes
1 answer
1k views

I have built a custom kernel and given a CONFIG_LOCALVERSION of -grant-nvme during compilation. However, when I try to boot into it, no matter what I do, grub seems to look for /lib/modules/6.6.16 and ...
Grant Curell's user avatar
0 votes
1 answer
173 views

I see on the web two different commands to load sysctl custom parameters: sysctl --system sysctl -p Is there any difference between the two commands? I know the second one I posted can take the path ...
matteo-g's user avatar
  • 103
0 votes
1 answer
819 views

I have installed Debian 12 on my Orange Pi Zero using a custom u-boot image. I notice that Debian has a file called /root/boot.scr which is rebuilt after apt upgrades. I had previously modified this ...
user111395's user avatar
1 vote
1 answer
4k views

When isolating CPU cores for jitter-sensitive processes it is common to use both boot parameters nohz_full and isolcpus (I know the latter is deprecated in favor of cpusets, but it's still around). ...
Manuel Bernhardt's user avatar
0 votes
1 answer
178 views

I'm trying to build a driver for a USB to HDMI adapter... Bus 001 Device 010: ID 534d:6021 MacroSilicon VGA Display Adapter NOTE: "lsusb" output. ... but this error is occurring... Fatal ...
Eduardo Lúcio's user avatar
1 vote
1 answer
5k views

I am working on an embedded Linux (kernel-5.10.24), and I enabled the early_printk in kernel configuration to help my debugging kernel. Normally, the kernel command line has set console=ttyS0,115200 .....
wangt13's user avatar
  • 651
0 votes
2 answers
227 views

I am customizing a Linux system using a Linux kernel of 6.4.0. After booting, why is the keyboard not working? # 1. The disk is externally connected through a USB interface. If I enter the Linux live ...
just a student's user avatar
0 votes
1 answer
471 views

What is the kernel parameter to disable the Command Queue Engine driver? I am reading through mmc.c MMC_DEV_ATTR(cmdq_en, "%d\n", card->ext_csd.cmdq_en); /* * Enable Command Queue if ...
Bret Joseph's user avatar
4 votes
1 answer
1k views

I am trying to figure out how to disable bounce buffers used in IOMMU when the hardware IOMMU is used. To give more context, when IOMMU_DEFAULT_DMA_STRICT is set in the kernel it enables strict IOTLB ...
sammy17's user avatar
  • 115
4 votes
2 answers
1k views

When I add the "badram" pattern that 64bit Memtest86+ v6.10/v6.20 gave me, GRUB 2 hangs completely on boot. Q: Why is the badram pattern address different from the "Error Address" ...
nyov's user avatar
  • 225
4 votes
2 answers
2k views

The Linux kernel takes a memmap parameter *) to manually designate memory regions for different use-cases. Q: What is the difference between reserved memory (memmap=nn[KMG]$ss[KMG]) and protected ...
nyov's user avatar
  • 225
0 votes
0 answers
836 views

Lets say I want to put command line args for a kernel module. If the module is some_module.ko. In modprobe I would go, options some_module option1=value option2=value In kernel command line I would go ...
Bret Joseph's user avatar
0 votes
1 answer
88 views

I'm trying to use the CLI tool perf, however it requires the CONFIG_LOCKDEP and CONFIG_LOCK_STAT enabled in the Kernel code. I understand that to enable these flags, I need to download the source code ...
someone12321's user avatar
1 vote
0 answers
418 views

I am in the middle of "file limit" mess and I am not sure what to do. I am sure restarting the system will help for a while. However, could someone point me in the right direction for tools ...
oldhomemovie's user avatar
  • 1,737
4 votes
1 answer
3k views

First, let me give a background of what I am trying to achieve. I know how to isolate a particular CPU using boot param (isolcpu and nohz_full; the housekeeping subsystem setup). But as per my ...
Abhishek Ghosh's user avatar
1 vote
0 answers
385 views

Good night, I am trying to recompile a kernel module from its source (in case you are wondering, it is the b43 driver module) on Debian 11. I've ran into a problem, which is that I want to specify ...
as43z's user avatar
  • 11
0 votes
1 answer
281 views

qemu-system-x86_64 -m 2G -accel kvm -kernel kernel6.1 -append "init=/bin/bash" -initrd myinitrd.gz Supposed to run bash as init, but kernel still prints: [ 1.400577] Run /init as init ...
exebook's user avatar
  • 202
10 votes
2 answers
9k views

According to https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt conf/all/* is special, changes the settings for all interfaces forwarding - BOOLEAN Enable IP forwarding on this ...
Ahmed Gasanov's user avatar
4 votes
2 answers
1k views

I have an internal webcam on my Dell laptop. I don't see it listed with lspci, but it works. I am using a self-compiled kernel, and here are the options I have enabled: # zcat /proc/config.gz | grep -...
Martin Vegter's user avatar
1 vote
0 answers
4k views

I use Arch Linux - I recently did a full system upgrade and I am now experiencing a hang up on boot that seems to relate to the nvidia module. This Arch Wiki page (under Installation) describes some ...
Time4Tea's user avatar
  • 2,650
1 vote
0 answers
328 views

This is for Red Hat Linux 7.9, kernel 3.10.0-1160.71.1 . I would like to know what kernel data structure can be used to show which CPUs it thinks are isolated using tuned. This means I've isolated ...
Mike S's user avatar
  • 2,732
1 vote
1 answer
791 views

You can easily change kernel parameters with sysctl and then make it persistent with /etc/sysctl.d but is there a fast way to change default kernel parameters like default vm.swappiness = 60 at the ...
EdiD's user avatar
  • 342
0 votes
1 answer
4k views

Broadcast message from username@Desktop (Sun 1919-08-10 11:45:14 CST): The system is going to reboot NOW! [756.345947] watchdog: watchdog0: watchdog did not stop! [756.472889] watchdog: watchdog0: ...
Firestar-Reimu's user avatar
2 votes
0 answers
531 views

I need to tell kernel to completely ignore some SCSI devices (eg. from vendor 'PURE'). I see libata.force=x.yy:disable can be used for individual SATA devices, but I need something equivalent for SCSI ...
Jiri B's user avatar
  • 619
1 vote
1 answer
1k views

This was prompted by another question elsewhere, which after digging into briefly a quick online search ("linux kernel command line override priority" and some variations) turned up ...
goldilocks's user avatar
  • 90.1k
1 vote
1 answer
2k views

I have a pair of CentOS 7 servers (7.9.2009) with 8 physical CPUs each. Out of those, I'm trying to isolate cores 4-8 (so 3-7 as the OS sees them). I added the tag isolcpus=3-7 to /etc/default/grub ...
PGEL's user avatar
  • 187
2 votes
1 answer
3k views

Quoting the linux kernel documentation for boot parameters : pcie_bus_perf : Set device MPS to the largest allowable MPS based on its parent bus. Also set MRRS (Max Read Request Size) to the largest ...
MC68020's user avatar
  • 8,665
1 vote
2 answers
1k views

I'm using Arch on a very old computer with Chrome and it crashes pretty often, plus the CPU consumption is very high. I read that using cfs-zen-tweaks could improve the responsiveness. Which is better,...
Kureteiyu's user avatar
  • 155
1 vote
0 answers
362 views

If I choose to have a module built-in (Y), I can choose "e" to edit the boot entries on GRUB2 and modify the kernel command line to include "module.variable=whatever" and it works ...
user3161924's user avatar
3 votes
1 answer
1k views

System uptime is stored in /proc/uptime. As you know, the Linux kernel has a jiffies variable which increments by each timer interrupt specified by the HZ parameter. I got the value ofHZ by the ...
javadr's user avatar
  • 131
0 votes
0 answers
537 views

I want to know how to find a proper Linux kernel source code for using ARM cortext-A55. I got a kernel source code from kernel.org. But don't know how to "Config" my kernel to support ...
CH J's user avatar
  • 1
2 votes
2 answers
5k views

How can I disable GTT on amdgpu? According to https://www.kernel.org/doc/html/v4.20/gpu/amdgpu.html, adding amdgpu.gttsize=0 should work but that has no effect. The reason why I am asking is, that my ...
InvisibleShadowGhost's user avatar
1 vote
0 answers
1k views

I'm trying to pass isolcpus=1-4 to the kernel command line, Linux version 5.10.42 LTS. My boot manager is EFISTUB/efibootmgr. I'm booting OK but the parameter is simply not there when checking with $ ...
haelix's user avatar
  • 592
1 vote
0 answers
125 views

In the comments of the source code (mm/slub.c) of my linux_5.4 kernel, I can read : In order to reach satisfactory performance we must ensure that a minimum number of objects is in one slab. Otherwise ...
MC68020's user avatar
  • 8,665
2 votes
1 answer
532 views

The NOTES section of $ man 5 sysctl.conf states: The description of individual parameters can be found in the kernel documentation. But is there a way for me to find this kernel documentation offline? ...
Jethro Cao's user avatar