Linux loved_Ubuntu error pciehp:cannot get irq-1 for the hotplug/unknown chipset

Time:2024-6-11

“pciehp: cannot get irq -1 for the hotplug” error message indicating that the PCIe hotplug module cannot get the correct IRQ.

  1. To disable PCIe hot-plugging: enter recovery mode or command line mode and

    sudo nano /etc/default/grub

    existGRUB_CMDLINE_LINUX_DEFAULT Add thepciehp.pciehp_poll_mode=1 pci=noacpiparameters, then ctrl+x, y, enter to save and exit. Execute the following command to update the GRUB configuration:

    sudo update-grub
  2. Disable PCIe Hot Swap Kernel Module: In recovery mode or command line mode, execute the following command to disable thepciehp Kernel Module:

    echo "blacklist pciehp" | sudo tee /etc/modprobe.d/blacklist-pciehp.conf sudo update-initramfs -u

If you have newer hardware, installed ubuntu system kernel is older, in the installation did not have a good network resulting in some packages download error, although it can be installed smoothly, but in the boot will be stuck in unknown chipset

Select recovery mode when booting up, then select network to network, then select root to enter the root shell, after entering enter the following command to automatically update the hardware driver

sudo ubuntu-drivers autoinstall

Recommended Today

Python Pinball Game

======== Make a game for your little sister at school to play: . The game of marbles is largely determined by the coordinates xy, the length of the splice plate, and the radius of the ball: # -*- coding: utf-8 -*- # @Author : Codeooo # @Time : 2022/04/29 import sys import time import random […]