http://forums.gentoo.org/viewtopic-p-6449773.html I suffered exactly the issue described in the forum thread. My system froze for about 16 seconds upon startx until the ata link was hard resetted. /var/log/messages: Oct 5 16:58:16 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Oct 5 16:58:16 localhost kernel: ata1.00: failed command: SET FEATURES Oct 5 16:58:16 localhost kernel: ata1.00: cmd ef/c2:00:00:00:00/00:00:00:00:00/40 tag 0 Oct 5 16:58:16 localhost kernel: res 40/00:fe:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout) Oct 5 16:58:16 localhost kernel: ata1.00: status: { DRDY } Oct 5 16:58:16 localhost kernel: ata1: hard resetting link Oct 5 16:58:16 localhost kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Oct 5 16:58:16 localhost kernel: ata1.00: configured for UDMA/133 Oct 5 16:58:16 localhost kernel: ata1: EH complete Oct 5 16:58:16 localhost kernel: ata1.00: configured for UDMA/133 Oct 5 16:58:16 localhost kernel: ata1: EH complete Oct 5 16:58:17 localhost kernel: ata2.00: configured for UDMA/133 Oct 5 16:58:17 localhost kernel: ata2: EH complete ### touch /etc/pm/power.d/harddrive solved the issue completely. Should we maybe create that file as a default while installing pm-utils? Reproducible: Always Steps to Reproduce: 1. maybe not reproduceable on every system Actual Results: 1. login procedure hangs until the ata link gets hard resetted. system is frozen dduring this period. Expected Results: 1. should not freeze
In fact it is enough to change these values in /usr/lib/pm-utils/power.d/harddrive: # Default values on AC -DRIVE_POWER_MGMT_AC="${DRIVE_POWER_MGMT_AC:-254}" -DRIVE_ACOUSTIC_MGMT_AC="${DRIVE_ACOUSTIC_MGMT_AC:-0}" +DRIVE_POWER_MGMT_AC="${DRIVE_POWER_MGMT_AC:-255}" +DRIVE_ACOUSTIC_MGMT_AC="${DRIVE_ACOUSTIC_MGMT_AC:-254}"
See, https://bugs.gentoo.org/show_bug.cgi?id=452362#c2 The file isn't present anymore in 1.4.1-r6. Closing accordingly.