Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System halts on suspend and becomes unresponsive after last upgrade #7904

Closed
gangamstyle opened this issue Nov 23, 2022 · 7 comments
Closed
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: power management C: Xen P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@gangamstyle
Copy link

Qubes OS release

4.1.1

Brief summary

Qubes OS upgrades installed in November added so many bugs that I keep reporting and reporting and reporting.
This bug broke my everyday experience.

I was using Qubes OS for over a year without problems. Now this problem appeared:
If I connect laptop with Qubes OS to external monitor (Type-C connector) and start Suspend process, monitor will turn off as expected, but laptop does not enter suspend state, system does not respond to key presses, does not resume, laptop becomes very hot (CPU 100% ?), power led blinks every second. Only pressing power button for 4+ seconds helps to power off and reboot laptop completely.
Everything worked before this system upgrades, something has broke it.

Steps to reproduce

Install November updates ?

Expected behavior

Laptop should enter suspend mode and resume on key press.

@gangamstyle gangamstyle added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Nov 23, 2022
@andrewdavidwong andrewdavidwong added needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. C: power management labels Nov 23, 2022
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone Nov 23, 2022
@logoerthiner1
Copy link

Seems similar to #7340 . You may consider looking at how I managed to get the relevant debug information.

Try grabbing logs appears after you suspends the machine via journalctl in dom0 on second reboot. However you may be unfortunate as me that the log after suspending does not flush to the hard disk. When you are in a scenario that you need the log desperately, try using xen xhci debug port if you have a USB 3 port. See #6834 (comment) and maybe https://forum.qubes-os.org/t/what-you-may-need-to-pay-attention-to-when-you-are-debugging-xen-dom0-on-usb-3-0-cable/14715

You can try older or newer xen-hypervisor versions (you mentioned that older xen version used to work; the testing version xen 4.14.5-14 fixes a bug that sometimes does exactly what you have mentioned (#7340) but occasionally) to check out whether the problem lies in xen version; if you are lucky the newer xen-hypervisor solves exactly your problem. You can put the xen hypervisor rom into /boot in dom0 with different filenames (xen-4.14.5-5.gz, xen-4.14.5-14.gz, for example) and sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg to make them appear in grub menu.

You can switch kernel version easily on grub boot menu.

This will help find out whether your issue is related to xen version or dom0 kernel version.

@gangamstyle
Copy link
Author

gangamstyle commented Nov 28, 2022

@logoerthiner1 journalctl is empty. Sorry I am not familiar with that kind of debugging. Where can I get different xen-hypervisor versions ? xenproject.org ?

Update: this issue is not related to external monitor, suspend process fails on normal use. I I can't do anything with it, this happens every day and makes OS unusable. Moving back to Ubuntu until fixed.
Same problem: #7910

@DemiMarie
Copy link

@gangamstyle no, from the Qubes repositories. The idea is to figure out which update broke things, which is often a first step to fixing the problem.

@isodude
Copy link

isodude commented Dec 4, 2022

What hardware are you running?

@gangamstyle
Copy link
Author

@isodude Lenovo X1 laptop
UPDATE: xen 4.14.5-14 fixed this for me

@isodude
Copy link

isodude commented Jan 25, 2023

@gangamstyle so we can close the issue?

@andrewdavidwong
Copy link
Member

Closing as resolved. If anyone believes this issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen it. Thank you.

@andrewdavidwong andrewdavidwong removed the needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. label Jan 26, 2023
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: power management C: Xen P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

5 participants