Comment 3 for bug 361680

Revision history for this message
Rocko (rockorequin) wrote :

When doing the following:

1. Suspend.
2. Remove power.
3. Resume.
4. Reattach power.

these hdparm commands get issued:

hdparm -i /dev/sda
hdparm -B 128 /dev/sda
hdparm -B 1 /dev/sda
hdparm -S 12 /dev/sda
hdparm -i /dev/sda
hdparm -B 254 /dev/sda
hdparm -i /dev/sda
hdparm -B 254 /dev/sda

When doing:

1. Suspend (with power in).
2. Resume.

these commands get issued:

hdparm -B 254 /dev/sda
hdparm -S 244 /dev/sda
hdparm -i /dev/sda
hdparm -B 254 /dev/sda

The first set of commands leave the drive in a state where it constantly spins down, irrespective of the hdparm -B 254 command. Why is a hdparm -B 1 command issued - I thought only 128 and 254 should be used?