Skip to main content

All Questions

1 vote
1 answer
282 views

Why are new kernel versions not appearing in Fedora 40 Grub?

I upgraded from Fedora 38 to Fedora 40 more or less smoothly. Yet, when new kernels are installed, the grub configuration is not updated. The command grep vmlinuz /boot/grub2/grub.cfg shows linux /...
Luis A. Florit's user avatar
0 votes
1 answer
1k views

What should do to generate a minimal Linux kernel?

I am working on an embedded Linux system (5.10.24), and now I want to check what is the minimal kernel I can build, so with lots of playing of kernel configurations, now I have following kernel. # ...
wangt13's user avatar
  • 443
0 votes
1 answer
92 views

How should I know which kernel options to use?

When solving a problem, requires enabling kernel options e.g. with menuconfig. How do I know which to enable/disable?
ThePumkinMelon's user avatar
0 votes
1 answer
2k views

Manually merge two Linux kernel configs

I'm working on configuring a Linux kernel for my laptop (Apple M1), and I have two different configs: one is a minimal config I made myself for an arm64 vm image, and one is the default config used by ...
beeselmane's user avatar
0 votes
1 answer
939 views

Change console size

I'm trying to run linux kernel inside VMware from iso image compiled from sources. At the current moment I'm trying to start initramfs but for some reasons it crashes. My problem is I cannot know why ...
Юрий Баринов's user avatar
2 votes
1 answer
2k views

What is the point of the kernel reserving CONFIG_X86_RESERVE_LOW memory for the BIOS?

Since at least 2.6 kernels, Kconfig offers the option CONFIG_X86_RESERVE_LOW, described as the "Amount of low memory, in kilobytes, to reserve for the BIOS". (Starting from physical address ...
MC68020's user avatar
  • 8,249
3 votes
4 answers
6k views

Trouble selecting "Fully Preemptible Kernel (Real-Time)" when configuring/compiling from source

I am trying to compile the 5.4 kernel with the latest stable PREEMPT_RT patch (5.4.28-rt19) but for some reason can't select the Fully Preemptible Kernel (RT) option inside make nconfig/menconfig. I'...
Spartan Scrub's user avatar
2 votes
2 answers
3k views

How do I enable a configuration in a Kernel?

As the title says, I am trying to enable KASAN in my Manjaro distribution for a project, but I have no idea how to. The documentation here (https://www.kernel.org/doc/html/v4.14/dev-tools/kasan.html) ...
winterlyrock's user avatar
1 vote
1 answer
495 views

How do I switch on CONFIG_CONTEXT_TRACKING in Linux?

I want to switch on CONFIG_CONTEXT_TRACKING, I am able to find this config with a search in menuconfig but not able to turn it on. I am also having difficulty in understanding the config options that ...
Madhuparna Bhowmik's user avatar
1 vote
0 answers
809 views

What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default?

What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default? With 2GB of memory, how many movable and unmovable pages are defined ? Example - cat /...
Pankaj Suryawanshi's user avatar
2 votes
1 answer
2k views

How to change Kernel Base address when compiling Linux?

I am working on RedPitaya FPGA board and want to use Asymmetric MultiProcessing on it. CPU0 will be running Linux and CPU1 will be running Baremetal or freeRTOS. For that I need to change the Kernel ...
Waqar Rashid's user avatar
6 votes
2 answers
5k views

Why does “/proc/config.gz” show wrong configuration?

The file /proc/config.gz isn't updated when I rebuild kernel with changed configuration (from make menuconfig). For instance, I have rebuilt kernel with BLK_DEV_IO_TRACE which works fine but config.gz ...
Irfan Latif's user avatar
2 votes
1 answer
8k views

Why use tristate vs bool in the Linux kernel Kconfig?

Here is my current understanding of why one would choose to use one vs the other, can you please confirm or correct me? Run-time vs compile-time: If you don't know whether or not you want this ...
Nick Crews's user avatar
1 vote
0 answers
296 views

kernel 2.6.35.3 - how to convert .config to defconfig

If you have newer kernel (i.e. > 2.6.35.3) you can create a 'defconfig' from a '.config' by using make savedefconfig But in kernel 2.6.35.3 - does not provide you with 'savedefconfig' target. How ...
kman 's user avatar
  • 11
0 votes
1 answer
790 views

Which kernel .config option causes "Magic number: 1:252:3141" on dmesg?

Here it is in context: [ 0.507474] i8042: PNP: No PS/2 controller found. [ 0.507568] mousedev: PS/2 mouse device common for all mice [ 0.507683] device-mapper: uevent: version 1.0.3 [ 0....
user avatar

15 30 50 per page
1
2 3 4 5