Dark Sylinc wrote: > So you're saying: > 1) Don't spin down to avoid the problem Yes. > 2) Flush cache solves the problem No. > I'm seeing: > 1) The hdd is not spun down by shutdown and the > problem persists > 2) By spinning down /dev/sdX in shutdown(8) the > problem disappears. Flush cache doesn't seem to > influence the emergency shutdown problem. > > That's why I'm confused. > May be I've missed something in the code. If I and you are looking at the same patch, you're misreading the patch. From the patch description... I'm attaching a patch that fixes it. It basically follows http://linux-ata.org/shutdown.html and *SKIPS* the drive shutdown when the respective /sys/block/sdX/device/scsi_disk:*/manage_start_stop exists (leaving it for the kernel to do). >> So, the patch isn't in the package yet? > > I checked yesterday both Debian's unstable and > testing, and the patch wasn't there. Eeeeekk.... -- 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