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

Sometimes no Wifi or/and LAN after suspend by NV41 from novacustom #9333

Closed
hubbsterx opened this issue Jul 1, 2024 · 4 comments · Fixed by QubesOS/qubes-mgmt-salt-dom0-virtual-machines#67
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: networking C: power management 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. pr submitted A pull request has been submitted for this issue. r4.2-host-stable r4.3-host-cur-test T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@hubbsterx
Copy link

Qubes OS release

R4.2.1

Brief summary

I bought the novacustom NV41 laptop with coreboot and heads (0.9.1) and installed QubesOS on it (without kernel-latest option). The main Template is fedora39-xfce (I will update it next time to the 40). Specially NV41 was reported with working suspend mode.

The network devices are:
Intel Alder Lake-P PCH CNVi WiFi (so, the AX211)
Realtek Semiconductor RTL 8111/8168/8411

As I saw in the news from QubesOS in 2023, AX211 was not under officially supported wifi devices.

I tried the following points with different kernels (6.6.31 / 29 and 21). I even installed the kernel-latest (6.9.2) to check it, because I red in the news thread from Qubes, that it should be installed with this option. Later somebody in the Qubes forum said, that there is no need for it anymore (it would be good to update it in some info about NV41). So now, I use the standard 6.6.31 kernel.

Steps to reproduce

I'm in the working system with sys-net and some other VMs opened, then I close my laptop and after some time open it again. Then I get the problem describes on actual behavior.
If I restart the sys-net, everything works again.

Expected behavior

Everything should work as before suspend.

Actual behavior

Sometimes (I could not reproduce it 100% or even 70%) there is no Wifi and/or LAN if I click on the icon above. I can see the networks if I want to edit them, but they can not be chosen to connect, for they are just not there. Sometimes the networks are there as expected. So it doesn't seem to be a fully reproducible problem.

@hubbsterx hubbsterx 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 Jul 1, 2024
@hubbsterx
Copy link
Author

I added the issue also on dasharos channel: Dasharo/dasharo-issues#921

@andrewdavidwong andrewdavidwong added hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. C: networking C: power management affects-4.2 This issue affects Qubes OS 4.2. labels Jul 1, 2024
@marmarek
Copy link
Member

marmarek commented Jul 2, 2024

Can you post kernel logs from sys-net when it happens? Just save sudo dmesg output to a file.
If there is anything about "page allocation failure", you can try increasing sys-net's memory in its settings.

@marmarek
Copy link
Member

marmarek commented Jul 2, 2024

This might be related to #9335 (but no diagnosis there either).

@hubbsterx
Copy link
Author

Can you post kernel logs from sys-net when it happens? Just save sudo dmesg output to a file. If there is anything about "page allocation failure", you can try increasing sys-net's memory in its settings.

after some time without problems (I had the laptop on external monitor and clicked always suspend mode before closing the laptop, maybe it makes some difference?) I got the issue again (as I just used it on it's own. So just after some times closing the laptop (without clicking suspend before it).

Here is dmesg from sys-net after crashing the network:
dmesg.txt
As it seems there are some page allocation failures:
[ 5708.506634] kworker/1:3: page allocation failure: order:5, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0

But also much more failures/errors.

So maybe it will bring some light to this issue.

@andrewdavidwong andrewdavidwong added diagnosed Technical diagnosis has been performed (see issue comments). pr submitted A pull request has been submitted for this issue. and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: networking C: power management 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. pr submitted A pull request has been submitted for this issue. r4.2-host-stable r4.3-host-cur-test T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants