public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI stops working after memory upgrade vpr Matrix 175b4
@ 2004-02-03  2:12 Dave Bauer
       [not found] ` <401F0395.1090407-eQMij45H2SHXYFsarriMmxagbA6BzR3y@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Dave Bauer @ 2004-02-03  2:12 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

My ACPI stopped working when I added an additional 256mb RAM to my vpr 
Matricx 174b4 laptop. It has 256mb already, I added 256mb to make it 
512mb and I got a bunch of AE_NO_MEMORY errors in the ACPI code.

I took the extra RAM out, and the ACPI support works.

I am using kernel 2.6.1 with acpi patches. I had the same problem on 
2.6.0. On 2.4.20 with acpi patches the machine would not even boot with 
the extra memory.

I have a custom DSDT file that I fixed errors in. When it was working on 
2.4.20 It looked like all the ACPI features were active and functional.

Any ideas on what to look for?

Here is a sample of the boot log:

Feb  2 20:35:54 einstein kernel: ACPI: Subsystem revision 20040116
Feb  2 20:35:54 einstein kernel:    tbget-0291: *** Info: Table [DSDT] 
replaced by host OS
Feb  2 20:35:54 einstein kernel:  tbxface-0117 [03] 
acpi_load_tables      : ACPI Tables successfully acquired
Feb  2 20:35:54 einstein kernel: Parsing all Control 
Methods:..........................................................................................................................................................................
Feb  2 20:35:54 einstein kernel: Table [DSDT](id F005) - 554 Objects 
with 49 Devices 170 Methods 17 Regions
Feb  2 20:35:54 einstein kernel: Parsing all Control Methods:
Feb  2 20:35:54 einstein kernel: Table [SSDT](id F003) - 3 Objects with 
0 Devices 0 Methods 0 Regions
Feb  2 20:35:54 einstein kernel: ACPI Namespace successfully loaded at 
root c039ba9c
Feb  2 20:35:54 einstein kernel: ACPI: IRQ9 SCI: Edge set to Level Trigger.
Feb  2 20:35:54 einstein kernel: evxfevnt-0093 [04] 
acpi_enable           : Transition to ACPI mode successful
Feb  2 20:35:54 einstein kernel: evgpeblk-0747 [06] 
ev_create_gpe_block   : GPE 00 to 15 [_GPE] 2 regs at 0000000000001028 
on int 9
Feb  2 20:35:54 einstein kernel: evgpeblk-0747 [06] 
ev_create_gpe_block   : GPE 16 to 31 [_GPE] 2 regs at 000000000000102C 
on int 9
Feb  2 20:35:54 einstein kernel: Completing Region/Field/Buffer/Package 
initialization:.............................................................
Feb  2 20:35:54 einstein kernel: Initialized 17/17 Regions 0/0 Fields 
24/24 Buffers 20/20 Packages (565 nodes)
Feb  2 20:35:54 einstein kernel: Executing all Device _STA and_INI 
methods:....exregion-0164 [25] ex_system_memory_space: Could not map 
memory at 000000000FF7FDBD, size 190
Feb  2 20:35:54 einstein kernel: evregion-0347: *** Error: Handler for 
[SystemMemory] returned AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.PHS1] (Node c15d9428), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.BAT1._STA] (Node c15d8328), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:   uteval-0098: *** Error: Method 
execution failed [\_SB_.BAT1._STA] (Node c15d8328), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel: ....exregion-0164 [23] 
ex_system_memory_space: Could not map memory at 000000000FF7FD9D, size 20
Feb  2 20:35:54 einstein kernel: evregion-0347: *** Error: Handler for 
[SystemMemory] returned AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution fail:
Feb  2 20:35:54 einstein kernel:   nsinit-0408 [06] 
ns_init_one_device    : \_SB_.PCI0._INI failed: AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel: ...........................................
Feb  2 20:35:54 einstein kernel: 51 Devices found containing: 50 _STA, 1 
_INI methods
Feb  2 20:35:54 einstein kernel: ACPI: Interpreter enabled
Feb  2 20:35:54 einstein kernel: ACPI: Using PIC for interrupt routing
Feb  2 20:35:54 einstein kernel: exregion-0164 [23] 
ex_system_memory_space: Could not map memory at 000000000FF7FDBD, size 190
Feb  2 20:35:54 einstein kernel: evregion-0347: *** Error: Handler for 
[SystemMemory] returned AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.PHS1] (Node c15d9428), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.BAT1._STA] (Node c15d8328), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Feb  2 20:35:54 einstein kernel: PCI: Probing PCI hardware (bus 00)
Feb  2 20:35:54 einstein kernel: Transparent bridge - 0000:00:1e.0
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Routing Table 
[\_SB_.PCI0._PRT]
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Routing Table 
[\_SB_.PCI0.AGPB._PRT]
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Routing Table 
[\_SB_.PCI0.PCIB._PRT]
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 
10 *11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 
*10 11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 
*10 11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 
10 *11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 
*10 11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 
10 11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 
10 11)
Feb  2 20:35:54 einstein kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 
10 11)
Feb  2 20:35:54 einstein kernel: ACPI: Embedded Controller [H_EC] (gpe 24)
Feb  2 20:35:54 einstein kernel: exregion-0164 [38] 
ex_system_memory_space: Could not map memory at 000000000FF7FDBD, size 190
Feb  2 20:35:54 einstein kernel: evregion-0347: *** Error: Handler for 
[SystemMemory] returned AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.PHS1] (Node c15d9428), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel:  psparse-1120: *** Error: Method 
execution failed [\_SB_.PCI0.LPCB.H_EC._REG] (Node c15cf9a8), AE_NO_MEMORY
Feb  2 20:35:54 einstein kernel: ACPI: Power Resource [PFAN] (on)
Feb  2 20:35:54 einstein kernel: PCI: Probing PCI hardware

Thanks
Dave



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: ACPI stops working after memory upgrade vpr Matrix 175b4
@ 2004-02-03  7:07 Yu, Luming
  0 siblings, 0 replies; 15+ messages in thread
From: Yu, Luming @ 2004-02-03  7:07 UTC (permalink / raw)
  To: Dave Bauer, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> methods:....exregion-0164 [25] ex_system_memory_space: Could not map 
> memory at 000000000FF7FDBD, size 190

Maybe the root of this error is that __ioremap don't allow anybody to
remap
normal RAM. Could you verify it by checking it in arch/i386/mm/ioremap.c



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: ACPI stops working after memory upgrade vpr Matrix 175b4
@ 2004-02-04 15:39 Randy.Dunlap
  2004-02-04 16:18 ` Sergey Vlasov
       [not found] ` <20040204073941.05d71e0b.rddunlap-3NddpPZAyC0@public.gmane.org>
  0 siblings, 2 replies; 15+ messages in thread
From: Randy.Dunlap @ 2004-02-04 15:39 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> My ACPI stopped working when I added an additional 256mb RAM to my vpr 
> Matricx 174b4 laptop. It has 256mb already, I added 256mb to make it 
> 512mb and I got a bunch of AE_NO_MEMORY errors in the ACPI code.
> 
> I took the extra RAM out, and the ACPI support works.
> 
> I am using kernel 2.6.1 with acpi patches. I had the same problem on 
> 2.6.0. On 2.4.20 with acpi patches the machine would not even boot with 
> the extra memory.
> 
> I have a custom DSDT file that I fixed errors in. When it was working on 
> 2.4.20 It looked like all the ACPI features were active and functional.

< Recompile your DSDT. Since the amount of RAM changed and you're probably
< using old DSDT containing wrong addresses, no wonder you're hitting
< errors.

Is this correct?  If a user adds or removes memory, then the
DSDT must be rebuilt?  Sheesh!!  That's bad if this is correct.

--
~Randy


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: ACPI stops working after memory upgrade vpr Matrix 175b4
@ 2004-02-05 20:45 Brown, Len
       [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8ABD-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Brown, Len @ 2004-02-05 20:45 UTC (permalink / raw)
  To: Yu, Luming, Dave Bauer,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dave,
Can you capture the e820 messages from the beginning of dmesg for the
success and failure case so we what the BIOS says about your RAM?  Also,
it would be good to try w/o the custom DSDT.

Thanks,
-Len

Ps. Contrary to popular perception, e820 is defined in the ACPI spec.

> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of 
> Yu, Luming
> Sent: Tuesday, February 03, 2004 2:07 AM
> To: Dave Bauer; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: [ACPI] ACPI stops working after memory upgrade 
> vpr Matrix 175b4
> 
> 
> > methods:....exregion-0164 [25] ex_system_memory_space: 
> Could not map 
> > memory at 000000000FF7FDBD, size 190
> 
> Maybe the root of this error is that __ioremap don't allow anybody to
> remap
> normal RAM. Could you verify it by checking it in 
> arch/i386/mm/ioremap.c
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: ACPI stops working after memory upgrade vpr Matrix 175b4
@ 2004-02-11  8:19 Yu, Luming
  0 siblings, 0 replies; 15+ messages in thread
From: Yu, Luming @ 2004-02-11  8:19 UTC (permalink / raw)
  To: dave-eQMij45H2SHXYFsarriMmxagbA6BzR3y, Brown, Len
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> Sure! I got it 99% working, but I am getting an 
> AML_UNINITIALIZED_LOCAL
> error message, which is pretty annoying because I can't see why its
> throwing that error.

I'm interested in the AML code that cause AML_UNINITIALIZED_LOCAL,
Can you show me. Maybe we can come up with some generic solution.

> 
> Trying with an unmodified DSDT doesn't really show much because it has
> several bugs that cause the ACPI features to not work at all. I can
> capture the two different streams of error messages.
> 

Great!

> > > > methods:....exregion-0164 [25] ex_system_memory_space: 
> > > Could not map 
> > > > memory at 000000000FF7FDBD, size 190
> > > 
> > > Maybe the root of this error is that __ioremap don't 
> allow anybody to
> > > remap
> > > normal RAM. Could you verify it by checking it in 
> > > arch/i386/mm/ioremap.c

Did you check memory at 000000000FF7FDBD, size 190 has
been reservered. 

--Luming


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

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

end of thread, other threads:[~2004-02-11  8:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-03  2:12 ACPI stops working after memory upgrade vpr Matrix 175b4 Dave Bauer
     [not found] ` <401F0395.1090407-eQMij45H2SHXYFsarriMmxagbA6BzR3y@public.gmane.org>
2004-02-03  8:31   ` Karol Kozimor
  -- strict thread matches above, loose matches on Subject: below --
2004-02-03  7:07 Yu, Luming
2004-02-04 15:39 Randy.Dunlap
2004-02-04 16:18 ` Sergey Vlasov
     [not found] ` <20040204073941.05d71e0b.rddunlap-3NddpPZAyC0@public.gmane.org>
2004-02-04 17:28   ` Bruno Ducrot
     [not found]     ` <20040204172852.GL882-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-09 20:21       ` Nate Lawson
2004-02-05 11:21   ` Bas Mevissen
2004-02-05 12:30   ` Karol Kozimor
     [not found]     ` <20040205123049.GC22034-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-02-05 16:27       ` Randy.Dunlap
     [not found]         ` <20040205082758.1917e71a.rddunlap-3NddpPZAyC0@public.gmane.org>
2004-02-06  0:51           ` Karol Kozimor
2004-02-07 12:23           ` Bruno Ducrot
2004-02-05 20:45 Brown, Len
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8ABD-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-05 20:41   ` Dave Bauer
2004-02-11  8:19 Yu, Luming

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