Hello, On 12/02/2009 08:19 AM, Benjamin Herrenschmidt wrote: >> I think you'll need an ata_port_freeze() or abort() here because at >> this point the drive is already gone and all in-flight commands need >> to be failed right away. Holger, do you remember why >> ata_acpi_detach_device() is using ata_port_schedule_eh() instead? Was >> it because ata_port_freeze() might end up poking registers after >> hotunplug happened? ISTR reports where accessing any register there >> causing the whole system to lock up but then why can't it use >> ata_port_abort() instead? > > I'll try. Which one ? freeze or abort tho ? Conceptually freeze would be more approriate but the side effect is that the port is frozen and EH will try to thaw it by resetting it. So, abort would work better. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html