Hi, I need debian's kernel because the Qubes kernel does not provide the needed network driver.
I'm following the steps here to install the in-VM kernel, instead of the one provided by dom0: https://www.qubes-os.org/doc/managing-vm-kernel/ The debian 9 template boots fine with pvgrub but qrexec does not work because the Qubes kernel module u2mfn fails to build on debian 9's kernel (4.9.0). Has anyone u2mfn running on debian 9's kernel (4.9.0)? thanks, Joonas >From the log file /var/lib/dkms/u2mfn/3.2.3/build/make.log : DKMS make.log for u2mfn-3.2.3 for kernel 4.9.0-2-amd64 (x86_64) make: Entering directory '/usr/src/linux-headers-4.9.0-2-amd64' LD /var/lib/dkms/u2mfn/3.2.3/build/built-in.o CC [M] /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.o /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.c: In function ?u2mfn_ioctl?: /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.c:80:23: error: passing argument 5 of ?get_user_pages? from incompatible pointer type [-Werror=incompatible-pointer-types] (data, 1, 1, 0, &user_page, 0); ^ In file included from /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.c:26:0: /usr/src/linux-headers-4.9.0-2-common/include/linux/mm.h:1302:6: note: expected ?struct vm_area_struct **? but argument is of type ?struct page **? long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.c:79:9: error: too many arguments to function ?get_user_pages? ret = get_user_pages ^~~~~~~~~~~~~~ In file included from /var/lib/dkms/u2mfn/3.2.3/build/u2mfn.c:26:0: /usr/src/linux-headers-4.9.0-2-common/include/linux/mm.h:1302:6: note: declared here long get_user_pages(unsigned long start, unsigned long nr_pages, ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.9.0-2-common/scripts/Makefile.build:304: recipe for target '/var/lib/dkms/u2mfn/3.2.3/build/u2mfn.o' failed make[3]: *** [/var/lib/dkms/u2mfn/3.2.3/build/u2mfn.o] Error 1 /usr/src/linux-headers-4.9.0-2-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/u2mfn/3.2.3/build' failed make[2]: *** [_module_/var/lib/dkms/u2mfn/3.2.3/build] Error 2 Makefile:150: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make: *** [all] Error 2 -- 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/57e825bb-9d96-bac1-8b0c-e8f00e8a72d3%40openmailbox.org. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
