Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:21 -0000
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Enji Cooper" <yaneurabeya@gmail.com>
Cc:        "Hans Petter Selasky" <hps@selasky.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>, "FreeBSD CURRENT" <freebsd-current@freebsd.org>
Subject:   Re: Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]
Message-ID:  <1342BBD2-EE0F-4457-8752-659EA7F01725@FreeBSD.org>
In-Reply-To: <8EAC0CFE-E22F-478F-813F-A07E68C0518D@gmail.com>
References:  <201904220727.x3M7ROpR009729@repo.freebsd.org> <2F3D6B17-AF4F-4B0F-B20E-5EF41DE851F9@gmail.com> <87917500-0381-79d8-a34b-819848abed32@selasky.org> <f2567fc6-fd5b-67c9-a994-5a48d65d1278@selasky.org> <8EAC0CFE-E22F-478F-813F-A07E68C0518D@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 Apr 2019, at 12:25, Enji Cooper wrote:
> Either the sys/netinet/ or sys/netipsec/ tests triggered the panic. 
> Not sure which right now.
>
That looks to be happening during a vnet jail teardown, so it’s likely 
the sys/netipsec or sys/netpfil/pf tests.

I’ve done a quick test with the pf tests, and they provoke this panic:

	panic: mtx_lock() of destroyed mutex @ 
/usr/src/sys/netinet/ip_reass.c:628
	cpuid = 0
	time = 1555939645
	KDB: stack backtrace:
	db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffffe0091d68530
	vpanic() at vpanic+0x19d/frame 0xfffffe0091d68580
	panic() at panic+0x43/frame 0xfffffe0091d685e0
	__mtx_lock_flags() at __mtx_lock_flags+0x12e/frame 0xfffffe0091d68630
	ipreass_cleanup() at ipreass_cleanup+0x86/frame 0xfffffe0091d68670
	if_detach_internal() at if_detach_internal+0x786/frame 
0xfffffe0091d686f0
	if_detach() at if_detach+0x3d/frame 0xfffffe0091d68710
	lo_clone_destroy() at lo_clone_destroy+0x16/frame 0xfffffe0091d68730
	if_clone_destroyif() at if_clone_destroyif+0x21f/frame 
0xfffffe0091d68780
	if_clone_detach() at if_clone_detach+0xb8/frame 0xfffffe0091d687b0
	vnet_loif_uninit() at vnet_loif_uninit+0x26/frame 0xfffffe0091d687d0
	vnet_destroy() at vnet_destroy+0x124/frame 0xfffffe0091d68800
	prison_deref() at prison_deref+0x29d/frame 0xfffffe0091d68840
	sys_jail_remove() at sys_jail_remove+0x28f/frame 0xfffffe0091d68890
	amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe0091d689b0
	fast_syscall_common() at fast_syscall_common+0x101/frame 
0xfffffe0091d689b0
	--- syscall (508, FreeBSD ELF64, sys_jail_remove), rip = 0x80031e12a, 
rsp = 0x7fffffffe848, rbp = 0x7fffffffe8d0 ---
	KDB: enter: panic
	[ thread pid 1223 tid 100501 ]
	Stopped at      kdb_enter+0x3b: movq    $0,kdb_why
	db>

To reproduce:

     kldload pfsync
     cd /usr/tests/sys/netpfil/pf
     sudo kyua test

Regards,
Kristof
From owner-freebsd-current@freebsd.org  Tue Sep  3 18:29:31 2019
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 53A5BE7E0B
 for <freebsd-current@mailman.nyi.freebsd.org>;
 Tue,  3 Sep 2019 18:29:31 +0000 (UTC)
 (envelope-from jkim@FreeBSD.org)
Received: from smtp.freebsd.org (smtp.freebsd.org
 [IPv6:2610:1c1:1:606c::24b:4])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "smtp.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 46NFpz1ZfXz41nV;
 Tue,  3 Sep 2019 18:29:31 +0000 (UTC)
 (envelope-from jkim@FreeBSD.org)
Received: from freefall.freebsd.org
 (static-71-168-218-4.cmdnnj.fios.verizon.net [71.168.218.4])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client did not present a certificate)
 (Authenticated sender: jkim/mail)
 by smtp.freebsd.org (Postfix) with ESMTPSA id 0F75DBB4C;
 Tue,  3 Sep 2019 18:29:31 +0000 (UTC)
 (envelope-from jkim@FreeBSD.org)
Subject: Re: Is the LSI/AVAGO/Broadcom 9280-16i4e supported?
To: Chris <bsd.lists@h8spam.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
References: <fe00f87fe6138963f59e692ef561188d@h8spam.org>
From: Jung-uk Kim <jkim@FreeBSD.org>
Autocrypt: addr=jkim@FreeBSD.org; prefer-encrypt=mutual; keydata=
 mQENBFJBztUBCAChqNyGqmFuNo0U7MBzsD+q/G6Cv0l7LGVrOAsgh34M8wIWhD+tztDWMVfn
 AhxNDd0ceCj2bYOe67sTQxAScEcbt2FfvPOLp9MEXb9qohZj172Gwkk7dnhOhZZKhVGVZKM4
 NcsuBDUzgf4f3Vdzj4wg6WlqplnTZo8lPE4hZWvZHoFIyunPTJWenybeV1xnxK7JkUdSvQR0
 fA59RfTTECMwTrSEfYGUnxIDBraxJ7Ecs/0hGQ7sljIj8WBvlRDU5fU1xfF35aw56T8POQRq
 F4E6RVJW3YGuTpSwgtGZOTfygcLRhAiq3dFC3JNLaTVTpM8PjOinJyt9AU6RoITGOKwDABEB
 AAG0Hkp1bmctdWsgS2ltIDxqa2ltQEZyZWVCU0Qub3JnPokBPQQTAQoAJwUCUkHO1QIbAwUJ
 E0/POwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRB8n5Ym/NvxRqyzB/wL7QtsIpeGfGIA
 ZPMtgXMucM3NWzomyQMln2j2efUkDKthzh9jBxgF53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nEOi
 WwYofg==
Message-ID: <57fc069e-c2d1-8157-85ae-bd968d93ef60@FreeBSD.org>
Date: Tue, 3 Sep 2019 14:29:23 -0400
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.0
MIME-Version: 1.0
In-Reply-To: <fe00f87fe6138963f59e692ef561188d@h8spam.org>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="hUvfnvqwRap7Log7OTrLww4NLShkoC8HI"
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Sep 2019 18:29:31 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hUvfnvqwRap7Log7OTrLww4NLShkoC8HI
Content-Type: multipart/mixed; boundary="H6LCHcHnnM4012WglDPPL1hRnHLayj4Qs"

--H6LCHcHnnM4012WglDPPL1hRnHLayj4Qs
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 19. 9. 1., Chris wrote:
> Hello all,
> I recently picked up an LSI/AVAGO/Broadcom 9280-16i4e card with
> the intent of flashing it to IT mode (pass through). So as to
> use it in one of my (FreeBSD) servers.
> However; looking through the Hardware (support) section of the
> release notes for 12; the closest I found was the 9260.
> Does anyone have any experience with the 9280-16i4e on FreeBSD?
> Does it work? Well? If not, anytime soon?

I have one of these.

% uname -rs
FreeBSD 13.0-CURRENT
% mfiutil show adapter
mfi0 Adapter:
    Product Name: LSI MegaRAID SAS 9280-16i4e
   Serial Number: XXXXXXXXXX
        Firmware: 12.15.0-0239
     RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50
  Battery Backup: present
           NVRAM: 32K
  Onboard Memory: 512M
  Minimum Stripe: 8K
  Maximum Stripe: 1M
% mfiutil show volumes
mfi0 Volumes:
  Id     Size    Level   Stripe  State   Cache   Name
 mfid0 (   36T) RAID-6      64K OPTIMAL Disabled

FYI, it's been working fine for 7 years.

Jung-uk Kim


--H6LCHcHnnM4012WglDPPL1hRnHLayj4Qs--

--hUvfnvqwRap7Log7OTrLww4NLShkoC8HI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAl1usQoACgkQfJ+WJvzb
8UZ/6wf+KXC3hJDwsmhs+HvGVFdm4qLKOkf2aOGQZRtFLLH5xntv6XCBzqN11sQe
ad3oG1WPT7x+CiBbkh7PU2tqcKwaYByUr9ZNkC1pDXP4NsrLa4g1UZI4OcBzouDg
6ptxgZ6B+cqJhq9uFc2x/5EPaI2sP2c34bI2gNQyZgznaS54ql5hNEVQZWeWF0AE
pbjdh1ss9Ho+Z4OXF8gzpE48J5mK/yr56OEK5f4G5PBNoV+37riiSYLh+vsNgrS/
pLHkzr/TDQaPf9zLxvhBtvSrA0A7nXEZ1u+q/fFlselYZyyOMw8iTHC+qOPvAJIx
2dnC3MLL1adk1QAHUxGTTr8jEt6n8A==
=blDz
-----END PGP SIGNATURE-----

--hUvfnvqwRap7Log7OTrLww4NLShkoC8HI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1342BBD2-EE0F-4457-8752-659EA7F01725>