Bug 6326
Summary: | S3 resume: IDE fails to resume - Abit NF7 nForce2 | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Andreas Saur (acmelabs) |
Component: | IDE | Assignee: | Bartlomiej Zolnierkiewicz (bzolnier) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | acpi-bugzilla, bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16-rc6-mm2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Additional Information for bugreport #6326 (lshw, acpidump, dmesg ... )
supplemental: dmidecode supplemental: dmesg -s40000 minimal .config for NF7 dmesg/lspci (pnp: Failed to activate device 00:09) Got it working. (see .config) |
Description
Andreas Saur
2006-04-04 01:12:35 UTC
to come (when at home): -#dmesg #after boot -#cat /proc/cpuinfo -#cat /usr/src/linux/.config Created attachment 7762 [details]
Additional Information for bugreport #6326 (lshw, acpidump, dmesg ... )
Here comes the additional information about my system (see attachment):
## OVERVIEW ##
--------------
##(1)## uname -a
##(2)## lshw
##(3)## ver_linux
##(4)## cat /proc/cpuinfo
##(5)## cat /proc/modules
##(6)## cat /proc/ioports
##(7)## cat /proc/iomem
##(8)## cat lspci -vvv
##(9)## cat /usr/src/linux/.config
##(10)## dmesg
##(11)## acpidump
##(12)## cat /root/dsdt.dsl
-----------------
Unfortunaly I cannot send anything from the logs after the crash, because the
system isn't available. If anybody has an idea how to manage to gather
information (serial console or so) from the system shortly after the crash, so
please let me know.
Thanks in advance for help.
Created attachment 7767 [details]
supplemental: dmidecode
Created attachment 7768 [details]
supplemental: dmesg -s40000
the last dmesg was kind of cut. here is a complete one.
Comment on attachment 7767 [details]
supplemental: dmidecode
oops! wrong kernel. I've booted the box with 2.6.15.6-kanotix-1. Will correct
this later.
Comment on attachment 7768 [details]
supplemental: dmesg -s40000
oops! wrong kernel. I've booted the box with 2.6.15.6-kanotix-1. Will correct
this later.
Just tried kernel 2.6.17-rc1-mm1, still no luck. System doesn't boot. Keyboard is dead. Despairingly started some Voodoo stuff with the Motherboard's BIOS switches. I know it's nonesense, Windows XP works with the standard settings. I've read in some forums (few/some/many) nForce2 boards seems to be affected. I've also tried one old PCI-based Matrox Mystique (mga) and an nVidia TI4200 (nv) Adapter, but stil no dice. Any additional information needed? Does shutdown/resboot work on the system? Also please try to remove as many modules as you can, and try if this helps s3. Created attachment 7834 [details]
minimal .config for NF7
The system reboot/shutdown fine. Suspend2 suspend2disk works also. My .config
is pretty minimal (see attachment). In the sigle-user-mode are no modules
loaded.
I've also tried the kernel without framefb, modules, usb and preemt.
But I remember one thing, and don't know whether this has anything to do with
this bug. Once I had enabled Kernel-Debugging with CONFIG_MUTEX_DEBUG on. With
this settings I couldn't shutdown or S3 at all. When I tried to shutdown or to
S3 the system, there was a message given something like that:
Strange, rt-test-00 ??? not stoppted
Strange, rt-test-01 ??? not stoppted
Strange, rt-test-02 ??? not stoppted
Strange, rt-test-03 ??? not stoppted
.
.
.
Thanks for help in advance
p.s. tried yesterday an Abit AV8. This board DO the S3 thing with a stock
vanilla 2.6.15-6, damn!
Created attachment 7852 [details]
dmesg/lspci (pnp: Failed to activate device 00:09)
I've finally manage to get a more or less usefull log from my box.
It seems that IDE (00:09) didn't like to resume. I guess that's why I'm getting
an instant freez after resume with a dead keyboard. Here the most interesting
(at least for me) lines of my dmesg:
hwsleep-0285 [11] enter_sleep_state : Entering sleep state [S3]
Back to C!
PM: Finishing wakeup.
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LMAC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:04.0 to 64
PCI: Setting latency timer of device 0000:00:08.0 to 64
pnp: Failed to activate device 00:09.
Restarting tasks... done
[ACPI Debug] String: [0x15] "==== SST Working ===="
ACPI Error (evevent-0314): No installed handler for fixed event
[00000002] [20060310]
[ACPI Debug] String: [0x15] "==== SST Working ===="
>It seems that IDE (00:09) didn't like to resume.
How did you get this? IDE indead is the root cause in many systems. you can
try to build a test kernel without IDE support (so can't mount root fs) and in
the initramfs you can write a script to do s3, see if it works.
Created attachment 8748 [details]
Got it working. (see .config)
I finally got S3 to work here. Here are my three steps for the Kernel
2.6.17-rc5-mm1:
1) IDE-Patch: ( just for one IDE drive, if CD-ROM is present, it failed again)
--- drivers/ide/ide.c.orig 2006-05-29 20:12:37.000000000 +0000
+++ drivers/ide/ide.c 2006-05-29 20:14:04.000000000 +0000
@@ -1248,7 +1248,8 @@
rqpm.pm_step = ide_pm_state_start_resume;
rqpm.pm_state = PM_EVENT_ON;
- return ide_do_drive_cmd(drive, &rq, ide_head_wait);
+ (void) ide_do_drive_cmd(drive, &rq, ide_head_wait);
+ return set_xfer_rate(drive, XFER_UDMA_6);
}
2) nVidia graphics card needed + latest nVidia driver ( mine is 8762 )
- Agpgart in Kernel is on
- xorg.conf: 'Option "NvAGP" "1"'
I gave up to get my Radeon going with S3. Bought an nVidia.
3) Kernel prior 2.6.17-rc5 can't resume on WOL with forcedeth.
Comment: It took me more than 3 month of investigation to get this thing
working, unbelievable!!
Thanks to all, who helped me.
Regards,
Andreas
Comment on attachment 8748 [details]
Got it working. (see .config)
See config file for Abit NF7 nForce2.
Usage: Media Center PC (mmsv2 + vdr), low voltage (1.1V).
> drivers/ide/ide.c
Moving this bug from ACPI to IDE.
Is the bug still present in 2.6.18? I think this bug should be closed. Please reopen this bug if it's still present in kernel 2.6.19. |