I have a new System76 Lemur laptop which I have installed Qubes 3.1 onto. As described in this thread, when I try to launch any VM I receive an error that says;
"Error starting VM: internal error: Unable to reset PCI device 0000:01:00.1: internal error Active 0000:01:00.0 on bus with 0000:01:00.1, not doing reset"
I know from VMSettings-->Devices that
01:00.0 is "Unassigned class [ff00] Realtek Semiconductor Co, Ltd. Device 5287 (rev01)"
01:00.1 is "Ethernet controller: Realtek Semiconductor Co, Ltd. RTL81118168-8411 PCI Express Gigabit Ethernet Controller (rev 12)"
So would I edit bashrc to include the following?
if [ -f /sys/bus/pci/devices/0000\:01\:00.0/remove ]
echo -n "1" > /sys/bus/pci/devices/0000\:01\:00.0/remove
Thanks for any pointers. New to Qubes and Linux (OS X user since the beta).
you can try the following. Assign the ethernet controller to a net VM (e. g. sys-net).
Open a terminal (Konsole, XFCE) and typte in:
sudo echo -n "1" > /sys/bus/pci/devices/0000\:01\:00.0/remove
try to start the net VM, which has the ethernet controller attached.
This should work.
The next step to remove it on startup via script.
When I go there for the VM sys-net that controller is already in the 'Selected' pane on the right.
I then right-clicked the sys-net VM in VM Manager and chose to run a command as above.
Got a pop up error which restated prior error.
Same thing in the dom0 Konsole.
To clarify, should I be typing the escape backstroke character in the command line?
> Now a different error message appears when I try to launch a copy of the sys-net template: "Cannot execute qrexec-daemon!"
okay, did you copy the sys-net template or the VM? Can you explain in more detail what you did?
I'm seeing that I made a mistake by wading into this Qubes pond. I've spent the last few hours with a brand new laptop that boots into qubes and launches dom0, net-vm and firewall-vm, but can't get any wired internet access in the Fedora23 template. And that's not even talking about wireless.
I'm just going to go back to Ubuntu as my first step away from OS X and try Qubes again later.
Thank you *very* much for your help.
it would be helpful to know the brand and model of your laptop. Maybe other people run into a similar issue or solve the issue.
Intel Core i3-6100U @ 2.30GHz
Chipset: Sky Lake.....
VGA: Sky Lake integrated Graphics....
Realtek Semiconductor Co.... RTL8111/8168/8411 PCI Express Gigabit Ethernet
Intel Corporation Wireless 3165 (rev 81)
SCSI: Samsung SSD 850 Rev: 1B6Q
I/O MMU: Active
TPM: Device not found
After a night's sleep and some more reading I found a thread which suggested removing the offending PCI device from the "Selected" panel in sys-net-->VM Settings-->Devices, leaving only my Intel Wireless controller available.
After a restart, when I selected the Networking icon from the system tray I was able to see wireless networks and successfully joined one. I next launchd disposable VM and was able to load the fedoraproject.org page and now have network access in all vm's.