24

I had problems installing Ubuntu on my HP Laptop. It used to give some error related to peace bus.

I didn't understand the error, but after visiting many websites I found a solution.

The solution asked me to add a parameter "pci=nomsi" to the kernel, while boot up.

And later make it permanent by updating "/etc/default/grub".

I tried this solution and it worked fine.

But I would like to know, what is a pci bus and what did that command mean?

SNS
  • 313
  • As Sergiy mentions in his answer, the noxxx kernel parameters disable certain functionality. The problem is, does disabling them also disable other error messages that you might need to see. You don't detail the specific error message you saw. It's also important to see if the errors are bombing /var/log/syslog*. I'd temporarily disable the noxxx, note the error message(s), and return here with that info as an edit update to your question. – heynnema Dec 24 '18 at 15:58

2 Answers2

20

Linux kernel is compiled with certain parameters - in simple words special "settings" related to hardware and kernel's behavior. And those settings can be considered default. When you add such setting in /etc/default/grub they modify the default settings of the kernel.

According to the documentation:

nomsi [MSI] If the PCI_MSI kernel config parameter is enabled, this kernel boot option can be used to disable the use of MSI interrupts system-wide.

and

noaer [PCIE] If the PCIEAER kernel config parameter is enabled, this kernel boot option can be used to disable the use of PCIE advanced error reporting.

In short nomsi disables MSI ( special way of signalling interrupts from hardware to kernel, if I'm not mistaken ) and noaer disables advanced error reporting. I doubt that advanced error reporting could cause booting problem. My guess is that there is some hardware that doesn't implement MSI well or kernel cannot communicate with that hardware using MSI, however that's just a guess.

Sergiy Kolodyazhnyy
  • 105,154
  • 20
  • 279
  • 497
0

@sergiy-kolodyazhnyy I can confirm your hypothesis, pci=nomsi prevent msi devices from work and can gives some boot problems:

usb-ports-suddenly-stopped-working-ubuntu

Of course only if you have some MSI devices.