Skip to content

fix the Debian trixie build and detect a conflicting aic8800 install - #36

Merged
Kiborgik merged 3 commits into
mainfrom
fix/debian-build-and-test-conflicts
Sep 7, 2026
Merged

Kiborgik merged 3 commits into
mainfrom
fix/debian-build-and-test-conflicts

Conversation

@Kiborgik

@Kiborgik Kiborgik commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Debian trixie backported the net_device parameter of set_monitor_channel into its 6.12 LTS, so LINUX_VERSION_CODE reports 6.12 while cfg80211.h already wants the new signature and rwnx_cfg80211_ops fails to compile. The driver does not build on current Debian stable. CI cannot see it, because its 6.12 job builds a kernel without the backport.

The fdrv Makefile now greps cfg80211.h and defines AIC_SET_MONITOR_CHANNEL_NETDEV, which the two guards accept alongside the version check. It reads srctree rather than KDIR, because Debian's build symlink points at the flavour tree and only the common tree carries include/net.

test.sh also gained conflict detection. Every aic8800 package builds modules called aic_load_fw and aic8800_fdrv, and modinfo reports upstream's 6.4.3.0 and 1.0 for all of them, so it compares srcversion against the module dkms built here and warns when more than one copy is on disk.

…sion

Debian trixie backported the net_device parameter into its 6.12 LTS, so
LINUX_VERSION_CODE reports 6.12 while cfg80211.h already wants the new
signature and rwnx_cfg80211_ops fails to compile. CI cannot see it. Its
6.12 job builds a kernel without the backport.

The fdrv Makefile greps cfg80211.h and defines
AIC_SET_MONITOR_CHANNEL_NETDEV, which the two guards accept alongside the
version check. It reads srctree rather than KDIR because Debian's build
symlink points at the flavour tree and only the common tree carries
include/net.
Compares srcversion with the dkms build, warns on duplicate copies.
Fixes the build on Debian trixie and adds a check for another aic8800
driver installed over this one.
@Kiborgik
Kiborgik merged commit 677f3e1 into main Sep 7, 2026
10 checks passed
@Kiborgik
Kiborgik deleted the fix/debian-build-and-test-conflicts branch September 7, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant