Hello. I own a WR941N router. I successfully managed to uninstall DD-WRT, and installed OpenWRT. Everything is working fine. I managed to produce a similar running kernel. Now I can install whichever modules I'd like. However, some modules crash the kernel.
I'm writing this thread in requesting assistance on installing the 9P module. This module is crashing the kernel. The module does load. However, once a 9P file server is mounted, the kernel crashes.
Is there a way to determine the reason for the crash? Note this is a 4/32 device. Note not all modules crash. I successfully managed to install the zRAM module, and isn't crashing.
You don't provide any information to go by.
As you said, this is a 4/32 device, so it hasn't been supported for half a decade already. We don't know what you're running there, nor do you provide any clues (and I have no idea what how "I managed to produce a similar running kernel" plays into this either).
So you are running an unknown version of OpenWrt (?), have mucked around with the kernel (??), try to load 9p (no indication why, for what purpose), zram - and "similar running kernel" (???) still shouts warning signs. You do realize, even if you go back an eternity, 32 MB RAM is not plenty, so merely the fact of loading another kernel module can very much push it over the brink - before even stressing the fact that 'similar' is not enough, when it comes to kernel modules, the kernel ABI must match, 100% (at least in the executed code paths).
Either way, there's nothing to fix here. Even if there were a bug (we don't know in what version), this device hasn't been supported for over half a decade, no changes to current code will make it fit on your device - no changes will be done to 19.06.x and earlier anymore, even if those had really serious security issues (they do!), let alone for a no longer supported, below spec device like this.
I just realized CONFIG_MODVERSIONS isn't set. This explains the crash. I managed to solve the crash downloading the .config from the SDK package. No longer crashing!