Skip to contentSkip to conversation

ACPI S1 problem

DISCUSSION Kenneth Johansson 2 participants 2 messages Oct 3, 2004 – Oct 8, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 8 lines · Kenneth Johansson

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.

Quoted 9 lines

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.

Signature · 1 line
Stefan Seyfried
kernel/signal.c +3 -3
@@ -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;
 }