* 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
* 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
[not found] ` <B44D37711ED29844BEA67908EAF36F03B0D6DE-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-09-01 2:25 ` Nathan Bryant
2004-09-15 3:34 ` acpi-20040715+D600+Suspend Li Shaohua
1 sibling, 0 replies; 21+ messages in thread
From: Nathan Bryant @ 2004-09-01 2:25 UTC (permalink / raw)
To: Li, Shaohua
Cc: Ow Mun Heng, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
Brown, Len, Pallipadi, Venkatesh
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.
Nathan
Li, Shaohua wrote:
>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_id=5047&alloc_id=10808&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
* Re: acpi-20040715+D600+Suspend
[not found] ` <B44D37711ED29844BEA67908EAF36F03B0D745-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-09-01 2:50 ` Nathan Bryant
0 siblings, 0 replies; 21+ messages in thread
From: Nathan Bryant @ 2004-09-01 2:50 UTC (permalink / raw)
To: Li, Shaohua
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Ow Mun Heng,
Brown, Len, Pallipadi, Venkatesh
Li, Shaohua wrote:
>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).
>
>
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?
Nathan
>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_id=5047&alloc_id=10808&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
[not found] ` <B44D37711ED29844BEA67908EAF36F03B0D792-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-09-01 4:02 ` Ow Mun Heng
2004-09-02 14:33 ` acpi-20040715+D600+Suspend Pavel Machek
1 sibling, 0 replies; 21+ messages in thread
From: Ow Mun Heng @ 2004-09-01 4:02 UTC (permalink / raw)
To: Acpi-List
On Wed, 2004-09-01 at 11:12, Li, Shaohua wrote:
> 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?
Okay.. this is too deep for me to understand.
The latest resume from hibernate ended up with a segmentation fault and
placed me in a virtual term and it says INIT ??? I didn't copy it down
since I didn't have a pen/paper handy. (it says it's retrying at every
30sec interval)
I just tried booting up with the normal kernel boot parameter "vga=0x342
resume=/dev/hdx", the resume still has the same thing.
Let me know how I can help.
The Keyboard press to get it to start writing to the swap, is it
relevent?
-------------------------------------------------------
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
* 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
[not found] ` <1093972503.9372.38.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
@ 2004-09-02 14:30 ` Pavel Machek
[not found] ` <20040902143034.GA676-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Pavel Machek @ 2004-09-02 14:30 UTC (permalink / raw)
To: Ow Mun Heng; +Cc: Acpi-List
Hi!
> 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
Turn off CONFIG_PREEMPT. Or better test latest -rcX-mmX.
Pavel
--
When do you have heart between your knees?
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <B44D37711ED29844BEA67908EAF36F03B0D792-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01 4:02 ` acpi-20040715+D600+Suspend Ow Mun Heng
@ 2004-09-02 14:33 ` Pavel Machek
1 sibling, 0 replies; 21+ messages in thread
From: Pavel Machek @ 2004-09-02 14:33 UTC (permalink / raw)
To: Li, Shaohua
Cc: Nathan Bryant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
Brown, Len, Pallipadi, Venkatesh
Hi!
> >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?
I do not know about MTRR much... System should work without MTRR,
right?
Anyway that specific blacklisted laptop is toshiba 4030cdt, right?
That's *really* old hack. I guess it could be safely killed these
days, as we call driver model during S1 anyway.
Pavel
--
When do you have heart between your knees?
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <20040902143034.GA676-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-09-06 3:41 ` Ow Mun Heng
[not found] ` <1094442085.21466.29.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Ow Mun Heng @ 2004-09-06 3:41 UTC (permalink / raw)
To: Pavel Machek; +Cc: Acpi-List
On Thu, 2004-09-02 at 22:30, Pavel Machek wrote:
> Hi!
>
> > 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
>
> Turn off CONFIG_PREEMPT. Or better test latest -rcX-mmX.
Hey.. pavel.. thanks to your suggestion, my weekend was wrecked (good
natured sarcasm). I found out the hard way that there rc1-mm1 kernel,
(the only one which worked fairly well) has quite a biting bug that
caused data loss.
I had my root partition (reiserfs crash), I lost a few trivial files (i
hope) and had to do a rebuild-tree.
After that, it was all downhill, I had rpm errors, my database was
currupted (or so I thought) and tar wouldn't finish on some of those .db
files (I was trying to back up evolution as I anticipated a re-install)
Anyway.. I'm now back on 2.6.8.1 (after finding out that this is a known
bug)
Anyway again, I only found that 2.6.9-rc1-mm1 works in the sense that it
didn't need a "keyboard press for it to initiate writing/suspend to
disk"
All the rest didn't work. That's meaning 2.6.9/2.6.9-rc1-mm2/2.6.8.1
I see that 2.6.9-rc1-mm3 is out, I will test it. (hopefully it doen't
bite)
> Pavel
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.8.1.Aug.29
Neuromancer 11:18:26 up 1:05, 6 users, load average: 1.54, 0.90, 0.52
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <1094442085.21466.29.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
@ 2004-09-06 17:13 ` Pavel Machek
[not found] ` <20040906171349.GC26195-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Pavel Machek @ 2004-09-06 17:13 UTC (permalink / raw)
To: Ow Mun Heng; +Cc: Acpi-List
Hi!
> > Turn off CONFIG_PREEMPT. Or better test latest -rcX-mmX.
>
> Hey.. pavel.. thanks to your suggestion, my weekend was wrecked (good
> natured sarcasm). I found out the hard way that there rc1-mm1 kernel,
> (the only one which worked fairly well) has quite a biting bug that
> caused data loss.
Sorry for that.
> I had my root partition (reiserfs crash), I lost a few trivial files (i
> hope) and had to do a rebuild-tree.
Hmm, do not use reiserfs ;-).
Pavel
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <20040906171349.GC26195-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-09-07 3:22 ` Ow Mun Heng
[not found] ` <1094527351.25454.14.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Ow Mun Heng @ 2004-09-07 3:22 UTC (permalink / raw)
To: Pavel Machek; +Cc: Acpi-List
On Tue, 2004-09-07 at 01:13, Pavel Machek wrote:
> Hi!
>
> > > Turn off CONFIG_PREEMPT. Or better test latest -rcX-mmX.
> >
> > Hey.. pavel.. thanks to your suggestion, my weekend was wrecked (good
> > natured sarcasm). I found out the hard way that there rc1-mm1 kernel,
> > (the only one which worked fairly well) has quite a biting bug that
> > caused data loss.
>
> Sorry for that.
As I mentioned. it was good natured sarcasm.
I'm back on 2.6.7 with the interactive patch and an old acpi code.
Just an update, I've tried 2.6.9 yesterday, still had the irq_disabled
problem. (though did not need a keyboard press to activate writing to
swap)
2.6.9-rc1-mm3 compiled OK once i8042 is patched (or reversed patched)
but it won't perform modules_install. Problem with "ln" and multiple
directories.
>
> > I had my root partition (reiserfs crash), I lost a few trivial files (i
> > hope) and had to do a rebuild-tree.
>
> Hmm, do not use reiserfs ;-).
Hmm.. isn't reiserfs better?
I dunno.
Suse uses it as their root fs.
I've only switched to reiserfs for my FC2 install. (and frankly, like
since I went to FC2 3+ months ago, I've had like 3 reiserfs
--rebuild-checks) compared to like NONE when I was on RH9/ext3 for ~8
months.
What's the majority of ppl using? I know this is Off-topic. sorry..
XFS for my /home 20GB dir. It handles fairly well. (as long as there's
no sudden power loss, as I read XFS caches the data aggressively and not
to sync with the disk)
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 11:15:19 up 3:04, 7 users, load average: 1.38, 0.84, 0.64
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <1094527351.25454.14.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
@ 2004-09-07 4:38 ` Cameron Patrick
2004-09-07 9:34 ` acpi-20040715+D600+Suspend Pavel Machek
1 sibling, 0 replies; 21+ messages in thread
From: Cameron Patrick @ 2004-09-07 4:38 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Ow Mun Heng wrote:
> > Hmm, do not use reiserfs ;-).
> Hmm.. isn't reiserfs better?
> I dunno.
> Suse uses it as their root fs.
> I've only switched to reiserfs for my FC2 install. (and frankly, like
> since I went to FC2 3+ months ago, I've had like 3 reiserfs
> --rebuild-checks) compared to like NONE when I was on RH9/ext3 for ~8
> months.
> What's the majority of ppl using? I know this is Off-topic. sorry..
In my experience, ext3 is the best in terms of not losing any data. I
tend to use reiserfs because it's faster, though... I've never had to
do a reiserfs rebuild.
> XFS for my /home 20GB dir. It handles fairly well. (as long as there's
> no sudden power loss, as I read XFS caches the data aggressively and not
> to sync with the disk)
I used to use XFS. On a few occasions it crashed hard and would
refuse to mount again (needed an xfs_recover). I ended up with many
corrupted files full of NULL bytes, pretty much every time the machine
lost power or crashed (yay Nvidia drivers) :(
Cameron.
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[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 ` Pavel Machek
[not found] ` <20040907093424.GA30810-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
1 sibling, 1 reply; 21+ messages in thread
From: Pavel Machek @ 2004-09-07 9:34 UTC (permalink / raw)
To: Ow Mun Heng; +Cc: Acpi-List
Hi!
> > > I had my root partition (reiserfs crash), I lost a few trivial files (i
> > > hope) and had to do a rebuild-tree.
> >
> > Hmm, do not use reiserfs ;-).
> Hmm.. isn't reiserfs better?
> I dunno.
> Suse uses it as their root fs.
> I've only switched to reiserfs for my FC2 install. (and frankly, like
> since I went to FC2 3+ months ago, I've had like 3 reiserfs
> --rebuild-checks) compared to like NONE when I was on RH9/ext3 for ~8
> months.
>
> What's the majority of ppl using? I know this is Off-topic. sorry..
For suspend work, ext2 is the safest. I'm now using ext3 on less
important machines -- at least fsck works there.
Pavel
-------------------------------------------------------
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
* Re: acpi-20040715+D600+Suspend
[not found] ` <20040907093424.GA30810-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-09-10 10:06 ` Nigel Cunningham
[not found] ` <1094768209.2843.6.camel-AdgCB+f5QAxwBzq2CxEN2SkBHpOjBR89@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Nigel Cunningham @ 2004-09-10 10:06 UTC (permalink / raw)
To: Pavel Machek; +Cc: Ow Mun Heng, ACPI List
Hi.
On Tue, 2004-09-07 at 19:34, Pavel Machek wrote:
> > > > I had my root partition (reiserfs crash), I lost a few trivial files (i
> > > > hope) and had to do a rebuild-tree.
> > > Hmm, do not use reiserfs ;-).
> > Hmm.. isn't reiserfs better?
> > I dunno.
> > Suse uses it as their root fs.
> > I've only switched to reiserfs for my FC2 install. (and frankly, like
> > since I went to FC2 3+ months ago, I've had like 3 reiserfs
> > --rebuild-checks) compared to like NONE when I was on RH9/ext3 for ~8
> > months.
> >
> > What's the majority of ppl using? I know this is Off-topic. sorry..
>
> For suspend work, ext2 is the safest. I'm now using ext3 on less
> important machines -- at least fsck works there.
Ditto here. On the occasions when I have damaged my filesystem, I've had
much better success recovering while using ext3. I tried xfs, but gave
up on it quickly because of the zeroing-out-files issue.
Regards,
Nigel
--
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901
Many today claim to be tolerant. True tolerance, however, can cope with others
being intolerant.
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: acpi-20040715+D600+Suspend
[not found] ` <1094768209.2843.6.camel-AdgCB+f5QAxwBzq2CxEN2SkBHpOjBR89@public.gmane.org>
@ 2004-09-10 10:17 ` Ow Mun Heng
[not found] ` <1094811463.27216.117.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
0 siblings, 1 reply; 21+ messages in thread
From: Ow Mun Heng @ 2004-09-10 10:17 UTC (permalink / raw)
To: ncunningham-jjFNsPSvq+iXDw4h08c5KA; +Cc: Pavel Machek, ACPI List
On Fri, 2004-09-10 at 18:06, Nigel Cunningham wrote:
> Hi.
>
> On Tue, 2004-09-07 at 19:34, Pavel Machek wrote:
> > > > > I had my root partition (reiserfs crash), I lost a few trivial files (i
> > > > > hope) and had to do a rebuild-tree.
> > > > Hmm, do not use reiserfs ;-).
> > > Hmm.. isn't reiserfs better?
> > > I dunno.
> > > Suse uses it as their root fs.
> > > I've only switched to reiserfs for my FC2 install. (and frankly, like
> > > since I went to FC2 3+ months ago, I've had like 3 reiserfs
> > > --rebuild-checks) compared to like NONE when I was on RH9/ext3 for ~8
> > > months.
> > >
> > > What's the majority of ppl using? I know this is Off-topic. sorry..
> >
> > For suspend work, ext2 is the safest. I'm now using ext3 on less
> > important machines -- at least fsck works there.
>
> Ditto here. On the occasions when I have damaged my filesystem, I've had
> much better success recovering while using ext3. I tried xfs, but gave
> up on it quickly because of the zeroing-out-files issue.
Okay.. But here's another question. Is it recommended that _all_
partitions be ext3 or only the root partition??
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 18:17:08 up 22:56, 8 users, load average: 2.17, 2.72, 2.64
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: acpi-20040715+D600+Suspend
[not found] ` <1094811463.27216.117.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
@ 2004-09-10 10:21 ` Nigel Cunningham
2004-09-10 10:46 ` acpi-20040715+D600+Suspend Pavel Machek
1 sibling, 0 replies; 21+ messages in thread
From: Nigel Cunningham @ 2004-09-10 10:21 UTC (permalink / raw)
To: Ow Mun Heng; +Cc: Pavel Machek, ACPI List
Hi.
On Fri, 2004-09-10 at 20:17, Ow Mun Heng wrote:
> > Ditto here. On the occasions when I have damaged my filesystem, I've had
> > much better success recovering while using ext3. I tried xfs, but gave
> > up on it quickly because of the zeroing-out-files issue.
> Okay.. But here's another question. Is it recommended that _all_
> partitions be ext3 or only the root partition??
I'd use ext3 only.
Nigel
--
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901
Many today claim to be tolerant. True tolerance, however, can cope with others
being intolerant.
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: acpi-20040715+D600+Suspend
[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 ` Pavel Machek
[not found] ` <20040910104641.GA24171-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
1 sibling, 1 reply; 21+ messages in thread
From: Pavel Machek @ 2004-09-10 10:46 UTC (permalink / raw)
To: Ow Mun Heng; +Cc: ncunningham-jjFNsPSvq+iXDw4h08c5KA, ACPI List
Hi!
> > > For suspend work, ext2 is the safest. I'm now using ext3 on less
> > > important machines -- at least fsck works there.
> >
> > Ditto here. On the occasions when I have damaged my filesystem, I've had
> > much better success recovering while using ext3. I tried xfs, but gave
> > up on it quickly because of the zeroing-out-files issue.
> Okay.. But here's another question. Is it recommended that _all_
> partitions be ext3 or only the root partition??
All partitions with valuable data :-). Actually, ext2 is even better
idea. It should work with any filesystem, it is just that ext2/ext3
has very good filesystem check... And I managed to find bugs even if
fsck.ext2. You'll probably be luckier, but...
Pavel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: acpi-20040715+D600+Suspend
[not found] ` <20040910104641.GA24171-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-09-10 14:15 ` Stefan Seyfried
0 siblings, 0 replies; 21+ messages in thread
From: Stefan Seyfried @ 2004-09-10 14:15 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Fri, Sep 10, 2004 at 12:46:41PM +0200, Pavel Machek wrote:
> All partitions with valuable data :-). Actually, ext2 is even better
> idea. It should work with any filesystem, it is just that ext2/ext3
> has very good filesystem check... And I managed to find bugs even if
> fsck.ext2. You'll probably be luckier, but...
So to lighten the mood here a bit, i'll confess that i have all data
(/ and /home) on reiserfs, only /boot is on ext2 to speed up grub at
resume time (if the filesystem is very dirty at suspend, i guess grub
has to playback the journal in its little mind which can take quite
some seconds for both kernel and initrd).
I have to admit that i do daily backups, though, but this is a good
idea with _any_ filesystem.
--
Stefan Seyfried
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: acpi-20040715+D600+Suspend
[not found] ` <B44D37711ED29844BEA67908EAF36F03B0D6DE-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01 2:25 ` acpi-20040715+D600+Suspend Nathan Bryant
@ 2004-09-15 3:34 ` Li Shaohua
1 sibling, 0 replies; 21+ messages in thread
From: Li Shaohua @ 2004-09-15 3:34 UTC (permalink / raw)
To: Ow Mun Heng
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Nathan Bryant,
Len Brown, Pallipadi Venkatesh
[-- Attachment #1: Type: text/plain, Size: 4656 bytes --]
Could you please try the attached workaround? If it really helps, we
will do cleanup soon. Untested, if there is any typo, please correct it.
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=ick
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
[-- Attachment #2: wake1.patch --]
[-- Type: text/x-patch, Size: 2615 bytes --]
===== arch/i386/kernel/i8259.c 1.37 vs edited =====
--- 1.37/arch/i386/kernel/i8259.c 2004-09-03 03:20:49 +08:00
+++ edited/arch/i386/kernel/i8259.c 2004-09-15 11:19:10 +08:00
@@ -288,7 +288,34 @@ static int __init i8259A_init_sysfs(void
return error;
}
-device_initcall(i8259A_init_sysfs);
+late_initcall(i8259A_init_sysfs);
+
+static int dumy_8259_resume(struct sys_device *dev)
+{
+ outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */
+ outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */
+ return 0;
+}
+
+static struct sysdev_class dumy_8259_class = {
+ set_kset_name("dumy_8259"),
+ .resume = dumy_8259_resume,
+};
+
+static struct sys_device dumy_i8259A = {
+ .id = 0,
+ .cls = &dumy_8259_class,
+};
+
+static int __init dumy_i8259A_init_sysfs(void)
+{
+ int error = sysdev_class_register(&dumy_8259_class);
+ if (!error)
+ error = sysdev_register(&dumy_i8259A);
+ return error;
+}
+
+fs_initcall(dumy_i8259A_init_sysfs);
void init_8259A(int auto_eoi)
{
===== arch/i386/kernel/io_apic.c 1.110 vs edited =====
--- 1.110/arch/i386/kernel/io_apic.c 2004-08-31 15:55:07 +08:00
+++ edited/arch/i386/kernel/io_apic.c 2004-09-15 11:18:57 +08:00
@@ -2374,7 +2374,33 @@ static int __init ioapic_init_sysfs(void
return 0;
}
-device_initcall(ioapic_init_sysfs);
+late_initcall(ioapic_init_sysfs);
+
+static int dumy_ioapic_resume(struct sys_device *dev)
+{
+ clear_IO_APIC();
+ return 0;
+}
+
+static struct sysdev_class dumy_ioapic_class = {
+ set_kset_name("dumy_ioapic"),
+ .resume = dumy_ioapic_resume,
+};
+
+static struct sys_device dumy_ioapic = {
+ .id = 0,
+ .cls = &dumy_ioapic_class,
+};
+
+static int __init dumy_ioapic_init_sysfs(void)
+{
+ int error = sysdev_class_register(&dumy_ioapic_class);
+ if (!error)
+ error = sysdev_register(&dumy_ioapic);
+ return error;
+}
+
+fs_initcall(dumy_ioapic_init_sysfs);
/* --------------------------------------------------------------------------
ACPI-based IOAPIC Configuration
===== drivers/acpi/pci_link.c 1.31 vs edited =====
--- 1.31/drivers/acpi/pci_link.c 2004-08-05 03:55:16 +08:00
+++ edited/drivers/acpi/pci_link.c 2004-09-15 11:09:03 +08:00
@@ -714,9 +714,13 @@ irqrouter_resume(
{
struct list_head *node = NULL;
struct acpi_pci_link *link = NULL;
+ int flags;
ACPI_FUNCTION_TRACE("irqrouter_resume");
+ local_save_flags(flags);
+ local_irq_enable();
+
list_for_each(node, &acpi_link.entries) {
link = list_entry(node, struct acpi_pci_link, node);
@@ -727,6 +731,7 @@ irqrouter_resume(
acpi_pci_link_resume(link);
}
+ local_irq_restore(flags);
return_VALUE(0);
}
^ 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