Anatoly, Thanks for reply. I miss-stated the issue. It should NOT to change kernel config CONFIG_PSI_DEFAULT_DISABLED. It is to enable PSI by customizing grub-reboot following the steps in https://nanxiao.me/en/enable-pressure-stall-information-psi-on-void-linux/ It did not work! PSI still not enabled. I noticed that under /etc/grub.d, there are some files missing, like "10_linux"
~$ ls -1 /etc/grub.d 05_aka_header 05_debian_theme 06_aka_conf 20_memtest86+ README My organization customized this. My question: Is it possible that without "10_linux", the env variables like "GRUB_CMDLINE_LINUX_DEFAULT" in /etc/default/grub will not apply? If so, where I can get a copy of "10_linux"? Please advise. Regards, Bo Xu On 1/28/21, 2:38 AM, "Anatoly Pugachev" <mator...@gmail.com> wrote: On Thu, Jan 28, 2021 at 1:22 PM Xu, Bo <b...@akamai.com> wrote: > > Hi, > > I am trying to enable PSI by changing the kernel config: > > CONFIG_PSI_DEFAULT_DISABLED=y > > to CONFIG_PSI_DEFAULT_DISABLED=n > > > > Here are the steps I did: > > Added line GRUB_CMDLINE_LINUX_DEFAULT="psi=1” in file /etc/default/grub > sudo update-grub #this executes grub-mkconfig > reboot > > > > However, after reboot the kernel config is NOT changed. > > ~$ zgrep PSI /proc/config.gz > > CONFIG_PSI=y > > CONFIG_PSI_DEFAULT_DISABLED=y > > > > I notice the file /boot/grub/grub.cfg was NOT changed after execution update-grub. > > > > Is this a bug of grub-mkconfig ??? > > > > ------------------ > > My linux version: > > > > ~$ uname -r > > 5.4.59-5.4.1.2-amd64-635280dcfe78dc3d Bo, grub has nothing to do with your current kernel, it's the kernel config option. So in order to enable it, you will need to reconfigure/recompile your kernel. To reconfigure/recompile your kernel, follow your distribution kernel compile docs/practices or use generic ones , like https://urldefense.com/v3/__https://kernelnewbies.org/FAQ/KernelCompilation__;!!GjvTz_vk!G66wTM2xFUfQWz9zG8nIUnwRFuZcLiNV5cuaKoBSCW8HdwcHiFGWdtIL0es$