Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 13:52:25 +0200
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Kristof Provost <kp@freebsd.org>
Cc:        Shawn Webb <shawn.webb@hardenedbsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: iflib/bridge kernel panic
Message-ID:  <20200930135225.Horde.nVCxwqfnkoJfolbDU0hqqXf@webmail.leidinger.net>
In-Reply-To: <6A5EFCFA-C0DC-4DEF-834B-2F9E4FCC8812@FreeBSD.org>
References:  <CAExMvskTkVprZsfXHBUv9stpiCo1QBAzoOg1VrWd4kRbz0NyJg@mail.gmail.com> <58CADEBB-64FD-414E-AB19-E4F8D3CABCA5@FreeBSD.org> <20200921121627.3dovpumnl6xub3kn@mutt-hbsd> <7FE1F106-2CEE-4692-95D0-14C5229ED768@FreeBSD.org> <20200928124531.Horde.0EjsBzIG5ktLzby_tFcoPPS@webmail.leidinger.net> <33903BFF-4158-4CD9-AD79-360BCD81F1C9@FreeBSD.org> <20200928164410.Horde.mYBkuEeD_Q6xgnKnwNomv7P@webmail.leidinger.net> <6A5EFCFA-C0DC-4DEF-834B-2F9E4FCC8812@FreeBSD.org>

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

[-- Attachment #1 --]

Quoting Kristof Provost <kp@freebsd.org> (from Tue, 29 Sep 2020  
23:20:44 +0200):

> On 28 Sep 2020, at 16:44, Alexander Leidinger wrote:
>
>> Quoting Kristof Provost <kp@freebsd.org> (from Mon, 28 Sep 2020  
>> 13:53:16 +0200):
>>
>>> On 28 Sep 2020, at 12:45, Alexander Leidinger wrote:
>>>> Quoting Kristof Provost <kp@freebsd.org> (from Sun, 27 Sep 2020  
>>>> 17:51:32 +0200):
>>>>> Here’s an early version of a task queue based approach:  
>>>>> http://people.freebsd.org/~kp/0001-bridge-Cope-with-if_ioctl-s-that-sleep.patch
>>>>>
>>>>> That still needs to be cleaned up, but this should resolve the  
>>>>> sleep issue and the LOR.
>>>>
>>>> There are some issues... seems like inside a jail I can't ping  
>>>> systems outside of the hardware.
>>>>
>>>> Bridge setup:
>>>>   - member jail A
>>>>   - member jail B
>>>>   - member external_if of host
>>>>
>>>> If I ping the router from the host, it works. If I ping from one  
>>>> jail to another, it works. If I ping from the jail to the IP of  
>>>> the external_if, it works. If I ping from a jail to the router, I  
>>>> do not get a response.
>>>>
>>> Can you check for 'failed ifpromisc' error messages in dmesg? And  
>>> verify that all bridge member interfaces are in promiscuous mode?
>>
>> I have a panic for you...:
>> - startup still in progress = 22 jails in startup, somewhere after  
>> a few jails started the panic happened
>> - tcpdump was running on the external interface
>> - a ping to a jail IP from another system was running, the first  
>> ping went through, then it paniced
>>
>> First regarding your questions about promisc mode: no error, but  
>> the promisc mode is directly disabled again on all interfaces.
>>
> I think I see why you had issues with the promiscuous setting. I’ve  
> updated the patch to be even more horrific than it was before.

Hmmm.... same behavior as before.
I haven't kept the old version of the patch, so I can't compare if I  
somehow downloaded the old version again, or if I got the updated one...

# md5 0001-bridge-Cope-with-if_ioctl-s-that-sleep.patch
MD5 (0001-bridge-Cope-with-if_ioctl-s-that-sleep.patch) =  
9f107739e29fad5c9bb5e75e2dae7bcc

> I can’t explain the panic, and the backtrace also doesn’t appear to  
> be directly related to this patch. Not sure what’s going on with that.

Then let's hope for now it is some kind of defect which is not showing  
up when it works as it should... we can have a look at it again in  
case it reproduces with the final patch.

Bye,
Alexander.


-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJfdHF5AAoJEBINsJsD+NiGBQsP/2K1tZOhSU+WVhVE+HHINFjx
4LCV6Ee8leUtPG4oMpWcSB22rO8sgGqidG8VAl0zpM2NPBDUTV6+DFtJC7lLgy5h
WIl3W9vLE9andH5qDXKf1qFiFLW4FvyfPI0Z9HGhXboIOqd1ANAMC9ompwQvGZSi
LIAlDp9fss7vWTk7nmXCQ9HnblROue4UYsKQP+Q4YmZfTfL1ByULuGuATC4GbEfb
hPamlMuioKbOWxpvzMdZ321AU5IuPoDEpu3AneAZ+UmbwTtlDnGWG1gbM4F3VKgx
uy4WjHE672lcPdzWRFNYUmR5lmIVOLZ9KCf2Wfk1D9ojJwU4+2CCZJfZGGEyubdo
tGkxy4bUx2/mCbwR2SizAnevYpSFwkLXWGMLQMa6oFPstHEb+Bir1rO8bDgaqu7n
GuujmbMUnl468snxWc/BZiuNwB3jGcmqr37StIi/5igl4RuFTzkEQYojCm+F+txs
inI2Ir3A1wjeOCwR2ISN4hnhuOwIVvFrjeEwnTP1R0mnPH49rlijQjVzynojfXjZ
GIDrRmCLRsivKzpHCyqK9gABcqlkD8tPlyvroeBpX5/J4Yt85kvDDxFiY+llvFY8
sj2uQHsxNMZh/JCoJ2LwCMpxwoIFp1yEOrX7RIX3SjCC3NcWwGJLlWfhodKe8vLV
mu1Uu4AGjP1CMALDH0JD
=zDy6
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200930135225.Horde.nVCxwqfnkoJfolbDU0hqqXf>