public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Bryant <nbryant-p32f3XyCuykqcZcGjlUOXw@public.gmane.org>
To: "Li, Shaohua" <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Ow Mun Heng <Ow.Mun.Heng-Sjgp3cTcYWE@public.gmane.org>,
	"Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Pallipadi,
	Venkatesh"
	<venkatesh.pallipadi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: acpi-20040715+D600+Suspend
Date: Tue, 31 Aug 2004 22:50:05 -0400	[thread overview]
Message-ID: <413538DD.8090308@optonline.net> (raw)
In-Reply-To: <B44D37711ED29844BEA67908EAF36F03B0D745-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>

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

  parent reply	other threads:[~2004-09-01  2:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-01  2:46 acpi-20040715+D600+Suspend Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F03B0D745-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-01  2:50   ` Nathan Bryant [this message]
  -- 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: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
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=413538DD.8090308@optonline.net \
    --to=nbryant-p32f3xycuykqczcgjluoxw@public.gmane.org \
    --cc=Ow.Mun.Heng-Sjgp3cTcYWE@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=venkatesh.pallipadi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox