Bug 7135
Summary: | Ide driver piix.c does not implement suspend/resume. Resume from ram suspend takes 30+ seconds waiting for HD to spin up - piix.c doesn't implement resume/suspend. | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Sheer (dpope) |
Component: | IDE | Assignee: | Rafael J. Wysocki (rjwysocki) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, bunk, rjwysocki |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16 and 2.6.18 (probably all) | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 |
Description
Sheer
2006-09-09 16:46:17 UTC
*** Bug 7136 has been marked as a duplicate of this bug. *** Does the lack of activity mean there hasn't been any progress? Matthew Garrett and others have been working on the general case of suspend/resume and ACPI handling for ATA (libata and old drivers/ide). AFAIK nobody is working on specific problem reports with the legacy IDE layer, merely with libata which is the better long term project although it doesn't help you right now. Alan From the quick look I don't see anything suspicious in piix.c. Seems like the problem is caused by lack of ACPI handling in IDE. There were draft patches floating around for that but it seems they never got worked into something ready to merge and submitted (or maybe I have missed them?). Rafael, could you please investigate further what is the current state of IDE ACPI patches (I think that SuSE has them in their tree and if they are in some semi-proper state we can merge them to -mm and give them a spin)? Rafael? Ouch, I have missed the previous post (sorry Bartlomiej). As far as I can tell right now, there seem to be some patches like that in -mm, though I'm not sure. I'll ask SUSE people anyway. ping Rafael I think the ACPI IDE patch went into the Bart's tree some time ago. I spotted it in -mm, but I'm not sure whether or not it's been merged. As far as the libata version is concerned, I've seen some submissions recently and I think they are in -mm. ACPI IDE patch has been merged for 2.6.21-rc1. Please note that some features are not used automatically ATM and may require usage of kernel parameters to be enabled. I would like to have it changed but this needs to be verified with the original authors and get some testing. libata ACPI support has also been merged into 2.6.21 but incomplete PATA support has been disabled recently (commit df33c77e3981e71afc8727ee5c432ba1a1bba68c). Thanks for the update. :-) Sheer, can you confirm that the problem is fixed for you in recent -rc* kernels? Accepting in order to close. Closing. Please reopen if necessary. |