On Wednesday, January 4, 2017 at 7:32:26 PM UTC-8, pixel fairy wrote:
> On Tuesday, January 3, 2017 at 11:36:23 PM UTC-8, Sean wrote:
> > For Wifi, in sys-net keep 02:00.0, but remove (03:00.0 and) 03:00.1.
> > 
> > If you need Ethernet, good luck. I have been unable to get the Realtek 
> > Ethernet devices to function reliably -- barely at all -- on my Lemur, but 
> > Wifi works great. 
> 
> that worked. first machine ive had to manually assign the net device too. 
> mine also didnt work when both devices were assigned to it. ill revisit this 
> at the next stable release.

I finally took some time to troubleshoot the Ethernet issue. To get the 
Ethernet adapter to work, you need to blacklist the PCI Express Card Reader 
(RTL8411B) [03:00:0] module (rtsx_pci).

Add "modprobe.blacklist=rtsx_pci" to your <sys-net> kernelopts.

In dom0, you can determine your current kernelopts using qvm-prefs; replace 
<sys-net> with the name of your sys-net qvm.
[user@dom0 ~]$ qvm-prefs <sys-net> kernelopts

Once you have your current kernelopts, you can just append the modprobe command 
to it. For example, the following uses values from my system; replace <sys-net> 
with your sys-net qvm.
[user@dom0 ~]$ qvm-prefs -s <sys-net> kernelopts "nopat iommu=soft swiotlb=8192 
modprobe.blacklist=rtsx_pci"

You should now be able to use your Ethernet port in that qvm. Just make sure 
that both [03:00:0] and [03:00:1] are attached. It will also work with your 
wireless adapter. 

One additional note is that -- at least, on my system -- the qvm takes a bit 
longer than 20 seconds to shutdown, so you may see one warning about it taking 
too long. Just select "Wait another 20 seconds" and it should be good. 

Ref: https://groups.google.com/forum/#!msg/qubes-devel/logslMTHyW4/khnEzBjAAwAJ

=================================Extra Info

You should be seeing an error in your Xen console qvm log when your kernel 
attempts to  configure the 'rtsx_pci' module.

[    2.357934] rtsx_pci 0000:00:00.0: Xen PCI mapped GSI16 to IRQ24
[    2.358347] rtsx_pci 0000:00:00.0: rtsx_pci_acquire_irq: pcr->msi_en = 1, 
pci->irq = 25
[    2.358473] BUG: unable to handle kernel paging request at ffffc900002f6010

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d513840b-dbd8-4d87-a19c-4b5fb26c92cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to