Skip to contentSkip to conversation

2.6.21.1 problems during suspend-to-ram

DISCUSSION Marvin Stark 3 participants 8 messages Apr 29, 2007 – May 1, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

I'm suspending the maschine with sysfs (echo mem > /sys/power/state). Did I forget to set a option?

Here are some additional informations:

http://stuff.der-marv.de/macbook/vger/config.gz
http://stuff.der-marv.de/macbook/vger/dmesg
http://stuff.der-marv.de/macbook/vger/lsmod
http://stuff.der-marv.de/macbook/vger/lspci

Thanks and Regards,

Signature · 4 lines
 .""`.     Marvin Stark <[email protected]>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system
#1 lore raw
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

That's not an error - what problems do you think it's causing?

Signature · 1 line
Matthew Garrett | [email protected]
#2 lore raw
Quoted 9 lines · Matthew Garrett
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Regards,

Signature · 4 lines
 .""`.     Marvin Stark <[email protected]>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system
#3 lore raw
Quoted 7 lines · Marvin Stark
Quoted 6 lines · Matthew Garrett
Quoted 5 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Well, uh, to start with it might help if you actually told us what the problem is.

Signature · 1 line
Matthew Garrett | [email protected]
#4 lore raw
Quoted 10 lines · Matthew Garrett
Quoted 9 lines · Marvin Stark
Quoted 8 lines · Matthew Garrett
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Well, uh, to start with it might help if you actually told us what the problem is.

Main problem is, that the maschine is not shutting down (suspend consoles). I tried s2ram and s2disk with both programs I'm not able to suspend my maschine. All devices (nic, firewire, usb etc) except hdd were suspended without any problems. After that the maschine freezes, showing this message:

------- 8< -------
ACPI: PCI interrupt for device 0000:00.1f.2 disabled. ------- 8< -------

As 00:1f.2 is my S-ATA controller, I think my harddisk will not get suspended...

------- 8< -------
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
------- 8< -------

The only possibly way to suspend my system to disk is using sysfs. But this also only works when I set /sys/power/disk to "shutdown". If it's set to "platform" my system will not suspend.

So there must be a problem with ACPI. Am I right with this suspicion?

Regards,

Signature · 4 lines
 .""`.     Marvin Stark <[email protected]>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system
#5 lore raw
Quoted 37 lines · Marvin Stark
Quoted 10 lines · Matthew Garrett
Quoted 9 lines · Marvin Stark
Quoted 8 lines · Matthew Garrett
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Well, uh, to start with it might help if you actually told us what the problem is.

Main problem is, that the maschine is not shutting down (suspend consoles). I tried s2ram and s2disk with both programs I'm not able to suspend my maschine. All devices (nic, firewire, usb etc) except hdd were suspended without any problems. After that the maschine freezes, showing this message:

------- 8< -------
ACPI: PCI interrupt for device 0000:00.1f.2 disabled. ------- 8< -------

As 00:1f.2 is my S-ATA controller, I think my harddisk will not get suspended...

------- 8< -------
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
------- 8< -------

Quoted 5 lines

The only possibly way to suspend my system to disk is using sysfs. But this also only works when I set /sys/power/disk to "shutdown". If it's set to "platform" my system will not suspend.

So there must be a problem with ACPI. Am I right with this suspicion?

Probably, but the stack trace that you have quoted is likely unrelated to this problem.

Please try the appended patch and see if you can suspend to disk in the platform mode with it.

Greetings,
Rafael

---

---
 kernel/power/disk.c |    4 ++--
 kernel/power/user.c |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
kernel/power/disk.c +2 -2
Index: linux-2.6.21-rc7/kernel/power/disk.c
===================================================================
@@ -170,9 +170,9 @@ int pm_suspend_disk(void)
 
 	if (in_suspend) {
 		enable_nonboot_cpus();
-		platform_finish();
 		device_resume();
 		resume_console();
+		platform_finish();
 		pr_debug("PM: writing image.\n");
 		error = swsusp_write();
 		if (!error)
@@ -189,9 +189,9 @@ int pm_suspend_disk(void)
  Enable_cpus:
 	enable_nonboot_cpus();
  Resume_devices:
-	platform_finish();
 	device_resume();
 	resume_console();
+	platform_finish();
  Thaw:
 	unprepare_processes();
  Finish:
kernel/power/user.c +4 -4
Index: linux-2.6.21-rc7/kernel/power/user.c
===================================================================
@@ -170,11 +170,11 @@ static inline int snapshot_suspend(int p
 	}
 	enable_nonboot_cpus();
  Resume_devices:
+	device_resume();
+	resume_console();
 	if (platform_suspend)
 		platform_finish();
 
-	device_resume();
-	resume_console();
  Finish:
 	mutex_unlock(&pm_mutex);
 	return error;
@@ -202,11 +202,11 @@ static inline int snapshot_restore(int p
 
 	enable_nonboot_cpus();
  Resume_devices:
+	device_resume();
+	resume_console();
 	if (platform_suspend)
 		platform_finish();
 
-	device_resume();
-	resume_console();
  Finish:
 	pm_restore_console();
 	mutex_unlock(&pm_mutex);
#6 lore raw
Quoted 43 lines · Rafael J. Wysocki
Quoted 42 lines · Marvin Stark
Quoted 10 lines · Matthew Garrett
Quoted 9 lines · Marvin Stark
Quoted 8 lines · Matthew Garrett
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Well, uh, to start with it might help if you actually told us what the problem is.

Main problem is, that the maschine is not shutting down (suspend consoles). I tried s2ram and s2disk with both programs I'm not able to suspend my maschine. All devices (nic, firewire, usb etc) except hdd were suspended without any problems. After that the maschine freezes, showing this message:

------- 8< -------
ACPI: PCI interrupt for device 0000:00.1f.2 disabled. ------- 8< -------

As 00:1f.2 is my S-ATA controller, I think my harddisk will not get suspended...

------- 8< -------
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
------- 8< -------

The only possibly way to suspend my system to disk is using sysfs. But this also only works when I set /sys/power/disk to "shutdown". If it's set to "platform" my system will not suspend.

Quoted 7 lines
Quoted 1 line

So there must be a problem with ACPI. Am I right with this suspicion?

Probably, but the stack trace that you have quoted is likely unrelated to this problem.

Please try the appended patch and see if you can suspend to disk in the platform mode with it.

I applied this patch but suspend to disk still doesn't work in platform mode. Any other ideas? Do you have a clue whats going wrong here?
If you need more infos or data please tell me.

Quoted 3 lines

Greetings,
Rafael

[...]

Thanks,

Signature · 4 lines
 .""`.     Marvin Stark <[email protected]>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system
#7 lore raw
Quoted 46 lines · Marvin Stark
Quoted 45 lines · Rafael J. Wysocki
Quoted 43 lines · Marvin Stark
Quoted 10 lines · Matthew Garrett
Quoted 9 lines · Marvin Stark
Quoted 8 lines · Matthew Garrett
Quoted 6 lines · Marvin Stark

Hi,

I'm trying to suspend my MacBook2,1 to ram and always get following error during suspend:

ACPI: PCI interrupt for device 0000:00.1f.2 disabled.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

That's not an error - what problems do you think it's causing?

I realy dont know... Maybe you can give me some hints?
Is there a way to get more debug info except enable debugging in the kernel?

Well, uh, to start with it might help if you actually told us what the problem is.

Main problem is, that the maschine is not shutting down (suspend consoles). I tried s2ram and s2disk with both programs I'm not able to suspend my maschine. All devices (nic, firewire, usb etc) except hdd were suspended without any problems. After that the maschine freezes, showing this message:

------- 8< -------
ACPI: PCI interrupt for device 0000:00.1f.2 disabled. ------- 8< -------

As 00:1f.2 is my S-ATA controller, I think my harddisk will not get suspended...

------- 8< -------
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
------- 8< -------

The only possibly way to suspend my system to disk is using sysfs. But this also only works when I set /sys/power/disk to "shutdown". If it's set to "platform" my system will not suspend.

So there must be a problem with ACPI. Am I right with this suspicion?

Quoted 8 lines
Quoted 5 lines

Probably, but the stack trace that you have quoted is likely unrelated to this problem.

Please try the appended patch and see if you can suspend to disk in the platform mode with it.

I applied this patch but suspend to disk still doesn't work in platform mode. Any other ideas? Do you have a clue whats going wrong here?

No, I don't.

Quoted 1 line

If you need more infos or data please tell me.

I think more information will be necessary to resolve this problem, but at the moment I don't know which information will be relevant.

Could you please file a bug report at http://bugzilla.kernel.org, in the ACPI->Power-Sleep-Wake category and add my address to the CC list?

Greetings,
Rafael

Quoted 9 lines
Quoted 4 lines

Greetings,
Rafael

[...]

Thanks,

Signature · 3 lines
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King