On Wed, 2006-02-22 at 08:47 -0800, Mike Anderson wrote: > Another manifestation is a bug I was recently looking at where a BUG_ON is > triggered in the aic7xxx driver if someone is removing and adding devices > repeatably. > > "Feb 8 14:21:52 test klogd: kernel BUG at > drivers/scsi/aic7xxx/aic7xxx_osm.c:535!" > > The scan mutex I believe would not help in the case I describe above as > the issue in this instance is the widow between the call of > "list_del_init(&starget->siblings);" and the call to target_destroy. Right, I have a fix for this which also gets around the execute_in_process_context() multiple times problem too ... I just need to find time to clean it up and post it. James - : 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