linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?)
@ 2023-05-15  2:21 Bagas Sanjaya
  2023-05-15  8:56 ` Hans de Goede
  0 siblings, 1 reply; 4+ messages in thread
From: Bagas Sanjaya @ 2023-05-15  2:21 UTC (permalink / raw)
  To: Linux Regressions, Linux Kernel Mailing List, Linux Wireless,
	Broadcom 80211 Devices, SHA cyfmac Subsystem,
	Linux Kernel Network Developers
  Cc: Hante Meuleman, Pieter-Paul Giesberts, Franky Lin,
	Arend van Spriel, Kalle Valo, julien.falque

Hi,

I notice a regression report on bugzilla [1]. Quoting from it:

>  julien.falque@gmail.com 2023-05-14 09:55:38 UTC
> 
> Since a Kernel update a few weeks ago, my laptop freezes when resuming from hibernation. It seems to handle the resume process normally but at the moment I should see Gnome login screen, I either get a black screen with just a white underscore instead, or nothing displayed at all (no backlight). I can't do anything at that point and I have to hard reboot.
> 
> Steps to reproduce:
> - hibernate
> - resume
> - wait until the resuming process should finish: black screen instead of e.g. Gnome's login screen
> 
> journalctl gives nothing between the beginning of the resume and the crash, as if it never happened.
> 
> I have a Dell XPS 15 (9550) with Arch Linux. The issue happens on linux (since v6.2.0 I think) but linux-lts (currently v6.1.28) is fine.
> 
> A bisect on linux-git gave commit da6d9c8ecd00 as the cause of the problem.

See bugzilla for the full thread.

Julien: I asked you to also provide dmesg log as I don't know
what exactly happened, but you mentioned the culprit was
da6d9c8ecd00e2 ("wifi: brcmfmac: add firmware vendor info in driver info"),
which implies that the crash involves your wifi device. From my experience
though, GDM crashes are usually caused by xwayland.

Anyway, I'm adding this to regzbot:

#regzbot introduced: da6d9c8ecd00e2 https://bugzilla.kernel.org/show_bug.cgi?id=217442
#regzbot title: brcmfmac firmware vendor info addition triggers GDM crash on resuming from hibernation

Thanks. 

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=217442

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?)
  2023-05-15  2:21 Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?) Bagas Sanjaya
@ 2023-05-15  8:56 ` Hans de Goede
  2023-05-15 13:09   ` Bagas Sanjaya
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2023-05-15  8:56 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Regressions, Linux Kernel Mailing List,
	Linux Wireless, Broadcom 80211 Devices, SHA cyfmac Subsystem,
	Linux Kernel Network Developers
  Cc: Hante Meuleman, Pieter-Paul Giesberts, Franky Lin,
	Arend van Spriel, Kalle Valo, julien.falque

Hi,

On 5/15/23 04:21, Bagas Sanjaya wrote:
> Hi,
> 
> I notice a regression report on bugzilla [1]. Quoting from it:
> 
>>  julien.falque@gmail.com 2023-05-14 09:55:38 UTC
>>
>> Since a Kernel update a few weeks ago, my laptop freezes when resuming from hibernation. It seems to handle the resume process normally but at the moment I should see Gnome login screen, I either get a black screen with just a white underscore instead, or nothing displayed at all (no backlight). I can't do anything at that point and I have to hard reboot.
>>
>> Steps to reproduce:
>> - hibernate
>> - resume
>> - wait until the resuming process should finish: black screen instead of e.g. Gnome's login screen
>>
>> journalctl gives nothing between the beginning of the resume and the crash, as if it never happened.
>>
>> I have a Dell XPS 15 (9550) with Arch Linux. The issue happens on linux (since v6.2.0 I think) but linux-lts (currently v6.1.28) is fine.
>>
>> A bisect on linux-git gave commit da6d9c8ecd00 as the cause of the problem.
> 
> See bugzilla for the full thread.
> 
> Julien: I asked you to also provide dmesg log as I don't know
> what exactly happened, but you mentioned the culprit was
> da6d9c8ecd00e2 ("wifi: brcmfmac: add firmware vendor info in driver info"),
> which implies that the crash involves your wifi device. From my experience
> though, GDM crashes are usually caused by xwayland.
> 
> Anyway, I'm adding this to regzbot:
> 
> #regzbot introduced: da6d9c8ecd00e2 https://bugzilla.kernel.org/show_bug.cgi?id=217442
> #regzbot title: brcmfmac firmware vendor info addition triggers GDM crash on resuming from hibernation

da6d9c8ecd00e2 is known to cause a NULL pointer deref on resume,
which is likely what is happening here. This is fixed by:

https://lore.kernel.org/regressions/20230510141856.46532-1-hdegoede@redhat.com/

This patch is ready for merging and is waiting for the wireless-maintainer
to merge it and send it to Linus.

Regards,

Hans


> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217442
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?)
  2023-05-15  8:56 ` Hans de Goede
@ 2023-05-15 13:09   ` Bagas Sanjaya
  2023-05-15 16:43     ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 1 reply; 4+ messages in thread
From: Bagas Sanjaya @ 2023-05-15 13:09 UTC (permalink / raw)
  To: Hans de Goede, Linux Regressions, Linux Kernel Mailing List,
	Linux Wireless, Broadcom 80211 Devices, SHA cyfmac Subsystem,
	Linux Kernel Network Developers
  Cc: Hante Meuleman, Pieter-Paul Giesberts, Franky Lin,
	Arend van Spriel, Kalle Valo, julien.falque

On 5/15/23 15:56, Hans de Goede wrote:
> Hi,
> 
> On 5/15/23 04:21, Bagas Sanjaya wrote:
>> Hi,
>>
>> I notice a regression report on bugzilla [1]. Quoting from it:
>>
>>>  julien.falque@gmail.com 2023-05-14 09:55:38 UTC
>>>
>>> Since a Kernel update a few weeks ago, my laptop freezes when resuming from hibernation. It seems to handle the resume process normally but at the moment I should see Gnome login screen, I either get a black screen with just a white underscore instead, or nothing displayed at all (no backlight). I can't do anything at that point and I have to hard reboot.
>>>
>>> Steps to reproduce:
>>> - hibernate
>>> - resume
>>> - wait until the resuming process should finish: black screen instead of e.g. Gnome's login screen
>>>
>>> journalctl gives nothing between the beginning of the resume and the crash, as if it never happened.
>>>
>>> I have a Dell XPS 15 (9550) with Arch Linux. The issue happens on linux (since v6.2.0 I think) but linux-lts (currently v6.1.28) is fine.
>>>
>>> A bisect on linux-git gave commit da6d9c8ecd00 as the cause of the problem.
>>
>> See bugzilla for the full thread.
>>
>> Julien: I asked you to also provide dmesg log as I don't know
>> what exactly happened, but you mentioned the culprit was
>> da6d9c8ecd00e2 ("wifi: brcmfmac: add firmware vendor info in driver info"),
>> which implies that the crash involves your wifi device. From my experience
>> though, GDM crashes are usually caused by xwayland.
>>
>> Anyway, I'm adding this to regzbot:
>>
>> #regzbot introduced: da6d9c8ecd00e2 https://bugzilla.kernel.org/show_bug.cgi?id=217442
>> #regzbot title: brcmfmac firmware vendor info addition triggers GDM crash on resuming from hibernation
> 
> da6d9c8ecd00e2 is known to cause a NULL pointer deref on resume,
> which is likely what is happening here. This is fixed by:
> 
> https://lore.kernel.org/regressions/20230510141856.46532-1-hdegoede@redhat.com/
> 
> This patch is ready for merging and is waiting for the wireless-maintainer
> to merge it and send it to Linus.
> 

OK, thanks for the fixup!

#regzbot fix: wifi: brcmfmac: Check for probe() id argument being NULL

-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?)
  2023-05-15 13:09   ` Bagas Sanjaya
@ 2023-05-15 16:43     ` Linux regression tracking (Thorsten Leemhuis)
  0 siblings, 0 replies; 4+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-05-15 16:43 UTC (permalink / raw)
  To: Bagas Sanjaya, Hans de Goede, Linux Regressions,
	Linux Kernel Mailing List, Linux Wireless,
	Broadcom 80211 Devices, SHA cyfmac Subsystem,
	Linux Kernel Network Developers
  Cc: Hante Meuleman, Pieter-Paul Giesberts, Franky Lin,
	Arend van Spriel, Kalle Valo, julien.falque

On 15.05.23 15:09, Bagas Sanjaya wrote:
> On 5/15/23 15:56, Hans de Goede wrote:
>> On 5/15/23 04:21, Bagas Sanjaya wrote:
>>> I notice a regression report on bugzilla [1]. Quoting from it:
> [...]
>>>> A bisect on linux-git gave commit da6d9c8ecd00 as the cause of the problem.
>>
>> da6d9c8ecd00e2 is known to cause a NULL pointer deref on resume,

Bagas, fwiw, to prevent situations like these I usually search on lore
for a shorted variant of the commit-id[1] before telling regzbot about
it. In quite a lot of cases I find something useful that might mean that
tracking is not worth it.

Ciao, Thorsten

e.g. [1] https://lore.kernel.org/all/?q=da6d9c8*


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-15 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15  2:21 Fwd: Freeze after resuming from hibernation (culprit is brcmfmac change?) Bagas Sanjaya
2023-05-15  8:56 ` Hans de Goede
2023-05-15 13:09   ` Bagas Sanjaya
2023-05-15 16:43     ` Linux regression tracking (Thorsten Leemhuis)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).