Bug 9574 - 'acpi_osi=Linux' made a PCI device window available.
Summary: 'acpi_osi=Linux' made a PCI device window available.
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 10:55 UTC by Jason HU
Modified: 2008-05-05 01:06 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.23.8-63.fc8
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
output of acpidump (145.09 KB, text/plain)
2007-12-15 11:04 UTC, Jason HU
Details
dmesg with acpi_osi=linux kernel parameter (21.60 KB, text/plain)
2007-12-15 11:06 UTC, Jason HU
Details
dmesg without acpi_osi=Linux (21.05 KB, application/octet-stream)
2007-12-15 11:07 UTC, Jason HU
Details
dmidecode (7.44 KB, text/plain)
2007-12-15 11:12 UTC, Jason HU
Details
lspci -nn output (1.54 KB, text/plain)
2007-12-15 11:12 UTC, Jason HU
Details
#./acpidump > acpidump.txt (135.92 KB, text/plain)
2007-12-20 21:37 UTC, Jason HU
Details

Description Jason HU 2007-12-15 10:55:26 UTC
Most recent kernel where this bug did not occur:
Distribution:
'acpi_osi=Linux' made a PCI device window available.

Hardware Environment:
Toshiba A135-s2386

Software Environment:
Fedora 8

Problem Description:
with 'acpi_osi=Linux' kernel parameter switched on, one of PCI devices window is  available. The dmesg shows:

without acpi_osi=Linux
< PCI: Cannot allocate resource region 7 of bridge 0000:00:06.0
< PCI: Cannot allocate resource region 8 of bridge 0000:00:06.0
<   MEM window: disabled.

with acpi_osi=Linux
>   MEM window: c0100000-c01fffff

Steps to reproduce:
add acpi_osi=Linux kernel parameter.
Comment 1 Jason HU 2007-12-15 11:04:50 UTC
Created attachment 14049 [details]
output of acpidump

acpidump is not avaliable in fedora 8, and utilities links at http://www.lesswatts.org/projects/acpi/utilities.php seems was broken, so I got one from
http://people.freebsd.org/~takawata/pacpidump
Comment 2 Jason HU 2007-12-15 11:06:35 UTC
Created attachment 14050 [details]
dmesg with acpi_osi=linux kernel parameter
Comment 3 Jason HU 2007-12-15 11:07:58 UTC
Created attachment 14051 [details]
dmesg without acpi_osi=Linux
Comment 4 Jason HU 2007-12-15 11:12:08 UTC
Created attachment 14052 [details]
dmidecode
Comment 5 Jason HU 2007-12-15 11:12:38 UTC
Created attachment 14053 [details]
lspci -nn output
Comment 6 Zhang Rui 2007-12-19 18:52:48 UTC
Hi, Jason,
please attach the acpidump binary file instead.
You can find the latest pmtools source code at
http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
Comment 7 Jason HU 2007-12-20 21:37:43 UTC
Created attachment 14138 [details]
#./acpidump > acpidump.txt

output by pmtools-20071116
Comment 8 Len Brown 2007-12-27 19:49:10 UTC
Besides the PCI dmesg diff above, do you notice
any functional difference with and without acpi_osi=Linux?

        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))
            Name (_ADR, 0x00)
            Name (_UID, 0x01)
            Name (_BBN, 0x00)
            Method (_INI, 0, NotSerialized)
            {
                If (CondRefOf (\_OSI, Local0))
                {
                    If (\_OSI ("Linux"))
                    {
                        Store (0x00, ECDY)
                    }
                }

ECDY is accessed in multiple places in AML, most notably
in the Embedded Controller interface, and the battery code.
Do you notice any difference in the battery info or
battery function with and without acpi_osi=Linux?
Comment 9 Jason HU 2008-01-18 20:55:24 UTC
I notised that this laptop often lose its wlan device (from lspci) sometimes when I do cold-boot or wakeup back from sleep(suspend to ram). And the lost PCI window is right the wlan device. So I think this Bug does not belongs to OS but BIOS of the laptop or hardware. 

Now I can confirm that the 'acpi_osi=Linux' has nothing to do with the lost of the wlan PCI device window. I believe This is NOT a bug of linux ACPI also because the pci window can also get lost when I using Windows. If what I believe is true, I will close the bug report.

About the battery function, there is nothing differences when with or without acpi_osi=Linux. 

 
Comment 10 Zhang Rui 2008-05-05 01:06:51 UTC
Close this bug because there is no difference w/ and w/o "acpi_osi=linux".

Note You need to log in before you can comment on or make changes to this bug.