Skip to contentSkip to conversation

Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop

DISCUSSION Sergio Callegari 3 participants 10 messages Dec 23, 2022 – Dec 27, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

just a short note to report regular freezes with kernel 6.1.0 on a haswell laptop quad core Intel Core i7-4750HQ (-MT MCP-) with integrated graphics.

- system only freezes when launching the desktop environment (working on a text console while having the sddm login screen up, without logging in, does not seem to cause the issue);

- freezes happens a few seconds to a few minutes after getting to the desktop environment (that uses opengl and composition). Freeze happens both on X11 or Wayland.

- freeze seems to cause data loss (system not able to complete writes when the freeze occurs, data structures on disk get corrupted, e.g. system complained on broken btrfs snapshots made by timeshift-like app).

- system on freeze ceases responding to ping from the outside;

- upon reboot I cannot find any trace of any issue in the journal;

- on the same system booting kernels up to 6.0.14 is OK.

Seen using a distro kernel, but it should be fairly mainline (manjaro/arch).

Reported to the distro, but seems serious enough to report here too.

Thanks,

Sergio

maintainer
#1 lore raw
Quoted 17 lines · Sergio Callegari

Hi,

just a short note to report regular freezes with kernel 6.1.0 on a haswell laptop quad core Intel Core i7-4750HQ (-MT MCP-) with integrated graphics.

- system only freezes when launching the desktop environment (working on a text console while having the sddm login screen up, without logging in, does not seem to cause the issue);

- freezes happens a few seconds to a few minutes after getting to the desktop environment (that uses opengl and composition). Freeze happens both on X11 or Wayland.

- freeze seems to cause data loss (system not able to complete writes when the freeze occurs, data structures on disk get corrupted, e.g. system complained on broken btrfs snapshots made by timeshift-like app).

Quoted 5 lines

- system on freeze ceases responding to ping from the outside;

- upon reboot I cannot find any trace of any issue in the journal;

- on the same system booting kernels up to 6.0.14 is OK.

Can you use 'git bisect' to find the offending commit?

thanks,

greg k-h

#2 lore raw
Quoted 1 line · Greg KH

Can you use 'git bisect' to find the offending commit?

Must learn a bit more about the distro I am using and what it requires for a custom kernel but I may try.

In the meantime, just to make sure I was not reporting an issue that had already been addressed, I installed the 6.1.1 kernel from arch linux.  Same issue.

Forgot to mention that the lock is so bad that not even the Sysrq magic works.

Best,

Sergio

#3 lore raw

Hi, this is your Linux kernel regression tracker.

Quoted 3 lines · Sergio Callegari
Quoted 1 line · Greg KH

Reported to the distro, but seems serious enough to report here too.

Out of curiosity: where?

Quoted 4 lines
Quoted 1 line

Can you use 'git bisect' to find the offending commit?

Must learn a bit more about the distro I am using and what it requires for a custom kernel but I may try.

I'm writing a document I plan to submit for inclusion that might be of help for you:

http://www.leemhuis.info/files/misc/How%20to%20quickly%20build%20a%20Linux%20kernel%20%e2%80%94%20The%20Linux%20Kernel%20documentation.html

It doesn't cover bisection, I left that for later (and maybe separate document), as I want this one reviewed and merged first.

Ciao, Thorsten

#9 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop #forregzbot

In reply to Sergio Callegari

[Note: this mail contains only information for Linux kernel regression tracking. Mails like these contain '#forregzbot' in the subject to make then easy to spot and filter out. The author also tried to remove most or all individuals from the list of recipients to spare them the hassle.]

Quoted 4 lines · Sergio Callegari

just a short note to report regular freezes with kernel 6.1.0 on a haswell laptop quad core Intel Core i7-4750HQ (-MT MCP-) with integrated graphics.

Thanks for the report. To be sure below issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression tracking bot:

#regzbot ^introduced v6.0..v6.1
#regzbot title hangs and data corruption on haswell laptop hangs when running with GUI
#regzbot ignore-activity

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.

Quoted 22 lines

- system only freezes when launching the desktop environment (working on a text console while having the sddm login screen up, without logging in, does not seem to cause the issue);

- freezes happens a few seconds to a few minutes after getting to the desktop environment (that uses opengl and composition). Freeze happens both on X11 or Wayland.

- freeze seems to cause data loss (system not able to complete writes when the freeze occurs, data structures on disk get corrupted, e.g. system complained on broken btrfs snapshots made by timeshift-like app).

- system on freeze ceases responding to ping from the outside;

- upon reboot I cannot find any trace of any issue in the journal;

- on the same system booting kernels up to 6.0.14 is OK.

Seen using a distro kernel, but it should be fairly mainline (manjaro/arch).

Reported to the distro, but seems serious enough to report here too.

#4 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop (issue identified and patch already available)

In reply to Thorsten Leemhuis

My issue was the one described in https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

Thanks!

Sergio

Quoted 20 lines · Thorsten Leemhuis

Hi, this is your Linux kernel regression tracker.

Quoted 3 lines · Sergio Callegari
Quoted 1 line · Greg KH

Reported to the distro, but seems serious enough to report here too.

Out of curiosity: where?

Quoted 3 lines
Quoted 1 line

Can you use 'git bisect' to find the offending commit?

Must learn a bit more about the distro I am using and what it requires for a custom kernel but I may try.

I'm writing a document I plan to submit for inclusion that might be of help for you:

http://www.leemhuis.info/files/misc/How%20to%20quickly%20build%20a%20Linux%20kernel%20%e2%80%94%20The%20Linux%20Kernel%20documentation.html

It doesn't cover bisection, I left that for later (and maybe separate document), as I want this one reviewed and merged first.

Ciao, Thorsten

#5 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop (issue identified and patch already available)

Quoted 1 line · Sergio Callegari

My issue was

Likely not important, but FWIW: I assume you meant "will be" here, as unless I'm missing something that patch is not even in mainline (and not even marked explicitly for backporting to 6.1.y; sigh :-/)

Quoted 2 lines

the one described in
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

Thx for letting us know. Ideally you want to rely to that mail (see
https://lore.kernel.org/all/[email protected]/
) to let the developer know that their patch fixes your problem.

Ciao, Thorsten

#regzbot fix: wifi: mac80211: fix initialization of rx->link and rx->link_sta

Quoted 22 lines · Thorsten Leemhuis
Quoted 20 lines

Hi, this is your Linux kernel regression tracker.

Quoted 3 lines · Sergio Callegari
Quoted 1 line · Greg KH

Reported to the distro, but seems serious enough to report here too.

Out of curiosity: where?

Quoted 3 lines
Quoted 1 line

Can you use 'git bisect' to find the offending commit?

Must learn a bit more about the distro I am using and what it requires for a custom kernel but I may try.

I'm writing a document I plan to submit for inclusion that might be of help for you:

http://www.leemhuis.info/files/misc/How%20to%20quickly%20build%20a%20Linux%20kernel%20%e2%80%94%20The%20Linux%20Kernel%20documentation.html

It doesn't cover bisection, I left that for later (and maybe separate document), as I want this one reviewed and merged first.

Ciao, Thorsten

#6 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop (issue identified and patch already available)

Quoted 8 lines · Thorsten Leemhuis
Quoted 1 line · Sergio Callegari

My issue was

Likely not important, but FWIW: I assume you meant "will be" here, as unless I'm missing something that patch is not even in mainline (and not even marked explicitly for backporting to 6.1.y; sigh :-/)

Quoted 2 lines

the one described in
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

Quoted 8 lines

Thx for letting us know. Ideally you want to rely to that mail (see
https://lore.kernel.org/all/[email protected]/
) to let the developer know that their patch fixes your problem.

Ciao, Thorsten

#regzbot fix: wifi: mac80211: fix initialization of rx->link and rx->link_sta

It was actually the arch developers suggesting that patch. I have already informed them that the patch fixes the freeze. Will ask them to report the finding to the patch developer. Will this be enough for the patch (or an improved version thereof) be considered for mainline and 6.1.2?

Thanks!

Sergio

#7 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop (issue identified and patch already available)

Quoted 14 lines · Sergio Callegari
Quoted 12 lines · Thorsten Leemhuis
Quoted 1 line · Sergio Callegari

My issue was

Likely not important, but FWIW: I assume you meant "will be" here, as unless I'm missing something that patch is not even in mainline (and not even marked explicitly for backporting to 6.1.y; sigh :-/)

Quoted 2 lines

the one described in
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

Thx for letting us know. Ideally you want to rely to that mail (see
https://lore.kernel.org/all/[email protected]/
) to let the developer know that their patch fixes your problem.

Quoted 8 lines
Quoted 4 lines

Ciao, Thorsten

#regzbot fix: wifi: mac80211: fix initialization of rx->link and rx->link_sta

It was actually the arch developers suggesting that patch. I have already informed them that the patch fixes the freeze. Will ask them to report the finding to the patch developer.

Great.

Quoted 3 lines

Will this be enough for the
patch (or an improved version thereof) be considered for mainline and 6.1.2?

The fix has to be reviewed and merged to mainline first. That will take a few days -- or more given the time of the year. That aspect makes it even harder that usual to predict how long it will take exactly; but I'd say 6.1.2 is pretty unlikely at this point.

Ciao, Thorsten

#8 lore raw

Re: Possible regression with kernel 6.1.0 freezing (6.0.14 is fine) on haswell laptop (issue identified and patch already available)

Quoted 7 lines · Thorsten Leemhuis

The fix has to be reviewed and merged to mainline first. That will take a few days -- or more given the time of the year. That aspect makes it even harder that usual to predict how long it will take exactly; but I'd say 6.1.2 is pretty unlikely at this point.

Ciao, Thorsten

Just checked and found out that the patch has already been discussed on linux wireless, both in the original post and in https://lore.kernel.org/linux-wireless/[email protected]/T/#m9a15f5ce5db2b585e4d9b6f708e01c58dedded8c, so I am sure they are aware that there are lockups without patching and that the patch will be reviewed. Also good to know that for now the lockups appear to be limited to machines using mt76 wireless.

Thanks again,

Sergio