* OperationRegion outside scope
@ 2004-11-12 10:47 Paulo da Silva
[not found] ` <20041112104755.50219.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Paulo da Silva @ 2004-11-12 10:47 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041112104755.50219.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
@ 2004-11-12 15:32 ` Bruno Ducrot
[not found] ` <20041112153216.GF31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Bruno Ducrot @ 2004-11-12 15:32 UTC (permalink / raw)
To: Paulo da Silva; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Fri, Nov 12, 2004 at 02:47:54AM -0800, Paulo da Silva wrote:
> 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?
>
> 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.old 2004-10-12 15:58:19.000000000 +0200
+++ dsdt.dsl 2004-11-12 16:28:15.000000000 +0100
@@ -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})
}
}
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041112153216.GF31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2004-11-12 17:01 ` Paulo da Silva
[not found] ` <20041112170138.35367.qmail-PzIyE2qCj7uA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Paulo da Silva @ 2004-11-12 17:01 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--- Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Fri, Nov 12, 2004 at 02:47:54AM -0800, Paulo da
> Silva wrote:
> > 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?
>
> >
> > 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:
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041112170138.35367.qmail-PzIyE2qCj7uA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
@ 2004-11-12 17:22 ` Bruno Ducrot
[not found] ` <20041112172216.GG31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Bruno Ducrot @ 2004-11-12 17:22 UTC (permalink / raw)
To: Paulo da Silva; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
On Fri, Nov 12, 2004 at 09:01:38AM -0800, Paulo da Silva wrote:
>
> 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,
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041112172216.GG31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2004-11-12 17:37 ` Bruno Ducrot
[not found] ` <20041112173750.GH31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Bruno Ducrot @ 2004-11-12 17:37 UTC (permalink / raw)
To: Paulo da Silva; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Fri, Nov 12, 2004 at 06:22:16PM +0100, Bruno Ducrot wrote:
>
> 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.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041112173750.GH31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2004-11-15 13:08 ` Paulo da Silva
[not found] ` <20041115130829.23239.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Paulo da Silva @ 2004-11-15 13:08 UTC (permalink / raw)
To: Bruno Ducrot; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--- Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Fri, Nov 12, 2004 at 06:22:16PM +0100, Bruno
> Ducrot wrote:
> >
> > 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.
>
> --
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: OperationRegion outside scope
[not found] ` <20041115130829.23239.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
@ 2004-11-16 11:47 ` Paulo da Silva
0 siblings, 0 replies; 8+ messages in thread
From: Paulo da Silva @ 2004-11-16 11:47 UTC (permalink / raw)
To: Bruno Ducrot; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
--- Paulo da Silva <pvmagacho78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
>
> 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
>
> --- Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
>
> > On Fri, Nov 12, 2004 at 06:22:16PM +0100, Bruno
> > Ducrot wrote:
> > >
> > > 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.
> >
> > --
> > 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
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
__________________________________
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: OperationRegion outside scope
@ 2004-11-16 15:40 Moore, Robert
0 siblings, 0 replies; 8+ messages in thread
From: Moore, Robert @ 2004-11-16 15:40 UTC (permalink / raw)
To: Paulo da Silva, Bruno Ducrot; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Version 20040715 of the compiler inadvertently truncates some constants
that appear at the module level.
There are newer versions of the compiler that fix this problem.
However, the web site is still under update.
Bob
> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Paulo da Silva
> Sent: Tuesday, November 16, 2004 3:47 AM
> To: Bruno Ducrot
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] OperationRegion outside scope
>
> 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
>
> --- Paulo da Silva <pvmagacho78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
>
> >
> > 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
> >
> > --- Bruno Ducrot <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> >
> > > On Fri, Nov 12, 2004 at 06:22:16PM +0100, Bruno
> > > Ducrot wrote:
> > > >
> > > > 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.
> > >
> > > --
> > > 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
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >
>
>
>
>
> __________________________________
> 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
> _______________________________________________
> 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: 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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-16 15:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-12 10:47 OperationRegion outside scope Paulo da Silva
[not found] ` <20041112104755.50219.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-12 15:32 ` Bruno Ducrot
[not found] ` <20041112153216.GF31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-12 17:01 ` Paulo da Silva
[not found] ` <20041112170138.35367.qmail-PzIyE2qCj7uA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-12 17:22 ` Bruno Ducrot
[not found] ` <20041112172216.GG31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-12 17:37 ` Bruno Ducrot
[not found] ` <20041112173750.GH31422-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-11-15 13:08 ` Paulo da Silva
[not found] ` <20041115130829.23239.qmail-azSxi+4N0UiA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-11-16 11:47 ` Paulo da Silva
-- strict thread matches above, loose matches on Subject: below --
2004-11-16 15:40 Moore, Robert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox