Bug 5604
Summary: | S3: no resume - IDE - HP nx6130 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Austin Yuan (yuanshengquan) |
Component: | Power-Sleep-Wake | Assignee: | Shaohua (shaohua.li) |
Status: | CLOSED DUPLICATE | ||
Severity: | high | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.14-2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
hardware configuration
result of "cat /proc/acpi/dsdt| iasl -d" result of acpidump dmesg dmesg of kernel 2.6.14-2 kernel configuration file dmidecode biosdecode madt vpddecode gcc version /proc/acpi/wakeup Dell Inspiron 9300 DSDT Dell Inspiron 9300 lspci output |
Description
Austin Yuan
2005-11-13 21:10:23 UTC
Created attachment 6563 [details]
hardware configuration
Did S3 even work under the machine before? I mean if this is a recent regression. How about not do the vbe restore in the script? Created attachment 6564 [details]
result of "cat /proc/acpi/dsdt| iasl -d"
Only test kernel 2.6.9,2.6.13,2.6.14 and 2.6.14-2, and they all can't work. Even I remove vbetool lines from the scripts, it still can't resume. Created attachment 6565 [details]
result of acpidump
Created attachment 6566 [details]
dmesg
Created attachment 6567 [details]
dmesg of kernel 2.6.14-2
Created attachment 6568 [details]
kernel configuration file
Created attachment 6569 [details]
dmidecode
Created attachment 6570 [details]
biosdecode
Created attachment 6571 [details]
madt
Created attachment 6572 [details]
vpddecode
Created attachment 6573 [details]
gcc version
Created attachment 6574 [details]
/proc/acpi/wakeup
boot nx6130 with USB hard disc, and remove IDE and unnecessary modules, it can do S3 perfectly. Of course, I am under text console mode and use vbetool to repost graphics card. The kernel is 2.6.14 and distro is Debian tried the patch on http://www.codon.org.uk/~mjg59/tmp/external-drivers- ide_sleep.dpatch, when sleep, show message: "IDE device ACPI handler is NULL" and can't resume too. also tried hdparm -y /dev/hda, and no good result. The ide patch mentioned in comment#16 is not complete yet. That is the reason for ACPI HANDLE IS NULL. So, It's not surprise it doesn't work. Could you try to remove error detecting code before invoking _GTM and _STM And hardcode with : For invoking _GTM: { acpi_handle tmp; acpi_get_handle(NULL, \\_SB.C002.C0A6.C1D5, &tmp); status = acpi_evaluate_object(tmp, "_GTM", NULL, &buffer); ... } For invoking _STM: { acpi_handle tmp; acpi_get_handle(NULL, \\_SB.C002.C0A6.C1D5, &tmp); status = acpi_evaluate_object(stat->handle, "_STM", &input, NULL); .. } sorry, it shoud be: acpi_get_handle(NULL, "\\_SB.C002.C0A6.C1D5", &tmp); S3 works now in both console mode and x window. Thanks everyone! Here is the conclusion of the method: 1. Update ide.c according the patch and Luming's comments. 2. Use vbetool to restore the graphics. Then the patch at http://bugzilla.kernel.org/show_bug.cgi?id=2039 should work for you. Please try. Austin confirmed the patch fixed his issue (http://bugzilla.kernel.org/show_bug.cgi?id=2039) Hi Austin, is there any chance you can try the piix driver instead of the generic the IDE driver? The IDE mantainer thought the piix driver should work for you without the patch. Thanks! Shaohua,We will try it soon. Thanks for your help. -- Austin I seem to have a similar problem with my Dell Inspiron 9300. Suspend to RAM worked up to 2.6.12, after which point it ceased to function, freezing due to an apparent IDE failure on resume (usually the console comes up and remains interactive until I try to run a command, at which point the harddrive light remains continuously on). The machine uses the ICH6 SATA controller with an SATA hard drive. I am presently running the 2.6.15-rc5 kernel. I have attached the output of dmesg, lspci and a dump of the machine's DSDT. I hope this will provide another data point to this bug. Thanks. Created attachment 6807 [details]
Dell Inspiron 9300 DSDT
Created attachment 6808 [details]
Dell Inspiron 9300 lspci output
I forgot to mention that the aforementioned patch works with neither the piix nor the generic IDE driver. Don't hesitate to email with any further questions (S3 suspend is quite nice to have in between lectures). Shaohua, could you tell more about using the piix driver? I want to try it but am not clear about how to use it. Thanks. -Henry The ata_piix in 2.6.16-rc6 can resume from S3 on Thinkpad T43P and NAPA sdv. Please try if it can work for HP nx6130. Note: please only try 2.6.16-rc6, not the latest stock kernel. Same bug also appears on my HP nc6220. This patch fixes the problem for me! -> http://oisec.net/~cliff/linux-2.6.15_ide-gtm-stm.diff Can anyone please verify if the problem still occurs on 2.6.18? I am still having this problem with HP nx8220 with 2.6.18.2 kernel, but this patch helps: http://bugzilla.kernel.org/show_bug.cgi?id=2039 |