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

Wifi no longer recognised in Debian-based sys-net VM after 3.0 -> 3.1 upgrade #1526

Closed
mig5 opened this Issue Dec 19, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@mig5

mig5 commented Dec 19, 2015

I upgraded from Qubes 3.0 to 3.1 using the experimental upgrade documentation. I encountered no issues performing the upgrade on all my VMs (mostly Debian).

After upgrading dom0 and rebooting, my sys-net VM (which is based on Debian 7 template) no longer sees wireless device. This is despite the Wifi controller still allocated to that VM - no other changes were made.

I run 'ifconfig -a' and I don't see any wlan0 device - just eth0 - and lo. I see that wifi module is loaded in the kernel just fine.

I switch the sys-net VM to my Fedora 21 template, and wifi magically works fine there! So although this seems distro-specific, it was working fine on Qubes 3. Very strange. Debian 7 templates had all packages up to date prior to me attempting the 3.1 upgrade.

Everything else seems perfectly fine with the upgrade.

Let me know if I can provide any other info?

Thanks!

@mig5

This comment has been minimized.

Show comment
Hide comment
@mig5

mig5 Dec 19, 2015

Hardware details as per original HCL at https://groups.google.com/forum/#!msg/qubes-users/fRxncIsQrGc/J8_truiDD1QJ

I tried booting the Debian sys-net under 3.18.17-7 and 3.18.17-6 kernels, to see if it was kernel specific, but I could not get it to boot at all on those kernels ('cannot connect to qrexec agent' or some such message, have to force qvm-kill it). I can only boot sys-net under 4.1.13-6 on Debian. I am using same kernel for booting under Fedora template, under which wifi is recognised fine.

mig5 commented Dec 19, 2015

Hardware details as per original HCL at https://groups.google.com/forum/#!msg/qubes-users/fRxncIsQrGc/J8_truiDD1QJ

I tried booting the Debian sys-net under 3.18.17-7 and 3.18.17-6 kernels, to see if it was kernel specific, but I could not get it to boot at all on those kernels ('cannot connect to qrexec agent' or some such message, have to force qvm-kill it). I can only boot sys-net under 4.1.13-6 on Debian. I am using same kernel for booting under Fedora template, under which wifi is recognised fine.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 19, 2015

Member

Check kernel messages - I guess it's about not installed firmware
package.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Dec 19, 2015

Check kernel messages - I guess it's about not installed firmware
package.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@mig5

This comment has been minimized.

Show comment
Hide comment
@mig5

mig5 Dec 19, 2015

Thanks, yes indeed, the version of firmware-iwlwifi in Debian Jessie doesn't work under kernel 4.1 for my Intel wifi card.

Had to install newer version of firmware-iwlwifi from jessie-backports and then it was fine.

I guess it is a separate bug that you can't start VMs under 3.x kernel (switching kernel version in Qubes Manager -> relevantVM -> Settings), you get the 'can't connect to qrexec-agent' error. This occurs for me regardless of Fedora or Debian template. As that would have been a realistic workaround too. Let me know if you want a separate ticket for that.

Thanks again.

mig5 commented Dec 19, 2015

Thanks, yes indeed, the version of firmware-iwlwifi in Debian Jessie doesn't work under kernel 4.1 for my Intel wifi card.

Had to install newer version of firmware-iwlwifi from jessie-backports and then it was fine.

I guess it is a separate bug that you can't start VMs under 3.x kernel (switching kernel version in Qubes Manager -> relevantVM -> Settings), you get the 'can't connect to qrexec-agent' error. This occurs for me regardless of Fedora or Debian template. As that would have been a realistic workaround too. Let me know if you want a separate ticket for that.

Thanks again.

@mig5 mig5 closed this Dec 19, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 22, 2015

Member

Kernel packaging for R3.1 is slightly different. Your 3.x kernel is probably from R3.0 installation. Take a look at managing VM kernel documentation how to get alternative kernel (in this case probably the easiest way would be to generate VM kernel based on 3.x still installed in dom0).
We can also upload 3.x package to R3.1 repo, but I don't think it is needed.

Member

marmarek commented Dec 22, 2015

Kernel packaging for R3.1 is slightly different. Your 3.x kernel is probably from R3.0 installation. Take a look at managing VM kernel documentation how to get alternative kernel (in this case probably the easiest way would be to generate VM kernel based on 3.x still installed in dom0).
We can also upload 3.x package to R3.1 repo, but I don't think it is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment