Skip to content

Stop disks on reboot for laptop which cuts power

Bruno Prémont linux-ide linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ide: Stop disks on reboot for laptop which cuts powerdrivers/ide/ide-gd.c+16 -14 replies
2/2sd: Stop disks on reboot for laptop which cuts powerdrivers/scsi/sd.c+18 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Stop disks on reboot for laptop which cuts power

Hi,

During shutdown (power off) the disks are stopped gracefully thus the stopping is skipped for reboot case.

On my Acer Travelmate 660 reboot is more like power-off as it cuts all power during reboot which currently causes the disk to emergency-park its head (noisy and shortens disk life).

This patch series adds a DMI-based check to ide-gd and sd to still stop the disks for affected laptop during reboot.

Has been compile an run-tested with libata and just compile-tested for ide.

Bruno Prémont