Bugzilla – Attachment 113123 Details for
Bug 231088
Resume after suspend to disk fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
debug patch #2
suspend-debug.patch (text/plain), 1.18 KB, created by
Tejun Heo
on 2007-01-16 13:59:46 UTC
(
hide
)
Description:
debug patch #2
Filename:
MIME Type:
Creator:
Tejun Heo
Created:
2007-01-16 13:59:46 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c >index 7daa60b..e0f1e61 100644 >--- a/drivers/ata/ahci.c >+++ b/drivers/ata/ahci.c >@@ -1330,7 +1330,7 @@ static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) > > rc = ahci_deinit_port(port_mmio, hpriv->cap, &emsg); > if (rc == 0) >- ahci_power_down(port_mmio, hpriv->cap); >+ /*ahci_power_down(port_mmio, hpriv->cap)*/; > else { > ata_port_printk(ap, KERN_ERR, "%s (%d)\n", emsg, rc); > ahci_init_port(port_mmio, hpriv->cap, >diff --git a/kernel/power/disk.c b/kernel/power/disk.c >index e13e740..e4c6c8f 100644 >--- a/kernel/power/disk.c >+++ b/kernel/power/disk.c >@@ -40,7 +40,7 @@ static void power_down(suspend_disk_method_t mode) > { > int error = 0; > >- switch(mode) { >+ /*switch(mode) { > case PM_DISK_PLATFORM: > kernel_shutdown_prepare(SYSTEM_SUSPEND_DISK); > error = pm_ops->enter(PM_SUSPEND_DISK); >@@ -51,8 +51,8 @@ static void power_down(suspend_disk_method_t mode) > case PM_DISK_REBOOT: > kernel_restart(NULL); > break; >- } >- kernel_halt(); >+ }*/ >+ //kernel_halt(); > /* Valid image is on the disk, if we continue we risk serious data corruption > after resume. */ > printk(KERN_CRIT "Please power me down manually\n");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 231088
:
111197
|
111198
|
113021
|
113022
|
113081
|
113103
|
113123
|
113274
|
113341
|
113426