Hola,


Estoy haciendo una instalación nueva de Jool en un apu4b4 
(https://www.pcengines.ch/apu4b4.htm) para unos workshops y se me ocurrió usar 
directamente el último Ubuntu 18.04 LTS, totalmente actualizado y además con el 
último kernel 4.17.4-041704-generic.



Al hacer sudo dkms install Jool-3.5.7, me da un error:



sudo dkms install Jool-3.5.7



Creating symlink /var/lib/dkms/jool/3.5.7/source ->

                 /usr/src/jool-3.5.7



DKMS: add completed.



Kernel preparation unnecessary for this kernel.  Skipping...



Building module:

cleaning build area.....

make -j4 KERNELRELEASE=4.17.4-041704-generic -C 
/lib/modules/4.17.4-041704-generic/build 
SUBDIRS=/var/lib/dkms/jool/3.5.7/build/mod/stateful modules && make -C 
/lib/modules/4.17.4-041704-generic/build 
SUBDIRS=/var/lib/dkms/jool/3.5.7/build/mod/stateless modules.........(bad exit 
status: 2)

Error! Bad return status for module build on kernel: 4.17.4-041704-generic 
(x86_64)

Consult /var/lib/dkms/jool/3.5.7/build/make.log for more information.

jordipalet@ubuntu:/tmp$ cat /var/lib/dkms/jool/3.5.7/build/make.log

DKMS make.log for jool-3.5.7 for kernel 4.17.4-041704-generic (x86_64)

Fri Jul  6 15:59:01 CEST 2018

make: Entering directory '/usr/src/linux-headers-4.17.4-041704-generic'

Makefile:978: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, 
libelf-devel or elfutils-libelf-devel"

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/empty.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/db.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/rfc6056.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/db.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/entry.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/pkt_queue.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/timer.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/determine_incoming_tuple.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/filtering_and_updating.o

  CC [M]  /var/lib/dkms/jool/3.5.7/build/mod/stateful/compute_outgoing_tuple.o

/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.c: In function 
‘inet6_hash_frag’:

/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.c:96:14: error: 
‘INETFRAGS_HASHSZ’ undeclared (first use in this function); did you mean 
‘INET_FRAG_LAST_IN’?

  return c & (INETFRAGS_HASHSZ - 1);

              ^~~~~~~~~~~~~~~~

              INET_FRAG_LAST_IN

/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.c:96:14: note: each 
undeclared identifier is reported only once for each function it appears in

/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.c:97:1: warning: 
control reaches end of non-void function [-Wreturn-type]

 }

 ^

scripts/Makefile.build:312: recipe for target 
'/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.o' failed

make[1]: *** [/var/lib/dkms/jool/3.5.7/build/mod/stateful/fragment_db.o] Error 1

make[1]: *** Waiting for unfinished jobs....

Makefile:1577: recipe for target 
'_module_/var/lib/dkms/jool/3.5.7/build/mod/stateful' failed

make: *** [_module_/var/lib/dkms/jool/3.5.7/build/mod/stateful] Error 2

make: Leaving directory '/usr/src/linux-headers-4.17.4-041704-generic'

jordipalet@ubuntu:/tmp$ sudo dkms status

jool, 3.5.7: added



y obviamente no me deja hacer el modprobe ...



sudo modprobe --first-time jool pool6=64:ff9b::/96

modprobe: FATAL: Module jool not found in directory 
/lib/modules/4.17.4-041704-generic



Lo he eliminado con



sudo dkms remove jool/3.5.7 --all



------------------------------

Deleting module version: 3.5.7

completely from the DKMS tree.

------------------------------

Done.





Alguna idea de si es alguna incompatibilidad con 18.04 o si me tengo que ir 
atrás con otro kernel?



Por si esto afecta, la instalación de los kernels desde el 4.17 es ahora:



wget -c 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17....

wget -c 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-modules-4.17.0-041700-generic_4.17....

wget -c 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17.....

wget -c 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-image-unsigned-4.17....



sudo dpkg -i *.deb







Saludos,

Jordi

 

 




**********************************************
IPv4 is over
Are you ready for the new Internet ?
http://www.consulintel.es
The IPv6 Company

This electronic message contains information which may be privileged or 
confidential. The information is intended to be for the exclusive use of the 
individual(s) named above and further non-explicilty authorized disclosure, 
copying, distribution or use of the contents of this information, even if 
partially, including attached files, is strictly prohibited and will be 
considered a criminal offense. If you are not the intended recipient be aware 
that any disclosure, copying, distribution or use of the contents of this 
information, even if partially, including attached files, is strictly 
prohibited, will be considered a criminal offense, so you must reply to the 
original sender to inform about this communication and delete it.



_______________________________________________
Jool-list mailing list
[email protected]
https://mail-lists.nic.mx/listas/listinfo/jool-list

Reply via email to