Jeff Garzik wrote: ...
+ +int pata_pci_device_resume(struct pci_dev *pdev) +{ + struct device *dev = pci_dev_to_dev(pdev); + struct ata_host_set *host_set = dev_get_drvdata(dev); + struct ata_port *ap; + u8 status; + int i; + + ata_pci_device_resume(pdev); + + mdelay(400); + + for (i = 0; i < host_set->n_ports; i++) { + ap = host_set->ports[i]; + + status = ata_busy_wait(ap, ATA_BUSY, 200000); + if (status & ATA_BUSY) + printk(KERN_ERR "ata%u: failed to resume\n", ap->id); + } + + return 0;
... Okay, back again after two reboots. Same failure mode as all of the others. System freezes for a 30-second timeout with no LCD-backlight on, then comes up without functioning hard drive access. An immediate reboot is necessary to do anything. Linus's one-liner works perfectly, though. Cheers - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html