public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
@ 2004-03-11  7:27 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Yu, Luming @ 2004-03-11  7:27 UTC (permalink / raw)
  To: Nate Lawson, Brown, Len; +Cc: Brian Buchanan, Moore, Robert, ACPI Developers


> 
> On Wed, 11 Mar 2004, Len Brown wrote:
> > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > Bob, any word on _OSI implementation?
> >
> > Bob sent me an initial implementation for review today;-)
> >
> > I'm uncomfortable, however, at claiming to be compatible 
> with Windows,
> > since I don't really have a definition of exactly what that means...
> >
> > -Len
> 
> Doesn't matter to me.  I plan on claiming to be everything from Win 2k
> onward and sort out the rest on the mailing list.  :)
> 
> We already fixed some problems by claiming to be Win 2k for _OS.
> 

Cool! what kind of problems?  :)

--Luming


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

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

* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-03-12  4:00   ` Nate Lawson
       [not found]     ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Nate Lawson @ 2004-03-12  4:00 UTC (permalink / raw)
  To: Yu, Luming; +Cc: Brown, Len, Moore, Robert, ACPI Developers

On Thu, 11 Mar 2004, Yu, Luming wrote:
> > On Wed, 11 Mar 2004, Len Brown wrote:
> > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > > Bob, any word on _OSI implementation?
> > >
> > > Bob sent me an initial implementation for review today;-)
> > >
> > > I'm uncomfortable, however, at claiming to be compatible
> > with Windows,
> > > since I don't really have a definition of exactly what that means...
> > >
> > > -Len
> >
> > Doesn't matter to me.  I plan on claiming to be everything from Win 2k
> > onward and sort out the rest on the mailing list.  :)
> >
> > We already fixed some problems by claiming to be Win 2k for _OS.
> >
>
> Cool! what kind of problems?  :)

PCI routing.

-Nate


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
       [not found]     ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org>
@ 2004-03-12  6:39       ` Len Brown
       [not found]         ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Len Brown @ 2004-03-12  6:39 UTC (permalink / raw)
  To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers

On Thu, 2004-03-11 at 23:00, Nate Lawson wrote:
> On Thu, 11 Mar 2004, Yu, Luming wrote:
> > > On Wed, 11 Mar 2004, Len Brown wrote:
> > > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > > > Bob, any word on _OSI implementation?
> > > >
> > > > Bob sent me an initial implementation for review today;-)
> > > >
> > > > I'm uncomfortable, however, at claiming to be compatible
> > > with Windows,
> > > > since I don't really have a definition of exactly what that means...
> > > >
> > > > -Len
> > >
> > > Doesn't matter to me.  I plan on claiming to be everything from Win 2k
> > > onward and sort out the rest on the mailing list.  :)
> > >
> > > We already fixed some problems by claiming to be Win 2k for _OS.
> > >
> >
> > Cool! what kind of problems?  :)
> 
> PCI routing.
> 
> -Nate

You don't need to tempt me any more than that!;-)

While I don't like blindly claiming compatibility with something that is
neither specified nor visible, I *do* like the idea of causing the AML
to follow the *tested* path that it follows under Windows.

thanks,
-Len
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* _OSI boot hang
       [not found]         ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>
@ 2004-03-13  8:22           ` Len Brown
       [not found]             ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>
  2004-03-17 22:45           ` _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Nate Lawson
  1 sibling, 1 reply; 9+ messages in thread
From: Len Brown @ 2004-03-13  8:22 UTC (permalink / raw)
  To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers

_OSI is in the ACPI patch on kernel.org and bkbits right now.

However, I find that on my Toshiba Satellite Pro, it causes boot to hang
at Executing all Device _STA and_INI methods.

>From ACPICA, it comes this way:
drivers/acpi/utilities/utglobal.c
const char                         
*acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = {
                       "Linux",
                       "Windows 2000",
                       "Windows 2001",
                       "Windows 2001.1"};


I find that it is the match on "Windows 2001" that hangs my laptop...

clues?

-Len

ACPI: Subsystem revision 20040311
 tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully
acquired
Parsing all Control
Methods:...................................................................................................
Table [DSDT](id F005) - 682 Objects with 72 Devices 183 Methods 6
Regions
Parsing all Control Methods:.....................
Table [SSDT](id F003) - 46 Objects with 6 Devices 21 Methods 0 Regions
ACPI Namespace successfully loaded at root c04b717c
ACPI: IRQ9 SCI: Level Trigger.
evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode
successful
evgpeblk-0747 [06] ev_create_gpe_block   : GPE 00 to 31 [_GPE] 4 regs at
000000000000D828 on int 9
Completing Region/Field/Buffer/Package
initialization:......................................................
Initialized 6/6 Regions 0/0 Fields 18/18 Buffers 30/30 Packages (736
nodes)
Executing all Device _STA and_INI
methods:..................................................



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: _OSI boot hang
       [not found]             ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>
@ 2004-03-13  9:37               ` Len Brown
  2004-03-17 22:36               ` Nate Lawson
  1 sibling, 0 replies; 9+ messages in thread
From: Len Brown @ 2004-03-13  9:37 UTC (permalink / raw)
  To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers

Hmmm, now my Toshiba is not hanging.  Maybe the hang wasn't related to
_OSI afterall?

In any case, if you experience issues with the latest
"acpi_osi=" or "acpi_serialize" may be helpful -- do speak up if you
find they're necessary.

thanks,
-Len
----
kernel-parameters.txt:

        acpi_osi=       [HW,ACPI] empty param disables _OSI

        acpi_serialize  [HW,ACPI] force serialization of AML methods




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* Re: _OSI boot hang
       [not found]             ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>
  2004-03-13  9:37               ` Len Brown
@ 2004-03-17 22:36               ` Nate Lawson
  1 sibling, 0 replies; 9+ messages in thread
From: Nate Lawson @ 2004-03-17 22:36 UTC (permalink / raw)
  To: Len Brown; +Cc: Robert Moore, ACPI Developers

On Sat, 13 Mar 2004, Len Brown wrote:
> _OSI is in the ACPI patch on kernel.org and bkbits right now.
>
> However, I find that on my Toshiba Satellite Pro, it causes boot to hang
> at Executing all Device _STA and_INI methods.
>
> >From ACPICA, it comes this way:
> drivers/acpi/utilities/utglobal.c
> const char
> *acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = {
>                        "Linux",
>                        "Windows 2000",
>                        "Windows 2001",
>                        "Windows 2001.1"};

That's not the right string for Win2k.  It's:
  "Microsoft Windows NT"

Since this is the most popular string, not emulating it is probably
causing some people problems.

-Nate


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* RE: _OSI boot hang
@ 2004-03-17 22:40 Moore, Robert
       [not found] ` <CFF522B18982EA4481D3A3E23B83141C01F3FD59-sBd4vmA9Se6SsB6bSF6DdVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Moore, Robert @ 2004-03-17 22:40 UTC (permalink / raw)
  To: Nate Lawson, Brown, Len; +Cc: ACPI Developers

Not according to the MS white paper on OSI.  

http://www.microsoft.com/whdc/hwdev/tech/onnow/_OSI-method.mspx


Yes, \_OS used strings like "Microsoft Windows NT", but apparently not
OSI

Bob


-----Original Message-----
From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org] 
Sent: Wednesday, March 17, 2004 2:36 PM
To: Brown, Len
Cc: Moore, Robert; ACPI Developers
Subject: Re: [ACPI] _OSI boot hang

On Sat, 13 Mar 2004, Len Brown wrote:
> _OSI is in the ACPI patch on kernel.org and bkbits right now.
>
> However, I find that on my Toshiba Satellite Pro, it causes boot to
hang
> at Executing all Device _STA and_INI methods.
>
> >From ACPICA, it comes this way:
> drivers/acpi/utilities/utglobal.c
> const char
> *acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = {
>                        "Linux",
>                        "Windows 2000",
>                        "Windows 2001",
>                        "Windows 2001.1"};

That's not the right string for Win2k.  It's:
  "Microsoft Windows NT"

Since this is the most popular string, not emulating it is probably
causing some people problems.

-Nate


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

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

* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
       [not found]         ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>
  2004-03-13  8:22           ` _OSI boot hang Len Brown
@ 2004-03-17 22:45           ` Nate Lawson
  1 sibling, 0 replies; 9+ messages in thread
From: Nate Lawson @ 2004-03-17 22:45 UTC (permalink / raw)
  To: Len Brown; +Cc: Robert Moore, ACPI Developers

On Thu, 12 Mar 2004, Len Brown wrote:
> On Thu, 2004-03-11 at 23:00, Nate Lawson wrote:
> > On Thu, 11 Mar 2004, Yu, Luming wrote:
> > > > On Wed, 11 Mar 2004, Len Brown wrote:
> > > > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > > > > Bob, any word on _OSI implementation?
> > > > >
> > > > > Bob sent me an initial implementation for review today;-)
> > > > >
> > > > > I'm uncomfortable, however, at claiming to be compatible
> > > > with Windows,
> > > > > since I don't really have a definition of exactly what that means...
> > > > >
> > > > > -Len
> > > >
> > > > Doesn't matter to me.  I plan on claiming to be everything from Win 2k
> > > > onward and sort out the rest on the mailing list.  :)
> > > >
> > > > We already fixed some problems by claiming to be Win 2k for _OS.
> > > >
> > >
> > > Cool! what kind of problems?  :)
> >
> > PCI routing.
> >
> > -Nate
>
> You don't need to tempt me any more than that!;-)
>
> While I don't like blindly claiming compatibility with something that is
> neither specified nor visible, I *do* like the idea of causing the AML
> to follow the *tested* path that it follows under Windows.

OSI is different than _OS.  _OS is a static string, OSI means you can
support the behavior of the string passed in.  Since Win2k was the first
OS that really supported ACPI and the tests for strings for Win98 and ME
in the ASL are usually to disable functionality/workaround bugs, I think
it's very reasonable to claim compliance with all Win2k and above
versions.

-Nate


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

* RE: _OSI boot hang
       [not found] ` <CFF522B18982EA4481D3A3E23B83141C01F3FD59-sBd4vmA9Se6SsB6bSF6DdVDQ4js95KgL@public.gmane.org>
@ 2004-03-17 22:58   ` Nate Lawson
  0 siblings, 0 replies; 9+ messages in thread
From: Nate Lawson @ 2004-03-17 22:58 UTC (permalink / raw)
  To: Moore, Robert; +Cc: Brown, Len, ACPI Developers

You're correct.  On a second check, I only found Windows 2001 and above in
terms of ASL checking for OSI strings.

-Nate

On Wed, 17 Mar 2004, Moore, Robert wrote:
> Not according to the MS white paper on OSI.
>
> http://www.microsoft.com/whdc/hwdev/tech/onnow/_OSI-method.mspx
>
>
> Yes, \_OS used strings like "Microsoft Windows NT", but apparently not
> OSI
>
> Bob
>
>
> -----Original Message-----
> From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> Sent: Wednesday, March 17, 2004 2:36 PM
> To: Brown, Len
> Cc: Moore, Robert; ACPI Developers
> Subject: Re: [ACPI] _OSI boot hang
>
> On Sat, 13 Mar 2004, Len Brown wrote:
> > _OSI is in the ACPI patch on kernel.org and bkbits right now.
> >
> > However, I find that on my Toshiba Satellite Pro, it causes boot to
> hang
> > at Executing all Device _STA and_INI methods.
> >
> > >From ACPICA, it comes this way:
> > drivers/acpi/utilities/utglobal.c
> > const char
> > *acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = {
> >                        "Linux",
> >                        "Windows 2000",
> >                        "Windows 2001",
> >                        "Windows 2001.1"};
>
> That's not the right string for Win2k.  It's:
>   "Microsoft Windows NT"
>
> Since this is the most popular string, not emulating it is probably
> causing some people problems.
>
> -Nate
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> _______________________________________________
> 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: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

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

end of thread, other threads:[~2004-03-17 22:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11  7:27 _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-03-12  4:00   ` Nate Lawson
     [not found]     ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org>
2004-03-12  6:39       ` Len Brown
     [not found]         ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-13  8:22           ` _OSI boot hang Len Brown
     [not found]             ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-13  9:37               ` Len Brown
2004-03-17 22:36               ` Nate Lawson
2004-03-17 22:45           ` _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2004-03-17 22:40 _OSI boot hang Moore, Robert
     [not found] ` <CFF522B18982EA4481D3A3E23B83141C01F3FD59-sBd4vmA9Se6SsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2004-03-17 22:58   ` Nate Lawson

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