From owner-freebsd-stable@freebsd.org Tue Dec 3 10:57:49 2019 Return-Path: Delivered-To: freebsd-stable@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 735C11A9BBD for ; Tue, 3 Dec 2019 10:57:49 +0000 (UTC) (envelope-from peter.blok@bsd4all.org) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47RzTm1JhMz4Ffq for ; Tue, 3 Dec 2019 10:57:47 +0000 (UTC) (envelope-from peter.blok@bsd4all.org) Received: from [212.54.42.135] (helo=smtp11.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ic5sI-0002Pb-D4 for freebsd-stable@freebsd.org; Tue, 03 Dec 2019 11:57:46 +0100 Received: from 94-209-85-88.cable.dynamic.v4.ziggo.nl ([94.209.85.88] helo=wan0.bsd4all.org) by smtp11.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1ic5sI-0001ef-8m for freebsd-stable@freebsd.org; Tue, 03 Dec 2019 11:57:46 +0100 Received: from newnas.bsd4all.local (localhost [127.0.0.1]) by wan0.bsd4all.org (Postfix) with ESMTP id 1275E386 for ; Tue, 3 Dec 2019 11:57:46 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from wan0.bsd4all.org ([127.0.0.1]) by newnas.bsd4all.local (newnas.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NijHZMLD1nEf for ; Tue, 3 Dec 2019 11:57:43 +0100 (CET) Received: from [192.168.1.65] (unknown [192.168.1.65]) by wan0.bsd4all.org (Postfix) with ESMTPSA id 9D17B19C for ; Tue, 3 Dec 2019 11:57:43 +0100 (CET) From: peter.blok@bsd4all.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: panic when stopping jails Date: Tue, 3 Dec 2019 11:57:41 +0100 References: <74BFA719-C09A-47C7-89F9-B7F9DF6B1EF7@bsd4all.org> To: FreeBSD Stable In-Reply-To: <74BFA719-C09A-47C7-89F9-B7F9DF6B1EF7@bsd4all.org> Message-Id: <1D8CFDE4-D146-4275-8253-D48BE441B58A@bsd4all.org> X-Mailer: Apple Mail (2.3445.104.11) X-SourceIP: 94.209.85.88 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=Gok8BX9C c=1 sm=1 tr=0 a=LYXyOGYQqFYBMgK+Y6iqTg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=pxVhFHJ0LMsA:10 a=6Q3WNqvRAAAA:8 a=6I5d2MoRAAAA:8 a=-Og-5rvwwDLcdhRCQvwA:9 a=QEXdDO2ut3YA:10 a=I8PBwKCn76L9oNdl0isp:22 a=IjZwj45LgO3ly-622nXo:22 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Rspamd-Queue-Id: 47RzTm1JhMz4Ffq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of peter.blok@bsd4all.org designates 212.54.42.164 as permitted sender) smtp.mailfrom=peter.blok@bsd4all.org X-Spamd-Result: default: False [-4.53 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; RECEIVED_SPAMHAUS_PBL(0.00)[88.85.209.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_SPF_ALLOW(-0.20)[+a:smtp.ziggo.nl/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsd4all.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.63)[ip: (-6.71), ipnet: 212.54.32.0/20(-3.99), asn: 33915(-2.48), country: NL(0.02)]; TO_DN_ALL(0.00)[]; FROM_NO_DN(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[164.42.54.212.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:33915, ipnet:212.54.32.0/20, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 10:57:49 -0000 Forgot to mention that it is a very recent 12-STABLE and I don=E2=80=99t = suspect any recent commits. It is just that jails are now stopped more = often. > On 3 Dec 2019, at 11:47, peter.blok@bsd4all.org wrote: >=20 > Hi, >=20 > I=E2=80=99m getting the following panic when stopping jais. When = ifunit_ref iterates over the VNET ifnet=E2=80=99s it gets a bad ifp. = I=E2=80=99m using netgrapg bridge=E2=80=99s. >=20 > Any pointers how to debug are welcome. Crash dump is available. >=20 > Peter >=20 >=20 > Fatal trap 9: general protection fault while in kernel mode > cpuid =3D 3; apic id =3D 03 > instruction pointer =3D 0x20:0xffffffff807377c5 > stack pointer =3D 0x28:0xfffffe00d1e90870 > frame pointer =3D 0x28:0xfffffe00d1e90870 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 8537 (ifconfig) > trap number =3D 9 > panic: general protection fault > cpuid =3D 3 > time =3D 1575297301 > KDB: stack backtrace: > #0 0xffffffff8069a8d7 at kdb_backtrace+0x67 > #1 0xffffffff8064ec6d at vpanic+0x19d > #2 0xffffffff8064eac3 at panic+0x43 > #3 0xffffffff809e450c at trap_fatal+0x39c > #4 0xffffffff809e395a at trap+0x6a > #5 0xffffffff809be97c at calltrap+0x8 > #6 0xffffffff80750ff1 at ifunit_ref+0x51 > #7 0xffffffff8075328c at ifioctl+0x47c > #8 0xffffffff806b8b2e at kern_ioctl+0x2be > #9 0xffffffff806b87fd at sys_ioctl+0x15d > #10 0xffffffff809e50a2 at amd64_syscall+0x362 > #11 0xffffffff809bf2b0 at fast_syscall_common+0x101 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"