On Tue, 2006-02-28 at 09:24 -0800, Mike Anderson wrote: > The patch was tried on the aic7xxx ahc_linux_target_alloc issue I > previously mentioned and it did not change the result of a BUG_ON. Hmm ... could you repost the panic ... I also put in Brian King's check for device_add failure, which should have picked this up ... it sounds like there's something else going on. > Is there some reason we cannot do the list_del_init(&starget->siblings) in > scsi_target_dev_release post calling target_destroy? It would appear with > the check for STARGET_DEL that being on the list longer should not be a > problem. No, it shouldn't ... it just potentially delays the allocation to wait for everything to finish using the old target ... we might have to put a reschedule in the retry loop in alloc to avoid a busy wait. Does that fix your aic problem? 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