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

Qubes 4.1 Freeze after start sys-net #8216

Closed
alexsok-bit opened this issue May 18, 2023 · 5 comments
Closed

Qubes 4.1 Freeze after start sys-net #8216

alexsok-bit opened this issue May 18, 2023 · 5 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: other diagnosed Technical diagnosis has been performed (see issue comments). hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@alexsok-bit
Copy link

alexsok-bit commented May 18, 2023

How to file a helpful issue

Qubes OS release

OS: Qubes 4.1
USB Devices: Keyboard and Mouse
Installetion destination device: External NVME. Plug in Thunderbolt via USB-C to NVME adapter (pic).
PC: Laptop Lenovo ThinkPad T14

Brief summary

No sys-usb is created during installation. Because I am using a usb device and installing the system on an external drive connected via Thunderbolt.

After installing Qubes it hangs immediately after booting. I tried reinstalling the system several times. However, I still experienced a chance of getting a system freeze after startup every time I turned it on.

I started to look into what the problem was and found that the freeze was happening during sys-net startup. To rule out cable or overheating problems I disabled sys-net autorun and all Qubes that require internet.

After that the system always starts up normally. I also left vault and KeePass on autorun to rule out breakdown options from other Qubes.

I now have a high chance of catching a hang-up after starting sys-net. The chance of hanging increases if I connect the drive to Qubes via USB-3.0 using the adapter which you can see in the photo with the cable.

I also collected the systemctl logs at the time of the incident. Unfortunately due to the nature of the failure it was not possible to extract the logs in text so I took photos.

From the logs you can see that the drive shuts down after starting sys-net. I think it is a bug as the OS should not disable the device controllers it needs to work. For example I want to put the /boot and /boot/efi partition on a flash drive to protect myself from changing the boot loader on the disabled OS and in general to hide the presence of any OS on the drive.

The system cannot be used at the moment. I like it very much. Can I make sys-net ignore the Thunderbolt controller or will I have to wait for a fix?

Steps to reproduce

All you need to do is install Qubes on a USB device and try to use it. I can film the whole process from installation to the incident. I can also call up the incident as many times as I like.

Frieze does not always happen.

Expected behavior

Qubes should not disable the controllers from which the partitions in /boot, /boot/efi, and /

Actual behavior

Qubes disables the device it needs to operate.

@alexsok-bit alexsok-bit added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels May 18, 2023
@andrewdavidwong andrewdavidwong added C: other hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels May 19, 2023
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone May 19, 2023
@alexsok-bit
Copy link
Author

What I can do to speed up the diagnostic?

@alexsok-bit
Copy link
Author

I have also noticed that this usually happens after the NetworkManager icon appears. If the bug occurs during operation, the NetworkManager's icon disappears first and then sys-net crashes.

@alexsok-bit
Copy link
Author

I'm got from systemctl all logs. And incedent log too. Looking from 2023-06-08 15:01:59

@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
@alexsok-bit
Copy link
Author

Disabling UAS fixed the problem

https://forum.qubes-os.org/t/do-freezing-system-after-boot/18600/11

@andrewdavidwong
Copy link
Member

Closing as "not our bug" (the Qubes OS Project does not develop the software that is causing this bug). If anyone believes this resolution is a mistake, please leave a comment, and we'll be happy to take another look. Thank you.

Related FAQ: Why don’t you fix upstream bugs that affect Qubes OS?

@andrewdavidwong andrewdavidwong closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2023
@andrewdavidwong andrewdavidwong added R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. diagnosed Technical diagnosis has been performed (see issue comments). and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Aug 22, 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: other diagnosed Technical diagnosis has been performed (see issue comments). hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: upstream issue Resolution: This issue pertains to software that the Qubes OS Project does not develop or control. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants