OperationRegion outside scope
Hello,
my DSDT has some operation regions defined outside a scope and when I compile with iasl I see that the size of the operation region is not considered and is set to zero. Because of that I get lots of errors during boot. One of the messages is shown below.
kernel: exfldio-0143 [54] ex_setup_region :
Field [CMD_] access width (1 bytes) too large for region [MNVS] (length 0)
kernel: exfldio-0155 [54] ex_setup_region :
Field [CMD_] Base+Offset+Width FC0+0+1 is beyond end of region [MNVS] (length 0)
The original dsdt is at
http://cern.ch/paulo/dsdt.dsl.orig
Thanks,
Paulo
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Quoted 13 lines · Paulo da Silva
Hello,
my DSDT has some operation regions defined outside a scope and when I compile with iasl I see that the size of the operation region is not considered and is set to zero. Because of that I get lots of errors during boot. One of the messages is shown below.
kernel: exfldio-0143 [54]ex_setup_region:
Field [CMD_] access width (1 bytes) too large for region [MNVS] (length 0)
kernel: exfldio-0155 [54]ex_setup_region:
Field [CMD_] Base+Offset+Width FC0+0+1 is beyond end of region [MNVS] (length 0)
I guess you forced the compilation of the DSDT, right?
Quoted 4 lines
The original dsdt is at
http://cern.ch/paulo/dsdt.dsl.orig
You may try this patch which should allow you to recompile without errors:
dsdt.dsl renamed from dsdt.dsl.old +4 -3
@@ -190,7 +190,7 @@ } OperationRegion (PORT, SystemIO, 0x80, 0x01) - Field (PORT, WordAcc, NoLock, Preserve) + Field (PORT, ByteAcc, NoLock, Preserve) { P80H, 8 }
@@ -991,7 +991,7 @@ { Name (_ADR, 0x00) OperationRegion (EVGR, PCI_Config, 0x00, 0x02) - Field (EVGR, DWordAcc, NoLock, Preserve) + Field (EVGR, WordAcc, NoLock, Preserve) { EVID, 16 }
@@ -3272,7 +3272,7 @@ Store (Arg1, SMAD) Store (Arg0, SMPR) Store (0xC8, Local2) - While (Local1) + While (Local2) { Sleep (0x05) Store (SMPR, Local1)
@@ -4941,6 +4941,7 @@ { If (LEqual (Arg0, 0x03)) {} } + Return(Package(){0,0}) } }
Signature · 11 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Hi,
these solutions solves the errors for the
compilation. However, when using the iasl you will see in the compiled file that the operation regions that are outside any scope will have zero length. And this causes different errors.
I put two files on the web.
1) http://cern.ch/paulo/before.log
this is the message log that is produced by using
the default dsdt that comes with my bios.
2) http://cern.ch/paulo/after.log
this is the message log that is produce after I
introduce the changes needed for compiling the code.
In the first one the errors come from the operation
regions that prevented me from compiling the code, while the second file shows errors coming because the iasl compiler puts size equal to zero for operation regions that are outside a scope.
I don't know if all operation regions should be put
inside a scope or this is a problem with the iasl compiler.
Thank you,
Paulo da Silva
Quoted 29 lines · --- Bruno Ducrot
Quoted 3 lines · Paulo da Silva
Hello,
my DSDT has some operation regions defined outside
a
Quoted 1 line
scope and when I compile with iasl I see that the
size
Quoted 1 line
of the operation region is not considered and is
set
Quoted 1 line
to zero. Because of that I get lots of errors
during
Quoted 6 lines
boot. One of the messages is shown below.
kernel: exfldio-0143 [54]ex_setup_region:
Field [CMD_] access width (1 bytes) too large for
region [MNVS] (length 0)
kernel: exfldio-0155 [54]ex_setup_region:
Field [CMD_] Base+Offset+Width FC0+0+1 is beyondend
Quoted 1 line
of region [MNVS] (length 0)
I guess you forced the compilation of the DSDT,
right?Quoted 4 lines
The original dsdt is at
http://cern.ch/paulo/dsdt.dsl.orig
Quoted 9 lines
You may try this patch which should allow you to
recompile without
errors:Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Hi,
Quoted 16 lines · Paulo da Silva
Hi,
these solutions solves the errors for the
compilation. However, when using the iasl you will see in the compiled file that the operation regions that are outside any scope will have zero length. And this causes different errors.
I put two files on the web.
1) http://cern.ch/paulo/before.log
this is the message log that is produced by using
the default dsdt that comes with my bios.
2) http://cern.ch/paulo/after.log
this is the message log that is produce after I
introduce the changes needed for compiling the code.
I would say this is a bug in iasl or else a *lot* of DSDT are buggy as well though never got that kind of report before...
Which iasl version are you using? Could you post to me the DSDT.aml produced?
Cheers,
Signature · 11 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Quoted 5 lines · Bruno Ducrot
I would say this is a bug in iasl or else a *lot* of DSDT are buggy as well though never got that kind of report before...
Which iasl version are you using? Could you post to me the DSDT.aml produced?
I can reproduce this trouble with current iasl, but not with the 20040427. I will send you (privately due to the size) the iasl I'm using.
Signature · 11 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Hello,
the version I was using was 20040715. I've tryed
with version 20040427 and the problem seems to have disapperead. Looking at the compiled file it's possible to see that the operation regions don't have zero size anymore. I will try later today to reboot my computer with the file compiled with version 20040427 to see if everything goes ok. I will post the results later.
Thank you for your answer.
Regards,
Paulo
Quoted 8 lines · --- Bruno Ducrot
Quoted 2 lines · Bruno Ducrot
I would say this is a bug in iasl or else a *lot*
of DSDT are buggy as
Quoted 1 line
well though never got that kind of report
before...
Quoted 1 line
Quoted 14 lines
Quoted 1 line
Which iasl version are you using? Could you post
to me the DSDT.aml produced?
I can reproduce this trouble with current iasl, but not with the
20040427. I will send you (privately due to the size) the iasl I'm using.Signature · 4 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
Hi,
I've tryed my AML file compiled with version
20040427 of iasl and it seems to work fine. So I think the version 20040715 of iasl doesn't seem to handle operation regions that are outside any scope.
Paulo
Quoted 51 lines · --- Paulo da Silva
Hello,
the version I was using was 20040715. I've tryed
with version 20040427 and the problem seems to have disapperead. Looking at the compiled file it's possible to see that the operation regions don't have
zero size anymore. I will try later today to reboot my
computer with the file compiled with version 20040427
to see if everything goes ok. I will post the results
later.
Thank you for your answer.Regards,
PauloQuoted 4 lines · --- Bruno Ducrot
Quoted 2 lines · Bruno Ducrot
I would say this is a bug in iasl or else a
*lot*
Quoted 5 lines
of DSDT are buggy as
Quoted 1 line
well though never got that kind of report
before...
Quoted 2 lines
Which iasl version are you using? Could you
post
Quoted 3 lines
to me the DSDT.aml produced?
I can reproduce this trouble with current iasl,
but
Quoted 10 lines
not with the
20040427. I will send you (privately due to the
size) the iasl I'm using.Signature · 4 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.
Quoted 9 lines
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
-------------------------------------------------------
Quoted 12 lines
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
Quoted 1 line
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8