public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: acpi-20040715+D600+Suspend
@ 2004-09-01  2:17 Li, Shaohua
       [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D6DE-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Li, Shaohua @ 2004-09-01  2:17 UTC (permalink / raw)
  To: Ow Mun Heng, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Nathan Bryant, Brown, Len, Pallipadi, Venkatesh

Thanks you report this. Looks like the Link device resume issue. Link
device is a sysdev, so its resume is in irq disabled. But ACPI method
executed by Link device resume can't be in irq disabled. Most code in
ACPI CA is designed to execute not in IRQ disabled. Looks like we
ignored this.

Thanks,
Shaohua

>-----Original Message-----
>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
>admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ow Mun Heng
>Sent: Wednesday, September 01, 2004 9:17 AM
>To: Acpi-List
>Subject: [ACPI] acpi-20040715+D600+Suspend
>
>Hi guys,
>
>	Lo and Behold, I managed to get S3 to work on my laptop by
following
>instructions on this website.
>
>http://www.loria.fr/~thome/d600/
>
>However, I've not tested it further(as in using the normal kernel boot
>up line in grub.conf) to verify if it is the same whether or not I use
>video=radeonfb.
>
>I'm getting these errors during Suspend to disk.
>
>Warning: CPU frequency out of sync: cpufreq and timingcore thinks of
600000,
>is 1400000 kHz.
>Debug: sleeping function called from invalid context at mm/slab.c:1989
>in_atomic():1, irqs_disabled():0
> [<c01156ac>] __might_sleep+0xa5/0xaf
> [<c0135d3f>] __kmalloc+0x40/0x76
> [<c023bec9>] acpi_os_allocate+0xa/0xb
> [<c024fa1f>] acpi_ut_allocate+0x34/0x57
> [<c024f9b0>] acpi_ut_initialize_buffer+0x42/0x7d
> [<c024c85e>] acpi_rs_create_byte_stream+0x23/0x39
> [<c024dc1e>] acpi_rs_set_srs_method_data+0x1b/0x9d
> [<c011ecd4>] __group_send_sig_info+0x36/0x9d
> [<c011ee0a>] group_send_sig_info+0x58/0x61
> [<c02556fd>] acpi_pci_link_set+0xde/0x155
> [<c0255b0f>] irqrouter_resume+0x1c/0x30
> [<c027bfff>] sysdev_resume+0x3e/0xc7
> [<c027ea69>] device_power_up+0x5/0xa
> [<c012b332>] do_magic_resume_2+0x63/0xb9
> [<c02db0d9>] copy_done+0x49/0x4c
> [<c012b536>] software_suspend+0x98/0xae
> [<c0252322>] acpi_system_write_sleep+0x6a/0x85
> [<c014650c>] vfs_write+0xb8/0xe4
> [<c01465d6>] sys_write+0x3c/0x62
> [<c01059fd>] sysenter_past_esp+0x52/0x71
>ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
>PCI: Setting latency timer of device 0000:00:1d.0 to 64
>ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
>PCI: Setting latency timer of device 0000:00:1d.1 to 64
>ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
>PCI: Setting latency timer of device 0000:00:1d.2 to 64
>ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
>PCI: Setting latency timer of device 0000:00:1d.7 to 64
>ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
>ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
>PCI: Setting latency timer of device 0000:00:1f.5 to 64
>radeonfb: resumed !
>ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ 11
>Fixing swap signatures... ok
>
>
>I also noticed that now, suspend does not work as it should/or was when
>I was using 2.6.7 kernel.
>
>Right now, it will go to the Freeing memory section.. then the screen
>goes blank. (blacklight still on) and then stays that way for quite
>sometime before I see the words "radeonfb: resumed" and when that
>happens, it's as though time stood still. It won't start writing to the
>disk until I press a key. (I usually just press the spacebar) and then
>it will start writing and works OK from that. (I am writing on my
laptop
>which is been suspended(hibernated) and resumed a few times already.
>
>Anything changed or broke??
>
>--
>Ow Mun Heng
>Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29
>Neuromancer 01:06:38 up 1 day, 3:25, 1 user, load average: 0.73, 0.88,
>0.93
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: acpi-20040715+D600+Suspend
@ 2004-09-01  5:31 Pallipadi, Venkatesh
  0 siblings, 0 replies; 21+ messages in thread
From: Pallipadi, Venkatesh @ 2004-09-01  5:31 UTC (permalink / raw)
  To: Li, Shaohua, Nathan Bryant, Pavel Machek
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Brown, Len


May be I am completely off-target.
Can we add something in do_irq, not to call any device driver 
irq handlers until the complete resume is done and enable 
irqs before link device resume?

Thanks,
Venki 

>-----Original Message-----
>From: Li, Shaohua 
>Sent: Tuesday, August 31, 2004 8:12 PM
>To: Nathan Bryant; Pavel Machek
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Brown, Len; Pallipadi, Venkatesh
>Subject: RE: [ACPI] acpi-20040715+D600+Suspend
>
>On Wednesday, September 01, 2004, Nathan Bryant wrote:
>>>
>>>
>>I was afraid you were going to say that.
>>
>>You know there is already some special case code to init the i8259
>>earlier for specfic blacklisted laptops. Maybe we can generalize that;
>>it is starting to look like we are stuck with special casing 
>all the IRQ
>>init. Do you agree or disagree?
>Don't know if it can apply for all cases. IIRC, there is a 
>similar case (in SMP, resume MTRR) about resume failure in IRQ 
>disabled. Pavel, can you show us a light per the MTRR case?
>
>Thanks,
>Shaohua
>>>>>>-----Original Message-----
>>>>>>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
>>>>>>admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ow Mun Heng
>>>>>>Sent: Wednesday, September 01, 2004 9:17 AM
>>>>>>To: Acpi-List
>>>>>>Subject: [ACPI] acpi-20040715+D600+Suspend
>>>>>>
>>>>>>Hi guys,
>>>>>>
>>>>>>	Lo and Behold, I managed to get S3 to work on my laptop by
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>following
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>instructions on this website.
>>>>>>
>>>>>>http://www.loria.fr/~thome/d600/
>>>>>>
>>>>>>However, I've not tested it further(as in using the normal kernel
>>>>>>
>>>>>>
>>>boot
>>>
>>>
>>>>>>up line in grub.conf) to verify if it is the same whether or not I
>>>>>>
>>>>>>
>>>use
>>>
>>>
>>>>>>video=radeonfb.
>>>>>>
>>>>>>I'm getting these errors during Suspend to disk.
>>>>>>
>>>>>>Warning: CPU frequency out of sync: cpufreq and 
>timingcore thinks of
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>600000,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>is 1400000 kHz.
>>>>>>Debug: sleeping function called from invalid context at
>>>>>>
>>>>>>
>>>mm/slab.c:1989
>>>
>>>
>>>>>>in_atomic():1, irqs_disabled():0
>>>>>>[<c01156ac>] __might_sleep+0xa5/0xaf
>>>>>>[<c0135d3f>] __kmalloc+0x40/0x76
>>>>>>[<c023bec9>] acpi_os_allocate+0xa/0xb
>>>>>>[<c024fa1f>] acpi_ut_allocate+0x34/0x57
>>>>>>[<c024f9b0>] acpi_ut_initialize_buffer+0x42/0x7d
>>>>>>[<c024c85e>] acpi_rs_create_byte_stream+0x23/0x39
>>>>>>[<c024dc1e>] acpi_rs_set_srs_method_data+0x1b/0x9d
>>>>>>[<c011ecd4>] __group_send_sig_info+0x36/0x9d
>>>>>>[<c011ee0a>] group_send_sig_info+0x58/0x61
>>>>>>[<c02556fd>] acpi_pci_link_set+0xde/0x155
>>>>>>[<c0255b0f>] irqrouter_resume+0x1c/0x30
>>>>>>[<c027bfff>] sysdev_resume+0x3e/0xc7
>>>>>>[<c027ea69>] device_power_up+0x5/0xa
>>>>>>[<c012b332>] do_magic_resume_2+0x63/0xb9
>>>>>>[<c02db0d9>] copy_done+0x49/0x4c
>>>>>>[<c012b536>] software_suspend+0x98/0xae
>>>>>>[<c0252322>] acpi_system_write_sleep+0x6a/0x85
>>>>>>[<c014650c>] vfs_write+0xb8/0xe4
>>>>>>[<c01465d6>] sys_write+0x3c/0x62
>>>>>>[<c01059fd>] sysenter_past_esp+0x52/0x71
>>>>>>ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>PCI: Setting latency timer of device 0000:00:1d.0 to 64
>>>>>>ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>PCI: Setting latency timer of device 0000:00:1d.1 to 64
>>>>>>ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>PCI: Setting latency timer of device 0000:00:1d.2 to 64
>>>>>>ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>PCI: Setting latency timer of device 0000:00:1d.7 to 64
>>>>>>ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
>>>>>>PCI: Setting latency timer of device 0000:00:1f.5 to 64
>>>>>>radeonfb: resumed !
>>>>>>ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, 
>low) -> IRQ 11
>>>>>>Fixing swap signatures... ok
>>>>>>
>>>>>>
>>>>>>I also noticed that now, suspend does not work as it should/or was
>>>>>>
>>>>>>
>>>when
>>>
>>>
>>>>>>I was using 2.6.7 kernel.
>>>>>>
>>>>>>Right now, it will go to the Freeing memory section.. 
>then the screen
>>>>>>goes blank. (blacklight still on) and then stays that way 
>for quite
>>>>>>sometime before I see the words "radeonfb: resumed" and when that
>>>>>>happens, it's as though time stood still. It won't start 
>writing to
>>>>>>
>>>>>>
>>>the
>>>
>>>
>>>>>>disk until I press a key. (I usually just press the spacebar) and
>>>>>>
>>>>>>
>>>then
>>>
>>>
>>>>>>it will start writing and works OK from that. (I am writing on my
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>laptop
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>which is been suspended(hibernated) and resumed a few 
>times already.
>>>>>>
>>>>>>Anything changed or broke??
>>>>>>
>>>>>>--
>>>>>>Ow Mun Heng
>>>>>>Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29
>>>>>>Neuromancer 01:06:38 up 1 day, 3:25, 1 user, load average: 0.73,
>>>>>>
>>>>>>
>>>0.88,
>>>
>>>
>>>>>>0.93
>>>>>>
>>>>>>
>>>>>>-------------------------------------------------------
>>>>>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>>>>>FREE Java Enterprise J2EE developer tools!
>>>>>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>>>>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>>>>>>_______________________________________________
>>>>>>Acpi-devel mailing list
>>>>>>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: acpi-20040715+D600+Suspend
@ 2004-09-01  3:12 Li, Shaohua
       [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D792-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Li, Shaohua @ 2004-09-01  3:12 UTC (permalink / raw)
  To: Nathan Bryant, Pavel Machek
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Brown, Len,
	Pallipadi, Venkatesh

On Wednesday, September 01, 2004, Nathan Bryant wrote:
>>
>>
>I was afraid you were going to say that.
>
>You know there is already some special case code to init the i8259
>earlier for specfic blacklisted laptops. Maybe we can generalize that;
>it is starting to look like we are stuck with special casing all the
IRQ
>init. Do you agree or disagree?
Don't know if it can apply for all cases. IIRC, there is a similar case
(in SMP, resume MTRR) about resume failure in IRQ disabled. Pavel, can
you show us a light per the MTRR case?

Thanks,
Shaohua
>>>>>-----Original Message-----
>>>>>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
>>>>>admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ow Mun Heng
>>>>>Sent: Wednesday, September 01, 2004 9:17 AM
>>>>>To: Acpi-List
>>>>>Subject: [ACPI] acpi-20040715+D600+Suspend
>>>>>
>>>>>Hi guys,
>>>>>
>>>>>	Lo and Behold, I managed to get S3 to work on my laptop by
>>>>>
>>>>>
>>>>>
>>>>>
>>>>following
>>>>
>>>>
>>>>
>>>>
>>>>>instructions on this website.
>>>>>
>>>>>http://www.loria.fr/~thome/d600/
>>>>>
>>>>>However, I've not tested it further(as in using the normal kernel
>>>>>
>>>>>
>>boot
>>
>>
>>>>>up line in grub.conf) to verify if it is the same whether or not I
>>>>>
>>>>>
>>use
>>
>>
>>>>>video=radeonfb.
>>>>>
>>>>>I'm getting these errors during Suspend to disk.
>>>>>
>>>>>Warning: CPU frequency out of sync: cpufreq and timingcore thinks
of
>>>>>
>>>>>
>>>>>
>>>>>
>>>>600000,
>>>>
>>>>
>>>>
>>>>
>>>>>is 1400000 kHz.
>>>>>Debug: sleeping function called from invalid context at
>>>>>
>>>>>
>>mm/slab.c:1989
>>
>>
>>>>>in_atomic():1, irqs_disabled():0
>>>>>[<c01156ac>] __might_sleep+0xa5/0xaf
>>>>>[<c0135d3f>] __kmalloc+0x40/0x76
>>>>>[<c023bec9>] acpi_os_allocate+0xa/0xb
>>>>>[<c024fa1f>] acpi_ut_allocate+0x34/0x57
>>>>>[<c024f9b0>] acpi_ut_initialize_buffer+0x42/0x7d
>>>>>[<c024c85e>] acpi_rs_create_byte_stream+0x23/0x39
>>>>>[<c024dc1e>] acpi_rs_set_srs_method_data+0x1b/0x9d
>>>>>[<c011ecd4>] __group_send_sig_info+0x36/0x9d
>>>>>[<c011ee0a>] group_send_sig_info+0x58/0x61
>>>>>[<c02556fd>] acpi_pci_link_set+0xde/0x155
>>>>>[<c0255b0f>] irqrouter_resume+0x1c/0x30
>>>>>[<c027bfff>] sysdev_resume+0x3e/0xc7
>>>>>[<c027ea69>] device_power_up+0x5/0xa
>>>>>[<c012b332>] do_magic_resume_2+0x63/0xb9
>>>>>[<c02db0d9>] copy_done+0x49/0x4c
>>>>>[<c012b536>] software_suspend+0x98/0xae
>>>>>[<c0252322>] acpi_system_write_sleep+0x6a/0x85
>>>>>[<c014650c>] vfs_write+0xb8/0xe4
>>>>>[<c01465d6>] sys_write+0x3c/0x62
>>>>>[<c01059fd>] sysenter_past_esp+0x52/0x71
>>>>>ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ
11
>>>>>PCI: Setting latency timer of device 0000:00:1d.0 to 64
>>>>>ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ
11
>>>>>PCI: Setting latency timer of device 0000:00:1d.1 to 64
>>>>>ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ
11
>>>>>PCI: Setting latency timer of device 0000:00:1d.2 to 64
>>>>>ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ
11
>>>>>PCI: Setting latency timer of device 0000:00:1d.7 to 64
>>>>>ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ
11
>>>>>ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
>>>>>PCI: Setting latency timer of device 0000:00:1f.5 to 64
>>>>>radeonfb: resumed !
>>>>>ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ
11
>>>>>Fixing swap signatures... ok
>>>>>
>>>>>
>>>>>I also noticed that now, suspend does not work as it should/or was
>>>>>
>>>>>
>>when
>>
>>
>>>>>I was using 2.6.7 kernel.
>>>>>
>>>>>Right now, it will go to the Freeing memory section.. then the
screen
>>>>>goes blank. (blacklight still on) and then stays that way for quite
>>>>>sometime before I see the words "radeonfb: resumed" and when that
>>>>>happens, it's as though time stood still. It won't start writing to
>>>>>
>>>>>
>>the
>>
>>
>>>>>disk until I press a key. (I usually just press the spacebar) and
>>>>>
>>>>>
>>then
>>
>>
>>>>>it will start writing and works OK from that. (I am writing on my
>>>>>
>>>>>
>>>>>
>>>>>
>>>>laptop
>>>>
>>>>
>>>>
>>>>
>>>>>which is been suspended(hibernated) and resumed a few times
already.
>>>>>
>>>>>Anything changed or broke??
>>>>>
>>>>>--
>>>>>Ow Mun Heng
>>>>>Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29
>>>>>Neuromancer 01:06:38 up 1 day, 3:25, 1 user, load average: 0.73,
>>>>>
>>>>>
>>0.88,
>>
>>
>>>>>0.93
>>>>>
>>>>>
>>>>>-------------------------------------------------------
>>>>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>>>>FREE Java Enterprise J2EE developer tools!
>>>>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>>>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>>>>>_______________________________________________
>>>>>Acpi-devel mailing list
>>>>>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: acpi-20040715+D600+Suspend
@ 2004-09-01  2:46 Li, Shaohua
       [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D745-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Li, Shaohua @ 2004-09-01  2:46 UTC (permalink / raw)
  To: Nathan Bryant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Ow Mun Heng, Brown, Len, Pallipadi, Venkatesh

Wednesday, September 01, 2004, Nathan Bryant wrote:
>Oops, that's my bad. Thanks for the quick explanation, Shaohua, looks
>like we have to move the resume to a special case that runs before
>sysdevs. If that's ok with everyone, I'll try to make a patch.
The limitation of ACPI CA code always confuses people. Run it before
sysdev means we must enable IRQ. It sounds like risky before we resume
LAPIC and PIC/IOAPIC. I'm considering resume it after sysdev but before
any device driver. But this way it still breaks some systems (In
previous email, we even propose to resume irqrouter before PIC). 

Thanks,
Shaohua
>
>>>-----Original Message-----
>>>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
>>>admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ow Mun Heng
>>>Sent: Wednesday, September 01, 2004 9:17 AM
>>>To: Acpi-List
>>>Subject: [ACPI] acpi-20040715+D600+Suspend
>>>
>>>Hi guys,
>>>
>>>	Lo and Behold, I managed to get S3 to work on my laptop by
>>>
>>>
>>following
>>
>>
>>>instructions on this website.
>>>
>>>http://www.loria.fr/~thome/d600/
>>>
>>>However, I've not tested it further(as in using the normal kernel
boot
>>>up line in grub.conf) to verify if it is the same whether or not I
use
>>>video=radeonfb.
>>>
>>>I'm getting these errors during Suspend to disk.
>>>
>>>Warning: CPU frequency out of sync: cpufreq and timingcore thinks of
>>>
>>>
>>600000,
>>
>>
>>>is 1400000 kHz.
>>>Debug: sleeping function called from invalid context at
mm/slab.c:1989
>>>in_atomic():1, irqs_disabled():0
>>>[<c01156ac>] __might_sleep+0xa5/0xaf
>>>[<c0135d3f>] __kmalloc+0x40/0x76
>>>[<c023bec9>] acpi_os_allocate+0xa/0xb
>>>[<c024fa1f>] acpi_ut_allocate+0x34/0x57
>>>[<c024f9b0>] acpi_ut_initialize_buffer+0x42/0x7d
>>>[<c024c85e>] acpi_rs_create_byte_stream+0x23/0x39
>>>[<c024dc1e>] acpi_rs_set_srs_method_data+0x1b/0x9d
>>>[<c011ecd4>] __group_send_sig_info+0x36/0x9d
>>>[<c011ee0a>] group_send_sig_info+0x58/0x61
>>>[<c02556fd>] acpi_pci_link_set+0xde/0x155
>>>[<c0255b0f>] irqrouter_resume+0x1c/0x30
>>>[<c027bfff>] sysdev_resume+0x3e/0xc7
>>>[<c027ea69>] device_power_up+0x5/0xa
>>>[<c012b332>] do_magic_resume_2+0x63/0xb9
>>>[<c02db0d9>] copy_done+0x49/0x4c
>>>[<c012b536>] software_suspend+0x98/0xae
>>>[<c0252322>] acpi_system_write_sleep+0x6a/0x85
>>>[<c014650c>] vfs_write+0xb8/0xe4
>>>[<c01465d6>] sys_write+0x3c/0x62
>>>[<c01059fd>] sysenter_past_esp+0x52/0x71
>>>ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
>>>PCI: Setting latency timer of device 0000:00:1d.0 to 64
>>>ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
>>>PCI: Setting latency timer of device 0000:00:1d.1 to 64
>>>ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
>>>PCI: Setting latency timer of device 0000:00:1d.2 to 64
>>>ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
>>>PCI: Setting latency timer of device 0000:00:1d.7 to 64
>>>ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
>>>ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
>>>PCI: Setting latency timer of device 0000:00:1f.5 to 64
>>>radeonfb: resumed !
>>>ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ 11
>>>Fixing swap signatures... ok
>>>
>>>
>>>I also noticed that now, suspend does not work as it should/or was
when
>>>I was using 2.6.7 kernel.
>>>
>>>Right now, it will go to the Freeing memory section.. then the screen
>>>goes blank. (blacklight still on) and then stays that way for quite
>>>sometime before I see the words "radeonfb: resumed" and when that
>>>happens, it's as though time stood still. It won't start writing to
the
>>>disk until I press a key. (I usually just press the spacebar) and
then
>>>it will start writing and works OK from that. (I am writing on my
>>>
>>>
>>laptop
>>
>>
>>>which is been suspended(hibernated) and resumed a few times already.
>>>
>>>Anything changed or broke??
>>>
>>>--
>>>Ow Mun Heng
>>>Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29
>>>Neuromancer 01:06:38 up 1 day, 3:25, 1 user, load average: 0.73,
0.88,
>>>0.93
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>>FREE Java Enterprise J2EE developer tools!
>>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>>>_______________________________________________
>>>Acpi-devel mailing list
>>>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>>
>>>
>>
>>
>>
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* acpi-20040715+D600+Suspend
@ 2004-09-01  1:17 Ow Mun Heng
       [not found] ` <1093972503.9372.38.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Ow Mun Heng @ 2004-09-01  1:17 UTC (permalink / raw)
  To: Acpi-List

Hi guys,
	
	Lo and Behold, I managed to get S3 to work on my laptop by following
instructions on this website.

http://www.loria.fr/~thome/d600/

However, I've not tested it further(as in using the normal kernel boot
up line in grub.conf) to verify if it is the same whether or not I use
video=radeonfb.

I'm getting these errors during Suspend to disk.

Warning: CPU frequency out of sync: cpufreq and timingcore thinks of 600000, is 1400000 kHz.
Debug: sleeping function called from invalid context at mm/slab.c:1989
in_atomic():1, irqs_disabled():0
 [<c01156ac>] __might_sleep+0xa5/0xaf
 [<c0135d3f>] __kmalloc+0x40/0x76
 [<c023bec9>] acpi_os_allocate+0xa/0xb
 [<c024fa1f>] acpi_ut_allocate+0x34/0x57
 [<c024f9b0>] acpi_ut_initialize_buffer+0x42/0x7d
 [<c024c85e>] acpi_rs_create_byte_stream+0x23/0x39
 [<c024dc1e>] acpi_rs_set_srs_method_data+0x1b/0x9d
 [<c011ecd4>] __group_send_sig_info+0x36/0x9d
 [<c011ee0a>] group_send_sig_info+0x58/0x61
 [<c02556fd>] acpi_pci_link_set+0xde/0x155
 [<c0255b0f>] irqrouter_resume+0x1c/0x30
 [<c027bfff>] sysdev_resume+0x3e/0xc7
 [<c027ea69>] device_power_up+0x5/0xa
 [<c012b332>] do_magic_resume_2+0x63/0xb9
 [<c02db0d9>] copy_done+0x49/0x4c
 [<c012b536>] software_suspend+0x98/0xae
 [<c0252322>] acpi_system_write_sleep+0x6a/0x85
 [<c014650c>] vfs_write+0xb8/0xe4
 [<c01465d6>] sys_write+0x3c/0x62
 [<c01059fd>] sysenter_past_esp+0x52/0x71
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.1 to 64
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.2 to 64
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 7 (level, low) -> IRQ 7
PCI: Setting latency timer of device 0000:00:1f.5 to 64
radeonfb: resumed !
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ 11
Fixing swap signatures... ok


I also noticed that now, suspend does not work as it should/or was when
I was using 2.6.7 kernel. 

Right now, it will go to the Freeing memory section.. then the screen
goes blank. (blacklight still on) and then stays that way for quite
sometime before I see the words "radeonfb: resumed" and when that
happens, it's as though time stood still. It won't start writing to the
disk until I press a key. (I usually just press the spacebar) and then
it will start writing and works OK from that. (I am writing on my laptop
which is been suspended(hibernated) and resumed a few times already.

Anything changed or broke??

-- 
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29 
Neuromancer 01:06:38 up 1 day, 3:25, 1 user, load average: 0.73, 0.88,
0.93 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

end of thread, other threads:[~2004-09-15  3:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-01  2:17 acpi-20040715+D600+Suspend Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D6DE-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01  2:25   ` acpi-20040715+D600+Suspend Nathan Bryant
2004-09-15  3:34   ` acpi-20040715+D600+Suspend Li Shaohua
  -- strict thread matches above, loose matches on Subject: below --
2004-09-01  5:31 acpi-20040715+D600+Suspend Pallipadi, Venkatesh
2004-09-01  3:12 acpi-20040715+D600+Suspend Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D792-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01  4:02   ` acpi-20040715+D600+Suspend Ow Mun Heng
2004-09-02 14:33   ` acpi-20040715+D600+Suspend Pavel Machek
2004-09-01  2:46 acpi-20040715+D600+Suspend Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D745-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01  2:50   ` acpi-20040715+D600+Suspend Nathan Bryant
2004-09-01  1:17 acpi-20040715+D600+Suspend Ow Mun Heng
     [not found] ` <1093972503.9372.38.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
2004-09-02 14:30   ` acpi-20040715+D600+Suspend Pavel Machek
     [not found]     ` <20040902143034.GA676-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-06  3:41       ` acpi-20040715+D600+Suspend Ow Mun Heng
     [not found]         ` <1094442085.21466.29.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
2004-09-06 17:13           ` acpi-20040715+D600+Suspend Pavel Machek
     [not found]             ` <20040906171349.GC26195-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-09-07  3:22               ` acpi-20040715+D600+Suspend Ow Mun Heng
     [not found]                 ` <1094527351.25454.14.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
2004-09-07  4:38                   ` acpi-20040715+D600+Suspend Cameron Patrick
2004-09-07  9:34                   ` acpi-20040715+D600+Suspend Pavel Machek
     [not found]                     ` <20040907093424.GA30810-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-09-10 10:06                       ` acpi-20040715+D600+Suspend Nigel Cunningham
     [not found]                         ` <1094768209.2843.6.camel-AdgCB+f5QAxwBzq2CxEN2SkBHpOjBR89@public.gmane.org>
2004-09-10 10:17                           ` acpi-20040715+D600+Suspend Ow Mun Heng
     [not found]                             ` <1094811463.27216.117.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
2004-09-10 10:21                               ` acpi-20040715+D600+Suspend Nigel Cunningham
2004-09-10 10:46                               ` acpi-20040715+D600+Suspend Pavel Machek
     [not found]                                 ` <20040910104641.GA24171-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-09-10 14:15                                   ` acpi-20040715+D600+Suspend Stefan Seyfried

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