* Re: [REGRESSION] Asus X541UAK hangs on suspend and poweroff (v6.1.6 onward)
[not found] <CRWCUOAB4JKZ.3EKQN1TFFMVQL@bong>
@ 2023-05-15 20:51 ` Bjorn Helgaas
2023-05-16 10:26 ` Acid Bong
0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2023-05-15 20:51 UTC (permalink / raw)
To: Acid Bong
Cc: Linux regressions mailing list, Bagas Sanjaya, stable, linux-acpi,
Rafael J. Wysocki, linux-pci
[+cc linux-pci; thread at
https://lore.kernel.org/r/CRVU11I7JJWF.367PSO4YAQQEI@bong]
On Fri, Apr 14, 2023 at 12:07:42PM +0300, Acid Bong wrote:
> > Thorsten
> > why do you pass pci=nomsi
>
> It's a workaround for another issue i've been facing for about 2 or 3
> years, since when I first tried out Linux (started with loading Kubuntu
> and Mint live images). Without that workaround Kubuntu didn't boot for
> me - on kernel 5.8 it only reached the graphic installer part, but hung
> after language selection menu, on 5.4 and 5.11 - didn't even reach the
> graphic session. With Mint it was more severe - the screen was flooded
> with PCIe errors, like so:
>
> Apr 10 18:47:08 bong last message buffered 3 times
> Apr 10 18:47:08 bong kernel: pcieport 0000:00:1c.5: device [8086:9d15] error status/mask
> Apr 10 18:47:08 bong last message buffered 5 times
> Apr 10 18:47:08 bong kernel: pcieport 0000:00:1c.5: device [8086:9d15] error status/mask
> Apr 10 18:47:08 bong last message buffered 13 times
> Apr 10 18:47:08 bong kernel: pcieport 0000:00:1c.5: device [8086:9d15] error status/mask
> Apr 10 18:47:08 bong last message buffered 5 times
> Apr 10 18:47:08 bong kernel: pcieport 0000:00:1c.5: device [8086:9d15] error status/mask
> Apr 10 18:47:08 bong last message buffered 6 times
>
> `pci=nomsi` saved me also during Debian installation - without it the
> live ISO just crashed mid-installation.
Likely "pci=nomsi" or "pci=noaer" are not related to the
suspend/poweroff issue, but I'd really like to fix the AER problem
anyway.
Can you collect the complete dmesg log and output of "sudo lspci -vv"
and post them somewhere (https://bugzilla.kernel.org is a good place)?
Ideally the dmesg would be from the most recent kernel you have.
Bjorn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [REGRESSION] Asus X541UAK hangs on suspend and poweroff (v6.1.6 onward)
2023-05-15 20:51 ` [REGRESSION] Asus X541UAK hangs on suspend and poweroff (v6.1.6 onward) Bjorn Helgaas
@ 2023-05-16 10:26 ` Acid Bong
2023-05-16 19:32 ` Bjorn Helgaas
0 siblings, 1 reply; 3+ messages in thread
From: Acid Bong @ 2023-05-16 10:26 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Linux regressions mailing list, Bagas Sanjaya, stable, linux-acpi,
Rafael J. Wysocki, linux-pci
>Can you collect the complete dmesg log and output of "sudo lspci -vv"
>and post them somewhere (https://bugzilla.kernel.org is a good place)?
`lspci -vvnn` output is linked in the head of the thread. Append .txt to make it readable in the browser (I only understood it after the upload).
>Ideally the dmesg would be from the most recent kernel you have.
Speaking of that, a couple of questions:
1) Should I post them with or without pci=nomsi/noaer? The problem with disabling it is that it floods the logs so fast, that they reach 700M in 5-7 minutes, and, when rotation is enabled (my parameters are default, up to 10 copies 10M each), all pre-flood data is lost instantly.
Also I'm currently bisecting the kernel with MSI disabled in the config. But I'm keeping the parameter in the bootloader for cases when I'm using Gentoo's prebuilt kernel.
2) Can I delete messages by ufw? They contain MACs of my router, laptop and cellphone and I don't really wanna share them
3) I'm not savvy in logs, how exactly should I share dmesg? `dmesg > file`? /var/log/syslog? I already know kern.log doesn't contain logind and some other messages that are present in dmesg
4) Should we continue in this thread or rather start a new one?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [REGRESSION] Asus X541UAK hangs on suspend and poweroff (v6.1.6 onward)
2023-05-16 10:26 ` Acid Bong
@ 2023-05-16 19:32 ` Bjorn Helgaas
0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2023-05-16 19:32 UTC (permalink / raw)
To: Acid Bong
Cc: Linux regressions mailing list, Bagas Sanjaya, stable, linux-acpi,
Rafael J. Wysocki, linux-pci
On Tue, May 16, 2023 at 01:26:23PM +0300, Acid Bong wrote:
> >Can you collect the complete dmesg log and output of "sudo lspci -vv"
> >and post them somewhere (https://bugzilla.kernel.org is a good place)?
> `lspci -vvnn` output is linked in the head of the thread. Append .txt to make it readable in the browser (I only understood it after the upload).
>
> >Ideally the dmesg would be from the most recent kernel you have.
>
> Speaking of that, a couple of questions:
>
> 1) Should I post them with or without pci=nomsi/noaer? The problem
> with disabling it is that it floods the logs so fast, that they
> reach 700M in 5-7 minutes, and, when rotation is enabled (my
> parameters are default, up to 10 copies 10M each), all pre-flood
> data is lost instantly.
You're seeing AER logging, and that's what I'm interested in, so if
you could do one quick boot *without* "pci=nomsi" and "pci=noaer",
that would be great. Then turn it off again so you don't drown in
logs.
The snippet from [1] shows a few messages related to 00:1c.5, and it
would be useful to know if there are errors related to other devices
as well.
Something like "head -c500K /var/log/dmesg > file" should be plenty.
> Also I'm currently bisecting the kernel with MSI disabled in the
> config. But I'm keeping the parameter in the bootloader for cases
> when I'm using Gentoo's prebuilt kernel.
>
> 2) Can I delete messages by ufw? They contain MACs of my router,
> laptop and cellphone and I don't really wanna share them
Sure, delete those.
> 3) I'm not savvy in logs, how exactly should I share dmesg? `dmesg >
> file`? /var/log/syslog? I already know kern.log doesn't contain
> logind and some other messages that are present in dmesg
>
> 4) Should we continue in this thread or rather start a new one?
Good point, a new thread would probably be better.
Bjorn
[1] https://lore.kernel.org/all/CRWCUOAB4JKZ.3EKQN1TFFMVQL@bong/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-16 19:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CRWCUOAB4JKZ.3EKQN1TFFMVQL@bong>
2023-05-15 20:51 ` [REGRESSION] Asus X541UAK hangs on suspend and poweroff (v6.1.6 onward) Bjorn Helgaas
2023-05-16 10:26 ` Acid Bong
2023-05-16 19:32 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox