On Thu, 27 Jun 2019 13:41:23 +0200, Jean Delvare wrote: > On my system, i2c-i801 gets loaded automatically. I am working on this > driver today so I'd like to be able to rmmod and modprobe it again. > However rmmod doesn't work because someone is holding a reference to > the module: > > > /sbin/lsmod | grep ^i2c_i801 > i2c_i801 36864 1 > > How do I figure out who is holding that reference and how do I get rid > of it? Bah, ignore me. My own code is doing it. Apparently the kernel doesn't like infinite loops during module initialization. -- Jean Delvare SUSE L3 Support