* ACPI S1 problem
@ 2004-10-03 14:22 Kenneth Johansson
2004-10-08 16:00 ` Stefan Seyfried
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Johansson @ 2004-10-03 14:22 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
I wanted to have standby mode working on my desktop so I do not have to
listen to the fan all the time and also have a quick start.
As I understand it I should be using S3 mode for this but
cat /proc/acpi/sleep only reports support for "S0 S1 S4 S5" so I tried
S1. Dose S1 turn of the hard disks and fan ?
For some reason mysql do not want to play
--
kernel: Stopping tasks: ===================================================================================
kernel: stopping tasks failed (1 tasks remaining)
kernel: Restarting tasks...<6> Strange, mysqld not stopped
--
After stopping mysql by hand I still have problem.
--
kernel: Stopping tasks: ======================================================================|
kernel: NVRM: ACPI: device not initialized!
kernel: Could not suspend device 0000:01:00.0: error -1
kernel: Restarting tasks... done
--
That device is the graphics card.
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0045 (rev a1)
I have seen that others have this working with nvidia card why dose it not work for me?
What dose the -1 error code mean?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ACPI S1 problem
2004-10-03 14:22 ACPI S1 problem Kenneth Johansson
@ 2004-10-08 16:00 ` Stefan Seyfried
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Seyfried @ 2004-10-08 16:00 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
On Sun, Oct 03, 2004 at 04:22:59PM +0200, Kenneth Johansson wrote:
> For some reason mysql do not want to play
> --
> kernel: Stopping tasks: ===================================================================================
> kernel: stopping tasks failed (1 tasks remaining)
> kernel: Restarting tasks...<6> Strange, mysqld not stopped
> --
>
> After stopping mysql by hand I still have problem.
Pavel sent a patch for this to lkml (works with swsusp), i'll attach it.
> kernel: Stopping tasks: ======================================================================|
> kernel: NVRM: ACPI: device not initialized!
> kernel: Could not suspend device 0000:01:00.0: error -1
> kernel: Restarting tasks... done
> --
> That device is the graphics card.
> 0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0045 (rev a1)
>
> I have seen that others have this working with nvidia card why dose it not work for me?
get rid of the binary only NVidia driver if you want suspend/standby now.
They are working on it but this may take some time, you know.
--
Stefan Seyfried
[-- Attachment #2: swsusp-mysql.patch --]
[-- Type: text/plain, Size: 558 bytes --]
--- clean/kernel/signal.c 2004-08-15 19:15:06.000000000 +0200
+++ linux/kernel/signal.c 2004-08-15 19:35:44.000000000 +0200
@@ -1433,9 +1433,7 @@
int why, status;
struct sighand_struct *psig;
- if (sig == -1)
- BUG();
-
+ BUG_ON(sig == -1);
BUG_ON(tsk->group_leader != tsk && tsk->group_leader->state != TASK_ZOMBIE && !tsk->ptrace);
BUG_ON(tsk->group_leader == tsk && !thread_group_empty(tsk) && !tsk->ptrace);
@@ -2162,6 +2160,8 @@
if (timeout)
ret = -EINTR;
}
+ if (current->flags & PF_FREEZE)
+ refrigerator(1);
return ret;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-08 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-03 14:22 ACPI S1 problem Kenneth Johansson
2004-10-08 16:00 ` Stefan Seyfried
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox