Bjørn Mork <bjorn@xxxxxxx> writes: > Marko Ristola <marko.ristola@xxxxxxxxxxx> writes: > >> 4. There is some problem with rmmod mantis, do lsmod: >> Module Size Used by >> tda10021 5486 4294967291 >> modprobe mantis >> tda10021 5486 4294967292 mantis >> So the reference count from mantis to tda10021 gets corrupted at rmmod. >> I have Fedora 13 kernel, 2.6.33.5-124.fc13.x86_64 > > FWIW, I do not see this running a Debian kernel (2.6.32-5-amd64) with a > backported mantis driver (from 2.6.35-rc1). > > Module Size Used by > tda10021 4774 1 mantis > # rmmod mantis > tda10021 4774 0 > # modprobe mantis > tda10021 4774 1 mantis Sorry, you are of course quite right, Marko: There is such a bug, and it will in fact cause an oops if this double dereferencing causes a frontend driver which is in use to be unloaded. But it will only affect the frontend drivers actually in use, which is why I didn't see it above (my card uses tda10023). The cause of this (and the unwanted loading of a gazillion unused frontend drivers), is that the mantis driver doesn't use dvb_attach. I will follow up with a patch to fix this Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html