Summary: | >sys-kernel/genkernel-3.5.0.3: bonding arguments from /etc/conf.d/modules ignored when using an initramfs | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Tomáš Mózes <hydrapolic> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | openrc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 659530 | ||
Bug Blocks: |
Description
Tomáš Mózes
2018-06-27 11:47:44 UTC
What code is loading the bonding module after initramfs and needs to be updated to use the sysfs toggles to change the parameters? /etc/init.d/modules of openrc (run in the boot runlevel). It won't insmod bonding (with args) since genkernel already loaded it. Are you using netifrc? You have seen the sysfs support for setting bond params yes? Didn't know about this possibility before, so instead of: /etc/conf.d/modules modules="bonding" module_bonding_args="mode=active-backup miimon=100" It will be done like this: /etc/conf.d/modules modules="bonding" /etc/conf.d/net mode_bond0="active-backup" miimon_bond0="100" Thanks for pointing that out, I'll try like that. Is it worth adding a pkg_postinst() message to genkernel that the newly added modules will have to be configured via netifrc because /etc/conf.d/modules will be ignored? Or should openrc be changed to allow these changes as well? Presuming per the last comments that the netifrc solution was used. Yes, it works fine, thanks. |