I wrote:
According to dmesg with SBP2_DEBUGs enabled, scsi_remove_device() is entered but sbp2_logout_device() not. IOW scsi_remove_device() is not completed.
Another evidence of this is that "Synchronizing SCSI cache for disk sda:" appears again when I shut the system down.
Perhaps you can turn on spinlock debug
Turns up nothing. I will dig through scsi_remove_device() but it may take me a while to become accustomed with it. -- Stefan Richter -=====-=-=-= -=== ===== http://arcgraph.de/sr/ - : 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