Date: Mon, 02 May 2022 08:49:31 +0000 From: qroxana <qroxana@protonmail.com> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Kernel panic on armv7 when PF is enabled Message-ID: <V2jCEnNsUoawU8NZ0Y2wrgJnm8rRDiVrHYiGP01JXDU9lGzy0ySQYW6xqA_4PN1XEuSFiMcD8kRH4QYin2oRyfMvnpAzr4sEFboXSoz4FYI=@protonmail.com> In-Reply-To: <t46qj3HiJIHpjcIlYQ8t7s7UFcPl3dHxJCc6ovjAF8teNjGunlJnGsbkpM2hLWrPQpRRCzCGnPGg1RuK7hbRMxr9BlHD03xvcsvqxNuM2DU=@protonmail.com> References: <t46qj3HiJIHpjcIlYQ8t7s7UFcPl3dHxJCc6ovjAF8teNjGunlJnGsbkpM2hLWrPQpRRCzCGnPGg1RuK7hbRMxr9BlHD03xvcsvqxNuM2DU=@protonmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Sun, 01 May 2022 03:13:43 +0000, qroxana <qroxana@protonmail.com> wrote: > After git bisecting the panic started since this commit. > > commit 78bc3d5e1712bc1649aa5574d2b8d153f9665113 > Author: Kristof Provost <kp@FreeBSD.org> > Date: Mon Feb 14 20:09:54 2022 +0100 > > vlan: allow net.link.vlan.mtag_pcp to be set per vnet > > The primary reason for this change is to facilitate testing. > > MFC after: 1 week > > sys/net/if_ethersubr.c | 9 +++++---- > sys/net/if_vlan.c | 5 +++-- > 2 files changed, 8 insertions(+), 6 deletions(-) > > The armv7 board boots from a NFS root, > > it can boot without any problem if PF is disabled. It appears this only occurs when the rootfs is NFS, I also tried to boot it from a micro SD card, no kernel panic. Another workaround to avoid the panic is to delay starting /etc/rc.d/pf to SERVERS --- pf.orig 2022-03-12 12:26:47.000000000 +0000 +++ pf 2022-05-02 02:59:28.131026862 +0000 @@ -4,7 +4,7 @@ # # PROVIDE: pf -# REQUIRE: FILESYSTEMS netif pflog pfsync routing +# REQUIRE: SERVERS netif pflog pfsync routing # KEYWORD: nojailvnet . /etc/rc.subr Thanks, [-- Attachment #2 --] <pre>On Sun, 01 May 2022 03:13:43 +0000, qroxana <qroxana@protonmail.com> wrote: > After git bisecting the panic started since this commit. > > commit 78bc3d5e1712bc1649aa5574d2b8d153f9665113 > Author: Kristof Provost <kp@FreeBSD.org> > Date: Mon Feb 14 20:09:54 2022 +0100 > > vlan: allow net.link.vlan.mtag_pcp to be set per vnet > > The primary reason for this change is to facilitate testing. > > MFC after: 1 week > > sys/net/if_ethersubr.c | 9 +++++---- > sys/net/if_vlan.c | 5 +++-- > 2 files changed, 8 insertions(+), 6 deletions(-) > > The armv7 board boots from a NFS root, > > it can boot without any problem if PF is disabled. It appears this only occurs when the rootfs is NFS, I also tried to boot it from a micro SD card, no kernel panic. Another workaround to avoid the panic is to delay starting /etc/rc.d/pf to SERVERS --- pf.orig 2022-03-12 12:26:47.000000000 +0000 +++ pf 2022-05-02 02:59:28.131026862 +0000 @@ -4,7 +4,7 @@ # # PROVIDE: pf -# REQUIRE: FILESYSTEMS netif pflog pfsync routing +# REQUIRE: SERVERS netif pflog pfsync routing # KEYWORD: nojailvnet . /etc/rc.subr Thanks, </pre><br>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?V2jCEnNsUoawU8NZ0Y2wrgJnm8rRDiVrHYiGP01JXDU9lGzy0ySQYW6xqA_4PN1XEuSFiMcD8kRH4QYin2oRyfMvnpAzr4sEFboXSoz4FYI=>
