On Mon, 20 Apr 2009 16:51:57 Tejun Heo <htejun@xxxxxxxxx> wrote: > Bruno Prémont wrote: > > My laptop (Acer Travelmate 660) always cuts the power when rebooting > > which causes the disk to emergency-park it's head. > > > > Add a dmi check to stop disk as for shutdown on this laptop. > > Hmm... yeah, I also noticed this behavior on several machines I have > here. Most were beta BIOSen. > > Maybe it's worth to shutdown drives on reboot on all machines? > > Thanks. I will check how my other machines behave but I don't remember such a power-down behavior. Except for a spin-down - spin-up cycle a generalization should not cause troubles though. (I vaguely remember seeing different reboot modes in kernel code - as in colder or hotter reboots - these might also change BIOS behavior where the different modes are implemented and thus cause disk stopping to be needed) Possibly it depends very much how the power is connected, e.g. desktop boxes with ATX power-supply probably never tell the power-supply to cut the power but laptop may behave differently with regard to their built-in DC-DC converters (disks connected to mainboard versus disks directly connected to power supply). What I was also wondering whether the list of machines to which to apply the quirk should be moved to a common location so it exists only once for ide and scsi/ata instead of once on each side. Having the list exactly once avoids the risk for content to drift between ide and scsi/ata. Bruno -- To unsubscribe from this list: 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