ACPI stops working after memory upgrade vpr Matrix 175b4
Quoted 4 lines
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_MEMORYerrors in the ACPI code.
Quoted 8 lines
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
Quoted 6 lines · On Wed, 4 Feb 2004 07:39:41 -0800 Randy.Dunlap wrote:
< 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.
Many BIOSes patch the DSDT according to the system configuration (e.g. rename \_S3 to something other if Suspend to RAM is disabled in the setup). Probably some BIOSes put the memory size into DSDT this way...
-------------------------------------------------------
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines · Randy.Dunlap
Quoted 4 lines
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_MEMORYerrors in the ACPI code.Quoted 8 lines
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.
Quoted 7 lines
< 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.
Most DSDT are actually build on POST stage.
Signature · 11 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- 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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 14 lines · Bruno Ducrot
Quoted 13 lines · Randy.Dunlap
Quoted 12 lines
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_MEMORYerrors 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.
Quoted 8 lines
Quoted 6 lines
< 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.
Most DSDT are actually build on POST stage.
To clarify this further, most AML I've seen uses various named regions to store information about the platform that is dynamic. For instance, the actual clock rates and power consumption of the various ACPI performance states on my Thinkpad are set up at boot time by an _INI method under the Processor object. That way if I plugged in a different CPU, it would be detected at boot time, not hard coded in the AML. For the case of memory size and this laptop, that should really be done through the E820 table by the BIOS and not hardcoded in the AML.
-Nate
-------------------------------------------------------
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
Quoted 9 lines · Randy.Dunlap
Quoted 1 line
< 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.
Patch the DSDT on runtime. Or add a checksum on the original DSDT.
Regards,
Bas.
-------------------------------------------------------
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
Thus wrote Randy.Dunlap:
Quoted 5 lines
< 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.
Yes, that's a necessity in most cases. Why do you consider it that bad? Best regards,
Signature · 9 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- 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
A message that is not in the archive (sent off-list or not yet received): 20040205123049.GC22034-DETuoxkZsSqrDJvtcaxF/[email protected]
On Thu, 5 Feb 2004 13:30:49 +0100 Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/[email protected]> wrote:
| Thus wrote Randy.Dunlap: | > < 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. | | Yes, that's a necessity in most cases. Why do you consider it that bad?
That seems quite backwards to me.
Why should we consider that a good thing?
I discussed this with Andy Grover and he said that the DSDT isn't where the memory size is defined. It should just be coming from the e820 BIOS calls, not from ACPI DSDT etc., which certainly made sense to me, as that is something that a user wouldn't need to modify after changing the memory size of a system.
--
~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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thus wrote Randy.Dunlap:
Quoted 2 lines
I discussed this with Andy Grover and he said that the DSDT isn't where the memory size is defined. It should just be coming from
I think you're getting me wrong here: the DSDT clearly does not define the amount of RAM used by the system, but being dynamically generated by BIOS, it may include references to fixed memory addresses that can vary with the amount of RAM installed.
If those addresses change due to such an upgrade, overriding the BIOS-generated DSDT (containing the right addresses) with one that was obtained from a system with a different amount of RAM (with addresses correct for that amount) may indeed not work.
Quoted 3 lines
the e820 BIOS calls, not from ACPI DSDT etc., which certainly made sense to me, as that is something that a user wouldn't need to modify after changing the memory size of a system.
The user shouldn't need to supply his own DSDT in the first place.
Best regards,
Signature · 9 lines
Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/[email protected] ------------------------------------------------------- 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
Quoted 11 lines · Randy.Dunlap
On Thu, 5 Feb 2004 13:30:49 +0100 Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/[email protected]> wrote:
| Thus wrote Randy.Dunlap: | > < 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. | | Yes, that's a necessity in most cases. Why do you consider it that bad?
Quoted 2 lines
That seems quite backwards to me.
Why should we consider that a good thing?
IMHO that a bad thing.
Quoted 5 lines
I discussed this with Andy Grover and he said that the DSDT isn't where the memory size is defined. It should just be coming from the e820 BIOS calls, not from ACPI DSDT etc., which certainly made sense to me, as that is something that a user wouldn't need to modify after changing the memory size of a system.
I'm not sure if the tables are copied upon e820 calls, but I think there are copied on POST at least on Phoenix BIOS (that what I understood from their documentations). Also most of time, the AML need somehow to access to the nvram, which is located typically relative to TOM. Also, when you add/remove memory modules, there there is chance that mmio regions are not the same, and aml need to know that.
Signature · 11 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- 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