Kernel 4.11.9 Support

Nils Andreas Svee me at lochnair.net
Thu Jul 6 12:40:31 CEST 2017


Apparentaly this commit
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.11.y&id=95876855a55072572895a236b156ffb357fd5538)
from 4.12 was backported to the 4.11.y branch and included in 4.11.9.

This was fixed for WireGuard in
https://git.zx2c4.com/WireGuard/commit/?id=e5c75663c35d30816807bcb1f97c83ba960b247a
for 4.12, we need to apply this for 4.11.9 and later too.


On Thu, Jul 6, 2017, at 12:27, jugs wrote:
> Would it be possible to add support for the current 4.11.x kernel? After upgrading to 4.11.9 from 4.11.7 the current wireguard snapshot no longer works.
> 
> After installation, I get the following errors:
> 
> :: Running post-transaction hooks...                                  
> (1/3) Install DKMS modules        
> ==> dkms install wireguard/0.0.20170629 -k 4.11.9-1-ARCH             
> Error! Bad return status for module build on kernel: 4.11.9-1-ARCH (x86_64)                                                                 
> Consult /var/lib/dkms/wireguard/0.0.20170629/build/make.log for more information.                                                           
> 
> [jugs at host ~]$ cat /var/lib/dkms/wireguard/0.0.20170629/build/make.log                                                                      
> DKMS make.log for wireguard-0.0.20170629 for kernel 4.11.9-1-ARCH (x86_64)                                                                  
> Thu Jul  6 06:21:18 EDT 2017      
> make: Entering directory '/usr/lib/modules/4.11.9-1-ARCH/build'      
>   LD      /var/lib/dkms/wireguard/0.0.20170629/build/built-in.o      
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/noise.o         
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/device.o        
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/main.o          
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/peer.o          
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/timers.o        
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/data.o          
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/send.o          
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/receive.o       
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/socket.o        
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/config.o        
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/hashtables.o    
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/routingtable.o  
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/ratelimiter.o   
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/cookie.o        
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/crypto/chacha20poly1305.o                                                              
>   CC [M]  /var/lib/dkms/wireguard/0.0.20170629/build/crypto/curve25519.o                                                                    
> /var/lib/dkms/wireguard/0.0.20170629/build/device.c: In function ‘setup’:                                                                   
> /var/lib/dkms/wireguard/0.0.20170629/build/device.c:255:7: error: ‘struct net_device’ has no member named ‘destructor’; did you mean ‘priv_destructor’?
>   dev->destructor = destruct;     
>        ^~~~~~~~~~                 
>        priv_destructor            
> make[1]: *** [scripts/Makefile.build:294: /var/lib/dkms/wireguard/0.0.20170629/build/device.o] Error 1                                      
> make[1]: *** Waiting for unfinished jobs....                         
> make: *** [Makefile:1492: _module_/var/lib/dkms/wireguard/0.0.20170629/build] Error 2                                                       
> make: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build'
> 
> 
> 
> -jugs
> 
> 
> _________________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

Best Regards
Nils


More information about the WireGuard mailing list