-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
no eth0 in sys-net // no network traffic gets routed at all to the outside. #3349
Comments
Maybe the same reason is true for me with Release 4.0 rc2: Ethernet controller: Broadcom Limited NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10) In release 3.2 the following helped me out but now it won't work anymore:
|
Check kernel messages ( |
|
For me the output of dmesg in sys-net was like (I cant remember the exact output): tg3: Problem fetching invariants of chip, aborting. |
Looks like some problem with accessing that device by the driver. Either DMA or config space. See |
Locked myself out of he system by having additional pci devices assgned to sys-net. This autostarts and then…
I will reinstall and then come back. Maybw tomorrow. Thank you in the meantime
Von: Marek Marczykowski-Górecki
Gesendet: Freitag, 15. Dezember 2017 20:56
An: QubesOS/qubes-issues
Cc: hast0011; Comment
Betreff: Re: [QubesOS/qubes-issues] no eth0 in sys-net // no network trafficgets routed at all to the outside. (#3349)
Looks like some problem with accessing that device by the driver. Either DMA or config space. See xl dmesg in dom0 if you have some VT-d related errors. Also check sudo dmesg if you have Driver tried to write to a read-only configuration space field message about this device. If any of those yields anything, try permissive mode: https://www.qubes-os.org/doc/assigning-devices/#pci-passthrough-issues
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I found the following output in xl dmesg: Vt-d is definitly switched on in bios settings. Maybe vt-d is more than just yes or no? |
This message is ok. If you didn't have VT-d enabled, VM wouldn't start at all.
Well, there are two versions: with and without interrupt remapping, but I believe that any not 3+ years old hardware if have VT-d at all, then it comes with interrupt remapping. You should see a message about it few lines before the one you've found. So, you haven't found any lines clearly looking like errors (with words like "fail", "error" etc), with |
Managed to successfully install RC4 and network is up:-) I needed to switch off vt-d and having sys-net in PV Mode. Additionally had to set permissive for the network card to 1 manually. Two points came up during my struggle:
|
Already tracked here: #3517
Yes, qvm-prefs list its as klass, but with qvm-create it is --class...
Did you have any problems with that? It should be possible to set it per device (qvm-pci attach ... -o permissive=true). What happened if you didn't disabled vt-d? |
With vt-d switched on my computer hangs frequently and I thought vt-d it is also related to the network card not beeing recognized fully. Now I leave it off, maybe unrelated to the network card thing. |
@hast0011 I have your same network card in my system, I'm running Qubes 4 and I have no eth interface, only vif3.0. |
I wasted several hours today trying to solve this as well and I post my misadventure here in case it may save anyone else some time. Double check in your BIOS that the ethernet NIC is enabled. Mine was disabled. Once booted, shut down sys-net, edit it's settings, and on the devices tab, look for your ethernet controller, and add it to the selected side. That's all it took for me. Now in Network Manager, rather than it saying just "Ethernet Network device not managed", it now says "Ethernet Network (controllerName) disconnected" and there's another entry for "Ethernet Network (vif3.0) device not managed". I now know before all this mess, when I saw "Ethernet Network device not managed" it was not referring to the NIC, it was referring to vif3.0, which is a virtual interface for vm to vm communication. I always saw vif3.0 when running ifconfig, but I had no idea it was the interface to which Network Manager was referring. Now that there are two ethernet interfaces, it is labeled properly in order to differentiate. All that said, I think the Qubes team should make Network Manager specify which interface is the Ethernet Network, even if is the only one. It should always, by default, say "Ethernet Network (vif3.0)". I wonder how many other people were chasing their tail with that misunderstanding. Lastly, before I resolved it, I had been creating and modifying all sorts of network related config files as I found them on the net. Luckily, all that was already wiped clean when I went to clean up after myself. Good luck to all out there. |
I have the same error in 4.0.4 i can't investigate more than already did.
Someone figured out with tg3 firmware? |
Switching sys-net to PV mode made it work for me, suggested by @hast0011 above in #3349 (comment). You can set that in sys-net's settings in the Qubes Manager GUI or in a dom0 terminal as
|
This issue is being closed because:
If anyone believes that this issue should be reopened and reassigned to an active milestone, please leave a brief comment. |
Qubes OS version:
4.0-rc3
Affected TemplateVMs:
sys-net
Steps to reproduce the behavior:
Install 4.0-rc3 on my hardware configuration.
Expected behavior:
There should be a eth0 present in sys-net VM.
Actual behavior:
There is no eth0 present in sys-net VM.
General notes:
The script /usr/lib/qubes/init/network-proxy-setup.sh which is triggered by qubes-networl.service does not find eth0.
Therefore no network traffic gets routed at all to the outside.
tg3 network module is loaded but eth0 still does not appear.
Related issues:
The text was updated successfully, but these errors were encountered: