public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/6] linux: Don't create bond0 when bonding is being loaded
@ 2025-07-29 14:42 Michael Tremer
  2025-07-29 14:42 ` [PATCH 2/6] network: Add support for bonds Michael Tremer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael Tremer @ 2025-07-29 14:42 UTC (permalink / raw)
  To: development; +Cc: Michael Tremer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/common/aarch64/linux | 1 +
 config/rootfiles/common/riscv64/linux | 1 +
 config/rootfiles/common/x86_64/linux  | 1 +
 lfs/linux                             | 3 +++
 4 files changed, 6 insertions(+)

diff --git a/config/rootfiles/common/aarch64/linux b/config/rootfiles/common/aarch64/linux
index c2b85c31a..08d3b06fd 100644
--- a/config/rootfiles/common/aarch64/linux
+++ b/config/rootfiles/common/aarch64/linux
@@ -573,6 +573,7 @@ boot/dtb-KVER
 #boot/dtb-KVER/synaptics/berlin4ct-stb.dtb
 boot/vmlinuz-KVER
 #etc/cpufreq-bench.conf
+etc/modprobe.d/bonding.conf
 etc/modprobe.d/ipv6.conf
 #lib/modules
 #lib/modules/KVER
diff --git a/config/rootfiles/common/riscv64/linux b/config/rootfiles/common/riscv64/linux
index 67d1dd018..475fda152 100644
--- a/config/rootfiles/common/riscv64/linux
+++ b/config/rootfiles/common/riscv64/linux
@@ -13,6 +13,7 @@ boot/dtb-KVER
 #boot/dtb-KVER/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
 boot/vmlinuz-KVER
 #etc/cpufreq-bench.conf
+etc/modprobe.d/bonding.conf
 etc/modprobe.d/ipv6.conf
 #lib/modules
 #lib/modules/KVER
diff --git a/config/rootfiles/common/x86_64/linux b/config/rootfiles/common/x86_64/linux
index a33704270..bd39739f0 100644
--- a/config/rootfiles/common/x86_64/linux
+++ b/config/rootfiles/common/x86_64/linux
@@ -2,6 +2,7 @@ boot/System.map-KVER
 boot/config-KVER
 boot/vmlinuz-KVER
 #etc/cpufreq-bench.conf
+etc/modprobe.d/bonding.conf
 etc/modprobe.d/ipv6.conf
 #lib/modules
 #lib/modules/KVER
diff --git a/lfs/linux b/lfs/linux
index 122d3517e..a1e5a49dd 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -232,6 +232,9 @@ endif
 	# Disable ipv6 at runtime
 	echo "options ipv6 disable_ipv6=1" > /etc/modprobe.d/ipv6.conf
 
+	# Do not automatically create bond0 when bonding is being loaded
+	echo "options bonding max_bonds=0" > /etc/modprobe.d/bonding.conf
+
 	# build cpupower utility
 	cd $(DIR_APP)/tools/power/cpupower && make $(MAKETUNING)
 	cd $(DIR_APP)/tools/power/cpupower && make install
-- 
2.47.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-29 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-29 14:42 [PATCH 1/6] linux: Don't create bond0 when bonding is being loaded Michael Tremer
2025-07-29 14:42 ` [PATCH 2/6] network: Add support for bonds Michael Tremer
2025-07-29 14:42 ` [PATCH 3/6] network: Rename the bridge hotplug script Michael Tremer
2025-07-29 14:42 ` [PATCH 4/6] network: Fail if no master device has been configured for slave zones Michael Tremer
2025-07-29 14:42 ` [PATCH 5/6] network: Add support for some more auxiliary zones Michael Tremer
2025-07-29 14:42 ` [PATCH 6/6] network: Ensure that we only run once at a time Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox