public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [Fwd: ACPI error when trying entring in Sleep Mode]
@ 2003-03-17 12:50 Marci
       [not found] ` <3E75C4A6.6000507-nc/lrvXPQ4s@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Marci @ 2003-03-17 12:50 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

No Ideas?

Please :(

I need this

Thanks again

[-- Attachment #2: ACPI error when trying entring in Sleep Mode --]
[-- Type: message/rfc822, Size: 2721 bytes --]

From: Marci <voloterreno-nc/lrvXPQ4s@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: ACPI error when trying entring in Sleep Mode
Date: Sun, 16 Mar 2003 21:24:45 +0100
Message-ID: <3E74DD8D.1090602-nc/lrvXPQ4s@public.gmane.org>

Hi all, here my configuration :

MSI KT4 Ultra

Athlon XP 2400+

Nvidia Geforce 3 Ti200


I have this problem:

When I try to enter in S1 sleep mode appears in the screen these errors:

Mar 16 21:08:17 magisystem kernel:  exfldio-0129 [31] ex_setup_region 
     : Field [U1PE] access width (2 bytes) too large for region [UBP1] 
(length 1)
Mar 16 21:08:17 magisystem kernel:  exfldio-0140 [31] ex_setup_region 
     : Field [U1PE] Base+Offset+Width 0+0+2 is beyond end of region 
[UBP1] (length 1)
Mar 16 21:08:17 magisystem kernel:  dswexec-0421 [23] ds_exec_end_op 
     : [Store]: Could not resolve operands, AE_AML_REGION_LIMIT
Mar 16 21:08:17 magisystem kernel:  psparse-1121: *** Error: Method 
execution failed [\_PTS] (Node c15bc5e8), AE_AML_REGION_LIMIT
Mar 16 21:08:17 magisystem kernel:  hwsleep-0257 [15] 
acpi_enter_sleep_state: Entering sleep state [S1]
Mar 16 21:08:17 magisystem kernel:    evgpe-0351: *** Error: 
acpi_ev_gpe_dispatch: No handler or method for GPE[00], disabling event
Mar 16 21:08:18 magisystem kernel:  exfldio-0129 [32] ex_setup_region 
     : Field [U1PE] access width (2 bytes) too large for region [UBP1] 
(length 1)
Mar 16 21:08:18 magisystem kernel:  exfldio-0140 [32] ex_setup_region 
     : Field [U1PE] Base+Offset+Width 0+0+2 is beyond end of region 
[UBP1] (length 1)
Mar 16 21:08:18 magisystem kernel:  exfldio-0129 [32] ex_setup_region 
     : Field [U1PE] access width (2 bytes) too large for region [UBP1] 
(length 1)
Mar 16 21:08:18 magisystem kernel:  exfldio-0140 [32] ex_setup_region 
     : Field [U1PE] Base+Offset+Width 0+0+2 is beyond end of region 
[UBP1] (length 1)
Mar 16 21:08:18 magisystem kernel:  psparse-1121: *** Error: Method 
execution failed [\_WAK] (Node c15bc768), AE_AML_REGION_LIMIT
Mar 16 21:08:18 magisystem kernel:  hwsleep-0428: *** Error: Method _WAK 
failed, AE_AML_REGION_LIMIT
Mar 16 21:08:18 magisystem kernel:    evgpe-0351: *** Error: 
acpi_ev_gpe_dispatch: No handler or method for GPE[00], disabling event

Anyone have ideas?

The command that I do is "echo 1 > sleep" in the /proc/acpi directory. 
The kernel is the 2.4.21-pre4 with the lastest patch.
The system is the Linux Debian Sid OS

Thanks for your help and time

Bye

Marcello


^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: [Fwd: ACPI error when trying entring in Sleep Mode]
@ 2003-03-18 16:45 Moore, Robert
  0 siblings, 0 replies; 15+ messages in thread
From: Moore, Robert @ 2003-03-18 16:45 UTC (permalink / raw)
  To: 'Ducrot Bruno', Marci; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> Next, what did you think now if ACPI-AC blindly do not check
> any more the size of the operational region (as in Windows).
> Then we can not actually provide the right thing to do, that is
> the Field (..) give us faulty information.


Yes, this is exactly the problem.  The AML interpreter cannot simply guess
about what the ASL programmer intended.  Either the length of the Operation
Region is incorrect or the access width of the field is wrong.  The
interpreter has no way of knowing which one (or both) is/are wrong.

Bob


> -----Original Message-----
> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> Sent: Tuesday, March 18, 2003 6:13 AM
> To: Marci
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] [Fwd: ACPI error when trying entring in Sleep Mode]
> 
> 
> Hi Marcello,
> 
> The diff is at the end of this email, and can be found
> at:
> ftp://ftp.poupinou.org/acpi/MSI/
> 
> There is also an .hex file (namely MSI_KT4_ULTRA.hex.bz2)
> The original asl is here, and the corrected asl.
> 
> You can can use with instruction found at
> http://www.poupinou.org/acpi/over.html
> or any other sites which have such kind of support (Richard one,
> acpi.sf.net, Faye one, etc.)
> 
> 
> Now my comment:
> 
> 1- first I made a mistake.  Instead of changing the WordAcc, I
> blindly increased the size of the Operational Region(s) that
> where buggy.  I think that actually it is enough to change
> WordAcc by ByteAcc instead.  This is done with the attached
> diff.  I also said (certainly because I needed to go to sleep)
> that for example those ASL statements:
> 
> OperationRegion (U1D3, PCI_Config, 0x49, 0x01)
> Field (U1D3, WordAcc, NoLock, Preserve)
> {
>    UR49,   3
> }
> 
> mean something like
> we acced as a word pci register at 0x49 and bit 3 is relevant
> 
> which is wrong (sorry).  It mean actually that only the third
> bits are relevants (bit 0 to 2).
> 
> Next, what did you think now if ACPI-AC blindly do not check
> any more the size of the operational region (as in Windows).
> Then we can not actually provide the right thing to do, that is
> the Field (..) give us faulty information.
> 
> 
> 2- the STM issue (the 'last' warning) you get is now resolved.
> The problem is that this method wanted to know if it can
> access some PCI configuration register at the IDE PCI bridge.
> This was actually done by copying (I think) another function (the
> GTM one), but is actually wrong.  A way to do it clean
> is actually to check in the 2 _STM functions if we can access
> the PCI configuration space of the IDE bridge, then continue
> if it is OK.
> 
> 
> A last word.  I can not promise you that all will be OK, even in a
> Windows system.
> 
> 
> --- dsdt.dsl	2003/03/17 13:41:43	1.1
> +++ dsdt.dsl	2003/03/18 09:03:12
> @@ -861,13 +861,13 @@
>              {
>                  Name (_ADR, 0x00100000)
>                  OperationRegion (U1D3, PCI_Config, 0x49, 0x01)
> -                Field (U1D3, WordAcc, NoLock, Preserve)
> +                Field (U1D3, ByteAcc, NoLock, Preserve)
>                  {
>                      UR49,   3
>                  }
> 
>                  OperationRegion (UBP1, PCI_Config, 0x84, 0x01)
> -                Field (UBP1, WordAcc, NoLock, Preserve)
> +                Field (UBP1, ByteAcc, NoLock, Preserve)
>                  {
>                      U1PE,   2
>                  }
> @@ -902,7 +902,7 @@
>              {
>                  Name (_ADR, 0x00100001)
>                  OperationRegion (UBP2, PCI_Config, 0x84, 0x01)
> -                Field (UBP2, WordAcc, NoLock, Preserve)
> +                Field (UBP2, ByteAcc, NoLock, Preserve)
>                  {
>                      U2PE,   2
>                  }
> @@ -930,7 +930,7 @@
>              {
>                  Name (_ADR, 0x00100002)
>                  OperationRegion (UBP3, PCI_Config, 0x84, 0x01)
> -                Field (UBP3, WordAcc, NoLock, Preserve)
> +                Field (UBP3, ByteAcc, NoLock, Preserve)
>                  {
>                      U3PE,   2
>                  }
> @@ -958,7 +958,7 @@
>              {
>                  Name (_ADR, 0x00100003)
>                  OperationRegion (UBP4, PCI_Config, 0x84, 0x01)
> -                Field (UBP4, WordAcc, NoLock, Preserve)
> +                Field (UBP4, ByteAcc, NoLock, Preserve)
>                  {
>                      U4PE,   2
>                  }
> @@ -2653,17 +2653,24 @@
>                          Store (PSUE, GSUE)
>                          Store (PSUT, GSUT)
>                          Store (PSCR, GSCR)
> -                        STM ()
> -                        Store (GMPT, PMPT)
> -                        Store (GMUE, PMUE)
> -                        Store (GMUT, PMUT)
> -                        Store (GMCR, PMCR)
> -                        Store (GSPT, PSPT)
> -                        Store (GSUE, PSUE)
> -                        Store (GSUT, PSUT)
> -                        Store (GSCR, PSCR)
> -                        Store (GTF (0x00, Arg1), ATA0)
> -                        Store (GTF (0x01, Arg2), ATA1)
> +			If (REGF)
> +			{
> +			    STM()
> +                            Store (GMPT, PMPT)
> +                            Store (GMUE, PMUE)
> +                            Store (GMUT, PMUT)
> +                            Store (GMCR, PMCR)
> +                            Store (GSPT, PSPT)
> +                            Store (GSUE, PSUE)
> +                            Store (GSUT, PSUT)
> +                            Store (GSCR, PSCR)
> +                            Store (GTF (0x00, Arg1), ATA0)
> +                            Store (GTF (0x01, Arg2), ATA1)
> +			}
> +			Else
> +			{
> +			    Store ("Trying to access IDE HWIF registers when
not
> allowed", Debug)
> +			}
>                      }
> 
>                      Device (DRV0)
> @@ -2707,17 +2714,24 @@
>                          Store (SSUE, GSUE)
>                          Store (SSUT, GSUT)
>                          Store (SSCR, GSCR)
> -                        STM ()
> -                        Store (GMPT, SMPT)
> -                        Store (GMUE, SMUE)
> -                        Store (GMUT, SMUT)
> -                        Store (GMCR, SMCR)
> -                        Store (GSPT, SSPT)
> -                        Store (GSUE, SSUE)
> -                        Store (GSUT, SSUT)
> -                        Store (GSCR, SSCR)
> -                        Store (GTF (0x00, Arg1), ATA2)
> -                        Store (GTF (0x01, Arg2), ATA3)
> +			If (REGF)
> +			{
> +			    STM()
> +                            Store (GMPT, SMPT)
> +                            Store (GMUE, SMUE)
> +                            Store (GMUT, SMUT)
> +                            Store (GMCR, SMCR)
> +                            Store (GSPT, SSPT)
> +                            Store (GSUE, SSUE)
> +                            Store (GSUT, SSUT)
> +                            Store (GSCR, SSCR)
> +                            Store (GTF (0x00, Arg1), ATA2)
> +                            Store (GTF (0x01, Arg2), ATA3)
> +			}
> +			Else
> +			{
> +			    Store ("Trying to access IDE HWIF registers when
not
> allowed", Debug)
> +			}
>                      }
> 
>                      Device (DRV0)
> @@ -2796,11 +2810,11 @@
> 
>                  Method (STM, 0, Serialized)
>                  {
> -                    If (REGF) {}
> -                    Else
> -                    {
> -                        Return (TMD0)
> -                    }
> +                    // If (REGF) {}
> +                    // Else
> +                    // {
> +                    //     Return (TMD0)
> +                    // }
> 
>                      Store (0x00, GMUE)
>                      Store (0x07, GMUT)
> @@ -3300,6 +3314,7 @@
>              Store (0x48, SHCR)
>              Store (0xFF, SHST)
>          }
> +	Return(Package(2) {0, 0})
>      }
> 
>      OperationRegion (PMS0, SystemIO, 0x0800, 0x04)
> 
> 
> 
> Cheers,
> 
> --
> Ducrot Bruno
> 
> --  Which is worse:  ignorance or apathy?
> --  Don't know.  Don't care.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink?
> You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> 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: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

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

end of thread, other threads:[~2003-03-18 16:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-17 12:50 [Fwd: ACPI error when trying entring in Sleep Mode] Marci
     [not found] ` <3E75C4A6.6000507-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 13:48   ` Ducrot Bruno
     [not found]     ` <20030317134809.GF8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 14:10       ` Marci
     [not found]         ` <3E75D75F.8090908-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 15:28           ` Karol Kozimor
     [not found]     ` <3E75D6E2.4040001@tin.it>
     [not found]       ` <20030317153147.GH8319@poup.poupinou.org>
     [not found]         ` <20030317153147.GH8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 18:01           ` Marci
     [not found]             ` <3E760D7D.4040405-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 18:16               ` Ducrot Bruno
     [not found]         ` <3E7611EB.2050805@tin.it>
     [not found]           ` <3E7611EB.2050805-nc/lrvXPQ4s@public.gmane.org>
2003-03-17 18:43             ` Ducrot Bruno
     [not found]               ` <20030317184333.GL8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-17 19:03                 ` Marci
     [not found]                   ` <3E762BDD.8030108@hp.com>
     [not found]                     ` <3E762DED.70301@tin.it>
     [not found]                       ` <3E763453.1080307@hp.com>
     [not found]                         ` <3E763453.1080307-VXdhtT5mjnY@public.gmane.org>
2003-03-17 22:14                           ` Marci
     [not found]                             ` <3E7648C3.9090402-nc/lrvXPQ4s@public.gmane.org>
2003-03-18  9:47                               ` Ducrot Bruno
     [not found]                                 ` <20030318094752.GO8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-18 14:10                                   ` Marci
     [not found]                                     ` <20030318141933.GU8319@poup.poupinou.org>
     [not found]                                       ` <20030318141933.GU8319-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-18 14:58                                         ` Marci
     [not found]                                           ` <3E773417.3030601-nc/lrvXPQ4s@public.gmane.org>
2003-03-18 15:49                                             ` Ducrot Bruno
2003-03-18 14:13                                   ` Ducrot Bruno
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 16:45 Moore, Robert

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