Re: Kernel panic on armv7 when PF is enabled

qroxana <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current
Message-ID <V2jCEnNsUoawU8NZ0Y2wrgJnm8rRDiVrHYiGP01JXDU9lGzy0ySQYW6xqA_4PN1XEuSFiMcD8kRH4QYin2oRyfMvnpAzr4sEFboXSoz4FYI=@protonmail.com>
On Sun, 01 May 2022 03:13:43 +0000, qroxana <[email protected]> wrote:

> After git bisecting the panic started since this commit.
>
> commit 78bc3d5e1712bc1649aa5574d2b8d153f9665113
> Author: Kristof Provost <[email protected]>
> 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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.