Mike Anderson wrote: > Brian King [brking@us.ibm.com] wrote: > >>I have been debugging this same problem in sg today. It appears as if >>kobj_unmap is never getting called when a device is deleted. When I >>added a call to kobj_unmap, the problem went away. I'm currently working >>on a patch for this. >> >>-Brian > > > Are you indicating that we need a direct call to kobj_unmap along with > the call to cdev_unmap? No. We just need a call to cdev_unmap, which isn't getting done. The attached patch should fix this for both sg and st. I have tested both and it works for me. Phil, can you please apply and let me know if it fixes your problem? It should apply against 2.6.2. Thanks -- Brian King eServer Storage I/O IBM Linux Technology Center