Bug 272184 - if_lagg_test reversals also triggered on amd64, kernel 1400092
Summary: if_lagg_test reversals also triggered on amd64, kernel 1400092
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-net (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 15:20 UTC by Noah Keck
Modified: 2023-06-25 01:20 UTC (History)
1 user (show)

See Also:


Attachments
Concatenated root-priv and user-priv kyua reports (390.17 KB, text/plain)
2023-06-24 15:20 UTC, Noah Keck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ?