Description of problem: pm-hibernate ends in endless messages " end_request: I/O error in device sda sector 20839329 (message is approximate - they don't end up in the syslog). Machine is a lenove TP T60, dmesg output attached. This is with all kernels after FC6t2 (haven't tested earlier versions) kernel-2.6.17-1.2586.fc6 kernel-2.6.17-1.2608.fc6
Created attachment 135510 [details] Dmesg output
Reassigning to correct owner, kernel-maint.
This bug is related to ahci. Setting SATA mode to "compatibility" in BIOS, and using ata_piix instead of ahci makes suspend-to-disk work for me (Thinkpad T60p, kernel-2.6.18-1.2849.fc6).
Fabrice, What is the Vendor:Product ID on your storage controller? If you could paste in the output of: lspci -v lspci -n it would be appreciated.
Created attachment 142450 [details] output of lspci -n
Created attachment 142451 [details] output of lspci -v
(In reply to comment #3) > This bug is related to ahci. Setting SATA mode to "compatibility" in BIOS, and > using ata_piix instead of ahci makes suspend-to-disk work for me (Thinkpad T60p, > kernel-2.6.18-1.2849.fc6). I tried this once, but got kernel panics during the boot sequence.
(In reply to comment #7) I verified that the appraoch in comment #3 works. But *before* switching the BIOS setting you need to generate a new initrd which includes also the ata_piix module. By default it will only include the ahci module as that is the active driver module for the root partition when the original initrd has been created.
where can I find out how to do that?
I'm not sure if it's documented somewhere but here is what I did: Create the file /etc/sysconfig/mkinitrd and add the line: MODULES="ahci ata_piix" Now every time a new kernel gets installed mkinitrd will always add both modules to the initrd. Now run the following command to update the initrd of the currently running kernel: # new-kernel-pkg --mkinitrd --update $(uname -r)
(In reply to comment #10) > I'm not sure if it's documented somewhere but here is what I did: thanks. Works for me now.
IRC, the problem with the SATA "compatibility" mode is that DMA is off on the dvd drive.
Hibernate with AHCI now works for me in kernel-2.6.20-1.2925.fc6
Confirmed. Hibernate works with AHCI on kernel-2.6.20-1.2925.fc6 from FC6 updates-testing.