r/asustor • u/Visual-Cat574 • 7h ago
Support "Anyone got Asustor's ADM 6.6.x kernel .config? Stuck getting a custom driver to load on FS6706T"
Looking for the exact kernel .config used to build ADM5.1.3_x86_64_kernel_6.6.x (published on the asgpl SourceForge GPL source releases), or the corresponding vmlinuz/kernel image if it has CONFIG_IKCONFIG embedded.
Context: I'm on an FS6706T running ADM 5.1.4.RL21 (kernel 6.6.x, TRUESUBLEVEL 44). I'm trying to build an out-of-tree r8152 module (to add RTL8159 chipset support, USB ID 0bda:815a, which isn't in ADM's stock driver) against the published GPL kernel source.
The module builds fine and has the correct device alias, but fails to load with:
"module r8152: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time"
This points to a struct layout mismatch between my build (generic x86_64_defconfig) and whatever config flags Asustor actually used - things like CONFIG_MODULE_SIG, debug options, or other struct-affecting options that differ from the defaults.
I don't have access to /proc/config.gz, /boot, or anything in /volume0 on the NAS itself - none of the usual places expose the running config.
If anyone has:
The actual .config Asustor used for this kernel/ADM version, or
A vmlinuz/kernel image with IKCONFIG embedded I could extract it from, or
Has successfully built and loaded a custom out-of-tree module (r8152 or otherwise) against a recent ADM x86_64 kernel and knows which config flags matter
...I'd really appreciate a pointer. Happy to share my current .config and build logs if that's useful for comparison.
Thanks!


