Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-24 Thread Willem de Bruijn
On Sun, Dec 24, 2017 at 11:24 AM, Andreas Hartmann wrote: > On 12/20/2017 at 04:56 PM Andreas Hartmann wrote: >> On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: >>> On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: >> [...] I have been able to reproduce the hang by sending a UFO packet

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-24 Thread Andreas Hartmann
On 12/20/2017 at 04:56 PM Andreas Hartmann wrote: > On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: >> On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: > [...] >>> I have been able to reproduce the hang by sending a UFO packet >>> between two guests running v4.13 on a host running v4.15-rc1. >>>

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-21 Thread Willem de Bruijn
On Thu, Dec 21, 2017 at 12:05 PM, Andreas Hartmann wrote: > On 12/20/2017 at 11:44 PM Willem de Bruijn wrote: >> >> On Wed, Dec 20, 2017 at 10:56 AM, Andreas Hartmann >> wrote: >>> >>> On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: >>

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-21 Thread Andreas Hartmann
On 12/20/2017 at 11:44 PM Willem de Bruijn wrote: On Wed, Dec 20, 2017 at 10:56 AM, Andreas Hartmann wrote: On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: [...] I have been able to reproduce the hang by sending a UFO packet between two gue

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-20 Thread Willem de Bruijn
On Wed, Dec 20, 2017 at 10:56 AM, Andreas Hartmann wrote: > On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: >> On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: > [...] >>> I have been able to reproduce the hang by sending a UFO packet >>> between two guests running v4.13 on a host running v4.15

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-20 Thread Andreas Hartmann
On 12/18/2017 at 06:11 PM Andreas Hartmann wrote: > On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: [...] >> I have been able to reproduce the hang by sending a UFO packet >> between two guests running v4.13 on a host running v4.15-rc1. >> >> The vhost_net_ubuf_ref refcount indeed hits overflow (

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-18 Thread Andreas Hartmann
On 12/17/2017 at 11:33 PM Willem de Bruijn wrote: > On Fri, Dec 15, 2017 at 1:05 AM, Andreas Hartmann > wrote: >> On 12/14/2017 at 11:17 PM Willem de Bruijn wrote: > Well, the patch does not fix hanging VMs, which have been shutdown and > can't be killed any more. > Because of the stac

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-17 Thread Willem de Bruijn
On Fri, Dec 15, 2017 at 1:05 AM, Andreas Hartmann wrote: > On 12/14/2017 at 11:17 PM Willem de Bruijn wrote: Well, the patch does not fix hanging VMs, which have been shutdown and can't be killed any more. Because of the stack trace [] vhost_net_ubuf_put_and_wait+0x35/0x60

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-14 Thread Andreas Hartmann
On 12/14/2017 at 11:17 PM Willem de Bruijn wrote: >>> Well, the patch does not fix hanging VMs, which have been shutdown and >>> can't be killed any more. >>> Because of the stack trace >>> >>> [] vhost_net_ubuf_put_and_wait+0x35/0x60 [vhost_net] >>> [] vhost_net_ioctl+0x304/0x870 [vhost_net] >>> [

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-14 Thread Willem de Bruijn
On Thu, Dec 14, 2017 at 5:17 PM, Willem de Bruijn wrote: >>> Well, the patch does not fix hanging VMs, which have been shutdown and >>> can't be killed any more. >>> Because of the stack trace >>> >>> [] vhost_net_ubuf_put_and_wait+0x35/0x60 [vhost_net] >>> [] vhost_net_ioctl+0x304/0x870 [vhost_ne

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-14 Thread Willem de Bruijn
>> Well, the patch does not fix hanging VMs, which have been shutdown and >> can't be killed any more. >> Because of the stack trace >> >> [] vhost_net_ubuf_put_and_wait+0x35/0x60 [vhost_net] >> [] vhost_net_ioctl+0x304/0x870 [vhost_net] >> [] do_vfs_ioctl+0x8f/0x5c0 >> [] SyS_ioctl+0x74/0x80 >> []

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-14 Thread Andreas Hartmann
On 12/11/2017 at 04:54 PM Andreas Hartmann wrote: > On 12/08/2017 at 09:44 PM Andreas Hartmann wrote: >> On 12/08/2017 at 09:11 PM Andreas Hartmann wrote: >>> On 12/08/2017 at 05:04 PM Willem de Bruijn wrote: On Fri, Dec 8, 2017 at 6:40 AM, Michal Kubecek wrote: > On Fri, Dec 08, 2017 at

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-11 Thread Andreas Hartmann
On 12/08/2017 at 09:44 PM Andreas Hartmann wrote: > On 12/08/2017 at 09:11 PM Andreas Hartmann wrote: >> On 12/08/2017 at 05:04 PM Willem de Bruijn wrote: >>> On Fri, Dec 8, 2017 at 6:40 AM, Michal Kubecek wrote: On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: > On 12/08

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 09:11 PM Andreas Hartmann wrote: > On 12/08/2017 at 05:04 PM Willem de Bruijn wrote: >> On Fri, Dec 8, 2017 at 6:40 AM, Michal Kubecek wrote: >>> On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: On 12/08/2017 at 09:47 AM Michal Kubecek wrote: > On Fri, De

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 05:04 PM Willem de Bruijn wrote: > On Fri, Dec 8, 2017 at 6:40 AM, Michal Kubecek wrote: >> On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: >>> On 12/08/2017 at 09:47 AM Michal Kubecek wrote: On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote:

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Willem de Bruijn
On Fri, Dec 8, 2017 at 6:40 AM, Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: >> On 12/08/2017 at 09:47 AM Michal Kubecek wrote: >> > On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: >> >> >> >> All my VMs are using virtio_net. BTW: I co

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Jason Wang
On 2017年12月08日 21:13, Andreas Hartmann wrote: On 12/08/2017 at 01:58 PM Michal Kubecek wrote: On Fri, Dec 08, 2017 at 01:45:38PM +0100, Andreas Hartmann wrote: On 12/08/2017 at 12:40 PM Michal Kubecek wrote: On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: When will there b

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 01:58 PM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 01:45:38PM +0100, Andreas Hartmann wrote: >> On 12/08/2017 at 12:40 PM Michal Kubecek wrote: >>> On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: When will there be a fix for 4.14? It is clearly a r

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 01:45:38PM +0100, Andreas Hartmann wrote: > On 12/08/2017 at 12:40 PM Michal Kubecek wrote: > > On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: > >> > >> When will there be a fix for 4.14? It is clearly a regression. Is > >> it possible / a good idea to jus

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 12:40 PM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: >> On 12/08/2017 at 09:47 AM Michal Kubecek wrote: >>> On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: All my VMs are using virtio_net. BTW: I couldn't see

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: > On 12/08/2017 at 09:47 AM Michal Kubecek wrote: > > On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: > >> > >> All my VMs are using virtio_net. BTW: I couldn't see the problems > >> (sometimes, the VM couldn't be s

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 09:47 AM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: >> >> Thanks for this hint - I'm not using xdp. Therefore I rechecked my >> bisect and detected a mistake. The rebisect now leads to >> >> >> >> [v2,RFC,11/13] net: Remove all referen

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: > > Thanks for this hint - I'm not using xdp. Therefore I rechecked my > bisect and detected a mistake. The rebisect now leads to > > > > [v2,RFC,11/13] net: Remove all references to SKB_GSO_UDP. [1] > > > > For the repeated b

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-07 Thread Andreas Hartmann
On 12/06/2017 at 04:08 AM Jason Wang wrote: > > > On 2017年12月06日 00:23, Andreas Hartmann wrote: >> On 12/05/2017 at 04:50 AM Jason Wang wrote: >>> >>> On 2017年12月05日 00:28, Andreas Hartmann wrote: On 12/03/2017 at 12:35 PM Andreas Hartmann wrote: > On 12/01/2017 at 11:11 AM Andreas Hartm

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-05 Thread Jason Wang
On 2017年12月06日 00:23, Andreas Hartmann wrote: On 12/05/2017 at 04:50 AM Jason Wang wrote: On 2017年12月05日 00:28, Andreas Hartmann wrote: On 12/03/2017 at 12:35 PM Andreas Hartmann wrote: On 12/01/2017 at 11:11 AM Andreas Hartmann wrote: Hello! I hopefully could get rid of both of my proble

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-05 Thread Andreas Hartmann
On 12/05/2017 at 04:50 AM Jason Wang wrote: > > > On 2017年12月05日 00:28, Andreas Hartmann wrote: >> On 12/03/2017 at 12:35 PM Andreas Hartmann wrote: >>> On 12/01/2017 at 11:11 AM Andreas Hartmann wrote: Hello! I hopefully could get rid of both of my problems (hanging network w/ >>>

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-04 Thread Jason Wang
On 2017年12月05日 00:28, Andreas Hartmann wrote: On 12/03/2017 at 12:35 PM Andreas Hartmann wrote: On 12/01/2017 at 11:11 AM Andreas Hartmann wrote: Hello! I hopefully could get rid of both of my problems (hanging network w/ virtio) and endless hanging qemu-process on VM shutdown by upgrading q

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-04 Thread Andreas Hartmann
On 12/03/2017 at 12:35 PM Andreas Hartmann wrote: > On 12/01/2017 at 11:11 AM Andreas Hartmann wrote: >> Hello! >> >> I hopefully could get rid of both of my problems (hanging network w/ >> virtio) and endless hanging qemu-process on VM shutdown by upgrading >> qemu from 2.6.2 to 2.10.1. I hope it

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-03 Thread Andreas Hartmann
On 12/01/2017 at 11:11 AM Andreas Hartmann wrote: > Hello! > > I hopefully could get rid of both of my problems (hanging network w/ > virtio) and endless hanging qemu-process on VM shutdown by upgrading > qemu from 2.6.2 to 2.10.1. I hope it will persist. It didn't persist. 10h later - same probl

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-01 Thread Andreas Hartmann
Hello! I hopefully could get rid of both of my problems (hanging network w/ virtio) and endless hanging qemu-process on VM shutdown by upgrading qemu from 2.6.2 to 2.10.1. I hope it will persist. BTW: Base system is Leap 42.2. Sorry for the noise, thanks, kind regards, Andreas

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-11-27 Thread Andreas Hartmann
On 11/27/2017 at 05:55 PM Michal Kubecek wrote: > On Mon, Nov 27, 2017 at 05:46:14PM +0100, Andreas Hartmann wrote: >> >> Using virtio not just breaks the network completely as described above, >> it even leaves a never stoppable or restartable qemu process (even kill >> -9 doesn't work). It's abso

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-11-27 Thread Michal Kubecek
On Mon, Nov 27, 2017 at 05:46:14PM +0100, Andreas Hartmann wrote: > > Using virtio not just breaks the network completely as described above, > it even leaves a never stoppable or restartable qemu process (even kill > -9 doesn't work). It's absolutely necessary to *force* a reboot to exit > or res

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-11-27 Thread Andreas Hartmann
On 11/26/2017 at 03:17 PM Andreas Hartmann wrote: > Hello! > > Since Linux 4.14 (running as host), the virtual network based on bridge > and tun/tap-devices is partly broken. Linux 4.13.x or earlier works > perfectly. > > > Given is the following architecture on host: > > VM1 -> tun/tap -> br1

Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-11-26 Thread Andreas Hartmann
Hello! Since Linux 4.14 (running as host), the virtual network based on bridge and tun/tap-devices is partly broken. Linux 4.13.x or earlier works perfectly. Given is the following architecture on host: VM1 -> tun/tap -> br1 VM2 -> tun/tap -> br0 / br1 VM3 -> tun/tap -> br0 Example network con