Files
mu300-linux/docs
Abdurrahman Kaan DikeçandClaude Opus 5.5 1cee306e7e mainline: the IPA delegate survives traffic at load time (OpenWrt crashes and dead downlink); docs
The crash capture of the last commit caught both OpenWrt 6.18 crashes in the delegate's connection thread
(dele-4-5): a call through NULL (lr conn_thread+0x188) and a 22 s soft lockup in console_flush_all. The probe:
"driver CB returned with -115 / PROD_CP does not exist / cp_delegator_init failed: -22". OpenWrt brings the WAN
up before the delegate is loaded, so CONS_WWAN_UL is granted when sipa_delegator_start() makes it depend on
PROD_CP; that returns -EINPROGRESS, which the vendor code took for a failure - it deleted PROD_CP again,
cp_delegator_init() ignored that, failed on the Wi-Fi dependencies, and the failed probe freed the delegator
under the thread it had already started. The downlink died with it. On Ubuntu the delegate loads before there
is traffic and the call returns 0.

Fixed in sipa_dele: -EINPROGRESS is success; sipa_delegator_start()'s result is checked; the Wi-Fi offload
dependencies (unused here) only warn; the delegator is not devm-allocated. OpenWrt 4 boots in a row: delegate
bound, internet, no crash record (before: 1 crash in 4, the delegate never bound).

Also: the IPA's per-packet TX error (bursts while the delegate is not up yet) is rate limited, and the forced
command line has loglevel=3 - errors stay in dmesg and the journal, only critical messages go to the 115200
baud console (the vendor kernel runs at 1). Ubuntu on the final build: delegate bound, no oops, internet.

docs/FINDINGS.md gets a chapter on mainline as a daily kernel (31-31f); upstream/README.md is brought up to date.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 21:54:41 +03:00
..