Bug 2039
Summary: | S3 resume - IDE fails - acer aspire 1301 laptop | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Mickael Marchand (mmarcha) |
Component: | IDE | Assignee: | Rafael J. Wysocki (rjwysocki) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | acpi-bugzilla, alan, avilella, conrad, ivasenko, rjwysocki, yuanshengquan |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.23 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 | ||
Attachments: |
patch to invoke ACPI methods for IDE suspend/resume
This is what dmesg says after resume the version of the patch, which works in 2.6.15-2.6.16 lspci -vv on vaio vgn t 140 p hdparm -I /dev/hda on vaio vgn t 140 p snapshot of the hangup when trying to hibernate Fix S3 resume for 2.6.18 - 2.6.18.2 kernels the version of the patch, which works in 2.6.15-2.6.16 (with correct line numbers in the patch) lspci -vv for sony vaio vgn fs415m hdparm -I for sony vaio vgn fs415m /var/log/dmesg after the hard reboot from a failed suspend |
Description
Mickael Marchand
2004-02-06 15:46:22 UTC
The same happens to me with an Acer Aspire 1310: HDD problem when reviving from sleep-to-ram. Still happens with stock FC3 kernel: 2.6.9-1.667 Still an issue in 2.6.13? Apparently, Linux currently has no real support for setting up IDE interfaces on resume. Some machines are kind enough to set the IDE interface up themselves, but on others the HD won't recover. So I suppose this bug should be assigned to IDE people... See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155102 https://bugzilla.ubuntu.com/show_bug.cgi?id=8159 Created attachment 6499 [details]
patch to invoke ACPI methods for IDE suspend/resume
Could you please try the attached patch and report it back? Let's see if the
bug is caused by lack of invoking ACPI metthods.
My laptop HP nx6130 also has the problem on S3 resume. The kernel used is 2.6.14. I tried the patch on my platform and it solves the problem. Now S3 works. *** Bug 2969 has been marked as a duplicate of this bug. *** *** Bug 3662 has been marked as a duplicate of this bug. *** *** Bug 4122 has been marked as a duplicate of this bug. *** Short question: Has this patch already landed in the kernel? is it in 2.6.15? VIA IDE driver had bug in tuning code which prevented resume from working, it was fixed ages ago (but original bugreport was 2.6.2-rc3-mm1). Please report whether vanilla 2.6.16-rc2 works for you. Hi, I can confirm it works fine on my Aspire 1301 using ubuntu's 2.6.15 kernel. thanks ! Cheers, Mik hmm just noticed this little error showing up in dmesg after restore : [4295054.759000] Thawing cpus ... [4295055.265000] ACPI-0307: *** Error: No installed handler for fixed event [00000002] but it does not seem to break anything. Mik this patch doesn't fix the problem on my Sony Vaio notebook with i855 chipset. After S3 resume drive fails to spin up and there are messages about lost ide, dma expiry, etc. and finally in about 2 minutes ide reset starts the drive again. Drive itself is ok and resumes well under Windows XP. I can see this behaviour on kernels up to 2.6.15. There are other people complaining on the same issue on forums. Created attachment 7626 [details]
This is what dmesg says after resume
This bug affects also HP nx8220, and the attached patch fixes the problem! When will the patch go to the mainline kernel trunk?? (I have tested all kernels from 2.6.15.1-2.6.16) Created attachment 7635 [details] the version of the patch, which works in 2.6.15-2.6.16 This is copied from: http://hehe.pl/drg/trash/nx8220-s3/ but it doesn't work on my sony vaio vgn-a190 notebook :( I have exactly the same dmesg after applying this patch as attached in #15 I confirm that the problem is still here after aplying the patch on my vaio vgn-t140p. What goes on is a little different in my case : - with only the patch applied, the hard drive won't spin up on resume and the laptop freeze after resume, when something try to access the hd (but until that time, everything is normal, display, running programs...). - with the patch applied and while forcing a drive reset on resume (with either hdparm -w, or a little C program which call HDIO_DRIVE_RESET ioctl (i also tried sending some commands with HDIO_DRIVE_CMD), I see the behaviour discribed in the dmesg attachment. The drive finaly resets after 2 minutes or so, and seems to work fine afterwards. However this is not the case 100% of the time. A complete freeze on resume still happens from time to time. This seems to be an issue with various models of vaio laptops. I add the output of lspci -vv and hdparm -I /dev/hda. I can add further informations, just ask. Created attachment 7693 [details]
lspci -vv on vaio vgn t 140 p
Created attachment 7694 [details]
hdparm -I /dev/hda on vaio vgn t 140 p
If this problem is not present in recent kernels (2.6.18 or above), please close this entry. it is still there on acer aspire 13xx laptops Can you please try to suspend to disk? Created attachment 9138 [details]
snapshot of the hangup when trying to hibernate
snapshot of the hangup when trying to hibernate
similar error message appears when trying to wake up from sleep.
Thanks. This looks like an ACPI-related issue to me. Apparently, something in irqrouter_resume() goes awry. Can I provide any extra information to help here? Can I try any kernel option to solve this? On 10/1/06, bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=2039 > > > > > > ------- Additional Comments From rjwysocki@sisk.pl 2006-10-01 05:00 ------- > Thanks. This looks like an ACPI-related issue to me. > > Apparently, something in irqrouter_resume() goes awry. > > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > Well, this is a low-level stuff. I'm afraid the only method of debugging is hacking the code. Created attachment 9458 [details]
Fix S3 resume for 2.6.18 - 2.6.18.2 kernels
I still have this problem (HP nx8220, Kubuntu 6.10, vanilla kernel 2.6.18.2),
and the earlier version of the patch does not compile, so I fixed the patch. It
is included in the submission.
Created attachment 9459 [details]
the version of the patch, which works in 2.6.15-2.6.16 (with correct line numbers in the patch)
with correct line numbers in the patch.
Is the patch from Comment #30 needed to fix this issue? If so, could you please post it to linux-kernel@vger.kernel.org for review? I think I'm having the same problem here on a sony vaio vgn-fs415m with 2.6.18.6 under Ubuntu Edgy. When resuming, graphic does not comes up, hdd led stays on and the fan starts as if the cpu was in an infinite loop burning cycles. I tried booting with no modules loaded and just ide + ext3 compiled in, but the same thing happens. I attach lspci nad hdparm -I to this bug. Created attachment 10458 [details]
lspci -vv for sony vaio vgn fs415m
Created attachment 10459 [details]
hdparm -I for sony vaio vgn fs415m
What is the current status of this bug? Various bits of ACPI support are in kernel, so should be closable fairly soon for all cases *** Bug 5604 has been marked as a duplicate of this bug. *** Everyone having these problems, please test the latest -rc kernel (2.6.23-rc7 as of today) with the "old" IDE drivers and BLK_DEV_IDEACPI set in .config and report back. Everyone having these problems, please test 2.6.23 and report back. [I'm going to stop tracking this bug in 2 weeks if there's no response till then.] I still cannot suspend with with 2.6.23. /var/log/dmesg attached Created attachment 13216 [details]
/var/log/dmesg after the hard reboot from a failed suspend
Any updates on the status of this bug? |