Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 13:00:57 +0530
From:      Reshad Patuck <reshadpatuck1@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: VNET kernel panic on remove renamed interfaces
Message-ID:  <29BBA4DB-3A13-42DD-8A79-89E4DB85BF9C@gmail.com>
In-Reply-To: <C20DF21D-A392-4AB7-852F-4D3E599956A3@gmail.com>
References:  <C20DF21D-A392-4AB7-852F-4D3E599956A3@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looks like my scripts did not come through=2E

Here is a link to them

https://paste=2Eee/p/lB3iE

Best,

Reshad

On 14 March 2017 23:55:23 GMT+05:30, Reshad Patuck <reshadpatuck1@gmail=2E=
com> wrote:
>Hi,
>
>I am trying to use vnet and pf to host multiple (100s of) jails on a
>server with a jailed pf router, which will be spun up and down by a
>script=2E
>
>I rename the epair interfaces so that I know which jail links to which
>interface (for convenience)=2E
>
>After I delete the jail and renamed epair the kernel panics when I
>attempt to recreate the epair=2E
>
>I believe this is an issue occurs only when I have renamed the epair=2E
>
>This issue seems to be fixed in 12-CURRENT as I can not make it crash
>on current=2E However this continues to happen on 11-STABLE and
>11=2E0-RELEASE=2E
>
>I have found these which seem to fix something similar issues:
>https://svnweb=2Efreebsd=2Eorg/base?view=3Drevision&sortby=3Drev&revision=
=3D292604
>https://svnweb=2Efreebsd=2Eorg/base/projects/vnet/_scripts/jail-vnet-epai=
r-regression01=2Esh?view=3Dmarkup
>
>I have attached scripts that crash the system for the latest versions
>on 11=2E0-RELEASE and 11-STABLE branches=2E
>
>Can someone help me find where this problem was fixed? (for 12) and if
>there are any plans to backport the fix to the 11 branch=2E
>
>Also any tips on running 100s of VNET jails on a single box would be
>much appreciated, and if there is anything I can help test I have some
>physical and VMware boxes I can test on=2E
>
>Kernel version I have tested on:
>FreeBSD FreeBSD-11-RELEASE 11=2E0-RELEASE-p8 FreeBSD 11=2E0-RELEASE-p8 #1
>r315007: Fri Mar 10 17:27:30 UTC 2017
>root@FreeBSD-11-RELEASE:/usr/obj/usr/src/sys/VNET amd64
>FreeBSD FreeBSD-11-STABLE 11=2E0-STABLE FreeBSD 11=2E0-STABLE #1 r315241:
>Tue Mar 14 12:58:54 UTC 2017
>root@FreeBSD-11-STABLE:/usr/obj/usr/src/sys/VNET amd64
>FreeBSD FreeBSD-12 12=2E0-CURRENT FreeBSD 12=2E0-CURRENT #1 r315237: Tue
>Mar 14 10:17:06 UTC 2017 root@FreeBSD-12:/usr/obj/usr/src/sys/VNET
>amd64=20
>
>Attached:
>vnet-rename-epair=2Esh - Create and destroy a VNET jail in a loop while
>renaming the epair interface=2E This crashes on 11=2E=20
>vnet-no-rename-epair=2Esh - Create and destroy a VNET jail while not
>renaming the epair interface=2E This does not crash=2E
>info=2E0 - info file from core dump on FreeBSD-11-STABLE
>core=2Etxt=2E0 - core=2Etxt=2E0 file from core dump on FreeBSD-11-STABLE
>
>Best regards,
>
>Reshad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29BBA4DB-3A13-42DD-8A79-89E4DB85BF9C>