* Kernel Panic after updating Kernel
@ 2020-06-15 19:30 dxiri
2020-06-17 8:32 ` Jason A. Donenfeld
0 siblings, 1 reply; 14+ messages in thread
From: dxiri @ 2020-06-15 19:30 UTC (permalink / raw)
To: wireguard
Posted this on IRC but got no response, probably this will be a better place:
I updated my Centos7 server yesterday and wireguard is causing a kernel panic, wanted to know if this is a known issue?
Using kernel 3.10.0-1127.10.1.el7.x86_64
I Tried with 2 different repos (elrepo and Copr repo for wireguard owned by jdoss) and I have the same issue.
I took a screenshot of The kernel panic and uploaded at https://imgur.com/a/Ojxeor0
Another interesting bit of info is that as long as I don't move traffic trough wg0 vnic, no panic happens. I can easily trigger the panic by just doing a ping to the other VPN endpoint and I am able to reproduce this every single time.
# lsmod | grep -i wire
wireguard 200896 0
ip6_udp_tunnel 12755 1 wireguard
udp_tunnel 14423 1 wireguard
Thanks for the help!
Diego
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-15 19:30 Kernel Panic after updating Kernel dxiri
@ 2020-06-17 8:32 ` Jason A. Donenfeld
2020-06-18 4:31 ` dxiri
0 siblings, 1 reply; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-17 8:32 UTC (permalink / raw)
To: dxiri; +Cc: WireGuard mailing list, ElRepo
Hi Diego,
On Wed, Jun 17, 2020 at 2:01 AM dxiri@xirihosting.com
<dxiri@xirihosting.com> wrote:
>
> Posted this on IRC but got no response, probably this will be a better place:
>
> I updated my Centos7 server yesterday and wireguard is causing a kernel panic, wanted to know if this is a known issue?
>
> Using kernel 3.10.0-1127.10.1.el7.x86_64
>
> I Tried with 2 different repos (elrepo and Copr repo for wireguard owned by jdoss) and I have the same issue.
>
> I took a screenshot of The kernel panic and uploaded at https://imgur.com/a/Ojxeor0
>
> Another interesting bit of info is that as long as I don't move traffic trough wg0 vnic, no panic happens. I can easily trigger the panic by just doing a ping to the other VPN endpoint and I am able to reproduce this every single time.
>
> # lsmod | grep -i wire
> wireguard 200896 0
> ip6_udp_tunnel 12755 1 wireguard
> udp_tunnel 14423 1 wireguard
>
> Thanks for the help!
> Diego
Huh, that's funny -- I'm unable to reproduce the bug at all.
Does running this script crash for you?
https://salsa.debian.org/debian/wireguard-linux-compat/-/raw/debian/master/debian/tests/netns-mini
If not, could you describe your setup more and maybe some repro steps for me?
Thanks,
Jason
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-17 8:32 ` Jason A. Donenfeld
@ 2020-06-18 4:31 ` dxiri
2020-06-18 5:53 ` Jason A. Donenfeld
2020-06-18 11:02 ` Phil Perry
0 siblings, 2 replies; 14+ messages in thread
From: dxiri @ 2020-06-18 4:31 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list, ElRepo
-----Original Message-----
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Sent: Wednesday, June 17, 2020 4:32am
To: "dxiri@xirihosting.com" <dxiri@xirihosting.com>
Cc: "WireGuard mailing list" <wireguard@lists.zx2c4.com>, "ElRepo" <contact@elrepo.org>
Subject: Re: Kernel Panic after updating Kernel
Hi Diego,
On Wed, Jun 17, 2020 at 2:01 AM dxiri@xirihosting.com
<dxiri@xirihosting.com> wrote:
>
> Posted this on IRC but got no response, probably this will be a better place:
>
> I updated my Centos7 server yesterday and wireguard is causing a kernel panic, wanted to know if this is a known issue?
>
> Using kernel 3.10.0-1127.10.1.el7.x86_64
>
> I Tried with 2 different repos (elrepo and Copr repo for wireguard owned by jdoss) and I have the same issue.
>
> I took a screenshot of The kernel panic and uploaded at https://imgur.com/a/Ojxeor0
>
> Another interesting bit of info is that as long as I don't move traffic trough wg0 vnic, no panic happens. I can easily trigger the panic by just doing a ping to the other VPN endpoint and I am able to reproduce this every single time.
>
> # lsmod | grep -i wire
> wireguard 200896 0
> ip6_udp_tunnel 12755 1 wireguard
> udp_tunnel 14423 1 wireguard
>
> Thanks for the help!
> Diego
Huh, that's funny -- I'm unable to reproduce the bug at all.
Does running this script crash for you?
https://salsa.debian.org/debian/wireguard-linux-compat/-/raw/debian/master/debian/tests/netns-mini
If not, could you describe your setup more and maybe some repro steps for me?
Thanks,
Jason
--------------------
Hi Jason,
Tried your script, here is the result (spoiler...no crash):
root@box [4542 22:04:00 /etc/wireguard]# bash netns-mini-test.sh
[+] ip netns add wg-test-36633-0
[+] ip netns add wg-test-36633-1
[+] ip netns add wg-test-36633-2
[+] NS0: ip link set up dev lo
[+] NS0: ip link add dev wg0 type wireguard
[+] NS0: ip link set wg0 netns wg-test-36633-1
[+] NS0: ip link add dev wg0 type wireguard
[+] NS0: ip link set wg0 netns wg-test-36633-2
[+] NS1: ip addr add 192.168.241.1/24 dev wg0
[+] NS2: ip addr add 192.168.241.2/24 dev wg0
[+] wg genkey
[+] wg genkey
[+] wg pubkey
[+] wg pubkey
[+] NS1: wg set wg0 private-key /dev/fd/63 listen-port 1 peer 0zUBih0nFOHRDzl6mBxcHaCfwX+s9sE6rLgK4f8LdiU= allowed-ips 192.168.241.2/32
[+] NS2: wg set wg0 private-key /dev/fd/63 listen-port 2 peer jBLy+DQDc21/f5z9Yfz287FB/Z9PhaXvNdMw7WDoWFM= allowed-ips 192.168.241.1/32
[+] NS1: ip link set up dev wg0
[+] NS2: ip link set up dev wg0
[+] NS2: wg set wg0 peer jBLy+DQDc21/f5z9Yfz287FB/Z9PhaXvNdMw7WDoWFM= endpoint 127.0.0.1:1
[+] NS2: ping -c 10 -f -W 1 192.168.241.1
PING 192.168.241.1 (192.168.241.1) 56(84) bytes of data.
--- 192.168.241.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 1ms
rtt min/avg/max/mdev = 0.054/0.159/0.884/0.243 ms, ipg/ewma 0.209/0.316 ms
[+] NS0: ip link del dev wg0
[+] NS1: ip link del dev wg0
[+] NS2: ip link del dev wg0
[+] ip netns del wg-test-36633-1
[+] ip netns del wg-test-36633-2
[+] ip netns del wg-test-36633-0
About my setup:
1) KVM hosted VM
2) Using wg-quick, followed this tutorial: https://www.stavros.io/posts/how-to-configure-wireguard/
3) CPanel v88.0.10 (as far as I know, CPanel does NOT modify stock Centos 7 kernel)
4) root@box [4545 22:07:54 /etc/wireguard]# free -m
total used free shared buff/cache available
Mem: 2363 1373 174 12 815 793
Swap: 1999 1637 362
5) root@box [4547 22:10:37 /etc/wireguard]# cat wg0.conf
[Interface]
Address = 192.168.100.101/28
PrivateKey = 0000000xxxxxxxpjdlkkljkljalkjlkjl=
ListenPort = 11555
[Peer]
PublicKey = djkjadlkjlkjkldjlkjaslkjadlk=
AllowedIPs = 192.168.100.100/32
Endpoint = 1.1.1.1:11555
6) Yum operations trigger a lot of exclutions for elrepo, but nothing seems wireguard related:
Loaded plugins: changelog, elrepo, fastestmirror, priorities, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 208.100.0.204
* cpanel-addons-production-feed: 208.100.0.204
* cpanel-plugins: 208.100.0.204
* elrepo: elrepo.0m3n.net
* epel: mirror.csis.ysu.edu
[elrepo]: excluding package: kmod-3c59x-0.0-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-8188eu-4.1.4_6773.20130222-5.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-8188eu-5.2.2.4-1.20190907git.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-a2818-1.20-1.el7.elrepo.x86_64
[elrepo]: excluding package: kmod-a3818-1.6.0-1.el7.elrepo.x86_64
[elrepo]: excluding package: kmod-a3818-1.6.2-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-aacraid-1.2.1-5.el7.elrepo.x86_64
[elrepo]: excluding package: kmod-aic7xxx-7.0-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-ar5523-0.0-8.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-ar5523-0.0-9.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-ath5k-0.0-12.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-cassini-1.6-2.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-cciss-3.6.26-5.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-cciss-3.6.26-6.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-cciss-3.6.26-7.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-drbd84-8.4.11-1.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-drbd84-8.4.11-1.1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-drbd90-9.0.14-1.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-drbd90-9.0.16-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-drbd90-9.0.20-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-e100-3.5.24-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-ecryptfs-0.1-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-forcedeth-0.64-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-fpga-mgr-0.0-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-hfs-0.0-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-i2c-i801-0.0-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-i2c-i801-0.0-5.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-i2c-i801-0.0-6.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-ixgb-1.0.135-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-ixgbe-5.5.5-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-ixgbe-5.6.3-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-ixgbe-5.6.3-2.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-joydev-0.0-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-mt7601u-4.14.108-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-mt7601u-4.14.108-2.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-nct6775-0.0-4.20180327git.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-nct6775-0.0-5.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-ne2k-pci-1.03-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-netatop-0.3-4.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-netatop-2.0-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-niu-1.1-2.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-nvidia-440.44-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.44-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.44-1.el7_7.elrepo.i686
[elrepo]: excluding package: nvidia-x11-drv-440.44-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-nvidia-440.59-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.59-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-440.59-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.59-1.el7_7.elrepo.i686
[elrepo]: excluding package: kmod-nvidia-440.64-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.64-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-libs-440.64-1.el7_7.elrepo.i686
[elrepo]: excluding package: nvidia-x11-drv-440.64-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-nvidia-340xx-340.107-3.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-nvidia-390xx-390.116-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-390xx-390.116-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-1.el7_6.elrepo.i686
[elrepo]: excluding package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-2.el7_7.elrepo.i686
[elrepo]: excluding package: nvidia-x11-drv-390xx-390.116-2.el7_7.elrepo.x86_64
[elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-2.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-r8168-8.046.00-1.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-r8168-8.047.04-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-r8168-8.047.05-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-r8168-8.048.00-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-r8169-6.020.00-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-r8822be-0.0-1.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-reiserfs-0.0-3.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-rr62x-1.2-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-rr64xl-1.4.0-1.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-rtl8812au-5.3.4-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-sis190-1.4-1.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-sis900-1.08.10-2.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-sym53c8xx-0.0-4.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-tpe-2.0.3-6.20170731git.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-tpe-2.0.4-1.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-typhoon-1.0-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-usbip-1.0.1-2.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-usbip-1.0.1-3.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-usbip-1.0.1-4.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-via-rhine-1.5.1-3.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-via-velocity-1.15-2.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-xpad-0.0.6-7.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-xpad-0.0.6-8.el7_6.elrepo.x86_64
[elrepo]: excluding package: kmod-xpad-0.0.6-9.el7_7.elrepo.x86_64
[elrepo]: excluding package: kmod-zd1211rw-1.0-6.el7_5.elrepo.x86_64
[elrepo]: excluding package: kmod-zd1211rw-1.0-7.el7_7.elrepo.x86_64
178 packages excluded due to repository priority protections
7) I have another VM with another service provider and have the exact same issue after updating. This other VM has a free version of CPanel called DNSONLY, if you care to install to take a shot at reproducing: https://docs.cpanel.net/installation-guide/cpanel-dnsonly-installation/
Any other info you need feel free to ask :)
Thanks!
Diego
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 4:31 ` dxiri
@ 2020-06-18 5:53 ` Jason A. Donenfeld
2020-06-18 16:48 ` Jean-Denis Girard
2020-06-18 11:02 ` Phil Perry
1 sibling, 1 reply; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-18 5:53 UTC (permalink / raw)
To: dxiri; +Cc: WireGuard mailing list, ElRepo
Hmm, still not able to reproduce.
Are you sure you're running the latest up to date module? Try
uninstalling kmod-wireguard and reinstalling?
What driver is your ethernet NIC using?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 4:31 ` dxiri
2020-06-18 5:53 ` Jason A. Donenfeld
@ 2020-06-18 11:02 ` Phil Perry
1 sibling, 0 replies; 14+ messages in thread
From: Phil Perry @ 2020-06-18 11:02 UTC (permalink / raw)
To: wireguard
On 18/06/2020 05:31, dxiri@xirihosting.com wrote:
>
> 6) Yum operations trigger a lot of exclutions for elrepo, but nothing seems wireguard related:
>
Not related to this bug, so for information only. The following is
caused by a difference in the way CentOS compose their repositories over
RHEL:
https://bugs.centos.org/view.php?id=15476
The solution is to enable the CentOS vault repo which will allow CentOS
to more closely match RHEL behaviour and prevent the exclusions notified
below. This is documented in /usr/share/doc/yum-plugin-elrepo-7.5.1/README
> Loaded plugins: changelog, elrepo, fastestmirror, priorities, tsflags, universal-hooks
> Loading mirror speeds from cached hostfile
> * EA4: 208.100.0.204
> * cpanel-addons-production-feed: 208.100.0.204
> * cpanel-plugins: 208.100.0.204
> * elrepo: elrepo.0m3n.net
> * epel: mirror.csis.ysu.edu
> [elrepo]: excluding package: kmod-3c59x-0.0-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-8188eu-4.1.4_6773.20130222-5.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-8188eu-5.2.2.4-1.20190907git.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-a2818-1.20-1.el7.elrepo.x86_64
> [elrepo]: excluding package: kmod-a3818-1.6.0-1.el7.elrepo.x86_64
> [elrepo]: excluding package: kmod-a3818-1.6.2-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-aacraid-1.2.1-5.el7.elrepo.x86_64
> [elrepo]: excluding package: kmod-aic7xxx-7.0-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-ar5523-0.0-8.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-ar5523-0.0-9.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-ath5k-0.0-12.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-cassini-1.6-2.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-cciss-3.6.26-5.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-cciss-3.6.26-6.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-cciss-3.6.26-7.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-drbd84-8.4.11-1.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-drbd84-8.4.11-1.1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-drbd90-9.0.14-1.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-drbd90-9.0.16-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-drbd90-9.0.20-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-e100-3.5.24-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-ecryptfs-0.1-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-forcedeth-0.64-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-fpga-mgr-0.0-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-hfs-0.0-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-i2c-i801-0.0-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-i2c-i801-0.0-5.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-i2c-i801-0.0-6.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-ixgb-1.0.135-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-ixgbe-5.5.5-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-ixgbe-5.6.3-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-ixgbe-5.6.3-2.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-joydev-0.0-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-mt7601u-4.14.108-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-mt7601u-4.14.108-2.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-nct6775-0.0-4.20180327git.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-nct6775-0.0-5.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-ne2k-pci-1.03-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-netatop-0.3-4.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-netatop-2.0-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-niu-1.1-2.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-nvidia-440.44-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.44-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.44-1.el7_7.elrepo.i686
> [elrepo]: excluding package: nvidia-x11-drv-440.44-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-nvidia-440.59-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.59-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-440.59-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.59-1.el7_7.elrepo.i686
> [elrepo]: excluding package: kmod-nvidia-440.64-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.64-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-libs-440.64-1.el7_7.elrepo.i686
> [elrepo]: excluding package: nvidia-x11-drv-440.64-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-nvidia-340xx-340.107-3.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-nvidia-390xx-390.116-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-390xx-390.116-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-1.el7_6.elrepo.i686
> [elrepo]: excluding package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-2.el7_7.elrepo.i686
> [elrepo]: excluding package: nvidia-x11-drv-390xx-390.116-2.el7_7.elrepo.x86_64
> [elrepo]: excluding package: nvidia-x11-drv-390xx-libs-390.116-2.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8168-8.046.00-1.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8168-8.047.04-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8168-8.047.05-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8168-8.048.00-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8169-6.020.00-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-r8822be-0.0-1.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-reiserfs-0.0-3.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-rr62x-1.2-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-rr64xl-1.4.0-1.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-rtl8812au-5.3.4-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-sis190-1.4-1.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-sis900-1.08.10-2.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-sym53c8xx-0.0-4.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-tpe-2.0.3-6.20170731git.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-tpe-2.0.4-1.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-typhoon-1.0-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-usbip-1.0.1-2.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-usbip-1.0.1-3.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-usbip-1.0.1-4.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-via-rhine-1.5.1-3.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-via-velocity-1.15-2.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-xpad-0.0.6-7.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-xpad-0.0.6-8.el7_6.elrepo.x86_64
> [elrepo]: excluding package: kmod-xpad-0.0.6-9.el7_7.elrepo.x86_64
> [elrepo]: excluding package: kmod-zd1211rw-1.0-6.el7_5.elrepo.x86_64
> [elrepo]: excluding package: kmod-zd1211rw-1.0-7.el7_7.elrepo.x86_64
> 178 packages excluded due to repository priority protections
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 5:53 ` Jason A. Donenfeld
@ 2020-06-18 16:48 ` Jean-Denis Girard
2020-06-18 19:27 ` Jason A. Donenfeld
2020-06-18 19:48 ` Jason A. Donenfeld
0 siblings, 2 replies; 14+ messages in thread
From: Jean-Denis Girard @ 2020-06-18 16:48 UTC (permalink / raw)
To: wireguard
[-- Attachment #1.1: Type: text/plain, Size: 2020 bytes --]
Hi list,
Le 17/06/2020 à 19:53, Jason A. Donenfeld a écrit :
> Hmm, still not able to reproduce.
>
> Are you sure you're running the latest up to date module? Try
> uninstalling kmod-wireguard and reinstalling?
>
> What driver is your ethernet NIC using?
>
For what it's worth, I seem to have the same problem on a CentOS-7
virtual machine hosted on VMware with vmxnet3. It has been working fine
since installed in 2017, but does lock up after upgrading to
kernel-3.10.0-1127.8.2.el7.x86_64 or kernel-3.10.0-1127.10.1.el7.x86_64.
The VM is now running fine on kernel-3.10.0-1062.18.1.el7.x86_64.
[ 4.751926] NET: Registered protocol family 40
[ 5.008840] vmxnet3 0000:03:00.0 ens160: intr type 3, mode 0, 3
vectors allocated
[ 5.009298] vmxnet3 0000:03:00.0 ens160: NIC Link is Up 10000 Mbps
[ 9.148571] vmxnet3 0000:13:00.0 ens224: intr type 3, mode 0, 3
vectors allocated
[ 9.149062] vmxnet3 0000:13:00.0 ens224: NIC Link is Up 10000 Mbps
[ 13.318360] vmxnet3 0000:1b:00.0 ens256: intr type 3, mode 0, 3
vectors allocated
[ 13.318908] vmxnet3 0000:1b:00.0 ens256: NIC Link is Up 10000 Mbps
[ 17.704052] FS-Cache: Loaded
[ 17.823986] FS-Cache: Netfs 'nfs' registered for caching
[ 17.837062] Key type dns_resolver registered
[ 17.867211] NFS: Registering the id_resolver key type
[ 17.867218] Key type id_resolver registered
[ 17.867220] Key type id_legacy registered
[ 17.879846] wireguard: module verification failed: signature and/or
required key missing - tainting kernel
[ 17.886512] wireguard: WireGuard 1.0.20200520 loaded. See
www.wireguard.com for information.
[ 17.886514] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld
<Jason@zx2c4.com>. All Rights Reserved.
[ 564.297446] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Thanks,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 16:48 ` Jean-Denis Girard
@ 2020-06-18 19:27 ` Jason A. Donenfeld
2020-06-18 19:48 ` Jason A. Donenfeld
1 sibling, 0 replies; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-18 19:27 UTC (permalink / raw)
To: Jean-Denis Girard; +Cc: WireGuard mailing list
On Thu, Jun 18, 2020 at 10:48 AM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
> [ 17.886512] wireguard: WireGuard 1.0.20200520 loaded. See
> www.wireguard.com for information.
20200520 is old. Have you tried the newer version yet?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 16:48 ` Jean-Denis Girard
2020-06-18 19:27 ` Jason A. Donenfeld
@ 2020-06-18 19:48 ` Jason A. Donenfeld
2020-06-18 20:10 ` Jean-Denis Girard
1 sibling, 1 reply; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-18 19:48 UTC (permalink / raw)
To: Jean-Denis Girard; +Cc: WireGuard mailing list
On Thu, Jun 18, 2020 at 10:48 AM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
> For what it's worth, I seem to have the same problem on a CentOS-7
> virtual machine hosted on VMware with vmxnet3. It has been working fine
> since installed in 2017, but does lock up after upgrading to
> kernel-3.10.0-1127.8.2.el7.x86_64 or kernel-3.10.0-1127.10.1.el7.x86_64.
> The VM is now running fine on kernel-3.10.0-1062.18.1.el7.x86_64.
I am unable to reproduce this issue with vmxnet3. However, as I noted
earlier, your wireguard version seems old. Try updating everything at
once, and then see.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 19:48 ` Jason A. Donenfeld
@ 2020-06-18 20:10 ` Jean-Denis Girard
2020-06-18 20:11 ` Jason A. Donenfeld
0 siblings, 1 reply; 14+ messages in thread
From: Jean-Denis Girard @ 2020-06-18 20:10 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
[-- Attachment #1.1: Type: text/plain, Size: 685 bytes --]
Le 18/06/2020 à 09:48, Jason A. Donenfeld a écrit :
> I am unable to reproduce this issue with vmxnet3. However, as I noted
> earlier, your wireguard version seems old. Try updating everything at
> once, and then see.
yum updated to wireguard-dkms.noarch 1:1.0.20200611-1.el7
By the way, yum complains :
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/wireguard/0.0.20181218/source/dkms.conf does not exist.
I cannot reboot now, I will let you know how it goes later.
Thanks,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 20:10 ` Jean-Denis Girard
@ 2020-06-18 20:11 ` Jason A. Donenfeld
2020-06-19 6:58 ` Jean-Dens Girard
[not found] ` <975a5f77-5c7e-dcfe-6bbe-d4b6e2c5e379@53c70r.de>
0 siblings, 2 replies; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-18 20:11 UTC (permalink / raw)
To: Jean-Denis Girard; +Cc: WireGuard mailing list
On Thu, Jun 18, 2020 at 2:10 PM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
>
> Le 18/06/2020 à 09:48, Jason A. Donenfeld a écrit :
> > I am unable to reproduce this issue with vmxnet3. However, as I noted
> > earlier, your wireguard version seems old. Try updating everything at
> > once, and then see.
>
> yum updated to wireguard-dkms.noarch 1:1.0.20200611-1.el7
>
> By the way, yum complains :
> Error! Could not locate dkms.conf file.
> File: /var/lib/dkms/wireguard/0.0.20181218/source/dkms.conf does not exist.
>
> I cannot reboot now, I will let you know how it goes later.
Oh, in your case, you appear to be using the dkms package instead of
the elrepo package.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-18 20:11 ` Jason A. Donenfeld
@ 2020-06-19 6:58 ` Jean-Dens Girard
2020-06-19 7:38 ` Jason A. Donenfeld
[not found] ` <975a5f77-5c7e-dcfe-6bbe-d4b6e2c5e379@53c70r.de>
1 sibling, 1 reply; 14+ messages in thread
From: Jean-Dens Girard @ 2020-06-19 6:58 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
Le 18/06/2020 à 10:11, Jason A. Donenfeld a écrit :
> On Thu, Jun 18, 2020 at 2:10 PM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
>> I cannot reboot now, I will let you know how it goes later.
Reboot with newer kernel and latest wireguard still hangs.
> Oh, in your case, you appear to be using the dkms package instead of
> the elrepo package.
Is that a problem?
Thanks,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-19 6:58 ` Jean-Dens Girard
@ 2020-06-19 7:38 ` Jason A. Donenfeld
2020-06-27 1:26 ` Jean-Denis Girard
0 siblings, 1 reply; 14+ messages in thread
From: Jason A. Donenfeld @ 2020-06-19 7:38 UTC (permalink / raw)
To: Jean-Dens Girard; +Cc: WireGuard mailing list
On Fri, Jun 19, 2020 at 12:58 AM Jean-Dens Girard <jd.girard@sysnux.pf> wrote:
>
> Le 18/06/2020 à 10:11, Jason A. Donenfeld a écrit :
> > On Thu, Jun 18, 2020 at 2:10 PM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
> >> I cannot reboot now, I will let you know how it goes later.
>
> Reboot with newer kernel and latest wireguard still hangs.
>
> > Oh, in your case, you appear to be using the dkms package instead of
> > the elrepo package.
>
> Is that a problem?
Remove all wireguard packages. Update to the latest kernel. Run `find
/lib/modules -name '*wireguard*' -print -delete`. Then install
kmod-wireguard.
For further help, you're probably best off asking on IRC. From
debugging this with the original reporter there, this turned out to be
a mixing and matching of versions issue due to weird yum things.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
[not found] ` <975a5f77-5c7e-dcfe-6bbe-d4b6e2c5e379@53c70r.de>
@ 2020-06-21 12:57 ` Silvan Nagl
0 siblings, 0 replies; 14+ messages in thread
From: Silvan Nagl @ 2020-06-21 12:57 UTC (permalink / raw)
To: Jean-Dens Girard; +Cc: Jason A. Donenfeld, WireGuard mailing list
For me it was.
Elrepo work's fine for me I had the same issue before when I used the old separate dkms build from the WG repo.
21 Jun 2020 14:45:44 Jean-Dens Girard <jd.girard@sysnux.pf>:
> Le 18/06/2020 à 10:11, Jason A. Donenfeld a écrit :
>> On Thu, Jun 18, 2020 at 2:10 PM Jean-Denis Girard <jd.girard@sysnux.pf> wrote:
>>> I cannot reboot now, I will let you know how it goes later.
>
> Reboot with newer kernel and latest wireguard still hangs.
>
>> Oh, in your case, you appear to be using the dkms package instead of
>> the elrepo package.
>
> Is that a problem?
>
> Thanks,
>
> --
>
> Jean-Denis Girard
>
> SysNux Systèmes Linux en Polynésie française
>
> https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Kernel Panic after updating Kernel
2020-06-19 7:38 ` Jason A. Donenfeld
@ 2020-06-27 1:26 ` Jean-Denis Girard
0 siblings, 0 replies; 14+ messages in thread
From: Jean-Denis Girard @ 2020-06-27 1:26 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
[-- Attachment #1.1: Type: text/plain, Size: 511 bytes --]
Le 18/06/2020 à 21:38, Jason A. Donenfeld a écrit :
> Remove all wireguard packages. Update to the latest kernel. Run `find
> /lib/modules -name '*wireguard*' -print -delete`. Then install
> kmod-wireguard.
Sorry for late reply. I can confirm that removing wireguard module and
reinstalling (from elrepo) worked.
Thanks,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
https://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.797.527
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2020-06-27 1:26 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 19:30 Kernel Panic after updating Kernel dxiri
2020-06-17 8:32 ` Jason A. Donenfeld
2020-06-18 4:31 ` dxiri
2020-06-18 5:53 ` Jason A. Donenfeld
2020-06-18 16:48 ` Jean-Denis Girard
2020-06-18 19:27 ` Jason A. Donenfeld
2020-06-18 19:48 ` Jason A. Donenfeld
2020-06-18 20:10 ` Jean-Denis Girard
2020-06-18 20:11 ` Jason A. Donenfeld
2020-06-19 6:58 ` Jean-Dens Girard
2020-06-19 7:38 ` Jason A. Donenfeld
2020-06-27 1:26 ` Jean-Denis Girard
[not found] ` <975a5f77-5c7e-dcfe-6bbe-d4b6e2c5e379@53c70r.de>
2020-06-21 12:57 ` Silvan Nagl
2020-06-18 11:02 ` Phil Perry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).