rmmod segfaulting and causing lsmod to hang withh 2.6.3 kernel
OK, I'm getting into kernel devel, and to learn the API I've got a useless module I'm writing. Right now, all it does is printk something on load and something else on unload. I can insmod it fine, but when I rmmod it, it simply segfaults. After I do rmmod, anytime I run lsmod, it simply hangs and I cannot kill it! I cannot kill it! The damned beast simply WILL NOT DIE! DIE, BEAST, DIE! DIE! BWA-HA-HA-HA-HA!
But yeah, rmmod and lsmod are acting retarded. Any ideas?