Different version usr/src and kernel - Installink module aziokdb

59 views
Skip to first unread message

Facundo Curti

unread,
Jul 31, 2016, 8:35:31 PM7/31/16
to qubes-users
Hi there. I'm trying to install a kernel module for my keyboard. But I'm having troubles when I have to install it...

I have a diferent version on /usr/src that the kernel.

ls /usr/src/kernels:
4.4.14-11.pvops.qubes.x86_64

ls /boot:
xen-4.6.1.gz
symvers-4.4.12-9.pvops.qubes.x86_64.gz
initramfs-4.4.12-9.pvops.qubes.x86_64.img
vmlinuz-4.4.14-9.pvops.qubes.x86_64

ls -l /lib/modules/4.4.12-9.pvops.qubes.x86_64/
build -> /usr/src/kernels/4.4.12-9.pvops.qubes.x86_64

When I try to compile aziokdb module:

make:
error /lib/modules/4.4.12-9.pvops.qubes.x86_64/build does not exist


I didn't put the entire output because it is from dom0 and I cant copy-paste as easy than with another vm. I made it manually.

Some idea how can I fix this? :/ I'ts possible to reinstall kernel without compiling it manually? It would solve it? :P

Thx

Facundo Curti

unread,
Aug 1, 2016, 9:07:05 PM8/1/16
to qubes-users

> --
> You received this message because you are subscribed to a topic in the Google Groups "qubes-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/qubes-users/4i8kwTBUBt8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to qubes-users...@googlegroups.com.
> To post to this group, send email to qubes...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/76a07c1d-6b60-43e6-9f0c-8eae18469688%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Someone? :S

Marek Marczykowski-Górecki

unread,
Aug 2, 2016, 5:21:24 AM8/2/16
to Facundo Curti, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Kernel headers are in kernel-devel package. You either need to downgrade
kernel-devel package, or upgrade kernel. Useful commands:

Downgrade kernel-devel:

sudo qubes-dom0-update --action=downgrade kernel-devel-4.4.12*

Upgrade kernel:

sudo qubes-dom0-update kernel

- --
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

iQEcBAEBCAAGBQJXoGYNAAoJENuP0xzK19csLFsH/RvQq8zNj86Nw5F3cwed6yrB
TNpFw1O8U6ByimUHwr3Or2y9QUrHmLptOZTL99atpT/+mAEpjN6TlcVnd8e+MddD
INfCjhiQ/i77NuCObDdZ9RIBlTbjNlqnXQAoq8gxx0PwUHd0IkLu92g0Y1Zm/oFx
QeA9uUH27V6hLJ0a6uxUbVr9igDITiJcw+1NLUprZeeJCBHdUIwVrtFGpD7R021w
56t1ABpkHqallzXy4roogLmFTtDs2VAUGGnNQWV6fc33VOfB8WJFNroya0HfMZgk
3v1S4jUC8zry8+TeQCb9upoR38gF/tLGV+gpce8RK4L24N/wY/QF5OXrhRBuWE0=
=UzOH
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages