Re: [qubes-users] Using distribution kernel in Template VM

2016-11-16 Thread Fred
On 16/11/2016 00:31, Marek Marczykowski-Górecki wrote:
>> Is there any way to debug this further? Have any steps been
>> missed?
> 
> Check if u2mfn module was built automatically. Simply login on the 
> template console and check `modinfo u2mfn`. If it's not there, build
> it using `dkms autoinstall` command (see its manual page for exact 
> parameters).

Hi Marek,

Thanks for your reply. I got this fixed in the end by going back to the
Qubes web link and double-checking everything. I saw the dkms
autoinstall comment there and so I tried it and it worked. The strange
thing is, I saw u2mfn in lsmod output so didn't think this step was
necessary.  So was this just the wrong version or something?

So booting a fedora kernel is now working but I'm unable to do what I
was trying to achieve with all of this in the first place which is get
my wifi card working in sys-net.

I can now boot using a vanilla upstream Fedora kernel in sys-net and
associated kernel-devel. I built a wifi driver using akmods for my
broadcom device in the template fedora vm. I assigned my wifi pci device
over to sys-net and although I can see the pci device in lspci in
sys-net and the wl module is loaded, no cigar. As a proof of
process/concept I followed the same steps without Qubes/Xen by getting a
fedora-23 ISO and installing it to USB. Booted that, built driver,
modprobed it and bingo. So for some reason this isn't working when done
through Qubes/Xen. But I'm not sure what could be preventing it and what
to look at next. Some kind of PCI issue perhaps?

In the meantime I've just assigned an entire USB controller over to
sys-net and am using a USB wireless which works just fine but isn't
ideal from some other perspectives.

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/95356e9b-060f-ff1e-1b27-a4c0db7179f4%40gmsl.co.uk.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Using distribution kernel in Template VM

2016-11-15 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Mon, Nov 07, 2016 at 08:46:24PM +, Fred wrote:
> 
> I followed the instructions here
> https://www.qubes-os.org/doc/managing-vm-kernel/ for using the VM kernel.
> 
> So in short:
> 
> in dom0: sudo qubes-dom0-update grub2-xen
> in fedora-23 template vm: sudo yum install qubes-kernel-vm-support
> grub2-tools
> in fedora-23 template vm: installed a distro kernel and matching
> kernel-devel from fedora repo.
> in fedora-23 template vm: sudo grub2-mkconfig -o /boot/grub2/grub.cfg to
> create grub config.
> 
> I can then set pvgrub2 as kernel for fedora-23 template and start it.
> 
> fedora-23 boots without error, booting the VM kernel. Troubleshooting with
> sudo xl console fedora-23 shows no obvious problems and it finishes the boot
> sequence with a login prompt. The virt manager in dom0 shows for its status
> an amber dot. It momentarily goes green, but then changes back to amber.
> 
> Is there any way to debug this further? Have any steps been missed?

Check if u2mfn module was built automatically. Simply login on the
template console and check `modinfo u2mfn`. If it's not there, build it
using `dkms autoinstall` command (see its manual page for exact
parameters).

- -- 
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?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJYK6jZAAoJENuP0xzK19cs0/kH/3XG4J8atKnd0FsWBzF4mNgs
1KXVRFHQssR3n0Xe5/eqSHkjfBBJPK+zCH3AG/9zixSijwDYoLO0tidqDNZaJi8n
1Ozwnev1sugVGH/gQ7ewiCalqC96kCiCm23ro/4Jm4Ss9xcY/z52ahPtsBqz3kxD
wSdDEAuB5TM89wyvdaJsVMJp2vaJPv2Q8riE6QJq1ZDnxbwkDA3M4DfiJO3i4Fj4
/kzmjTddyhFEZYB16dfXGkr1vEQ2T3wNarCuu+YxKK4Pqt5s+PNEXRq+obCM74dZ
vF6lelrdIKuLwWs+GgyN4byzk14xF7VZgffcPupojwAM9OBVO/2bIBJYj0feaVQ=
=VpgR
-END PGP SIGNATURE-

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20161116003120.GP17458%40mail-itl.
For more options, visit https://groups.google.com/d/optout.