Re: Kernel panic on armv7 when PF is enabled
- In reply to: qroxana : "Kernel panic on armv7 when PF is enabled"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 May 2022 08:49:31 UTC
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,