public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.21.1 problems during suspend-to-ram
@ 2007-04-29 21:48 Marvin Stark
  2007-04-29 22:32 ` Matthew Garrett
  0 siblings, 1 reply; 8+ messages in thread
From: Marvin Stark @ 2007-04-29 21:48 UTC (permalink / raw)
  To: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

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,
-- 
 .""`.     Marvin Stark <marv@der-marv.de>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-29 21:48 2.6.21.1 problems during suspend-to-ram Marvin Stark
@ 2007-04-29 22:32 ` Matthew Garrett
  2007-04-30 17:31   ` Marvin Stark
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Garrett @ 2007-04-29 22:32 UTC (permalink / raw)
  To: Marvin Stark; +Cc: linux-acpi

On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> 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?

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-29 22:32 ` Matthew Garrett
@ 2007-04-30 17:31   ` Marvin Stark
  2007-04-30 17:43     ` Matthew Garrett
  0 siblings, 1 reply; 8+ messages in thread
From: Marvin Stark @ 2007-04-30 17:31 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > 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,
-- 
 .""`.     Marvin Stark <marv@der-marv.de>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-30 17:31   ` Marvin Stark
@ 2007-04-30 17:43     ` Matthew Garrett
  2007-04-30 18:27       ` Marvin Stark
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Garrett @ 2007-04-30 17:43 UTC (permalink / raw)
  To: Marvin Stark; +Cc: linux-acpi

On Mon, Apr 30, 2007 at 07:31:11PM +0200, Marvin Stark wrote:
> On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> > On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > > 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?

Well, uh, to start with it might help if you actually told us what the 
problem is.
-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-30 17:43     ` Matthew Garrett
@ 2007-04-30 18:27       ` Marvin Stark
  2007-04-30 20:01         ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Marvin Stark @ 2007-04-30 18:27 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

On Monday 30 April 2007 19:43, Matthew Garrett wrote:
> On Mon, Apr 30, 2007 at 07:31:11PM +0200, Marvin Stark wrote:
> > On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> > > On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > > > 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?
>
> 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,
-- 
 .""`.     Marvin Stark <marv@der-marv.de>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-30 18:27       ` Marvin Stark
@ 2007-04-30 20:01         ` Rafael J. Wysocki
  2007-05-01 12:33           ` Marvin Stark
  0 siblings, 1 reply; 8+ messages in thread
From: Rafael J. Wysocki @ 2007-04-30 20:01 UTC (permalink / raw)
  To: Marvin Stark; +Cc: Matthew Garrett, linux-acpi

On Monday, 30 April 2007 20:27, Marvin Stark wrote:
> On Monday 30 April 2007 19:43, Matthew Garrett wrote:
> > On Mon, Apr 30, 2007 at 07:31:11PM +0200, Marvin Stark wrote:
> > > On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> > > > On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > > > > 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?
> >
> > 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?

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(-)

Index: linux-2.6.21-rc7/kernel/power/disk.c
===================================================================
--- linux-2.6.21-rc7.orig/kernel/power/disk.c
+++ 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:
Index: linux-2.6.21-rc7/kernel/power/user.c
===================================================================
--- linux-2.6.21-rc7.orig/kernel/power/user.c
+++ 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);

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-04-30 20:01         ` Rafael J. Wysocki
@ 2007-05-01 12:33           ` Marvin Stark
  2007-05-01 13:06             ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Marvin Stark @ 2007-05-01 12:33 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 2561 bytes --]

On Monday 30 April 2007 22:01, Rafael J. Wysocki wrote:
> On Monday, 30 April 2007 20:27, Marvin Stark wrote:
> > On Monday 30 April 2007 19:43, Matthew Garrett wrote:
> > > On Mon, Apr 30, 2007 at 07:31:11PM +0200, Marvin Stark wrote:
> > > > On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> > > > > On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > > > > > 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?
> > >
> > > 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?
>
> 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.

>
> Greetings,
> Rafael


[...]

Thanks,
-- 
 .""`.     Marvin Stark <marv@der-marv.de>
: :"  :    Homepage: www.der-marv.de
`. `"`
  `-  Debian - when you have better things to do than fix a system

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 2.6.21.1 problems during suspend-to-ram
  2007-05-01 12:33           ` Marvin Stark
@ 2007-05-01 13:06             ` Rafael J. Wysocki
  0 siblings, 0 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2007-05-01 13:06 UTC (permalink / raw)
  To: Marvin Stark; +Cc: linux-acpi

On Tuesday, 1 May 2007 14:33, Marvin Stark wrote:
> On Monday 30 April 2007 22:01, Rafael J. Wysocki wrote:
> > On Monday, 30 April 2007 20:27, Marvin Stark wrote:
> > > On Monday 30 April 2007 19:43, Matthew Garrett wrote:
> > > > On Mon, Apr 30, 2007 at 07:31:11PM +0200, Marvin Stark wrote:
> > > > > On Monday 30 April 2007 00:32, Matthew Garrett wrote:
> > > > > > On Sun, Apr 29, 2007 at 11:48:29PM +0200, Marvin Stark wrote:
> > > > > > > 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?
> > > >
> > > > 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?
> >
> > 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.

> 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


> 
> >
> > Greetings,
> > Rafael
> 
> 
> [...]
> 
> Thanks,

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-05-01 13:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29 21:48 2.6.21.1 problems during suspend-to-ram Marvin Stark
2007-04-29 22:32 ` Matthew Garrett
2007-04-30 17:31   ` Marvin Stark
2007-04-30 17:43     ` Matthew Garrett
2007-04-30 18:27       ` Marvin Stark
2007-04-30 20:01         ` Rafael J. Wysocki
2007-05-01 12:33           ` Marvin Stark
2007-05-01 13:06             ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox