Re: The MSI Driver Guide HOWTO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 10, 2023 at 11:23:14AM +0100, gael.seibert@xxxxxx wrote:
> On 09/03/2023 23:55:03, Bjorn Helgaas wrote:
> > On Thu, Mar 09, 2023 at 10:57:51AM +0100, rec wrote:
> > > On 09/03/2023 00:03:04, Bjorn Helgaas wrote:
> > > > On Tue, Mar 07, 2023 at 12:22:44PM +0100, rec wrote:
> > > > > Like asked in : https://www.kernel.org/doc/html/latest/PCI/msi-howto.html#disabling-msis-globally
> > >
> > > > Thanks for the report!  I assume this means your system has problems
> > > > with MSIs, and booting with "pci=nomsi" makes it work better?
> > >
> > > You are welcome,
> > > The system doesn't boot completely without the "pci=nomsi" option.
> > 
> > What exactly do you mean by "it doesn't boot completely"?  I compared
> > the two dmesg logs, and I see that the "with MSI" log also has the
> > "single" parameter, so it will only boot to single-user mode.
> 
> It does it mean than either the boot stop or the system halt, power-off
> before it can be possible to connect tty console or display manager.

Wow.  I'm not sure what would cause a sudden halt or power-off like
that.  Is there any indication on the console when this happens?  Can
you try adding the following to your kernel boot parameters to see if
you can catch anything via a photo or video (you may have to adjust
the boot_delay to make things readable):

  nosmp ignore_loglevel lpj=lpj=7000000 boot_delay=100

> Attach with this message the bootmsi log without the single option.

Thanks for the log!  I don't see many interesting differences.

  - Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-5-amd64 root=UUID=ad672b5b-e68c-4aaf-8bde-113269cba2d8 ro
  + Command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-5-amd64 root=UUID=ad672b5b-e68c-4aaf-8bde-113269cba2d8 ro pci=nomsi quiet
  - acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
  + acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments HPX-Type3]
  - acpi PNP0A03:00: _OSC: OS now controls [PCIeHotplug AER PCIeCapability]
  + acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]

As expected when Linux is not using MSI.

  + pci 0000:00:0d.0: proprietary Ricoh MMC controller disabled (via FireWire function)
  + pci 0000:00:0d.0: MMC cards are now supported by standard SDHCI controller

Peculiar.

  - pcieport 0000:00:07.0: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl- IbPresDis- LLActRep-

As expected when Linux is not using AER, pciehp, etc.

I'm curious about the Ricoh thing because I don't see an obvious MSI
connection.  Can you collect the output of "sudo lspci -vv"?  The
lspci output in your initial email wasn't collected as root, so it
doesn't include information about Capabilities (including MSI).

Bjorn



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux