Bug 272184

Summary: if_lagg_test reversals also triggered on amd64, kernel 1400092
Product: Base System Reporter: Noah Keck <noahkeck72>
Component: miscAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Many People CC: zlei
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Concatenated root-priv and user-priv kyua reports none

Description Noah Keck 2023-06-24 15:20:53 UTC
Created attachment 242966 [details]
Concatenated root-priv and user-priv kyua reports

Like in bug #244163, amd64 hardware also triggers lock-order reversals in 1400092. My build is a fresh build from git commit id 59833b089e78 ("arm64: improve KTR_TRAP trace entries", 2023-06-24). This is likely a race condition, and I've replicated the failure both on bare metal and VM. The full concatenated log of a root- and user-privileged kyua run is attached, and the relevant failure is printed below.

sys/net/if_lagg_test:witness  ->  failed: Lock-order reversals involving if_lagg.c detected  [0.078s]

The system's behavior doesn't seem too affected by this (as of two hours' uptime in this build), but I figured it's better to report than stay quiet.
Comment 1 Zhenlei Huang freebsd_committer freebsd_triage 2023-06-25 01:20:24 UTC
Are there any verbose logs like https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244163 so it will be easier to diagnose ?