Re: Easily reproducible stable/13 kernel crash

From: Mark Millard via freebsd-arm <freebsd-arm_at_freebsd.org>
Date: Fri, 11 Jun 2021 09:02:12 UTC

On 2021-Jun-11, at 01:40, Herbert J. Skuhra <herbert at gojira.at> wrote:

> On Fri, Jun 11, 2021 at 01:25:31AM -0700, Mark Millard via freebsd-arm wrote:
>> 
>> I tried the stable/13-n245765-bec0d2c9c841 based bectl environment
>> that I happen to have in place on a RPi4B:
>> 
>> # sysctl net.inet.tcp.lro
>> net.inet.tcp.lro.sackwakeups: 0
>> net.inet.tcp.lro.lockcnt: 0
>> net.inet.tcp.lro.single: 0
>> net.inet.tcp.lro.compressed: 0
>> net.inet.tcp.lro.wokeup: 0
>> net.inet.tcp.lro.fullqueue: 0
>> net.inet.tcp.lro.entries: 8
>> net.inet.tcp.lro.hold_lock: 0
> 
> # sysctl net.inet.tcp.lro.sackwakeups
> sysctl: unknown oid 'net.inet.tcp.lro.sackwakeups'
> # sysctl net.inet.tcp.lro.single
> sysctl: unknown oid 'net.inet.tcp.lro.single
> # sysctl net.inet.tcp.lro.hold_lock
> sysctl: unknown oid 'net.inet.tcp.lro.hold_lock'

Looks like main [so: 14] does not have those.

> Still trying to get a crash dump and a backtrace.

Just for reference, booting 3 distinct bectl environments
that are on the same media:

# uname -apKU
FreeBSD CA72_4c8G_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #4 main-n247017-e5f5b6a75c0a-dirty: Sat May 29 01:08:39 PDT 2021     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1400017 1400017

# sysctl net.inet.tcp.lro
net.inet.tcp.lro.without_m_ackcmp: 0
net.inet.tcp.lro.with_m_ackcmp: 0
net.inet.tcp.lro.would_have_but: 0
net.inet.tcp.lro.extra_mbuf: 0
net.inet.tcp.lro.lockcnt: 0
net.inet.tcp.lro.compressed: 0
net.inet.tcp.lro.wokeup: 0
net.inet.tcp.lro.fullqueue: 0
net.inet.tcp.lro.entries: 8

# uname -apKU
FreeBSD CA72_4c8G_ZFS 13.0-RELEASE-p1 FreeBSD 13.0-RELEASE-p1 #1 releng/13.0-n244744-8023e729a521-dirty: Wed May 26 15:20:08 PDT 2021     root@CA72_4c8G_ZFS:/usr/obj/BUILDs/13_0R-CA72-nodbg-clang/usr/13_0R-src/arm64.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1300139 1300139

# sysctl net.inet.tcp.lro
net.inet.tcp.lro.sackwakeups: 0
net.inet.tcp.lro.lockcnt: 0
net.inet.tcp.lro.single: 0
net.inet.tcp.lro.compressed: 0
net.inet.tcp.lro.wokeup: 0
net.inet.tcp.lro.fullqueue: 0
net.inet.tcp.lro.entries: 8
net.inet.tcp.lro.hold_lock: 0

# uname -apKU
FreeBSD CA72_4c8G_ZFS 13.0-STABLE FreeBSD 13.0-STABLE #2 stable/13-n245765-bec0d2c9c841-dirty: Thu May 27 14:16:42 PDT 2021     root@CA72_4c8G_ZFS:/usr/obj/BUILDs/13S-CA72-nodbg-clang/usr/13S-src/arm64.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1300505 1300505

# sysctl net.inet.tcp.lro
net.inet.tcp.lro.sackwakeups: 0
net.inet.tcp.lro.lockcnt: 0
net.inet.tcp.lro.single: 0
net.inet.tcp.lro.compressed: 0
net.inet.tcp.lro.wokeup: 0
net.inet.tcp.lro.fullqueue: 0
net.inet.tcp.lro.entries: 8
net.inet.tcp.lro.hold_lock: 0

So the releng/13.0 and stable/13 have net.inet.tcp.lro.sackwakeups and
the like but main does not.

Note: I do use a USB3 EtherNet dongle instead of genet0, in case
that matters.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)