Andrew Schulman wrote:
> I'm using a 2.6 kernel I compiled from the Debian source package, and > encountering some odd behaviour. I cannot unload modules--I get: > > Module foo cannot be unloaded due to unsafe usage in > include/linux/module.h:483 > > This results in having a lot of cruft in the kernel. Is this a feature > of the state of the 2.6 kernels at the moment (i.e., not fully > release-ready) or have I miscompiled something? I've not encountered it > before, and searching LKML and Debian archives didn't find me anything > helpful... Are you using the updated modutils for 2.6? apt-get install module-init-toolsand try again. If that's not the problem, then sorry, I don't know what is.
Module unloading *must* be specifically enabled in 2.6 kernels. Otherwise, you can only load. -Roberto
Attachment:
pgpYcuiYFUntz.pgp
Description: PGP signature