Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 10:42:41 +0530
From:      Reshad Patuck <reshadpatuck1@gmail.com>
To:        Ayaka Koshibe <akoshibe@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: VNET kernel panic on remove renamed interfaces
Message-ID:  <7C98607E-8918-4C42-9956-648B11BD9701@gmail.com>
In-Reply-To: <CAA-4d9SK3hkdpnBH_o8u3qHFKoZuKpu2dOA0UU5%2BXxNi5wODEA@mail.gmail.com>
References:  <C20DF21D-A392-4AB7-852F-4D3E599956A3@gmail.com> <CAA-4d9SK3hkdpnBH_o8u3qHFKoZuKpu2dOA0UU5%2BXxNi5wODEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I applied the patch @Ayaka mentioned (r315192) against 11-STABLE and ran=
=20
the same test against a complied kernel, and it works now=2E

Also I found another issue with 11-STABLE that seems to be patched in 12=
=2E
I wrote a script to bring up 300 vnet jails on 3 bridges, with a pf router=
=20
jail in between and shut them down=2E
When I run this script in a loop for some time the system crashes, without=
=20
leaving a crash dump=2E

Please let me know if there is anything in the PF-VNET-Jails stack I can=
=20
help test=2E

Are there any plans to backport these patches to 11-STABLE=2E I would like=
 if=20
it is possible to have these in 11=2E1-RELEASE=2E

Best regards,

Reshad


On 15 March 2017 01:08:14 GMT+05:30, Ayaka Koshibe <akoshibe@gmail=2Ecom> =
wrote:
>Hi,
>
>This looks identical to the panic that I was seeing=2E It was just
>patched in -CURRENT yesterday (r315192) - maybe it's this?
>
>https://svnweb=2Efreebsd=2Eorg/base?view=3Drevision&revision=3D315192
>
>
>Ayaka
>
>On Tue, Mar 14, 2017 at 11:25 AM, Reshad Patuck
><reshadpatuck1@gmail=2Ecom> 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 r31524=
1:
>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: Tu=
e
>Mar 14 10:17:06 UTC 2017 root@FreeBSD-12:/usr/obj/usr/src/sys/VNET
>amd64
>>
>> 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
>> 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-STABL=
E
>>
>> Best regards,
>>
>> Reshad
>> _______________________________________________
>> freebsd-net@freebsd=2Eorg mailing list
>> https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to
>"freebsd-net-unsubscribe@freebsd=2Eorg"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C98607E-8918-4C42-9956-648B11BD9701>