On Wed, Sep 21, 2005 at 03:15:00PM -0700, Patrick Mansfield wrote: > But the module refcount stays non-zero for scsi-debug, probably > scsi_device_put/get. I am still debugging ... I forgot to mention no scsi_debug devices showed up. I removed the bad "!" on !scsi_device_get(), and the "insmod ./scsi_debug.ko max_luns=3' found 2 sd's as expected. But, scsi_debug module count is still at 1. Removing (via delete attr) the 2 scsi_debug devices, and module count is still at 1. So probably still a missing scsi_device_put(). I'm trying to debug a bit more. -- Patrick Mansfield - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html