From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 05:16:41 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA44F106566B; Sun, 17 Oct 2010 05:16:41 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 248678FC08; Sun, 17 Oct 2010 05:16:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o9H5GcX7043245; Sun, 17 Oct 2010 16:16:39 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 17 Oct 2010 16:16:38 +1100 (EST) From: Ian Smith To: Andriy Gapon In-Reply-To: <4CB397A7.9040404@freebsd.org> Message-ID: <20101017153501.T2036@sola.nimnet.asn.au> References: <4CADF96D.8040908@freebsd.org> <4CB21C59.704@freebsd.org> <20101011140319.Q2036@sola.nimnet.asn.au> <4CB397A7.9040404@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: acpi_ec: request for review and testing X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 05:16:41 -0000 On Tue, 12 Oct 2010, Andriy Gapon wrote: > on 11/10/2010 06:18 Ian Smith said the following: > I've just done couple of MFCs to stable/8 and the patch should now apply cleanly. > I will appreciate your testing. Cleanly enough, offset 1 line from Hunk #3 on. FreeBSD 8.1-STABLE #2: Fri Oct 15 14:48:02 EST 2010 GENERIC i386 No change in verbose dmesg or EC behaviour seen so far; ie, good :) No change in '60 second stall resuming Thinkpad T23 on 8.x - regression' either, not surprisingly. A fully detailed report on that coming soon. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 08:54:58 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC9D71065675 for ; Sun, 17 Oct 2010 08:54:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 325958FC08 for ; Sun, 17 Oct 2010 08:54:57 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=iBCGAMPDYtSF9sDXX85uHY3wcnYctfVT8vFpe3qPflY= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=t2lncIL62Cz8b4ERMIcA:9 a=5jGFmStSHaXh6GL2yrZbGk8YlEgA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 36362234; Sun, 17 Oct 2010 10:54:55 +0200 From: Hans Petter Selasky To: "Jung-uk Kim" Date: Sun, 17 Oct 2010 10:56:12 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010131958.02252.jkim@FreeBSD.org> In-Reply-To: <201010131958.02252.jkim@FreeBSD.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010171056.12606.hselasky@c2i.net> Cc: freebsd-acpi@freebsd.org Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 08:54:59 -0000 Hi, After debugging for some time now I've found the issue. 1) I extended all allocations from ACPI to PAGE_SIZE. 2) Then I filled the extra area with zero. 3) Then at free I checked if some buffers were overwritten, and indeed I got bingo this time. The printout has the format: printf("Dirty free \n"); kdb_backtrace(); Is this enough information for you to make a patch? unknown: I/O range not supported 0xffffff00024c1000 0xcf8 0xcff KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a acpi_parse_resources() at acpi_parse_resources+0x287 acpi_probe_child() at acpi_probe_child+0x1b4 AcpiNsWalkNamespace() at AcpiNsWalkNamespace+0x163 AcpiWalkNamespace() at AcpiWalkNamespace+0xbf acpi_attach() at acpi_attach+0x8fa device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 hpet0: [FILTER] Event timer "HPET" frequency 25000000 Hz quality 450 Event timer "HPET1" frequency 25000000 Hz quality 440 Event timer "HPET2" frequency 25000000 Hz quality 440 Event timer "HPET3" frequency 25000000 Hz quality 440 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_acad0: on acpi0 acpi_lid0: on acpi0 acpi_lid0: enable wake failed acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: on acpi0 pci0: on pcib0 Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link32: Enter debugger pci_link43: Enter debugger Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link33: Enter debugger Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link34: Enter debugger Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link41: Enter debugger pci_link42: Enter debugger Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link36: Enter debugger Dirty free 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x7a AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xa28 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c pci_link35: Enter debugger pci_link39: Enter debugger --HPS From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 11:16:35 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FC31065741; Sun, 17 Oct 2010 11:16:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 29E638FC12; Sun, 17 Oct 2010 11:16:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=iBCGAMPDYtSF9sDXX85uHY3wcnYctfVT8vFpe3qPflY= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=BfykKu7kOVNgDeRRJOMA:9 a=Lp1Lb0v7JqB5EFygJ00A:7 a=qRj8ywYCRUkPzZxkyvaJONYU1J8A:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 36401215; Sun, 17 Oct 2010 13:16:32 +0200 From: Hans Petter Selasky To: freebsd-acpi@freebsd.org Date: Sun, 17 Oct 2010 13:17:49 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010131958.02252.jkim@FreeBSD.org> <201010171056.12606.hselasky@c2i.net> In-Reply-To: <201010171056.12606.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010171317.49815.hselasky@c2i.net> Cc: Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 11:16:35 -0000 Hi, Some more debugging reveals that: The Resource type is 15, which is: ACPI_RSCONVERT_INFO AcpiRsConvertExtIrq[9] = And that it fails on: ACPI_RSC_SOURCEX That means it writes beyond the 11 bytes reserved for this element! During sub-routines of AcpiRsCreateAmlResources(). --HPS On Sunday 17 October 2010 10:56:12 Hans Petter Selasky wrote: > Hi, > > After debugging for some time now I've found the issue. > > 1) I extended all allocations from ACPI to PAGE_SIZE. > 2) Then I filled the extra area with zero. > 3) Then at free I checked if some buffers were overwritten, and indeed I > got bingo this time. The printout has the format: > > printf("Dirty free \n"); > kdb_backtrace(); > > Is this enough information for you to make a patch? > > unknown: I/O range not supported 0xffffff00024c1000 0xcf8 0xcff > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > acpi_parse_resources() at acpi_parse_resources+0x287 > acpi_probe_child() at acpi_probe_child+0x1b4 > AcpiNsWalkNamespace() at AcpiNsWalkNamespace+0x163 > AcpiWalkNamespace() at AcpiWalkNamespace+0xbf > acpi_attach() at acpi_attach+0x8fa > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on > acpi0 > Timecounter "HPET" frequency 25000000 Hz quality 900 > hpet0: [FILTER] > Event timer "HPET" frequency 25000000 Hz quality 450 > Event timer "HPET1" frequency 25000000 Hz quality 440 > Event timer "HPET2" frequency 25000000 Hz quality 440 > Event timer "HPET3" frequency 25000000 Hz quality 440 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > acpi_acad0: on acpi0 > acpi_lid0: on acpi0 > acpi_lid0: enable wake failed > acpi_button0: on acpi0 > acpi_button1: on acpi0 > pcib0: on acpi0 > pci0: on pcib0 > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link32: Enter debugger > pci_link43: Enter debugger > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link33: Enter debugger > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link34: Enter debugger > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link41: Enter debugger > pci_link42: Enter debugger > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link36: Enter debugger > Dirty free 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x7a > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x77 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0xb4 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x45 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0xf2 > AcpiSetCurrentResources() at AcpiSetCurrentResources+0x49 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x40d > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xa28 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > pci_link35: Enter debugger > pci_link39: Enter debugger > > > --HPS From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 13:46:41 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8424D1065673; Sun, 17 Oct 2010 13:46:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id DFC528FC08; Sun, 17 Oct 2010 13:46:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=MqtWdLHOA0PUFXxu8IEA:9 a=kc03ppROO4SYZ7uiqwgA:7 a=HKScSlISXkDKBxWLX4hMk62dePYA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 36248441; Sun, 17 Oct 2010 15:46:38 +0200 From: Hans Petter Selasky To: freebsd-acpi@freebsd.org Date: Sun, 17 Oct 2010 15:47:56 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010131958.02252.jkim@FreeBSD.org> <201010171056.12606.hselasky@c2i.net> In-Reply-To: <201010171056.12606.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010171547.56445.hselasky@c2i.net> Cc: linux-acpi@vger.kernel.org Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 13:46:41 -0000 Hi, CC'ing the Linux guys, hence I belive you are using the same ACPI code like in FreeBSD. It appears that when a string is present in the extended interrupt descriptor (6.4.3.6, ACPIspec30.pdf), then this is not handled correctly, meaning that the precomputed buffer space when encoding to AML, is incorrect and that data is written beyond the destination buffer! The error is catched on a MacBookPro 5,1 and is visible if you zero-pad all ACPI allocations to 4096 bytes, and verify that the freed buffer is not written beyond the allocation. Also the Extended interrupt descriptor must be the last element encoded in the AML. The quick patch is to disable these elements. I tried to figure out why this happens, but this particular handling in the code looks very obfuscated to me. src/sys/contrib/dev/acpica %svk diff === resources/rsmisc.c ================================================================== --- resources/rsmisc.c (revision 213698) +++ resources/rsmisc.c (local) @@ -311,6 +311,8 @@ case ACPI_RSC_SOURCEX: + break; /* RSC_SOURCEX is broken */ + /* * Optional ResourceSource (Index and String). This is the more * complicated case used by the Interrupt() macro @@ -537,6 +539,8 @@ case ACPI_RSC_SOURCEX: + break; /* RSC_SOURCEX is broken */ + /* * Optional ResourceSource (Index and String) */ Any comments are welcome! --HPS Please keep me CC'ed. From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 17 22:48:53 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9665A106564A; Sun, 17 Oct 2010 22:48:53 +0000 (UTC) (envelope-from kuba.g4@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 056F38FC08; Sun, 17 Oct 2010 22:48:52 +0000 (UTC) Received: by wyb38 with SMTP id 38so405171wyb.13 for ; Sun, 17 Oct 2010 15:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1yeTikyg6WtZ3B0ckjSUHhjQ6N1Kd7NTlfA6g+21yx8=; b=nrgD9HQwdTr/tgd/zAfeg7YYGxs9yh5b1Py2hpH3q9NIO6hPzUYc4hNSfB61jqleWa lwReDkQe5iyFpe5VMljQ+2gwDhxKq8jsmczlseUe7xkDPTQJ8cLqw8yQ6yVO/85eUtpv 3jU/ITb2X3qTE8+5oDWhiWDsGeUl9JzjOEqdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p5LKmeb61N/x+2cyO+WGYf2uWrvGWGHQ/dl/KrMSzcJ7PerVK50kDduvGc5H8OCC/T YwbtCcEwbVY8rPlGw8s1Kdx6PUlodSodgClL9f5dEV5DlcanvmQj3O8IChaB8qqnpcVv 6w3TvXcWKwxD17zrv+1eg63n2WhRKUHc4ka7A= MIME-Version: 1.0 Received: by 10.227.151.193 with SMTP id d1mr3842365wbw.151.1287355731887; Sun, 17 Oct 2010 15:48:51 -0700 (PDT) Received: by 10.216.239.4 with HTTP; Sun, 17 Oct 2010 15:48:51 -0700 (PDT) In-Reply-To: <4CB8CBE4.70800@orange.fr> References: <4CB43F57.40400@orange.fr> <4CB8CBE4.70800@orange.fr> Date: Mon, 18 Oct 2010 00:48:51 +0200 Message-ID: From: kuba guzik To: Nicolas , freebsd-acpi@freebsd.org, Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: acpi_ec: request for review and testing X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 22:48:53 -0000 > I can't tell you more on my computer, there nothing more than "HP dv7". > I can't change brightness too, there is an acpi message: "can't evaluate > \\_SB_.PCI0.PVGA.EVGA.LCD_._BQC - AE_NOT_FOUND" I have the same problem with this error message when acpi_video was loaded > I will try to load acpi_hp tomorrow, last time i loaded it, it crash with > acpi_wmi error. You have to comment acpi_video in /boot/loader.conf and then load acpi_hp. > Before applaying the patch my cpu fan running all the time and now not, have > you ever had this problem ? I didn't have this problem. > Which version of FreeBSD are you using ? I am using 8.1. Maybe we should report a bug. I don't know if it is solution for this problem :/ cheers, Kuba From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 00:29:32 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 808AF1065673 for ; Mon, 18 Oct 2010 00:29:32 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.freebsd.org (Postfix) with ESMTP id 61E8D8FC13 for ; Mon, 18 Oct 2010 00:29:32 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 17 Oct 2010 17:01:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,343,1283756400"; d="scan'208";a="848050656" Received: from orsmsx603.amr.corp.intel.com ([10.22.226.49]) by fmsmga001.fm.intel.com with ESMTP; 17 Oct 2010 17:01:11 -0700 Received: from orsmsx503.amr.corp.intel.com ([10.22.226.47]) by orsmsx603.amr.corp.intel.com ([10.22.226.49]) with mapi; Sun, 17 Oct 2010 17:01:11 -0700 From: "Moore, Robert" To: Hans Petter Selasky , "freebsd-acpi@freebsd.org" Date: Sun, 17 Oct 2010 17:01:09 -0700 Thread-Topic: MacBookPro 5,1 Thread-Index: ActuAb5Oko93zI/bTsmvuRKC9IvoMwAVbxCw Message-ID: <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> References: <201010121209.06397.hselasky@c2i.net> <201010131958.02252.jkim@FreeBSD.org> <201010171056.12606.hselasky@c2i.net> <201010171547.56445.hselasky@c2i.net> In-Reply-To: <201010171547.56445.hselasky@c2i.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Lin, Ming M" Subject: RE: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 00:29:32 -0000 Can you send us the acpidump for the machine? Also, tell us which control method is failing. Thanks >-----Original Message----- >From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- >acpi@freebsd.org] On Behalf Of Hans Petter Selasky >Sent: Sunday, October 17, 2010 6:48 AM >To: freebsd-acpi@freebsd.org >Cc: linux-acpi@vger.kernel.org >Subject: Re: MacBookPro 5,1 > >Hi, > >CC'ing the Linux guys, hence I belive you are using the same ACPI code lik= e >in >FreeBSD. > >It appears that when a string is present in the extended interrupt >descriptor >(6.4.3.6, ACPIspec30.pdf), then this is not handled correctly, meaning tha= t >the precomputed buffer space when encoding to AML, is incorrect and that >data >is written beyond the destination buffer! > >The error is catched on a MacBookPro 5,1 and is visible if you zero-pad al= l >ACPI allocations to 4096 bytes, and verify that the freed buffer is not >written beyond the allocation. Also the Extended interrupt descriptor must >be >the last element encoded in the AML. > >The quick patch is to disable these elements. I tried to figure out why >this >happens, but this particular handling in the code looks very obfuscated to >me. > >src/sys/contrib/dev/acpica >%svk diff >=3D=3D=3D resources/rsmisc.c >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- resources/rsmisc.c (revision 213698) >+++ resources/rsmisc.c (local) >@@ -311,6 +311,8 @@ > > > case ACPI_RSC_SOURCEX: >+ break; /* RSC_SOURCEX is broken */ >+ > /* > * Optional ResourceSource (Index and String). This is the >more > * complicated case used by the Interrupt() macro >@@ -537,6 +539,8 @@ > > > case ACPI_RSC_SOURCEX: >+ break; /* RSC_SOURCEX is broken */ >+ > /* > * Optional ResourceSource (Index and String) > */ > > >Any comments are welcome! > >--HPS > >Please keep me CC'ed. >_______________________________________________ >freebsd-acpi@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-acpi >To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 10:21:09 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE9331065675 for ; Mon, 18 Oct 2010 10:21:09 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 86A678FC0A for ; Mon, 18 Oct 2010 10:21:09 +0000 (UTC) Received: from [91.205.172.21] (helo=secure.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1P7mH0-0001H2-IC; Mon, 18 Oct 2010 11:44:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Mon, 18 Oct 2010 09:44:55 +0000 From: Bernhard Froehlich To: Message-ID: X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.4 X-Spam-Score: -1.1 (-) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi guys! VirtualBox has a compile problem with latest acpica. I've talked to the VirtualBox developers and they think it's an acpica problem which should be fixed upstream. Can we somehow file a bugreport or create a patch to fix that in acpica? [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.3 AWL AWL: From: address is in the auto white-list Cc: vbox@FreeBSD.org Subject: VirtualBox: Compile problems with ACPICA 20101013 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 10:21:09 -0000 Hi guys! VirtualBox has a compile problem with latest acpica. I've talked to the VirtualBox developers and they think it's an acpica problem which should be fixed upstream. Can we somehow file a bugreport or create a patch to fix that in acpica? Compile error: kBuild: iasl DevicesR3 - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl 736: Name (_CID, "smc-napa") Error 4001 - String must be entirely alphanumeric ^ (smc-napa) ASL Input: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 Optimizations I have found the commit that introduces this additional checks: http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e544c58df189c817f316c3b and here is the dsl file from virtualbox: http://www.virtualbox.org/browser/trunk/src/VBox/Devices/PC/vbox.dsl#L781 Thanks! -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 11:06:52 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3427C1065670 for ; Mon, 18 Oct 2010 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 071E58FC08 for ; Mon, 18 Oct 2010 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9IB6p7E029240 for ; Mon, 18 Oct 2010 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9IB6p7e029238 for freebsd-acpi@FreeBSD.org; Mon, 18 Oct 2010 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Oct 2010 11:06:51 GMT Message-Id: <201010181106.o9IB6p7e029238@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o amd64/144551 acpi [acpi] ACPI issues on SuperMicro X7SPA-H o i386/144045 acpi [acpi] [panic] kernel trap with acpi enabled o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142263 acpi [acpi] ACPI regression on Asus K8N7-E deluxe motherboa o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o amd64/140751 acpi [acpi] BIOS resource allocation and FreeBSD ACPI in TO o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o bin/137053 acpi [hang] FreeBSD 8.0 BETA2Compaq Mini 700 locks on boot o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not o kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129563 acpi [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin o amd64/121439 acpi [boot] Installation of FreeBSD 7.0 fails: ACPI problem o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/69750 acpi Boot without ACPI failed on ASUS L5 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 56 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 17:33:42 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A056F106566C; Mon, 18 Oct 2010 17:33:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Mon, 18 Oct 2010 13:33:26 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010181333.29143.jkim@FreeBSD.org> Cc: vbox@freebsd.org, Bernhard Froehlich Subject: Re: VirtualBox: Compile problems with ACPICA 20101013 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 17:33:42 -0000 On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: > Hi guys! > > VirtualBox has a compile problem with latest acpica. I've talked to > the VirtualBox developers and they think it's an acpica problem > which should be fixed upstream. Can we somehow file a bugreport or > create a patch to fix that in acpica? Excerpt rom ACPI 4.0a: --------------------------------------------------- Each Compatible Device ID must be either: o A valid HID value (a 32-bit compressed EISA type ID or a string such as "ACPI0004"). o A string that uses a bus-specific nomenclature. For example, _CID can be used to specify the PCI ID. --------------------------------------------------- Since it is not a valid HID value, you can only say it may be a bus-specific nomenclature at best. However, it looks like an ISA device to me and probably it is just a bogus ID. In fact, I googled a bit and it only exists on some Intel Mac models, it seems. You can just remove the entire _CID unless it is absolutely necessary, which is very unlikely. :-) Jung-uk Kim > Compile error: > kBuild: iasl DevicesR3 - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl 736: Name (_CID, > "smc-napa") > Error 4001 - > String must be entirely > alphanumeric ^ (smc-napa) > > ASL Input: > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords > Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 > Optimizations > > > I have found the commit that introduces this additional checks: > http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e >544c58df189c817f316c3b > > and here is the dsl file from virtualbox: > http://www.virtualbox.org/browser/trunk/src/VBox/Devices/PC/vbox.ds >l#L781 > > > Thanks! From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 18 20:20:27 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E07A106566B for ; Mon, 18 Oct 2010 20:20:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 349A48FC1B for ; Mon, 18 Oct 2010 20:20:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=iBCGAMPDYtSF9sDXX85uHY3wcnYctfVT8vFpe3qPflY= c=1 sm=1 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=PvNOTy0XEncWWIjEAQUA:9 a=RvmLIj9GmAmjwfBihFMoNcXnKhAA:4 a=wPNLvfGTeEIA:10 a=9IB-Atyk_XtMXYM1wxYA:9 a=23dPmOx3x6hCd7JMJElHSaMM-cYA:4 a=yto4iThSoaUSW8j6lNAA:9 a=9MiA31gqcG9H_I3I9nEA:7 a=wti5SgzFU0cou3yyZrLRAHRWoJsA:4 a=PsOEvSWK0XCZWh6H:21 a=B0smcWKMVmdzjfmZ:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 37022258; Mon, 18 Oct 2010 22:20:22 +0200 From: Hans Petter Selasky To: "Moore, Robert" Date: Mon, 18 Oct 2010 22:21:36 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010171547.56445.hselasky@c2i.net> <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> In-Reply-To: <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_QxKvMBQdAS2ebB2" Message-Id: <201010182221.36745.hselasky@c2i.net> X-Mailman-Approved-At: Mon, 18 Oct 2010 20:30:00 +0000 Cc: "freebsd-acpi@freebsd.org" , "Lin, Ming M" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 20:20:27 -0000 --Boundary-00=_QxKvMBQdAS2ebB2 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > Can you send us the acpidump for the machine? > > Also, tell us which control method is failing. > > Thanks Hi, Please find attached dump of ACPI tables. It is the function AcpiRsCreateAmlResources() which writes beyond the buffer it allocates. --HPS --Boundary-00=_QxKvMBQdAS2ebB2 Content-Type: application/octet-stream; name="dsdt.mbp51.bin" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="dsdt.mbp51.bin" RFNEVFJhAAABzEFQUExFIE1hY0Jvb2tQBQAFAElOVEwJEQYgW4BQUlQwAQqACgJbgQtQUlQwElA4 MEgQW4BTUFJUAQsuBQoCW4ELU1BSVBFTU01QCFuASU9fVAELAAgKEFuBJ0lPX1QBVFJQSRAAEAAQ ABBUUlAwCFRSUEMIAAgACAAIAAgACAAIW4BJT19EAQsQCAoIW4ELSU9fRAFUUlBECFuAUE1JTwEL AAQKgFuBGlBNSU8BAEAQAAJTUFNUAQBNEAABR1BFQwFbgEdOVlMADJha7X8LAAFbgUIbR05WUxBP U1lTEFNNSUYIUFJNMAhQUk0xCFNDSUYIUFJNMghQUk0zCExDS0YIUFJNNAhQUk01CFA4MEQgTElE UwhQV1JTCERCR1MITElOWAgACEFDVFQIUFNWVAhUQzFWCFRDMlYIVFNQVghDUlRUCERUU0UIRFRT MQhEVFMyCERUU0YIQk5VTQhCMFNDCEIxU0MIQjJTQwhCMFNTCEIxU1MIQjJTUwgAGEFQSUMITVBF TghQQ1AwCFBDUDEIUFBDTQhQUE1GIAAITkFUUAhDTUFQCENNQlAITFBUUAhGRENQCENNQ1AIQ0lS UAgAGElHRFMIVExTVAhDQURMCFBBREwIQ1NURRBOU1RFEFNTVEUQTkRJRAhESUQxIERJRDIgRElE MyBESUQ0IERJRDUgQkRTUAhQVFkxCFBUWTIIUFNDTAhUVkYxCFRWRjIIABBHT1BCIEJMQ1MIQlJU TAhBTFNFCEFMQUYITExPVwhMSElICAAIRU1BRQhFTUFQEEVNQUwQAAhNRUZFCABIBkdURjA4R1RG MjhJREVNCEdURjE4R1RGMzhHVEY0OEdURjU4CFxHQlJECgFbgE5WU0IBCwAFCwABW4FOFk5WU0IB AEAER1AwMQ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AB9U0RUTAogU0RU TFuAQ1NUMQCDiFNTRFQKCgCDiFNTRFQKCwBbIENTVDFIQzFfpGsQQAhcLwNfU0JfUENJMFNBVEFb gk0GUFJJRAhfQURSCgAIUEJVRhEXChR4AAAADwAAAHgAAAAPAAAAHwAAABQLX0dUTQCkUEJVRhQM X1NUTQNwaFBCVUZbgihQX0QwCF9BRFIKABQbX0dURgAIUElCMBEKCgcDRgAAAKDvpFBJQjAQSgdc LwNfU0JfUENJMFNBVEFbgkcGUFJUMQhfQURSCgEIU0JVRhEXChR4AAAADwAAAHgAAAAPAAAAHwAA ABQLX0dUTQCkU0JVRhQGX1NUTQNbgihTX0QwCF9BRFIKABQbX0dURgAIU0lCMBEKCgcDRgAAAKDv pFNJQjA= --Boundary-00=_QxKvMBQdAS2ebB2 Content-Type: text/plain; charset="ISO-8859-1"; name="asl.dump.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="asl.dump.txt" /* RSD PTR: OEM=APPLE, ACPI_Rev=2.0x (2) XSDT=0x7feee1c0, length=36, cksum=206 */ /* XSDT: Length=124, Revision=1, Checksum=83, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0xac, Creator ID=, Creator Revision=0x1000013 Entries={ 0x7feec000, 0x7feeb000, 0x7feea000, 0x7fee9000, 0x7fee8000, 0x7fee7000, 0x7fee6000, 0x7fee5000, 0x7fec7000, 0x7fecc000, 0x7fecb000 } */ /* FACP: Length=244, Revision=4, Checksum=123, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0xac, Creator ID=Loki, Creator Revision=0x5f FACS=0x7fecd000, DSDT=0x7fedf000 INT_MODEL=PIC Preferred_PM_Profile=Mobile (2) SCI_INT=9 SMI_CMD=0x52e, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0xf2 PSTATE_CNT=0x80 PM1a_EVT_BLK=0x400-0x403 PM1a_CNT_BLK=0x404-0x405 PM2_CNT_BLK=0x41c-0x41c PM_TMR_BLK=0x408-0x40b GPE0_BLK=0x420-0x427 GPE1_BLK=0x5a0-0x5af, GPE1_BASE=32 P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us FLUSH_SIZE=0, FLUSH_STRIDE=0 DUTY_OFFSET=1, DUTY_WIDTH=3 DAY_ALRM=125, MON_ALRM=126, CENTURY=50 IAPC_BOOT_ARCH={LEGACY_DEVICES} Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE,RESET_REGISTER,PLATFORM_CLOCK} RESET_REG=0xcf9:0[8] (IO), RESET_VALUE=0x6 X_FACS=0x7fecd000, X_DSDT=0x7fedf000 X_PM1a_EVT_BLK=0x400:0[32] (IO) X_PM1a_CNT_BLK=0x404:0[16] (IO) X_PM2_CNT_BLK=0x41c:0[8] (IO) X_PM_TMR_BLK=0x408:0[32] (IO) X_GPE0_BLK=0x420:0[64] (IO) X_GPE1_BLK=0x5a0:0[128] (IO) */ /* FACS: Length=64, HwSig=0x00000800, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=1 */ /* DSDT: Length=23454, Revision=1, Checksum=17, OEMID=APPLE, OEM Table ID=MacBookP, OEM Revision=0x50005, Creator ID=INTL, Creator Revision=0x20061109 */ /* HPET: Length=56, Revision=1, Checksum=138, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f HPET Number=0 ADDR=0xfed00000:0[0] (Memory) HW Rev=0x1 Comparators=2 Counter Size=0 Legacy IRQ routing capable={TRUE} PCI Vendor ID=0x10de Minimal Tick=250 */ /* APIC: Length=104, Revision=1, Checksum=142, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=0 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=1 Type=IO APIC APIC ID=1 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} Type=Local APIC NMI ACPI CPU=0 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} Type=Local APIC NMI ACPI CPU=1 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} */ /* APIC: Length=104, Revision=2, Checksum=141, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=0 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=1 Type=IO APIC APIC ID=1 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} Type=Local APIC NMI ACPI CPU=0 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} Type=Local APIC NMI ACPI CPU=1 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} */ /* MCFG: Length=60, Revision=1, Checksum=228, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f Base Address=0x00000000f0000000 Segment Group=0x0000 Start Bus=0 End Bus=255 */ /* ASF!: Length=165, Revision=32, Checksum=182, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f */ /* SBST: Length=48, Revision=1, Checksum=132, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f */ /* ECDT: Length=83, Revision=1, Checksum=17, OEMID=APPLE, OEM Table ID=Apple00, OEM Revision=0x1, Creator ID=Loki, Creator Revision=0x5f EC_CONTROL=0x66:0[8] (IO) EC_DATA=0x62:0[8] (IO) UID=0, GPE_BIT=0x3f EC_ID=\_SB.PCI0.LPCB.EC */ /* SSDT: Length=1244, Revision=1, Checksum=128, OEMID=APPLE, OEM Table ID=CpuPm, OEM Revision=0x3000, Creator ID=INTL, Creator Revision=0x20061109 */ /* SSDT: Length=165, Revision=1, Checksum=141, OEMID=SataRe, OEM Table ID=SataPri, OEM Revision=0x1000, Creator ID=INTL, Creator Revision=0x20061109 */ /* SSDT: Length=159, Revision=1, Checksum=163, OEMID=SataRe, OEM Table ID=SataSec, OEM Revision=0x1000, Creator ID=INTL, Creator Revision=0x20061109 */ /* * Intel ACPI Component Architecture * AML Disassembler version 20100428 * * Disassembly of /tmp/acpidump.T3uYfc, Mon Oct 18 22:11:34 2010 * * * Original Table Header: * Signature "DSDT" * Length 0x00006152 (24914) * Revision 0x01 **** ACPI 1.0, no 64-bit math support * Checksum 0xCC * OEM ID "APPLE " * OEM Table ID "MacBookP" * OEM Revision 0x00050005 (327685) * Compiler ID "INTL" * Compiler Version 0x20061109 (537268489) */ DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "APPLE ", "MacBookP", 0x00050005) { OperationRegion (PRT0, SystemIO, 0x80, 0x02) Field (PRT0, WordAcc, Lock, Preserve) { P80H, 16 } OperationRegion (SPRT, SystemIO, 0x052E, 0x02) Field (SPRT, ByteAcc, Lock, Preserve) { SSMP, 8 } OperationRegion (IO_T, SystemIO, 0x0800, 0x10) Field (IO_T, ByteAcc, NoLock, Preserve) { TRPI, 16, Offset (0x04), Offset (0x06), Offset (0x08), TRP0, 8, TRPC, 8, Offset (0x0B), Offset (0x0C), Offset (0x0D), Offset (0x0E), Offset (0x0F), Offset (0x10) } OperationRegion (IO_D, SystemIO, 0x0810, 0x08) Field (IO_D, ByteAcc, NoLock, Preserve) { TRPD, 8 } OperationRegion (PMIO, SystemIO, 0x0400, 0x80) Field (PMIO, ByteAcc, NoLock, Preserve) { Offset (0x20), , 2, SPST, 1, Offset (0x42), , 1, GPEC, 1 } OperationRegion (GNVS, SystemMemory, 0x7FED5A98, 0x0100) Field (GNVS, AnyAcc, Lock, Preserve) { OSYS, 16, SMIF, 8, PRM0, 8, PRM1, 8, SCIF, 8, PRM2, 8, PRM3, 8, LCKF, 8, PRM4, 8, PRM5, 8, P80D, 32, LIDS, 8, PWRS, 8, DBGS, 8, LINX, 8, Offset (0x14), ACTT, 8, PSVT, 8, TC1V, 8, TC2V, 8, TSPV, 8, CRTT, 8, DTSE, 8, DTS1, 8, DTS2, 8, DTSF, 8, BNUM, 8, B0SC, 8, B1SC, 8, B2SC, 8, B0SS, 8, B1SS, 8, B2SS, 8, Offset (0x28), APIC, 8, MPEN, 8, PCP0, 8, PCP1, 8, PPCM, 8, PPMF, 32, Offset (0x32), NATP, 8, CMAP, 8, CMBP, 8, LPTP, 8, FDCP, 8, CMCP, 8, CIRP, 8, Offset (0x3C), IGDS, 8, TLST, 8, CADL, 8, PADL, 8, CSTE, 16, NSTE, 16, SSTE, 16, NDID, 8, DID1, 32, DID2, 32, DID3, 32, DID4, 32, DID5, 32, BDSP, 8, PTY1, 8, PTY2, 8, PSCL, 8, TVF1, 8, TVF2, 8, Offset (0x63), GOPB, 32, BLCS, 8, BRTL, 8, ALSE, 8, ALAF, 8, LLOW, 8, LHIH, 8, Offset (0x6E), EMAE, 8, EMAP, 16, EMAL, 16, Offset (0x74), MEFE, 8, Offset (0x82), GTF0, 56, GTF2, 56, IDEM, 8, GTF1, 56, GTF3, 56, GTF4, 56, GTF5, 56 } Name (\GBRD, 0x01) OperationRegion (NVSB, SystemIO, 0x0500, 0x0100) Field (NVSB, ByteAcc, NoLock, Preserve) { Offset (0x08), GP01, 1, GP02, 1, GP03, 1, GP04, 1, GP05, 1, GP06, 1, GP07, 1, GP08, 1, GP09, 1, GP10, 1, GP11, 1, GP12, 1, GP13, 1, GP14, 1, GP15, 1, GP16, 1, GP17, 1, GP18, 1, GP19, 1, GP20, 1, GP21, 1, GP22, 1, GP23, 1, GP24, 1, GP25, 1, GP26, 1, GP27, 1, GP28, 1, GP29, 1, GP30, 1, GP31, 1, GP32, 1, GP33, 1, GP34, 1, GP35, 1, GP36, 1, GP37, 1, GP38, 1, GP39, 1, GP40, 1, GP41, 1, GP42, 1, GP43, 1, GP44, 1, GP45, 1, GP46, 1, GP47, 1, GP48, 1, GP49, 1, GP50, 1, GP51, 1, GP52, 1, GP53, 1, GP54, 1, GP55, 1, GP56, 1, GP57, 1, GP58, 1, GP59, 1, GP60, 1, GP61, 1, GP62, 1, GP63, 1, GP64, 1, Offset (0xC4), GI05, 8, Offset (0xD0), GI17, 8, Offset (0xE5), GI38, 8, Offset (0xFF), , 2, APPS, 1, Offset (0x100) } Mutex (MUTX, 0x00) Scope (\_PR) { Processor (CPU0, 0x00, 0x00000410, 0x06) {} Processor (CPU1, 0x01, 0x00000410, 0x06) {} } Name (\DSEN, 0x01) Name (\ECON, 0x00) Name (\GPIC, 0x00) Name (\CTYP, 0x00) Name (\VFN0, 0x00) Method (OSDW, 0, NotSerialized) { If (LEqual (OSYS, 0x2710)) { Return (0x01) } Else { Return (0x00) } } Method (PINI, 0, NotSerialized) { If (CondRefOf (_OSI, Local0)) { If (_OSI ("Darwin")) { Store (0x2710, OSYS) } Else { If (_OSI ("Linux")) { Store (0x03E8, OSYS) } Else { If (_OSI ("Windows 2006")) { Store (0x07D6, OSYS) } Else { If (_OSI ("Windows 2001 SP2")) { Store (0x07D2, OSYS) } Else { If (_OSI ("Windows 2001 SP1")) { Store (0x07D1, OSYS) } Else { If (_OSI ("Windows 2001")) { Store (0x07D1, OSYS) } } } } } } } Else { Store (0x07D0, OSYS) } } Method (\_PIC, 1, NotSerialized) { Store (Arg0, GPIC) } Method (DTGP, 5, NotSerialized) { If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B })) { If (LEqual (Arg1, One)) { If (LEqual (Arg2, Zero)) { Store (Buffer (0x01) { 0x03 }, Arg4) Return (One) } If (LEqual (Arg2, One)) { Return (One) } } } Store (Buffer (0x01) { 0x00 }, Arg4) Return (Zero) } Name (_S0, Package (0x03) { 0x00, 0x00, 0x00 }) Name (_S3, Package (0x03) { 0x05, 0x05, 0x00 }) Name (_S4, Package (0x03) { 0x06, 0x06, 0x00 }) Name (_S5, Package (0x03) { 0x07, 0x07, 0x00 }) Method (_PTS, 1, NotSerialized) { Store (0x00, P80D) P8XH (0x00, Arg0) Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS) Store (0x01, GP61) } Method (_WAK, 1, NotSerialized) { P8XH (0x00, 0x00) Store (0x00, \_SB.PCI0.LPCB.EC.ECSS) If (OSDW ()) { \_SB.PCI0.SBUS.ENAB () } Store (\_SB.PCI0.LPCB.EC.LSTE, LIDS) Store (\_SB.PCI0.LPCB.EC.RPWR, PWRS) PNOT () Return (Package (0x02) { 0x00, 0x00 }) } Scope (\_GPE) { Method (_L02, 0, NotSerialized) { Store (0x00, GPEC) } Method (_L11, 0, NotSerialized) { Notify (\_SB.PCI0.RP04, 0x02) Notify (\_SB.PCI0.RP05, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L14, 0, NotSerialized) { Notify (\_SB.PCI0.RP04, 0x00) Notify (\_SB.PCI0.RP05, 0x00) Notify (\_SB.PWRB, 0x02) } } Method (P8XH, 2, Serialized) { If (LEqual (Arg0, 0x00)) { Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D) } If (LEqual (Arg0, 0x01)) { Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08) ), P80D) } If (LEqual (Arg0, 0x02)) { Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10) ), P80D) } If (LEqual (Arg0, 0x03)) { Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18) ), P80D) } Store (P80D, P80H) } Method (PNOT, 0, Serialized) { If (MPEN) { If (And (PDC0, 0x08)) { Notify (\_PR.CPU0, 0x80) If (And (PDC0, 0x10)) { If (LNotEqual (0x01, OSDW ())) { Sleep (0x64) } Notify (\_PR.CPU0, 0x81) } } If (And (PDC1, 0x08)) { Notify (\_PR.CPU1, 0x80) If (And (PDC1, 0x10)) { If (LNotEqual (0x01, OSDW ())) { Sleep (0x64) } Notify (\_PR.CPU1, 0x81) } } } Else { Notify (\_PR.CPU0, 0x80) If (LNotEqual (0x01, OSDW ())) { Sleep (0x64) } Notify (\_PR.CPU0, 0x81) } } Method (TRAP, 2, Serialized) { Store (Arg1, SMIF) If (LEqual (Arg0, 0x01)) { Store (0x00, TRP0) Return (SMIF) } If (LEqual (Arg0, 0x02)) { Store (0x00, TRPD) Return (SMIF) } Return (0x01) } Method (CREV, 0, NotSerialized) { Return (\_SB.PCI0.LPCB.REVI) } Scope (\_SB) { Method (_INI, 0, NotSerialized) { PINI () } Device (ADP1) { Name (_HID, "ACPI0003") Name (_PRW, Package (0x02) { 0x3E, 0x03 }) Method (_PSR, 0, NotSerialized) { Return (PWRS) } Method (_PCL, 0, NotSerialized) { Return (\_SB) } Method (_PSW, 1, NotSerialized) { If (OSDW ()) { If (\_SB.PCI0.LPCB.EC.ECOK) { If (Arg0) { Store (0x01, \_SB.PCI0.LPCB.EC.ACWK) } Else { Store (0x00, \_SB.PCI0.LPCB.EC.ACWK) } } } } } Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Name (_PRW, Package (0x02) { 0x3E, 0x03 }) Method (_LID, 0, NotSerialized) { Return (LIDS) } Method (_PSW, 1, NotSerialized) { If (\_SB.PCI0.LPCB.EC.ECOK) { If (Arg0) { Store (0x01, \_SB.PCI0.LPCB.EC.LWAK) } Else { Store (0x00, \_SB.PCI0.LPCB.EC.LWAK) } } } } Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Name (_STA, 0x0B) } Device (PCI0) { Method (_INI, 0, NotSerialized) { If (OSDW ()) { \_SB.PCI0.SBUS.ENAB () } } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } Name (_ADR, 0x00) Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Method (_STA, 0, NotSerialized) { Return (0x0F) } Device (MCHC) { Name (_ADR, 0x00) } Device (MCH2) { Name (_ADR, 0x01) } Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, ) IO (Decode16, 0x0CF8, // Range Minimum 0x0CFF, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000C3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C4000, // Range Minimum 0x000C7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C8000, // Range Minimum 0x000CBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000CC000, // Range Minimum 0x000CFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D8000, // Range Minimum 0x000DBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000DC000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E0000, // Range Minimum 0x000E3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E4000, // Range Minimum 0x000E7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000E8000, // Range Minimum 0x000EBFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000EC000, // Range Minimum 0x000EFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000F0000, // Range Minimum 0x000FFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00010000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFEBFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y00, AddressRangeMemory, TypeStatic) }) Method (_CRS, 0, Serialized) { CreateDWordField (BUF0, \_SB.PCI0._Y00._MIN, M1MN) CreateDWordField (BUF0, \_SB.PCI0._Y00._MAX, M1MX) CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, M1LN) ShiftLeft (\_SB.PCI0.CMC2.TOLM, 0x1B, M1MN) Add (Subtract (M1MX, M1MN), 0x01, M1LN) Return (BUF0) } Method (_OSC, 4, NotSerialized) { CreateDWordField (Arg3, 0x00, CDW1) If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66 })) { If (LGreaterEqual (Arg2, 0x03)) { Name (SUPP, 0x00) Name (CTRL, 0x00) Store (0x03, Local0) CreateDWordField (Arg3, 0x04, CDW2) CreateDWordField (Arg3, 0x08, CDW3) Store (CDW2, SUPP) Store (CDW3, CTRL) And (CTRL, 0x1D, CTRL) If (LNotEqual (And (SUPP, 0x16), 0x16)) { And (CTRL, 0x1E, CTRL) } If (LNot (And (CDW1, 0x01))) { If (And (CTRL, 0x01)) { And (Local0, 0x0E, Local0) } If (And (CTRL, 0x04)) { And (Local0, 0x0D, Local0) } If (And (CTRL, 0x10)) {} } If (LNotEqual (Arg1, One)) { Or (CDW1, 0x08, CDW1) } If (LNotEqual (CDW3, CTRL)) { Or (CDW1, 0x10, CDW1) } Store (CTRL, CDW3) } Else { Or (CDW1, 0x02, CDW1) } } Else { Or (CDW1, 0x04, CDW1) } Return (Arg3) } Method (_PRT, 0, NotSerialized) { Return (Package (0x11) { Package (0x04) { 0x0003FFFF, 0x00, \_SB.PCI0.LSMB, 0x00 }, Package (0x04) { 0x0003FFFF, 0x01, \_SB.PCI0.LPMU, 0x00 }, Package (0x04) { 0x0004FFFF, 0x00, \_SB.PCI0.LUS0, 0x00 }, Package (0x04) { 0x0004FFFF, 0x01, \_SB.PCI0.LUS2, 0x00 }, Package (0x04) { 0x0006FFFF, 0x00, \_SB.PCI0.Z000, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, \_SB.PCI0.Z001, 0x00 }, Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.LAZA, 0x00 }, Package (0x04) { 0x000AFFFF, 0x00, \_SB.PCI0.LMAC, 0x00 }, Package (0x04) { 0x000BFFFF, 0x00, \_SB.PCI0.LSI0, 0x00 }, Package (0x04) { 0x0015FFFF, 0x00, \_SB.PCI0.Z00F, 0x00 }, Package (0x04) { 0x0015FFFF, 0x01, \_SB.PCI0.Z00G, 0x00 }, Package (0x04) { 0x0015FFFF, 0x02, \_SB.PCI0.Z00H, 0x00 }, Package (0x04) { 0x0015FFFF, 0x03, \_SB.PCI0.Z00I, 0x00 }, Package (0x04) { 0x0016FFFF, 0x00, \_SB.PCI0.Z00J, 0x00 }, Package (0x04) { 0x0016FFFF, 0x01, \_SB.PCI0.Z00K, 0x00 }, Package (0x04) { 0x0016FFFF, 0x02, \_SB.PCI0.Z00L, 0x00 }, Package (0x04) { 0x0016FFFF, 0x03, \_SB.PCI0.Z00M, 0x00 } }) } Device (PDRC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x01) Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length _Y01) Memory32Fixed (ReadWrite, 0xF0000000, // Address Base 0x04000000, // Address Length ) }) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y01._BAS, MBAS) CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y01._LEN, MBLE) Method (_CRS, 0, NotSerialized) { Return (BUF0) } } Device (LPCB) { Name (_ADR, 0x00030000) OperationRegion (P8, PCI_Config, 0x08, 0x01) Field (P8, AnyAcc, NoLock, Preserve) { REVI, 8 } OperationRegion (P44, PCI_Config, 0x44, 0x04) Field (P44, AnyAcc, NoLock, Preserve) { MTBA, 32 } OperationRegion (MMTO, PCI_Config, 0x74, 0x04) Field (MMTO, DWordAcc, NoLock, Preserve) { MTSE, 32 } Device (SMC) { Name (_HID, EisaId ("APP0001")) Name (_CID, "smc-mcp") Name (_STA, 0x0B) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0300, // Range Minimum 0x0300, // Range Maximum 0x01, // Alignment 0x20, // Length ) IRQNoFlags () {6} }) Device (ALS0) { Name (_HID, "ACPI0008") Name (_CID, "smc-als") Method (_ALI, 0, NotSerialized) { Return (0x012C) } Name (_ALR, Package (0x03) { Package (0x02) { 0x46, 0x00 }, Package (0x02) { 0x64, 0x012C }, Package (0x02) { 0x96, 0x03E8 } }) } Device (SMS0) { Name (_HID, EisaId ("APP0003")) Name (_CID, "smc-sms") Method (_DSM, 4, NotSerialized) { Store (Package (0x03) { "disk-sense-level", 0x00, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } } Device (EC) { Name (_HID, EisaId ("PNP0C09")) Name (_UID, 0x00) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) Name (_GPE, 0x3F) Name (_PRW, Package (0x02) { 0x3E, 0x03 }) Name (ECOK, 0x00) OperationRegion (ECOR, EmbeddedControl, 0x00, 0xFF) Field (ECOR, ByteAcc, Lock, Preserve) { ECVS, 8, LSTE, 1, RPWR, 1, CDIN, 1, Offset (0x02), LWAK, 1, ACWK, 1, CDWK, 1, Offset (0x03), Offset (0x10), ECSS, 8, PLIM, 8, Offset (0x20), SPTR, 8, SSTS, 8, SADR, 8, SCMD, 8, SBFR, 256, SCNT, 8, SAAD, 8, SAD0, 8, SAD1, 8, SMUX, 8 } Field (ECOR, ByteAcc, Lock, Preserve) { Offset (0x24), SBDW, 16, Offset (0x46), SADW, 16 } Device (SMB0) { Name (_HID, "ACPI0001") Name (_EC, 0x2010) Mutex (SMTX, 0x00) Method (_STA, 0, NotSerialized) { If (OSDW ()) { Return (0x0F) } Else { Return (0x00) } } Device (SBS0) { Name (_HID, "ACPI0002") Name (_SBS, 0x01) } Method (SBPC, 1, NotSerialized) { Store (Arg0, Local0) While (Local0) { If (LEqual (SPTR, 0x00)) { Return (And (SSTS, 0x1F)) } Sleep (0x01) Decrement (Local0) } Return (0x18) } Method (SBRW, 3, NotSerialized) { Store (One, Local0) If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))) { If (LEqual (SPTR, 0x00)) { Store (ShiftLeft (Arg0, 0x01), SADR) Store (Arg1, SCMD) Store (0x09, SPTR) Store (SBPC (0x03E8), Local0) If (LNot (Local0)) { Store (SBDW, Arg2) } } Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX) } Return (Local0) } Method (SBRB, 3, NotSerialized) { Store (One, Local0) Store (Buffer (0x01) { 0x00 }, Local1) If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))) { If (LEqual (SPTR, 0x00)) { Store (ShiftLeft (Arg0, 0x01), SADR) Store (Arg1, SCMD) Store (0x0B, SPTR) Store (SBPC (0x03E8), Local0) If (LNot (Local0)) { Store (SBFR, Arg2) } } Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX) } Return (Local0) } } Method (_Q10, 0, NotSerialized) { If (OSDW ()) { Notify (\_SB.PCI0.LPCB.EC.SMB0, 0x80) } Else { If (And (SSTS, 0x40)) { If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF))) { Store (ShiftRight (SAAD, 0x01), Local0) If (LEqual (Local0, 0x0A)) { \_SB.BAT0.BNOT (SADW) } Store (0x00, SSTS) Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX) } } } } Method (_Q20, 0, NotSerialized) { Store (LSTE, LIDS) Notify (\_SB.LID0, 0x80) } Method (_Q21, 0, NotSerialized) { If (RPWR) { Store (0x01, PWRS) } Else { Store (0x00, PWRS) } Notify (\_SB.ADP1, 0x80) PNOT () } Method (_Q5A, 0, NotSerialized) { Notify (\_SB.SLPB, 0x80) } Method (_Q80, 0, NotSerialized) { PNOT () } Method (_QCD, 0, NotSerialized) { If (CDIN) { Notify (\_SB.PCI0.SATA.PRT1, 0x81) } Else { Notify (\_SB.PCI0.SATA.PRT1, 0x82) } } Method (_REG, 2, NotSerialized) { If (LOr (LEqual (Arg0, 0x03), LEqual (OSYS, 0x07D6))) { Store (Arg1, ECOK) If (LEqual (Arg1, 0x01)) { Store (0x00, ECSS) Store (LSTE, LIDS) Notify (\_SB.LID0, 0x80) Store (RPWR, PWRS) Notify (\_SB.ADP1, 0x80) } } } } Scope (\_SB) { Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, 0x00) Name (_PCL, Package (0x01) { \_SB }) Name (BSSW, 0xFFFF) Name (PBIF, Package (0x0D) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0xFA, 0x64, 0x0A, 0x0A, " ", " ", " ", " " }) Name (PBST, Package (0x04) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Method (_STA, 0, NotSerialized) { If (OSDW ()) { Return (0x00) } If (\_SB.PCI0.LPCB.EC.ECOK) { UBSS () If (And (BSSW, 0x01)) { Return (0x1F) } Else { Return (0x0F) } } Else { Return (0x0F) } } Method (_BST, 0, NotSerialized) { If (And (BSSW, 0x01)) { UBST () } Else { Store (0x00, Index (PBST, 0x00)) Store (0xFFFFFFFF, Index (PBST, 0x01)) Store (0xFFFFFFFF, Index (PBST, 0x02)) } Return (PBST) } Method (_BIF, 0, NotSerialized) { If (And (BSSW, 0x01)) { UBIF () } Return (PBIF) } Method (BNOT, 1, NotSerialized) { Store (BSSW, Local0) Store (Arg0, BSSW) Notify (\_SB.BAT0, 0x80) If (And (XOr (Local0, Arg0), 0x01)) { Notify (\_SB.BAT0, 0x81) } } Method (UBSS, 0, NotSerialized) { \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0A, 0x01, RefOf (BSSW)) } Method (UBIF, 0, NotSerialized) { \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x18, RefOf (Local0)) Multiply (Local0, 0x0A, Index (PBIF, 0x01)) \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x10, RefOf (Local0)) Multiply (Local0, 0x0A, Index (PBIF, 0x02)) \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x19, RefOf (Local0)) Store (Local0, Index (PBIF, 0x04)) \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x21, RefOf (Local0)) Store (Local0, Index (PBIF, 0x09)) Store (Buffer (0x01) { 0x00 }, Index (PBIF, 0x0A)) \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x22, RefOf (Local0)) Store (Local0, Index (PBIF, 0x0B)) \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x20, RefOf (Local0)) Store (Local0, Index (PBIF, 0x0C)) } Method (UBST, 0, NotSerialized) { \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x09, RefOf (Local2)) Store (Local2, Index (PBST, 0x03)) \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0A, RefOf (Local0)) If (And (Local0, 0x8000)) { Not (Local0, Local0) And (Increment (Local0), 0xFFFF, Local0) } Multiply (Local0, Local2, Local0) Divide (Local0, 0x03E8, , Index (PBST, 0x01)) \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0F, RefOf (Local0)) Multiply (Local0, 0x0A, Index (PBST, 0x02)) Store (0x00, Local1) If (PWRS) { \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x16, RefOf (Local0)) If (LNot (And (Local0, 0x40))) { Store (0x02, Local1) } } Else { Store (0x01, Local1) } Store (Local1, Index (PBST, 0x00)) } } } Device (DMAC) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x09, // Length ) IO (Decode16, 0x000A, // Range Minimum 0x000A, // Range Maximum 0x01, // Alignment 0x06, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x01, // Alignment 0x03, // Length ) IO (Decode16, 0x0087, // Range Minimum 0x0087, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0089, // Range Minimum 0x0089, // Range Maximum 0x01, // Alignment 0x03, // Length ) IO (Decode16, 0x008F, // Range Minimum 0x008F, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x01, // Alignment 0x12, // Length ) IO (Decode16, 0x00D4, // Range Minimum 0x00D4, // Range Maximum 0x01, // Alignment 0x0C, // Length ) DMA (Compatibility, NotBusMaster, Transfer8_16, ) {4} }) } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_CID, EisaId ("PNP0C01")) Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length _Y02) }) Name (BUF1, ResourceTemplate () { }) Method (_STA, 0, NotSerialized) { If (LGreaterEqual (OSYS, 0x07D1)) { If (And (\_SB.PCI0.LPCB.MTSE, 0x04)) { Return (0x0F) } } Else { If (And (\_SB.PCI0.LPCB.MTSE, 0x04)) { Return (0x0B) } } Return (0x00) } Method (_CRS, 0, Serialized) { If (And (\_SB.PCI0.LPCB.MTSE, 0x04)) { CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y02._BAS, HPT0) Store (\_SB.PCI0.LPCB.MTBA, HPT0) Return (BUF0) } Return (BUF1) } } Device (IPIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {2} }) } Device (MATH) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {13} }) } Device (LDRC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x02) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0400, // Range Minimum 0x0400, // Range Maximum 0x01, // Alignment 0x80, // Length _Y03) IO (Decode16, 0x0400, // Range Minimum 0x0400, // Range Maximum 0x01, // Alignment 0x80, // Length _Y04) IO (Decode16, 0x0500, // Range Minimum 0x0500, // Range Maximum 0x01, // Alignment 0x80, // Length _Y05) IO (Decode16, 0x0500, // Range Minimum 0x0500, // Range Maximum 0x01, // Alignment 0x80, // Length _Y06) IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x01, // Alignment 0x80, // Length _Y07) IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x01, // Alignment 0x80, // Length _Y08) IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x01, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x01, // Alignment 0x1C, // Length ) IO (Decode16, 0x0063, // Range Minimum 0x0063, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0067, // Range Minimum 0x0067, // Range Maximum 0x01, // Alignment 0x09, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0074, // Range Minimum 0x0074, // Range Maximum 0x01, // Alignment 0x0C, // Length ) IO (Decode16, 0x0091, // Range Minimum 0x0091, // Range Maximum 0x01, // Alignment 0x03, // Length ) IO (Decode16, 0x0097, // Range Minimum 0x0097, // Range Maximum 0x01, // Alignment 0x09, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x01, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0295, // Range Minimum 0x0295, // Range Maximum 0x01, // Alignment 0x02, // Length ) }) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y03._MIN, I1MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y03._MAX, I1MX) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y04._MIN, I2MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y04._MAX, I2MX) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y05._MIN, I3MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y05._MAX, I3MX) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y06._MIN, I4MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y06._MAX, I4MX) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y07._MIN, I5MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y07._MAX, I5MX) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y08._MIN, I6MN) CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y08._MAX, I6MX) Method (_CRS, 0, Serialized) { And (\_SB.PCI0.SBUS.PMBR, 0xFFFC, I1MN) Store (I1MN, I1MX) Add (I1MN, 0x80, Local0) Store (Local0, I2MN) Store (Local0, I2MX) And (\_SB.PCI0.SBUS.NVSB, 0xFFFC, I3MN) Store (I3MN, I3MX) Add (I3MN, 0x80, Local0) Store (Local0, I4MN) Store (Local0, I4MX) And (\_SB.PCI0.SBUS.ANLG, 0xFFFC, I5MN) Store (I5MN, I5MX) Add (I5MN, 0x80, Local0) Store (Local0, I6MN) Store (Local0, I6MX) Return (BUF0) } } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x01, // Alignment 0x08, // Length ) }) } Device (TIMR) { Name (_HID, EisaId ("PNP0100")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x01, // Alignment 0x04, // Length ) }) } } Device (IMAP) { Name (_ADR, 0x00030001) Scope (\) { OperationRegion (\_SB.PCI0.IMAP.PIRQ, PCI_Config, 0x60, 0x3C) Field (\_SB.PCI0.IMAP.PIRQ, AnyAcc, NoLock, Preserve) { PSI0, 8, PSI1, 8, IR01, 8, IR02, 8, IMAC, 8, IMA1, 8, IR03, 8, IR04, 8, IUS0, 8, IUS2, 8, Z018, 8, Z019, 8, ISCI, 8, ITCO, 8, ISMB, 8, INTS, 8, IAZA, 8, Z01A, 8, IPID, 8, INTU, 8, INTW, 8, INTX, 8, INTY, 8, INTZ, 8, DLIA, 8, DLIB, 8, DLIC, 8, DLID, 8, Z01B, 8, Z01C, 8, Z01D, 8, Z01E, 8, Z01F, 8, Z01G, 8, Z01H, 8, Z01I, 8, Z01J, 8, Z01K, 8, Z01L, 8, Z01M, 8, Z01N, 8, Z01O, 8, Z01P, 8, Z01Q, 8, Z01R, 8, Z01S, 8, Z01T, 8, Z01U, 8, Z01V, 8, Z01W, 8, Z01X, 8, Z01Y, 8, Z01Z, 8, Z020, 8, Z021, 8, Z022, 8, Z023, 8, Z024, 8, Z025, 8, Z026, 8 } } Scope (\_SB.PCI0) { Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,7,10,11,14,15} }) Name (BUFB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, _Y09) {} }) CreateWordField (BUFB, \_SB.PCI0._Y09._INT, IRQV) Method (CRS, 1, Serialized) { If (Arg0) { ShiftLeft (0x01, Arg0, IRQV) } Else { Store (0x00, IRQV) } Return (BUFB) } Method (SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Return (Local0) } Name (BUFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x17, "", ) { 0x00000010, 0x00000011, 0x00000012, 0x00000013, 0x00000014, 0x00000015, 0x00000016, 0x00000017, } }) Name (BUFF, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x0F, "", ) { 0x00000005, 0x00000007, 0x0000000A, 0x0000000B, 0x0000000E, 0x0000000F, } }) Method (CRSI, 1, Serialized) { Name (IRZ5, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x05, "", _Y0A) { 0x00000005, } }) CreateWordField (IRZ5, \_SB.PCI0.CRSI._Y0A._INT, INZ5) Store (Arg0, Local0) If (LEqual (Arg0, 0x03)) { Store (0x10, Local0) } If (LEqual (Arg0, 0x04)) { Store (0x11, Local0) } If (LEqual (Arg0, 0x06)) { Store (0x12, Local0) } If (LEqual (Arg0, 0x0C)) { Store (0x13, Local0) } If (LEqual (Arg0, 0x08)) { Store (0x14, Local0) } If (LEqual (Arg0, 0x0D)) { Store (0x15, Local0) } If (LEqual (Arg0, 0x02)) { Store (0x16, Local0) } If (LEqual (Arg0, 0x01)) { Store (0x17, Local0) } Store (Local0, INZ5) Return (IRZ5) } Method (SRSI, 1, Serialized) { CreateWordField (Arg0, 0x05, IRZ6) Store (IRZ6, Local0) If (LEqual (IRZ6, 0x10)) { Store (0x03, Local0) } If (LEqual (IRZ6, 0x11)) { Store (0x04, Local0) } If (LEqual (IRZ6, 0x12)) { Store (0x06, Local0) } If (LEqual (IRZ6, 0x13)) { Store (0x0C, Local0) } If (LEqual (IRZ6, 0x14)) { Store (0x08, Local0) } If (LEqual (IRZ6, 0x15)) { Store (0x0D, Local0) } If (LEqual (IRZ6, 0x16)) { Store (0x02, Local0) } If (LEqual (IRZ6, 0x17)) { Store (0x01, Local0) } Return (Local0) } Device (LNK1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { If (INTW) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, INTW) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFF) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (INTW)) } Else { Return (CRSI (INTW)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), INTW) } Else { Store (SRSI (Arg0), INTW) } } } Device (LNK2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (INTX) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, INTX) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFF) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (INTX)) } Else { Return (CRSI (INTX)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), INTX) } Else { Store (SRSI (Arg0), INTX) } } } Device (LNK3) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (INTY) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, INTY) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFF) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (INTY)) } Else { Return (CRSI (INTY)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), INTY) } Else { Store (SRSI (Arg0), INTY) } } } Device (LNK4) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (INTZ) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, INTZ) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFF) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (INTZ)) } Else { Return (CRSI (INTZ)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), INTZ) } Else { Store (SRSI (Arg0), INTZ) } } } Device (Z003) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { If (Z01B) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01B) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01B)) } Else { Return (CRSI (Z01B)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01B) } Else { Store (SRSI (Arg0), Z01B) } } } Device (Z004) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_STA, 0, NotSerialized) { If (Z01C) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01C) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01C)) } Else { Return (CRSI (Z01C)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01C) } Else { Store (SRSI (Arg0), Z01C) } } } Device (Z005) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_STA, 0, NotSerialized) { If (Z01D) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01D) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01D)) } Else { Return (CRSI (Z01D)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01D) } Else { Store (SRSI (Arg0), Z01D) } } } Device (Z006) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_STA, 0, NotSerialized) { If (Z01E) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01E) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01E)) } Else { Return (CRSI (Z01E)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01E) } Else { Store (SRSI (Arg0), Z01E) } } } Device (Z007) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x09) Method (_STA, 0, NotSerialized) { If (Z01F) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01F) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01F)) } Else { Return (CRSI (Z01F)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01F) } Else { Store (SRSI (Arg0), Z01F) } } } Device (Z008) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0A) Method (_STA, 0, NotSerialized) { If (Z01G) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01G) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01G)) } Else { Return (CRSI (Z01G)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01G) } Else { Store (SRSI (Arg0), Z01G) } } } Device (Z009) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0B) Method (_STA, 0, NotSerialized) { If (Z01H) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01H) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01H)) } Else { Return (CRSI (Z01H)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01H) } Else { Store (SRSI (Arg0), Z01H) } } } Device (Z00A) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0C) Method (_STA, 0, NotSerialized) { If (Z01I) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01I) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01I)) } Else { Return (CRSI (Z01I)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01I) } Else { Store (SRSI (Arg0), Z01I) } } } Device (Z00B) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0D) Method (_STA, 0, NotSerialized) { If (Z01J) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01J) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01J)) } Else { Return (CRSI (Z01J)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01J) } Else { Store (SRSI (Arg0), Z01J) } } } Device (Z00C) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0E) Method (_STA, 0, NotSerialized) { If (Z01K) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01K) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01K)) } Else { Return (CRSI (Z01K)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01K) } Else { Store (SRSI (Arg0), Z01K) } } } Device (Z00D) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0F) Method (_STA, 0, NotSerialized) { If (Z01L) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01L) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01L)) } Else { Return (CRSI (Z01L)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01L) } Else { Store (SRSI (Arg0), Z01L) } } } Device (Z00E) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x10) Method (_STA, 0, NotSerialized) { If (Z01M) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01M) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01M)) } Else { Return (CRSI (Z01M)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01M) } Else { Store (SRSI (Arg0), Z01M) } } } Device (Z00F) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x11) Method (_STA, 0, NotSerialized) { If (Z01N) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01N) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01N)) } Else { Return (CRSI (Z01N)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01N) } Else { Store (SRSI (Arg0), Z01N) } } } Device (Z00G) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x12) Method (_STA, 0, NotSerialized) { If (Z01O) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01O) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01O)) } Else { Return (CRSI (Z01O)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01O) } Else { Store (SRSI (Arg0), Z01O) } } } Device (Z00H) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x13) Method (_STA, 0, NotSerialized) { If (Z01P) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01P) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01P)) } Else { Return (CRSI (Z01P)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01P) } Else { Store (SRSI (Arg0), Z01P) } } } Device (Z00I) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x14) Method (_STA, 0, NotSerialized) { If (Z01Q) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01Q) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01Q)) } Else { Return (CRSI (Z01Q)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01Q) } Else { Store (SRSI (Arg0), Z01Q) } } } Device (Z00J) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x15) Method (_STA, 0, NotSerialized) { If (Z01R) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01R) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01R)) } Else { Return (CRSI (Z01R)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01R) } Else { Store (SRSI (Arg0), Z01R) } } } Device (Z00K) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x16) Method (_STA, 0, NotSerialized) { If (Z01S) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01S) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01S)) } Else { Return (CRSI (Z01S)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01S) } Else { Store (SRSI (Arg0), Z01S) } } } Device (Z00L) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x17) Method (_STA, 0, NotSerialized) { If (Z01T) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01T) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01T)) } Else { Return (CRSI (Z01T)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01T) } Else { Store (SRSI (Arg0), Z01T) } } } Device (Z00M) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x18) Method (_STA, 0, NotSerialized) { If (Z01U) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01U) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01U)) } Else { Return (CRSI (Z01U)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01U) } Else { Store (SRSI (Arg0), Z01U) } } } Device (Z00N) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x19) Method (_STA, 0, NotSerialized) { If (Z01V) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01V) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01V)) } Else { Return (CRSI (Z01V)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01V) } Else { Store (SRSI (Arg0), Z01V) } } } Device (Z00O) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1A) Method (_STA, 0, NotSerialized) { If (Z01W) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01W) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01W)) } Else { Return (CRSI (Z01W)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01W) } Else { Store (SRSI (Arg0), Z01W) } } } Device (Z00P) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1B) Method (_STA, 0, NotSerialized) { If (Z01X) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01X) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01X)) } Else { Return (CRSI (Z01X)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01X) } Else { Store (SRSI (Arg0), Z01X) } } } Device (Z00Q) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1C) Method (_STA, 0, NotSerialized) { If (Z01Y) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01Y) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01Y)) } Else { Return (CRSI (Z01Y)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01Y) } Else { Store (SRSI (Arg0), Z01Y) } } } Device (Z00R) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1D) Method (_STA, 0, NotSerialized) { If (Z01Z) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01Z) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01Z)) } Else { Return (CRSI (Z01Z)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01Z) } Else { Store (SRSI (Arg0), Z01Z) } } } Device (Z00S) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1E) Method (_STA, 0, NotSerialized) { If (Z020) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z020) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z020)) } Else { Return (CRSI (Z020)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z020) } Else { Store (SRSI (Arg0), Z020) } } } Device (Z00T) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1F) Method (_STA, 0, NotSerialized) { If (Z021) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z021) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z021)) } Else { Return (CRSI (Z021)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z021) } Else { Store (SRSI (Arg0), Z021) } } } Device (Z00U) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x20) Method (_STA, 0, NotSerialized) { If (\Z022) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z022) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z022)) } Else { Return (CRSI (Z022)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z022) } Else { Store (SRSI (Arg0), Z022) } } } Device (LSMB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x25) Method (_STA, 0, NotSerialized) { If (ISMB) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, ISMB) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (ISMB)) } Else { Return (CRSI (ISMB)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), ISMB) } Else { Store (SRSI (Arg0), ISMB) } } } Device (LUS0) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x26) Method (_STA, 0, NotSerialized) { If (IUS0) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, IUS0) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (IUS0)) } Else { Return (CRSI (IUS0)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), IUS0) } Else { Store (SRSI (Arg0), IUS0) } } } Device (LUS2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x27) Method (_STA, 0, NotSerialized) { If (IUS2) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, IUS2) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (IUS2)) } Else { Return (CRSI (IUS2)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), IUS2) } Else { Store (SRSI (Arg0), IUS2) } } } Device (LMAC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x28) Method (_STA, 0, NotSerialized) { If (IMAC) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, IMAC) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (IMAC)) } Else { Return (CRSI (IMAC)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), IMAC) } Else { Store (SRSI (Arg0), IMAC) } } } Device (LAZA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x29) Method (_STA, 0, NotSerialized) { If (IAZA) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, IAZA) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (IAZA)) } Else { Return (CRSI (IAZA)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), IAZA) } Else { Store (SRSI (Arg0), IAZA) } } } Device (LGPU) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2A) Method (_STA, 0, NotSerialized) { If (Z01A) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z01A) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z01A)) } Else { Return (CRSI (Z01A)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z01A) } Else { Store (SRSI (Arg0), Z01A) } } } Device (LPID) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2B) Method (_STA, 0, NotSerialized) { If (IPID) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, IPID) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (IPID)) } Else { Return (CRSI (IPID)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), IPID) } Else { Store (SRSI (Arg0), IPID) } } } Device (LSI0) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2C) Method (_STA, 0, NotSerialized) { If (PSI0) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, PSI0) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (PSI0)) } Else { Return (CRSI (PSI0)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), PSI0) } Else { Store (SRSI (Arg0), PSI0) } } } Device (LSI1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2D) Method (_STA, 0, NotSerialized) { If (PSI1) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, PSI1) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (PSI1)) } Else { Return (CRSI (PSI1)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), PSI1) } Else { Store (SRSI (Arg0), PSI1) } } } Device (Z000) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2E) Method (_STA, 0, NotSerialized) { If (Z018) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z018) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z018)) } Else { Return (CRSI (Z018)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z018) } Else { Store (SRSI (Arg0), Z018) } } } Device (Z001) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x2F) Method (_STA, 0, NotSerialized) { If (Z019) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, Z019) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (Z019)) } Else { Return (CRSI (Z019)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), Z019) } Else { Store (SRSI (Arg0), Z019) } } } Device (LPMU) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x30) Method (_STA, 0, NotSerialized) { If (INTS) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, Serialized) { Store (0x00, INTS) } Method (_PRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (BUFA) } Else { Return (BUFI) } } Method (_CRS, 0, NotSerialized) { If (LNot (\GPIC)) { Return (CRS (INTS)) } Else { Return (CRSI (INTS)) } } Method (_SRS, 1, NotSerialized) { If (LNot (\GPIC)) { Store (SRS (Arg0), INTS) } Else { Store (SRSI (Arg0), INTS) } } } } } Device (SBUS) { Name (_ADR, 0x00030002) OperationRegion (SMBE, PCI_Config, 0x04, 0x02) Field (SMBE, AnyAcc, NoLock, Preserve) { IOSE, 1, MMSE, 1 } OperationRegion (SBA0, PCI_Config, 0x20, 0x04) Field (SBA0, AnyAcc, NoLock, Preserve) { SB20, 16 } OperationRegion (SBA1, PCI_Config, 0x24, 0x04) Field (SBA1, AnyAcc, NoLock, Preserve) { SB24, 16 } OperationRegion (SMBP, PCI_Config, 0x40, 0xC0) Field (SMBP, DWordAcc, NoLock, Preserve) { , 2, I2CE, 1 } OperationRegion (SMCF, PCI_Config, 0x48, 0x04) Field (SMCF, AnyAcc, NoLock, Preserve) { SMPM, 4 } OperationRegion (P60, PCI_Config, 0x60, 0x02) Field (P60, AnyAcc, NoLock, Preserve) { PMBR, 16 } OperationRegion (P64, PCI_Config, 0x64, 0x02) Field (P64, AnyAcc, NoLock, Preserve) { NVSB, 16 } OperationRegion (P68, PCI_Config, 0x68, 0x02) Field (P68, AnyAcc, NoLock, Preserve) { ANLG, 16 } OperationRegion (SM6C, PCI_Config, 0x6C, 0x04) Field (SM6C, AnyAcc, NoLock, Preserve) { WDTA, 32 } OperationRegion (SM74, PCI_Config, 0x74, 0x04) Field (SM74, AnyAcc, NoLock, Preserve) { SMUB, 32 } OperationRegion (SM80, PCI_Config, 0x80, 0x04) Field (SM80, AnyAcc, NoLock, Preserve) { NVAM, 32 } OperationRegion (SME0, PCI_Config, 0xE0, 0x04) Field (SME0, AnyAcc, NoLock, Preserve) { SE0R, 23, RSUS, 1 } OperationRegion (SME4, PCI_Config, 0xE4, 0x04) Field (SME4, AnyAcc, NoLock, Preserve) { SE4R, 4, RP1D, 1, RP2D, 1, RP3D, 1, RP4D, 1, RP5D, 1, RP6D, 1, RP7D, 1, , 16, RMEN, 1 } OperationRegion (SME8, PCI_Config, 0xE8, 0x04) Field (SME8, AnyAcc, NoLock, Preserve) { SE8R, 13, GPUD, 1 } OperationRegion (SMBI, SystemIO, 0x0B00, 0x10) Field (SMBI, ByteAcc, NoLock, Preserve) { HSTS, 8, Offset (0x02), HCON, 8, HCOM, 8, TXSA, 8, DAT0, 8, DAT1, 8, HBDR, 8, PECR, 8, RXSA, 8, SDAT, 16 } Method (ENAB, 0, NotSerialized) { Store (0x01, IOSE) } Method (SWRB, 3, Serialized) { If (STRT ()) { Return (0x00) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Arg0, TXSA) Store (Arg1, HCOM) Store (Arg2, DAT0) Store (0x48, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (0x01) } Return (0x00) } Method (SRDB, 2, Serialized) { If (STRT ()) { Return (0xFFFF) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Or (Arg0, 0x01), TXSA) Store (Arg1, HCOM) Store (0x48, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (DAT0) } Return (0xFFFF) } Method (STRT, 0, Serialized) { Store (0xC8, Local0) While (Local0) { If (And (HSTS, 0x40)) { Decrement (Local0) Sleep (0x01) If (LEqual (Local0, 0x00)) { Return (0x01) } } Else { Store (0x00, Local0) } } Store (0x0FA0, Local0) While (Local0) { If (And (HSTS, 0x01)) { Decrement (Local0) Stall (0x32) If (LEqual (Local0, 0x00)) { KILL () } } Else { Return (0x00) } } Return (0x01) } Method (COMP, 0, Serialized) { Store (0x0FA0, Local0) While (Local0) { If (And (HSTS, 0x02)) { Return (0x01) } Else { Decrement (Local0) Stall (0x32) If (LEqual (Local0, 0x00)) { KILL () } } } Return (0x00) } Method (KILL, 0, Serialized) { Or (HCON, 0x02, HCON) Or (HSTS, 0xFF, HSTS) } Device (BUS0) { Name (_CID, "smbus") Name (_ADR, 0x00) } Device (BUS1) { Name (_CID, "smbus") Name (_ADR, 0x01) Device (MKY0) { Name (_ADR, 0x00) Name (_CID, "mikey") Method (_DSM, 4, NotSerialized) { Store (Package (0x07) { "refnum", 0x00, "address", 0x39, "device-id", 0x0CCB, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Method (H1EN, 1, Serialized) { If (LLessEqual (Arg0, 0x01)) { Store (Arg0, GP38) } } Method (H1IL, 0, Serialized) { Return (GP05) } Method (H1IP, 1, Serialized) { Store (GI05, Local0) } Name (H1IN, 0x24) Scope (\_GPE) { Method (_L24, 0, NotSerialized) { Notify (\_SB.PCI0.SBUS.BUS1.MKY0, 0x80) } } Method (P1IL, 0, Serialized) { ShiftRight (And (GI17, 0x20), 0x05, Local0) Return (Local0) } Method (P1IP, 1, Serialized) { If (LLessEqual (Arg0, 0x01)) { Store (GI17, Local0) And (Local0, 0xFC, Local0) Or (Arg0, Local0, GI17) } } Name (P1IN, 0x30) Scope (\_GPE) { Method (_L30, 0, NotSerialized) { XOr (GI17, 0x01, GI17) Notify (\_SB.PCI0.SBUS.BUS1.MKY0, 0x81) } } } } } Device (TRIM) { Name (_ADR, 0x00030004) } Device (NVPM) { Name (_ADR, 0x00030005) } Device (OHC1) { Name (_ADR, 0x00040000) OperationRegion (U1CS, PCI_Config, 0x48, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { Offset (0x01), U1EN, 1 } Device (HUB1) { Name (_ADR, 0x00) Device (PRT1) { Name (_ADR, 0x01) } Device (PRT2) { Name (_ADR, 0x02) Name (_EJD, "\\_SB.PCI0.RP04.ARPT") } Device (PRT3) { Name (_ADR, 0x03) } Device (PRT4) { Name (_ADR, 0x04) } Device (PRT5) { Name (_ADR, 0x05) } } Name (_PRW, Package (0x02) { 0x0D, 0x03 }) Scope (\_GPE) { Method (_L0D, 0, NotSerialized) { Notify (\_SB.PCI0.OHC1, 0x02) Notify (\_SB.PWRB, 0x02) } } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } Method (_DSM, 4, NotSerialized) { Store (Package (0x03) { "AAPL,device-internal", 0x60, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (EHC1) { Name (_ADR, 0x00040001) OperationRegion (U1CS, PCI_Config, 0x84, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { Offset (0x01), U1EN, 1 } Device (HUB1) { Name (_ADR, 0x00) Device (PRT1) { Name (_ADR, 0x01) } Device (PRT2) { Name (_ADR, 0x02) Name (_EJD, "\\_SB.PCI0.RP04.ARPT") } Device (PRT3) { Name (_ADR, 0x03) } Device (PRT4) { Name (_ADR, 0x04) } Device (PRT5) { Name (_ADR, 0x05) } } Name (_PRW, Package (0x02) { 0x05, 0x03 }) Scope (\_GPE) { Method (_L05, 0, NotSerialized) { Notify (\_SB.PCI0.EHC1, 0x02) Notify (\_SB.PWRB, 0x02) } } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } Method (_DSM, 4, NotSerialized) { Store (Package (0x09) { "AAPL,current-available", 0x04B0, "AAPL,current-extra", 0x02BC, "AAPL,current-in-sleep", 0x03E8, "AAPL,device-internal", 0x10, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (OHC2) { Name (_ADR, 0x00060000) OperationRegion (U1CS, PCI_Config, 0x48, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { Offset (0x01), U1EN, 1 } Device (HUB1) { Name (_ADR, 0x00) Device (PRT1) { Name (_ADR, 0x01) } Device (PRT2) { Name (_ADR, 0x02) } Device (PRT3) { Name (_ADR, 0x03) } Device (PRT4) { Name (_ADR, 0x04) } Device (PRT5) { Name (_ADR, 0x05) Method (SRST, 1, Serialized) { If (LLessEqual (Arg0, 0x01)) { Store (Arg0, GP18) } } } Device (PRT6) { Name (_ADR, 0x06) } Device (PRT7) { Name (_ADR, 0x07) } } Name (_PRW, Package (0x02) { 0x18, 0x03 }) Scope (\_GPE) { Method (_L18, 0, NotSerialized) { Notify (\_SB.PCI0.OHC2, 0x02) Notify (\_SB.PWRB, 0x02) } } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } Method (_DSM, 4, NotSerialized) { Store (Package (0x03) { "AAPL,device-internal", 0x02, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (EHC2) { Name (_ADR, 0x00060001) OperationRegion (U1CS, PCI_Config, 0x84, 0x04) Field (U1CS, DWordAcc, NoLock, Preserve) { Offset (0x01), U1EN, 1 } Device (HUB1) { Name (_ADR, 0x00) Device (PRT1) { Name (_ADR, 0x01) } Device (PRT2) { Name (_ADR, 0x02) } Device (PRT3) { Name (_ADR, 0x03) } Device (PRT4) { Name (_ADR, 0x04) } Device (PRT5) { Name (_ADR, 0x05) Method (_RMV, 0, NotSerialized) { Return (OSDW ()) } Method (SRST, 1, Serialized) { If (LLessEqual (Arg0, 0x01)) { Store (Arg0, GP18) } } } Device (PRT6) { Name (_ADR, 0x06) } Device (PRT7) { Name (_ADR, 0x07) } } Name (_PRW, Package (0x02) { 0x17, 0x03 }) Scope (\_GPE) { Method (_L17, 0, NotSerialized) { Notify (\_SB.PCI0.EHC2, 0x02) Notify (\_SB.PWRB, 0x02) } } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } Method (_DSM, 4, NotSerialized) { Store (Package (0x09) { "AAPL,current-available", 0x04B0, "AAPL,current-extra", 0x02BC, "AAPL,current-in-sleep", 0x03E8, "AAPL,device-internal", 0x20, Buffer (0x01) { 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (HDEF) { Name (_ADR, 0x00080000) } Device (GIGE) { Name (_ADR, 0x000A0000) Name (_PRW, Package (0x02) { 0x0B, 0x05 }) Scope (\_GPE) { Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.GIGE, 0x02) } } Method (_PSW, 1, NotSerialized) { Store ("Checking CREV > 0xB2", Debug) If (LGreater (CREV (), 0xB2)) { Store ("CREV is > 0xB2", Debug) If (Arg0) { Store ("Writing 1 to RSUS", Debug) Store (0x01, \_SB.PCI0.SBUS.RSUS) } Else { Store ("Writing 0 to RSUS", Debug) Store (0x00, \_SB.PCI0.SBUS.RSUS) } } } OperationRegion (ACTL, SystemIO, 0x0800, 0x0200) Field (ACTL, ByteAcc, NoLock, Preserve) { BANK, 32, Offset (0xB4), , 23, EPWD, 1, Offset (0xC0), , 9, DPWR, 1 } Method (PWRD, 1, Serialized) { If (OSDW ()) { If (Arg0) { Store (BANK, Local0) Store (0x01, BANK) Store (0x01, DPWR) Store (0x01, EPWD) Store (Local0, BANK) } Else { Store (BANK, Local0) Store (0x01, BANK) Store (0x00, EPWD) Store (0x00, DPWR) Store (Local0, BANK) } } } } Device (SATA) { Name (_ADR, 0x000B0000) Name (PRIT, 0x00) Name (SECT, 0x00) Name (PSIT, 0x00) Name (SSIT, 0x00) Name (SYNC, 0x00) Name (SDT0, 0x00) Name (SDT1, 0x00) Name (STD2, 0x00) Name (SDT3, 0x00) Name (ICR0, 0x00) Name (ICR1, 0x00) Name (ICR2, 0x00) Name (ICR3, 0x00) Name (ICR4, 0x00) Name (ICR5, 0x00) Name (MAPV, 0x00) } Device (IXVE) { Name (_ADR, 0x00100000) OperationRegion (A1E0, PCI_Config, 0x19, 0x01) Field (A1E0, ByteAcc, NoLock, Preserve) { SECB, 8 } Method (_BBN, 0, NotSerialized) { Return (SECB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } Device (IGPU) { Name (_ADR, 0x00) OperationRegion (KFFS, SystemMemory, 0xFFFFC048, 0x1000) Field (KFFS, DWordAcc, NoLock, Preserve) { Offset (0x18), KYSZ, 24, Offset (0x1C), KGLB, 32544 } Method (_DSM, 4, NotSerialized) { Name (_T_0, Zero) Name (TMP0, 0x00) If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xA6, 0x69, 0x86, 0x99, 0xE9, 0x8B, 0xFB, 0x49, /* 0008 */ 0xBD, 0xDB, 0x51, 0xA1, 0xEF, 0xE1, 0x9C, 0x3D })) { If (LEqual (ToInteger (Arg1), 0x0101)) { Store (ToInteger (Arg2), _T_0) If (LEqual (_T_0, 0x00)) { Return (Buffer (0x04) { 0xC1, 0x00, 0x00, 0x00 }) } Else { If (LEqual (_T_0, 0x06)) { CreateWordField (Arg3, 0x02, UARG) If (LNotEqual (UARG, 0x484B)) { Return (0x80000002) } CreateField (Arg3, 0x0C, 0x04, INST) Store (INST, TMP0) If (LNotEqual (TMP0, 0x00)) { Return (0x80000002) } CreateField (Arg3, 0x00, 0x0C, KPG1) Store (KPG1, TMP0) If (LNotEqual (TMP0, 0x00)) { Return (0x80000002) } Subtract (KYSZ, 0x04, Local0) Name (KDT1, Buffer (Local0) {}) Mid (KGLB, 0x00, Local0, KDT1) Return (KDT1) } Else { If (LEqual (_T_0, 0x07)) { CreateField (Arg3, 0x00, 0x0C, KPG2) Store (KPG2, TMP0) If (LNotEqual (TMP0, 0x00)) { Return (0x80000002) } Name (GHDR, Buffer (0x04) { 0x01, 0x00, 0x4B, 0x48 }) Subtract (KYSZ, 0x04, Local0) Name (KDT2, Buffer (Local0) {}) Mid (KGLB, 0x00, Local0, KDT2) Concatenate (GHDR, KDT2, Local1) Return (Local1) } } } } } Return (0x80000002) } } Method (_PRT, 0, NotSerialized) { Return (Package (0x01) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LGPU, 0x00 } }) } } Scope (\_SB.PCI0) { Device (CMC2) { Name (_ADR, 0x00010004) OperationRegion (D1F4, SystemMemory, 0xF000C000, 0xFF) Field (D1F4, ByteAcc, NoLock, Preserve) { Offset (0x88), TOLM, 8 } } Device (P4MI) { Name (_ADR, 0x00030003) OperationRegion (P4MR, PCI_Config, 0x00, 0xFF) Field (P4MR, ByteAcc, NoLock, Preserve) { Offset (0x44), BPLM, 8, , 1, BPLN, 8, , 9, BPLP, 2, Offset (0x74), , 18, VCO2, 1, , 8, ASYC, 1, Offset (0x78), CPLM, 8, CPLN, 8, Offset (0xC8), MPLM, 4, MPLN, 4 } } } Method (MC1E, 0, NotSerialized) { Add (0xF0000000, 0xB000, Local0) Return (Local0) } Method (MC2E, 0, NotSerialized) { Add (0xF0000000, 0xC000, Local0) Return (Local0) } Method (MEXT, 0, NotSerialized) { Add (0xF0000000, 0xE100, Local0) Return (Local0) } OperationRegion (OA8D, SystemMemory, MC1E (), 0xFF) Field (OA8D, ByteAcc, NoLock, Preserve) { Offset (0x50), NIST, 10, , 2, NSB1, 4, NSB2, 4, Offset (0x8C), TRFC, 10, Offset (0x8F), TRCD, 4, WRRC, 4, Offset (0x91), TR2P, 4, Offset (0x9C), Offset (0x9D), TRP, 4, Offset (0xA0), Offset (0xA2), TRC, 6, Offset (0xA8), TROE, 1, , 3, TROI, 3, Offset (0xF4), BWCP, 7, Offset (0xF5), BWIS, 7, Offset (0xF6), BWWB, 7, Offset (0xF7), BWHP, 7, HPCR, 1 } OperationRegion (O8ER, SystemMemory, MC2E (), 0xFF) Field (O8ER, ByteAcc, NoLock, Preserve) { Offset (0x70), CDP0, 1, Offset (0x71), CDS0, 8, , 4, CDC0, 4, , 5, CDB0, 2, Offset (0x74), CDP1, 1, Offset (0x75), CDS1, 8, , 4, CDC1, 4, , 5, CDB1, 2, Offset (0x78), CDP2, 1, Offset (0x79), CDS2, 8, , 4, CDC2, 4, , 5, CDB2, 2, Offset (0x7C), CDP3, 1, Offset (0x7D), CDS3, 8, , 4, CDC3, 4, , 5, CDB3, 2, Offset (0x80), INTL, 2, RCBD, 2, Offset (0x81), PCIH, 5, Offset (0x88), TOM1, 8, TOM2, 9, Offset (0x90), P0P0, 1, P1P0, 1, P0N0, 1, P1N0, 1, PCR0, 1, Offset (0x91), PCB0, 9, Offset (0x93), PCS0, 8, P0P1, 1, P1P1, 1, P0N1, 1, P1N1, 1, PCR1, 1, Offset (0x95), PCB1, 9, Offset (0x97), PCS1, 8, P0P2, 1, P1P2, 1, P0N2, 1, P1N2, 1, PCR2, 1, Offset (0x99), PCB2, 9, Offset (0x9B), PCS2, 8, P0P3, 1, P1P3, 1, P0N3, 1, P1N3, 1, PCR3, 1, Offset (0x9D), PCB3, 9, Offset (0x9F), PCS3, 8, P0P4, 1, P1P4, 1, P0N4, 1, P1N4, 1, PCR4, 1, Offset (0xA1), PCB4, 9, Offset (0xA3), PCS4, 8, Offset (0xC4), REFP, 16, REFB, 4 } OperationRegion (OEER, SystemMemory, MEXT (), 0xFF) Field (OEER, ByteAcc, NoLock, Preserve) { Offset (0xAA), CKDY, 16 } Method (CIMP, 0, NotSerialized) { Name (ERR0, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (BU2A, Buffer (0x04) { 0x00 }) CreateField (BU2A, 0x10, 0x04, BF03) CreateField (BU2A, 0x14, 0x04, BF04) Name (BU2B, Buffer (0x04) { 0x00 }) CreateField (BU2B, 0x00, 0x0B, BF07) CreateField (BU2B, 0x0B, 0x0E, BF08) Name (BU2C, Buffer (0x0A) { 0x00 }) CreateField (BU2C, 0x00, 0x03, BF0A) CreateField (BU2C, 0x03, 0x04, BF0B) CreateField (BU2C, 0x07, 0x04, BF0C) CreateField (BU2C, 0x0B, 0x04, BF0D) CreateField (BU2C, 0x0F, 0x04, BF0E) CreateField (BU2C, 0x13, 0x26, BF0F) Name (BU2D, Buffer (0x0A) { 0x00 }) CreateField (BU2D, 0x00, 0x10, BF1A) CreateField (BU2D, 0x10, 0x0B, TAVN) CreateField (BU2D, 0x1B, 0x0A, BASL) CreateField (BU2D, 0x25, 0x0B, LBWF) CreateField (BU2D, 0x30, 0x0C, ATBW) CreateField (BU2D, 0x3C, 0x0A, CLTF) CreateField (BU2D, 0x46, 0x0A, PMPF) Name (BNKN, 0x00) Name (BNKX, 0x00) Name (COLN, 0x00) Name (COLX, 0x00) Store (0x10, Index (BU2A, 0x00)) Store (0x08, Index (BU2A, 0x01)) Store (0x12, Index (BU2A, 0x02)) Store (0xAA, Index (BU2A, 0x03)) Store (0x02, BF04) Name (M2CL, 0x00) Store (GM2C (), M2CL) Multiply (M2CL, 0x02, BF08) Store (BASM (M2CL), BF07) Store (BU2B, Local2) If (LEqual (^RCBD, 0x00)) { Store (One, BF03) Multiply (0x08000000, ^TOM1, BF0F) Store (0x01, BF0A) If (^INTL) { Store (0x02, BF0A) } If (^CDP0) { Store (^CDC0, BF0D) Store (^CDB0, BF0B) } Else { If (^CDP1) { Store (^CDC1, BF0D) Store (^CDB1, BF0B) } Else { If (^CDP2) { Store (^CDC2, BF0D) Store (^CDB2, BF0B) } Else { If (^CDP3) { Store (^CDC3, BF0D) Store (^CDB3, BF0B) } } } } Store (BF0D, BF0E) Store (BF0B, BF0C) Store (Local2, Local1) Concatenate (Local1, BU2C, Local2) If (^PCIH) { Store (0x02, BF03) Subtract (^TOM2, 0x20, Local1) Multiply (0x08000000, Local1, BF0F) Store (Local2, Local1) Concatenate (Local1, BU2C, Local2) } } Else { If (LEqual (^RCBD, 0x02)) { Name (NDRE, 0x00) Store (Zero, BF03) Store (Zero, Local6) While (One) { If (LEqual (Local6, 0x05)) { Break } If (LOr (MP0P (Local6), MP1P (Local6))) { Multiply (MCRS (Local6), 0x08000000, BF0F) Store (0x01, BF0A) If (MPCR (Local6)) { If (MP0P (Local6)) { If (MP1P (Local6)) { Store (0x02, BF0A) } } } Store (0x03, BNKN) Store (0x02, BNKX) Store (0x0C, COLN) Store (0x08, COLX) If (MP0P (Local6)) { Store (MP0N (Local6), Local5) } Else { If (MP1P (Local6)) { Store (MP1N (Local6), Local5) } } If (LGreater (BNKN, MCDB (Local5))) { Store (MCDB (Local5), BNKN) } If (LLess (BNKX, MCDB (Local5))) { Store (MCDB (Local5), BNKX) } If (LGreater (COLN, MCDC (Local5))) { Store (MCDC (Local5), COLN) } If (LLess (COLX, MCDC (Local5))) { Store (MCDC (Local5), COLX) } Store (BNKN, BF0B) Store (BNKX, BF0C) Store (COLN, BF0D) Store (COLX, BF0E) Increment (NDRE) Store (Local2, Local1) Concatenate (Local1, BU2C, Local2) } Increment (Local6) } Store (NDRE, BF03) } Else { Store (Zero, Local5) } } Store (BASM (M2CL), BASL) Store (BASL, TAVN) Store (PMPM (M2CL), PMPF) Store (CLTM (M2CL), CLTF) Store (ATBM (M2CL), ATBW) Store (0x0FFF, LBWF) Store (0x3E, BF1A) Store (Local2, Local1) Concatenate (Local1, BU2D, Local2) Store (0xFFFF, BF1A) Store (ATBM (M2CL), ATBW) Store (0x0FFF, LBWF) Store (Local2, Local1) Concatenate (Local1, BU2D, Local2) Concatenate (ERR0, BU2A, Local1) Concatenate (Local1, Local2, Local0) Return (Local0) } Method (MP0P, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^P0P0) } If (LEqual (Arg0, 0x01)) { Return (^P0P1) } If (LEqual (Arg0, 0x02)) { Return (^P0P2) } If (LEqual (Arg0, 0x03)) { Return (^P0P3) } If (LEqual (Arg0, 0x04)) { Return (^P0P4) } Return (Zero) } Method (MP1P, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^P1P0) } If (LEqual (Arg0, 0x01)) { Return (^P1P1) } If (LEqual (Arg0, 0x02)) { Return (^P1P2) } If (LEqual (Arg0, 0x03)) { Return (^P1P3) } If (LEqual (Arg0, 0x04)) { Return (^P1P4) } Return (Zero) } Method (MPCR, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^PCR0) } If (LEqual (Arg0, 0x01)) { Return (^PCR1) } If (LEqual (Arg0, 0x02)) { Return (^PCR2) } If (LEqual (Arg0, 0x03)) { Return (^PCR3) } If (LEqual (Arg0, 0x04)) { Return (^PCR4) } Return (Zero) } Method (MP0N, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^P0N0) } If (LEqual (Arg0, 0x01)) { Return (^P0N1) } If (LEqual (Arg0, 0x02)) { Return (^P0N2) } If (LEqual (Arg0, 0x03)) { Return (^P0N3) } If (LEqual (Arg0, 0x04)) { Return (^P0N4) } Return (Zero) } Method (MP1N, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^P1N0) } If (LEqual (Arg0, 0x01)) { Return (^P1N1) } If (LEqual (Arg0, 0x02)) { Return (^P1N2) } If (LEqual (Arg0, 0x03)) { Return (^P1N3) } If (LEqual (Arg0, 0x04)) { Return (^P1N4) } Return (Zero) } Method (MCRB, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^PCB0) } If (LEqual (Arg0, 0x01)) { Return (^PCB1) } If (LEqual (Arg0, 0x02)) { Return (^PCB2) } If (LEqual (Arg0, 0x03)) { Return (^PCB3) } If (LEqual (Arg0, 0x04)) { Return (^PCB4) } Return (Zero) } Method (MCRS, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^PCS0) } If (LEqual (Arg0, 0x01)) { Return (^PCS1) } If (LEqual (Arg0, 0x02)) { Return (^PCS2) } If (LEqual (Arg0, 0x03)) { Return (^PCS3) } If (LEqual (Arg0, 0x04)) { Return (^PCS4) } Return (Zero) } Method (MCDB, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^CDB0) } If (LEqual (Arg0, 0x01)) { Return (^CDB1) } If (LEqual (Arg0, 0x02)) { Return (^CDB2) } If (LEqual (Arg0, 0x03)) { Return (^CDB3) } Return (Zero) } Method (MCDC, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (^CDC0) } If (LEqual (Arg0, 0x01)) { Return (^CDC1) } If (LEqual (Arg0, 0x02)) { Return (^CDC2) } If (LEqual (Arg0, 0x03)) { Return (^CDC3) } Return (Zero) } Method (NOCH, 0, NotSerialized) { If (LEqual (^INTL, 0x03)) { Store (0x02, Local6) } Else { If (LEqual (^INTL, 0x00)) { Store (0x01, Local6) } Else { If (LEqual (^INTL, 0x02)) { Multiply (^CDP0, ^CDS0, Local0) Multiply (^CDP1, ^CDS1, Local1) Multiply (^CDP2, ^CDS2, Local2) Multiply (^CDP3, ^CDS3, Local3) Add (Local0, Local1, Local0) Add (Local2, Local3, Local2) If (LEqual (Local0, Local2)) { Store (0x02, Local6) } Else { Store (0x01, Local6) } } } } Return (Local6) } Method (ATBM, 1, NotSerialized) { Multiply (Arg0, 0x02, Local0) Multiply (Local0, NOCH (), Local0) Multiply (0x08, Local0, Local0) Multiply (Local0, ^BWHP, Local0) Add (^BWCP, ^BWIS, Local1) Add (Local1, ^BWWB, Local1) Add (Local1, ^BWHP, Local1) Divide (Local0, Local1, Local1, Local0) Multiply (Local0, 0x03, Local0) Divide (Local0, 0x28, Local1, Local0) Return (Local0) } Method (GM2C, 0, NotSerialized) { Multiply (\_SB.PCI0.P4MI.CPLN, 0x19, Local1) Multiply (\_SB.PCI0.P4MI.BPLN, Local1, Local1) Add (\_SB.PCI0.P4MI.BPLP, 0x01, Local2) Multiply (Local2, \_SB.PCI0.P4MI.CPLM, Local2) Multiply (Local2, \_SB.PCI0.P4MI.BPLM, Local2) Store (Local1, Local3) Multiply (Local3, \_SB.PCI0.P4MI.MPLN, Local1) Multiply (Local2, \_SB.PCI0.P4MI.MPLM, Local2) Divide (Local1, Local2, , Local3) If (LEqual (\_SB.PCI0.P4MI.VCO2, 0x00)) { Multiply (Local3, 0x02, Local3) } Return (Local3) } Method (PMPM, 1, NotSerialized) { Multiply (0x0F, 0x03E8, Local0) Divide (Local0, Arg0, Local0, Local1) Return (Local1) } Method (CLTM, 1, NotSerialized) { Divide (0x04, NOCH (), Local0, Local1) Multiply (0x03E8, Local1, Local0) Divide (Local0, Arg0, Local0, Local1) Return (Local1) } Method (BASM, 1, NotSerialized) { Name (M2CK, 0x00) Name (NPAR, 0x01) Store (Arg0, M2CK) Name (TPAR, 0x04) Divide (TPAR, NPAR, , TPAR) Subtract (TPAR, 0x02, TPAR) Name (BUCO, 0x00) Add (TPAR, ^TRCD, BUCO) Add (BUCO, ^TR2P, BUCO) Add (BUCO, ^TRP, BUCO) Name (B2CO, 0x00) Store (MAX (^TRC, BUCO), B2CO) Store (CEIL (B2CO, 0x02), B2CO) Name (TBM2, 0x00) If (LEqual (^TROE, 0x01)) { Store (^TROI, TBM2) } Name (TMAX, 0x00) Add (TMAX, TBM2, TMAX) Add (TMAX, BUCO, TMAX) Add (TMAX, TPAR, TMAX) Store (MAX (TMAX, B2CO), TMAX) Name (SWBC, 0x00) Multiply (TMAX, ^BWWB, SWBC) Multiply (SWBC, NPAR, SWBC) Divide (SWBC, 0x02, , SWBC) Name (SCPU, 0x00) Multiply (TMAX, ^BWCP, SCPU) Multiply (SCPU, NPAR, SCPU) Divide (SCPU, 0x02, , SCPU) Name (SISO, 0x00) Add (TBM2, BUCO, Local1) Add (Local1, NPAR, Local1) Subtract (Local1, 0x02, Local1) Store (MAX (Local1, B2CO), Local1) Multiply (Local1, ^BWIS, SISO) Name (RCBZ, 0x10) Name (CBHP, 0x02) Name (SHIS, 0x00) Multiply (RCBZ, 0x04, SHIS) Divide (SHIS, NPAR, , SHIS) Subtract (SHIS, 0x02, SHIS) Add (SHIS, BUCO, SHIS) Add (SHIS, TBM2, SHIS) Store (MAX (SHIS, B2CO), SHIS) Multiply (SHIS, CBHP, SHIS) Name (BIDH, 0x01) Name (BWCO, 0x00) Add (SWBC, SCPU, BWCO) Add (BWCO, SISO, BWCO) Add (BWCO, SHIS, BWCO) Multiply (BWCO, BIDH, BWCO) Name (NISB, 0x00) Store (^NSB1, NISB) ShiftLeft (^NSB2, 0x04, Local1) Or (Local1, NISB, NISB) Name (NICO, 0x00) Divide (BWCO, ^NIST, Local2, Local1) If (LNotEqual (Local2, 0x00)) { Add (Local1, 0x01, Local1) } Multiply (NISB, NPAR, Local2) Add (TBM2, NPAR, Local3) If (LGreater (Local3, 0x02)) { Subtract (Local3, 0x02, Local3) } Else { Store (0x00, Local3) } Store (MAX (Local3, B2CO), Local3) Multiply (Local2, Local3, NICO) Multiply (NICO, Local1, NICO) Divide (NICO, 0x02, , NICO) Name (RECO, 0x00) Add (BWCO, NICO, RECO) Divide (RECO, ^REFP, Local2, RECO) If (LNotEqual (Local2, 0x00)) { Add (RECO, 0x01, RECO) } Multiply (RECO, ^TRFC, RECO) Multiply (RECO, ^REFB, RECO) Name (MELA, 0x00) Add (BWCO, RECO, MELA) Add (MELA, NICO, MELA) Multiply (MELA, 0x03E8, MELA) Divide (MELA, M2CK, , MELA) Name (WALA, 0x64) Add (WALA, ^CKDY, WALA) Multiply (WALA, 0x07D0, WALA) Divide (WALA, M2CK, , WALA) If (LLess (WALA, 0x55F0)) { Store (0x55F0, WALA) } Name (SWLA, 0x00) Name (M73L, 0x64) Name (PADD, 0x00) Add (MELA, WALA, Local1) Add (Local1, SWLA, Local1) Add (Local1, M73L, Local1) Add (Local1, PADD, Local1) Divide (Local1, 0x64, , Local0) Return (Local0) } Method (MAX, 2, NotSerialized) { Store (Arg0, Local0) If (LGreater (Arg1, Arg0)) { Store (Arg1, Local0) } Return (Local0) } Method (CEIL, 2, NotSerialized) { Store (Arg0, Local0) Divide (Local0, Arg1, Local1, Local3) If (LNotEqual (Local1, 0x00)) { Subtract (Local0, Local1, Local0) Add (Local0, Arg1, Local0) } Return (Local0) } Name (ERR0, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (ERR1, Buffer (0x04) { 0x01, 0x00, 0x00, 0x80 }) Name (ERR2, Buffer (0x04) { 0x02, 0x00, 0x00, 0x80 }) Name (VER1, Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }) Method (NVIF, 3, NotSerialized) { Store (ERR1, Local0) If (LEqual (Arg0, 0x01)) { If (LEqual (Arg1, 0x00)) { Concatenate (ERR0, VER1, Local0) } } If (LEqual (Arg0, 0x0D)) { If (LEqual (Arg1, 0x00)) { Concatenate (ERR0, VER1, Local0) } If (LEqual (Arg1, 0x01)) { Concatenate (ERR2, VER1, Local0) } If (LEqual (Arg1, 0x03)) { Name (BFD1, Buffer (0x06) { 0x10, 0x04, 0x00, 0x00, 0x00, 0x00 }) CreateField (BFD1, 0x20, 0x10, SVMS) Store (0x40, SVMS) Concatenate (ERR0, BFD1, Local0) } If (LEqual (Arg1, 0x02)) { Store (CIMP (), Local0) } } Return (Local0) } Device (RP04) { Name (_ADR, 0x00150000) OperationRegion (A1E0, PCI_Config, 0x00, 0x20) Field (A1E0, ByteAcc, NoLock, Preserve) { Offset (0x19), SECB, 8 } Method (_BBN, 0, NotSerialized) { Return (SECB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } Device (ARPT) { Name (_ADR, 0x00) OperationRegion (ARE0, PCI_Config, 0x00, 0x04) Field (ARE0, ByteAcc, NoLock, Preserve) { AVND, 16 } Name (_EJD, "\\_SB.PCI0.EHC1.HUB1.PRT2") Name (WOWE, 0x00) Method (WWEN, 1, NotSerialized) { Store (Arg0, WOWE) } Name (TAPD, 0x00) Method (PDEN, 1, NotSerialized) { Store (Arg0, TAPD) } Method (_PS0, 0, Serialized) { If (OSDW ()) { If (LAnd (LNotEqual (WOWE, 0x01), LEqual (TAPD, 0x01))) { Store (0x00, APPS) Sleep (0x6E) Add (Timer, 0x00989680, Local0) While (LLessEqual (Timer, Local0)) { If (LNotEqual (AVND, 0xFFFF)) { Break } Sleep (0x0A) } } } } Method (_PS3, 0, Serialized) { If (OSDW ()) { If (LAnd (LNotEqual (WOWE, 0x01), LEqual (TAPD, 0x01))) { Store (0x01, APPS) Sleep (0x64) } } } } Method (SMPC, 1, NotSerialized) { If (LEqual (\_SB.PCI0.SBUS.RP4D, 0x00)) { If (LNot (And (Arg0, 0x01))) {} } } } Device (RP05) { Name (_ADR, 0x00160000) OperationRegion (A1E0, PCI_Config, 0x19, 0x01) Field (A1E0, ByteAcc, NoLock, Preserve) { SECB, 8 } Method (_BBN, 0, NotSerialized) { Return (SECB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } Device (FRWR) { Name (_ADR, 0x00) Name (_GPE, 0x32) Method (_DSM, 4, NotSerialized) { Store (Package (0x04) { "fwports", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "fws0", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Method (FPEN, 1, Serialized) { If (LLessEqual (Arg0, 0x01)) { Store (Arg0, GP40) } } Scope (\_GPE) { Method (_L32, 0, NotSerialized) { Store ("Received LPC_DRQ1 (FW_PME#)", Debug) Notify (\_SB.PCI0.RP05.FRWR, 0x00) } } } } } } Scope (\) { Name (SSDT, Package (0x0C) { "CPU0IST ", 0x7FEC9C18, 0x0000027A, "CPU1IST ", 0x7FEC9F18, 0x000000C8, "CPU0CST ", 0x7FEC9918, 0x000002AD, "CPU1CST ", 0x7FEC8F18, 0x00000085 }) Name (CFGD, 0x0D3B69F5) Name (\PDC0, 0x80000000) Name (\PDC1, 0x80000000) Name (\SDTL, 0x00) } Scope (\_PR.CPU0) { Name (HI0, 0x00) Name (HC0, 0x00) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x00, REVS) CreateDWordField (Arg0, 0x04, SIZE) Store (SizeOf (Arg0), Local0) Store (Subtract (Local0, 0x08), Local1) CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP) Name (STS0, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Concatenate (STS0, TEMP, Local2) _OSC (Buffer (0x10) { /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 }, REVS, SIZE, Local2) } Method (_OSC, 4, NotSerialized) { CreateDWordField (Arg3, 0x00, STS0) CreateDWordField (Arg3, 0x04, CAP0) CreateDWordField (Arg0, 0x00, IID0) CreateDWordField (Arg0, 0x04, IID1) CreateDWordField (Arg0, 0x08, IID2) CreateDWordField (Arg0, 0x0C, IID3) Name (UID0, Buffer (0x10) { /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 }) CreateDWordField (UID0, 0x00, EID0) CreateDWordField (UID0, 0x04, EID1) CreateDWordField (UID0, 0x08, EID2) CreateDWordField (UID0, 0x0C, EID3) If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3))))) { Store (0x06, Index (STS0, 0x00)) Return (Arg3) } If (LNotEqual (Arg1, 0x01)) { Store (0x0A, Index (STS0, 0x00)) Return (Arg3) } Or (And (PDC0, 0x7FFFFFFF), CAP0, PDC0) If (And (CFGD, 0x01)) { If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (PDC0, 0x09), 0x09)), LNot (And (SDTL, 0x01)))) { Or (SDTL, 0x01, SDTL) OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT, 0x01)), DerefOf (Index (SSDT, 0x02 ))) Load (IST0, HI0) } } If (And (CFGD, 0xF0)) { If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC0, 0x18 )), LNot (And (SDTL, 0x02)))) { Or (SDTL, 0x02, SDTL) OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT, 0x07)), DerefOf (Index (SSDT, 0x08 ))) Load (CST0, HC0) } } Return (Arg3) } } Scope (\_PR.CPU1) { Name (HI1, 0x00) Name (HC1, 0x00) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x00, REVS) CreateDWordField (Arg0, 0x04, SIZE) Store (SizeOf (Arg0), Local0) Store (Subtract (Local0, 0x08), Local1) CreateField (Arg0, 0x40, Multiply (Local1, 0x08), TEMP) Name (STS1, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) Concatenate (STS1, TEMP, Local2) _OSC (Buffer (0x10) { /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 }, REVS, SIZE, Local2) } Method (_OSC, 4, NotSerialized) { CreateDWordField (Arg3, 0x00, STS1) CreateDWordField (Arg3, 0x04, CAP1) CreateDWordField (Arg0, 0x00, IID0) CreateDWordField (Arg0, 0x04, IID1) CreateDWordField (Arg0, 0x08, IID2) CreateDWordField (Arg0, 0x0C, IID3) Name (UID1, Buffer (0x10) { /* 0000 */ 0x16, 0xA6, 0x77, 0x40, 0x0C, 0x29, 0xBE, 0x47, /* 0008 */ 0x9E, 0xBD, 0xD8, 0x70, 0x58, 0x71, 0x39, 0x53 }) CreateDWordField (UID1, 0x00, EID0) CreateDWordField (UID1, 0x04, EID1) CreateDWordField (UID1, 0x08, EID2) CreateDWordField (UID1, 0x0C, EID3) If (LNot (LAnd (LAnd (LEqual (IID0, EID0), LEqual (IID1, EID1)), LAnd (LEqual (IID2, EID2), LEqual (IID3, EID3))))) { Store (0x06, Index (STS1, 0x00)) Return (Arg3) } If (LNotEqual (Arg1, 0x01)) { Store (0x0A, Index (STS1, 0x00)) Return (Arg3) } Or (And (PDC1, 0x7FFFFFFF), CAP1, PDC1) If (And (CFGD, 0x01)) { If (LAnd (LAnd (And (CFGD, 0x01000000), LEqual (And (PDC1, 0x09), 0x09)), LNot (And (SDTL, 0x10)))) { Or (SDTL, 0x10, SDTL) OperationRegion (IST1, SystemMemory, DerefOf (Index (SSDT, 0x04)), DerefOf (Index (SSDT, 0x05 ))) Load (IST1, HI1) } } If (And (CFGD, 0xF0)) { If (LAnd (LAnd (And (CFGD, 0x01000000), And (PDC1, 0x18 )), LNot (And (SDTL, 0x20)))) { Or (SDTL, 0x20, SDTL) OperationRegion (CST1, SystemMemory, DerefOf (Index (SSDT, 0x0A)), DerefOf (Index (SSDT, 0x0B ))) Load (CST1, HC1) } } Return (Arg3) } } Scope (\_SB.PCI0.SATA) { Device (PRID) { Name (_ADR, 0x00) Name (PBUF, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0010 */ 0x1F, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (PBUF) } Method (_STM, 3, NotSerialized) { Store (Arg0, PBUF) } Device (P_D0) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Name (PIB0, Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }) Return (PIB0) } } } } Scope (\_SB.PCI0.SATA) { Device (PRT1) { Name (_ADR, 0x01) Name (SBUF, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0010 */ 0x1F, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SBUF) } Method (_STM, 3, NotSerialized) { } Device (S_D0) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Name (SIB0, Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }) Return (SIB0) } } } } } --Boundary-00=_QxKvMBQdAS2ebB2-- From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:13:56 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B5821065695 for ; Tue, 19 Oct 2010 06:13:56 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A26B8FC18 for ; Tue, 19 Oct 2010 06:13:06 +0000 (UTC) Received: by bwz16 with SMTP id 16so86778bwz.13 for ; Mon, 18 Oct 2010 23:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:13:56 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:14:03 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D940E1065693 for ; Tue, 19 Oct 2010 06:14:03 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F3A5A8FC1E for ; Tue, 19 Oct 2010 06:13:55 +0000 (UTC) Received: by bwz16 with SMTP id 16so86962bwz.13 for ; Mon, 18 Oct 2010 23:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:14:03 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:14:32 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 243A71065693 for ; Tue, 19 Oct 2010 06:14:32 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BFDB8FC0C for ; Tue, 19 Oct 2010 06:14:20 +0000 (UTC) Received: by bwz16 with SMTP id 16so87312bwz.13 for ; Mon, 18 Oct 2010 23:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:14:32 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:15:28 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25318106566B for ; Tue, 19 Oct 2010 06:15:28 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFC78FC0A for ; Tue, 19 Oct 2010 06:14:31 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 16so86962bwz.13 for ; Mon, 18 Oct 2010 23:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:15:28 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:16:25 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84BE1065674 for ; Tue, 19 Oct 2010 06:16:25 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0923B8FC1A for ; Tue, 19 Oct 2010 06:16:21 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 16so86962bwz.13 for ; Mon, 18 Oct 2010 23:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:16:25 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:17:39 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5B821065673 for ; Tue, 19 Oct 2010 06:17:39 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3C8908FC0A for ; Tue, 19 Oct 2010 06:17:34 +0000 (UTC) Received: by bwz16 with SMTP id 16so88648bwz.13 for ; Mon, 18 Oct 2010 23:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:17:39 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:17:48 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC3B21065675 for ; Tue, 19 Oct 2010 06:17:48 +0000 (UTC) (envelope-from rufina.sarvarova@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3CD8FC13 for ; Tue, 19 Oct 2010 06:17:45 +0000 (UTC) Received: by bwz16 with SMTP id 16so89116bwz.13 for ; Mon, 18 Oct 2010 23:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MZ9YbrqnzRKguOHggiE1yfsh86cjV/bjVRk4ab2FC0k=; b=YFhqsnI9gwxYDmDGG2TkRq5CeWayt0wVWstOoNWLeVBuMD4RzGlRPzPllaev804dpg GikTxG6Wl9wLvltBBSYEuVIIRO3997oSf1249Imn4XDKI1PfKRH+halZhUjLbEmB3SSV eekqg+Aqd1R7fI636Xz+nJpwWouQhN7XIx0no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=yHWwhl928eZ69TM3dXEOHG3xiX55ZX+TbChlW9iyKixqrUlYRKxoqCG9XQTwfj7Xj9 1XajzlAg5lupwbHut930xnYmrnDhrqkd5/5hsLt+dwRW47QM2kx+PGte9DUD/JzJXEfl 4mhSstccCR0vRsgKK/gEzSA82NuGjb0vgEyqY= MIME-Version: 1.0 Received: by 10.204.101.84 with SMTP id b20mr485449bko.53.1287466784844; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Received: by 10.204.126.4 with HTTP; Mon, 18 Oct 2010 22:39:44 -0700 (PDT) Date: Tue, 19 Oct 2010 09:39:44 +0400 Message-ID: From: rufina sarvarova To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:17:48 -0000 Hello Actually I've noticed problem because all my usb devices aren't work. I've googled that problem, but didn't find any good solution. I found that all works well in linux and windows, but not at FreeBSD. Now I have FreeBSD 8.1 So, after booting with verbose, I have: *dmesg* ohci0: mem 0x80000000-0x80000fff irq 19 at device 19.0 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0x80000000-0x80000fff irq 19 at device 19.1 on pci0 ohci1: Could not map memory device_attach: ohci1 attach returned 6 ehci0: mem 0x80000000-0x80000fff irq 19 at device 19.2 on pci0 ehci0: Could not map memory device_attach: ehci0 attach returned 6 From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:18:34 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF0231065674 for ; Tue, 19 Oct 2010 06:18:34 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.freebsd.org (Postfix) with ESMTP id BA1AA8FC18 for ; Tue, 19 Oct 2010 06:18:34 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Oct 2010 22:49:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,349,1283756400"; d="scan'208";a="565290290" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by orsmga002.jf.intel.com with ESMTP; 18 Oct 2010 22:49:44 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <201010182221.36745.hselasky@c2i.net> References: <201010121209.06397.hselasky@c2i.net> <201010171547.56445.hselasky@c2i.net> <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> <201010182221.36745.hselasky@c2i.net> Content-Type: text/plain; charset="UTF-8" Date: Tue, 19 Oct 2010 13:47:02 +0800 Message-ID: <1287467222.6530.3067.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:18:35 -0000 On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > Can you send us the acpidump for the machine? > > > > Also, tell us which control method is failing. > > > > Thanks > > Hi, > > Please find attached dump of ACPI tables. > > It is the function AcpiRsCreateAmlResources() which writes beyond the buffer > it allocates. Could you enable AML debug output to get more info? But I don't know how to enable it on FreeBSD. In Linux, the AML debug output is enabled with kernel boot parameters like below. acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff FreeBSD may have some similar boot parameters. Lin Ming > > --HPS From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:38:00 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066E1106564A for ; Tue, 19 Oct 2010 06:38:00 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7B32E8FC12 for ; Tue, 19 Oct 2010 06:37:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o9J6bvu1018325; Tue, 19 Oct 2010 17:37:57 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 19 Oct 2010 17:37:57 +1100 (EST) From: Ian Smith To: rufina sarvarova In-Reply-To: Message-ID: <20101019173347.T9562@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:38:00 -0000 On Tue, 19 Oct 2010, rufina sarvarova wrote: > Date: Tue, 19 Oct 2010 09:39:44 +0400 > From: rufina sarvarova > To: freebsd-acpi@freebsd.org > Subject: Could not map memory > > Hello I can't help with your problem, but you posted this same message SEVEN times in a row to this list, all with the same original date/time. 4172 Oct 19 rufina sarvarova (4323) Could not map memory 4173 Oct 19 rufina sarvarova (4323) Could not map memory 4174 Oct 19 rufina sarvarova (4323) Could not map memory 4175 Oct 19 rufina sarvarova (4341) Could not map memory 4176 Oct 19 rufina sarvarova (4341) Could not map memory 4177 Oct 19 rufina sarvarova (4323) Could not map memory 4178 Oct 19 rufina sarvarova (4323) Could not map memory Please check and fix your gmail setup to avoid this happening again. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 06:40:55 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E51D106566B for ; Tue, 19 Oct 2010 06:40:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4A78FC08 for ; Tue, 19 Oct 2010 06:40:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o9J6eqnB018492; Tue, 19 Oct 2010 17:40:53 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 19 Oct 2010 17:40:52 +1100 (EST) From: Ian Smith To: rufina sarvarova In-Reply-To: <20101019173347.T9562@sola.nimnet.asn.au> Message-ID: <20101019173956.H9562@sola.nimnet.asn.au> References: <20101019173347.T9562@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 06:40:55 -0000 On Tue, 19 Oct 2010, Ian Smith wrote: > Please check and fix your gmail setup to avoid this happening again. Argh, sorry folks .. I meant to send that offlist :( From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 12:25:26 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD46E106564A for ; Tue, 19 Oct 2010 12:25:26 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBA08FC24 for ; Tue, 19 Oct 2010 12:25:25 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA08266; Tue, 19 Oct 2010 15:25:20 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CBD8E30.9090607@icyb.net.ua> Date: Tue, 19 Oct 2010 15:25:20 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Hans Petter Selasky References: <201010121209.06397.hselasky@c2i.net> <201010171547.56445.hselasky@c2i.net> <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> <201010182221.36745.hselasky@c2i.net> In-Reply-To: <201010182221.36745.hselasky@c2i.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 12:25:26 -0000 on 18/10/2010 23:21 Hans Petter Selasky said the following: > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: >> Can you send us the acpidump for the machine? >> >> Also, tell us which control method is failing. >> >> Thanks > > Hi, > > Please find attached dump of ACPI tables. > > It is the function AcpiRsCreateAmlResources() which writes beyond the buffer > it allocates. I guess that Robert meant AML method being executed when the problematic AcpiRsCreateAmlResources() call happens. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 12:27:49 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 885D31065693 for ; Tue, 19 Oct 2010 12:27:49 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D0E6A8FC08 for ; Tue, 19 Oct 2010 12:27:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA08315; Tue, 19 Oct 2010 15:27:32 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CBD8EB3.3070000@icyb.net.ua> Date: Tue, 19 Oct 2010 15:27:31 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Lin Ming , Hans Petter Selasky References: <201010121209.06397.hselasky@c2i.net> <201010171547.56445.hselasky@c2i.net> <4911F71203A09E4D9981D27F9D830858BBFA3B2F@orsmsx503.amr.corp.intel.com> <201010182221.36745.hselasky@c2i.net> <1287467222.6530.3067.camel@minggr.sh.intel.com> In-Reply-To: <1287467222.6530.3067.camel@minggr.sh.intel.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 12:27:49 -0000 on 19/10/2010 08:47 Lin Ming said the following: > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: >> On Monday 18 October 2010 02:01:09 Moore, Robert wrote: >>> Can you send us the acpidump for the machine? >>> >>> Also, tell us which control method is failing. >>> >>> Thanks >> >> Hi, >> >> Please find attached dump of ACPI tables. >> >> It is the function AcpiRsCreateAmlResources() which writes beyond the buffer >> it allocates. > > Could you enable AML debug output to get more info? > But I don't know how to enable it on FreeBSD. > > In Linux, the AML debug output is enabled with kernel boot parameters > like below. > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > FreeBSD may have some similar boot parameters. Yes, it's described in section 11.16.6 here: http://www.freebsd.org/doc/handbook/acpi-debug.html But amount of output will be huge, be prepared. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 12:28:28 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A9151065672 for ; Tue, 19 Oct 2010 12:28:28 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC388FC0C for ; Tue, 19 Oct 2010 12:28:26 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA08325; Tue, 19 Oct 2010 15:28:24 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CBD8EE8.2050308@icyb.net.ua> Date: Tue, 19 Oct 2010 15:28:24 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: rufina sarvarova References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 12:28:28 -0000 on 19/10/2010 08:39 rufina sarvarova said the following: > Hello > Actually I've noticed problem because all my usb devices aren't work. I've > googled that problem, but didn't find any good solution. > I found that all works well in linux and windows, but not at FreeBSD. > Now I have FreeBSD 8.1 > > So, after booting with verbose, I have: > > *dmesg* > ohci0: mem 0x80000000-0x80000fff irq 19 at device > 19.0 on pci0 > ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 51 > ohci0: [MPSAFE] > ohci0: [ITHREAD] > > usbus0: on ohci0 > ohci1: mem 0x80000000-0x80000fff irq 19 at device > 19.1 on pci0 > ohci1: Could not map memory > device_attach: ohci1 attach returned 6 > ehci0: mem 0x80000000-0x80000fff irq 19 at > device 19.2 on pci0 > ehci0: Could not map memory > device_attach: ehci0 attach returned 6 Some important information might be in the portions of verbose boot log that you didn't show us. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 12:52:56 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBBA0106566B; Tue, 19 Oct 2010 12:52:56 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 541698FC13; Tue, 19 Oct 2010 12:52:56 +0000 (UTC) Received: from [91.205.172.21] (helo=secure.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1P8BgU-0001Vu-Pf; Tue, 19 Oct 2010 14:52:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Tue, 19 Oct 2010 12:52:56 +0000 From: Bernhard Froehlich To: Jung-uk Kim In-Reply-To: <201010181333.29143.jkim@FreeBSD.org> References: <201010181333.29143.jkim@FreeBSD.org> Message-ID: <08905cd48f28787b5b3d36a4e75fb793@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.4 X-Spam-Score: -1.1 (-) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, 18 Oct 2010 13:33:26 -0400, Jung-uk Kim wrote: > On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: >> Hi guys! >> >> VirtualBox has a compile problem with latest acpica. I've talked to >> the VirtualBox developers and they think it's an acpica problem >> which should be fixed upstream. Can we somehow file a bugreport or >> create a patch to fix that in acpica? > > Excerpt rom ACPI 4.0a: > > > Each Compatible Device ID must be either: > > o A valid HID value (a 32-bit compressed EISA type ID or a string such > as "ACPI0004"). > o A string that uses a bus-specific nomenclature. For example, _CID > can be used to specify the PCI ID. > > > Since it is not a valid HID value, you can only say it may be a > bus-specific nomenclature at best. However, it looks like an ISA > device to me and probably it is just a bogus ID. In fact, I googled > a bit and it only exists on some Intel Mac models, it seems. You can > just remove the entire _CID unless it is absolutely necessary, which > is very unlikely. :-) [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.3 AWL AWL: From: address is in the auto white-list Cc: freebsd-acpi@FreeBSD.org, vbox@freebsd.org Subject: Re: VirtualBox: Compile problems with ACPICA 20101013 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 12:52:56 -0000 On Mon, 18 Oct 2010 13:33:26 -0400, Jung-uk Kim wrote: > On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: >> Hi guys! >> >> VirtualBox has a compile problem with latest acpica. I've talked to >> the VirtualBox developers and they think it's an acpica problem >> which should be fixed upstream. Can we somehow file a bugreport or >> create a patch to fix that in acpica? > > Excerpt rom ACPI 4.0a: > > --------------------------------------------------- > Each Compatible Device ID must be either: > > o A valid HID value (a 32-bit compressed EISA type ID or a string such > as "ACPI0004"). > o A string that uses a bus-specific nomenclature. For example, _CID > can be used to specify the PCI ID. > --------------------------------------------------- > > Since it is not a valid HID value, you can only say it may be a > bus-specific nomenclature at best. However, it looks like an ISA > device to me and probably it is just a bogus ID. In fact, I googled > a bit and it only exists on some Intel Mac models, it seems. You can > just remove the entire _CID unless it is absolutely necessary, which > is very unlikely. :-) It very much looks like a regression. Right beyond that sentences they have a few examples in the ACPI 4.0a spec on page 201 that won't pass that check. I haven't looked at all the code so probably it's done somewhere completely different but if it is checked with that code then it will complain. ACPI 4.0a spec on page 201: --------------------------------------------------- o A valid HID value (a 32-bit compressed EISA type ID or a string such as "ACPI0004"). o A string that uses a bus-specific nomenclature. For example, _CID can be used to specify the PCI ID. "PCI\CC_ccss" "PCI\CC_ccsspp" "PCI\VEN_vvvv&DEV_dddd&SUBSYS_ssssssss&REV_rr" .... --------------------------------------------------- Now with a deeper look at the commit from acpica [1] especially the second half. Before there was only an alphanumeric check for _HID but with that change it was put into a new function AnCheckId() that is called for both _HID and _CID and now wants both to be alphanumeric. That looks correct for _HID but it's too strict for _CID which is a string. Somewhere i've seen string is defined as a null-terminated ASCII string and no word about alphanumeric. [1] http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e >> Compile error: >> kBuild: iasl DevicesR3 - >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >>VBox/Devices/PC/vbox.dsl >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >>VBox/Devices/PC/vbox.dsl 736: Name (_CID, >> "smc-napa") >> Error 4001 - >> String must be entirely >> alphanumeric ^ (smc-napa) >> >> ASL Input: >> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/ >>VBox/Devices/PC/vbox.dsl - 1305 lines, 46193 bytes, 288 keywords >> Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 404 >> Optimizations >> >> >> I have found the commit that introduces this additional checks: >> http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e >>544c58df189c817f316c3b >> >> and here is the dsl file from virtualbox: >> http://www.virtualbox.org/browser/trunk/src/VBox/Devices/PC/vbox.ds >>l#L781 >> >> >> Thanks! -- Bernhard Froehlich http://www.bluelife.at/ From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 13:19:58 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D534210656AE for ; Tue, 19 Oct 2010 13:19:58 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [213.150.42.155]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4CA8FC28 for ; Tue, 19 Oct 2010 13:19:57 +0000 (UTC) Received: from tykburk.tyknet.cn.dom (1508891931.dhcp.dbnet.dk [89.239.221.27]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id 884F6638C49 for ; Tue, 19 Oct 2010 15:02:20 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.1.3 mail.tyknet.dk 884F6638C49 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1287493340; bh=kFg55LslLMofyVT6wI4E2i3LugJHrIsqIDmUyiEECiA=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=NLkKYZWMlgQoLHRfbx9ThbD1aoH2aqT1GF8xfn8IbMLie1Y0PqH3aaRkzRNqLPpfY DIeXcwemi5wm2xn5rCHbWMOsWbnRCfTjqmAATbDorleq80mIYj4ddcxC59yTUyc+kg SLl1CJq5ZgT0HGqYpOKIZlWCEWdZOlBt/c5NDBeg= Message-ID: <4CBD96DC.3060704@gibfest.dk> Date: Tue, 19 Oct 2010 13:02:20 +0000 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20101005 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FitPC2i hang on reboot X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 13:19:58 -0000 Hello acpi experts, I bought a FitPC2i, a small Atom based PC with an Intel US15W chipset. There is a PDF with the details of the hardware here: http://www.compulab.co.il/fitpc2i/download/fitpc2i-sb-man.pdf I installed the 201010 8-STABLE snapshot on it. The machine gets stuck when rebooting ("shutdown -r now" or "reboot"). The machine shuts down normally when I use "shutdown -p now", it is only rebooting that doesn't work. The machine hangs after the normal shutdown sequence after the message "cpu_reset: stopping other CPUs". I have to hold the power button for 5-6 seconds to turn it off, and then turn it on again. I am thinking this is an ACPI issue ? http://www.freebsd.org/doc/handbook/acpi-debug.html states to provide the following information from the system, but I can provide whatever needed, (including ssh access if neccesary): ------------------- Verbose dmesg begin -------------------------------- Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-STABLE-201010 #0: Thu Oct 7 14:52:21 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0fe2000. Preloaded elf module "/boot/kernel/if_run.ko" at 0xc0fe21ec. Preloaded elf module "/boot/kernel/runfw.ko" at 0xc0fe2298. Preloaded elf module "/boot/kernel/ichwd.ko" at 0xc0fe2344. Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1595999628 Hz CPU: Intel(R) Atom(TM) CPU Z530 @ 1.60GHz (1596.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106c2 Family = 6 Model = 1c Stepping = 2 Features=0xbfe9fbff Features2=0x40c3bd AMD Features=0x100000 AMD Features2=0x1 TSC: P-state invariant 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size L2 cache: 512 kbytes, 16-way associative, 64 bytes/line real memory = 2147483648 (2048 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000008efff, 581632 bytes (142 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000001026000 - 0x000000007d284fff, 2082861056 bytes (508511 pages) avail memory = 2081464320 (1985 MB) Table 'FACP' at 0x7f6bbdb0 Table 'HPET' at 0x7f6bbea4 Table 'MCFG' at 0x7f6bbedc Table 'TCPA' at 0x7f6bbf18 Table 'TMOR' at 0x7f6bbf4a Table 'APIC' at 0x7f6bbf70 APIC: Found table at 0x7f6bbf70 MP Configuration Table version 1.4 found at 0xc0090471 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 0: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 1: enabled SMP: Added CPU 1 (AP) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 x86bios: IVT 0x000000-0x0004ff at 0xc0000000 x86bios: SSEG 0x010000-0x01ffff at 0xc519d000 x86bios: EBDA 0x090000-0x09ffff at 0xc0090000 x86bios: ROM 0x0a0000-0x0effff at 0xc00a0000 APIC: CPU 0 has ACPI ID 0 APIC: CPU 1 has ACPI ID 1 bios32: Found BIOS32 Service Directory header at 0xc00f8580 bios32: Entry = 0xfdc70 (c00fdc70) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfdc70+0x21f pnpbios: Found PnP BIOS data at 0xc00f8620 pnpbios: Entry = f0000:c4fd Rev = 1.0 Other BIOS signatures found: ULE: setup cpu 0 ULE: setup cpu 1 ACPI: RSDP 0xf85d0 00024 (v02 PTLTD ) ACPI: XSDT 0x7f6b711d 00064 (v01 PTLTD ? XSDT 06040000 LTP 00000000) ACPI: FACP 0x7f6bbdb0 000F4 (v03 INTEL POULSBO 06040000 INTC 00000032) ACPI: DSDT 0x7f6b803a 03CF2 (v01 INTEL POULSBO 06040000 INTL 20050624) ACPI: FACS 0x7f6befc0 00040 ACPI: HPET 0x7f6bbea4 00038 (v01 INTEL POULSBO 06040000 INTC 00000032) ACPI: MCFG 0x7f6bbedc 0003C (v01 INTEL POULSBO 06040000 INTC 00000032) ACPI: TCPA 0x7f6bbf18 00032 (v01 PTLTD CALISTGA 06040000 PTL 00000001) ACPI: TMOR 0x7f6bbf4a 00026 (v01 PTLTD 06040000 PTL 00000003) ACPI: APIC 0x7f6bbf70 00068 (v01 PTLTD ? APIC 06040000 LTP 00000000) ACPI: BOOT 0x7f6bbfd8 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001) ACPI: SSDT 0x7f6b7181 004DC (v02 PmRef CpuPm 00003000 INTL 20050624) MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high lapic1: Routing NMI -> LINT1 lapic1: LINT1 trigger: edge lapic1: LINT1 polarity: high MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 CPU0: local APIC error 0x80 cmci: 0x00000000 wlan: <802.11 Link Layer> firmware: 'runfw' version 1: 8192 bytes loaded at 0xc0fda5dc null: random: nfslock: pseudo-device io: kbd: new array size 4 kbd1 at kbdmux0 mem: Pentium Pro MTRR support enabled ichwd module loaded hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 npx0: INT 16 interface acpi0: on motherboard PCIe: Memory Mapped configuration base @ 0xe0000000 pcibios: BIOS version 3.00 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] ACPI Error: Could not enable PowerButton event (20100331/evxfevnt-298) ACPI Warning: Could not enable fixed event 0x2 (20100331/evxface-235) acpi0: Power Button (fixed) acpi0: wakeup code va 0xc5197000 pa 0x1000 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.GFX0.IGDP -> bus 0 dev 2 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: \\_SB_.PCI0.LPCB.LPC0 -> bus 0 dev 31 func 0 ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 0/41 1/1 -> 9 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 ACPI: SSDT 0x7f6b7d21 00245 (v02 PmRef Cpu0Ist 00003000 INTL 20050624) ACPI: SSDT 0x7f6b765d 0063F (v02 PmRef Cpu0Cst 00003001 INTL 20050624) cpu1: on acpi0 ACPI: SSDT 0x7f6b7f66 000D4 (v02 PmRef Cpu1Ist 00003000 INTL 20050624) ACPI: SSDT 0x7f6b7c9c 00085 (v02 PmRef Cpu1Cst 00003000 INTL 20050624) acpi_ec0: port 0x62,0x66 on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 7 N 0 1 3 4 5 6 7 10 12 14 15 Validation 0 7 N 0 1 3 4 5 6 7 10 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 10 12 14 15 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 4 N 0 1 3 4 5 6 7 11 12 14 15 Validation 0 4 N 0 1 3 4 5 6 7 11 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 11 12 14 15 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 3 N 0 1 3 4 5 6 7 10 12 14 15 Validation 0 3 N 0 1 3 4 5 6 7 10 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 10 12 14 15 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 5 N 0 1 3 4 5 6 7 11 12 14 15 Validation 0 5 N 0 1 3 4 5 6 7 11 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 11 12 14 15 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 1 3 4 5 6 7 10 12 14 15 Validation 0 255 N 0 1 3 4 5 6 7 10 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 10 12 14 15 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 1 3 4 5 6 7 11 12 14 15 Validation 0 11 N 0 1 3 4 5 6 7 11 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 11 12 14 15 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 1 3 4 5 6 7 10 12 14 15 Validation 0 10 N 0 1 3 4 5 6 7 10 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 10 12 14 15 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 1 3 4 5 6 7 11 12 14 15 Validation 0 255 N 0 1 3 4 5 6 7 11 12 14 15 After Disable 0 255 N 0 1 3 4 5 6 7 11 12 14 15 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 acpi_hpet0: vend: 0x8086 rev: 0x1 num: 3 hz: 14318180 opts: legacy_route 64-bit Timecounter "HPET" frequency 14318180 Hz quality 900 acpi_acad0: on acpi0 battery0: on acpi0 battery1: on acpi0 battery2: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x8086, dev=0x8100, revid=0x07 domain=0, bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x8108, revid=0x07 domain=0, bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message map[10]: type Memory, range 32, base 0xd8080000, size 19, enabled map[14]: type I/O Port, range 32, base 0x1800, size 3, enabled map[18]: type Memory, range 32, base 0xd0000000, size 27, enabled map[1c]: type Memory, range 32, base 0xd8000000, size 17, enabled pcib0: matched entry for 0.2.INTA pcib0: slot 2 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x8110, revid=0x07 domain=0, bus=0, slot=28, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) intpin=a, irq=4 powerspec 2 supports D0 D3 current D0 pcib0: matched entry for 0.28.INTA pcib0: slot 28 INTA hardwired to IRQ 17 found-> vendor=0x8086, dev=0x8112, revid=0x07 domain=0, bus=0, slot=28, func=1 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) intpin=b, irq=7 powerspec 2 supports D0 D3 current D0 pcib0: matched entry for 0.28.INTB pcib0: slot 28 INTB hardwired to IRQ 16 found-> vendor=0x8086, dev=0x8114, revid=0x07 domain=0, bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0008, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 map[20]: type I/O Port, range 32, base 0x1820, size 5, enabled pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1820 found-> vendor=0x8086, dev=0x8115, revid=0x07 domain=0, bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=5 map[20]: type I/O Port, range 32, base 0x1840, size 5, enabled pcib0: matched entry for 0.29.INTB pcib0: slot 29 INTB hardwired to IRQ 19 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1840 found-> vendor=0x8086, dev=0x8116, revid=0x07 domain=0, bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 map[20]: type I/O Port, range 32, base 0x1860, size 5, enabled pcib0: matched entry for 0.29.INTC pcib0: slot 29 INTC hardwired to IRQ 18 unknown: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1860 found-> vendor=0x8086, dev=0x8117, revid=0x07 domain=0, bus=0, slot=29, func=7 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xd8020000, size 10, enabled pcib0: matched entry for 0.29.INTD pcib0: slot 29 INTD hardwired to IRQ 21 unknown: Reserved 0x400 bytes for rid 0x10 type 3 at 0xd8020000 found-> vendor=0x8086, dev=0x811c, revid=0x07 domain=0, bus=0, slot=30, func=0 class=08-05-01, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 map[10]: type Memory, range 32, base 0xd8020400, size 8, enabled pcib0: matched entry for 0.30.INTA pcib0: slot 30 INTA hardwired to IRQ 22 found-> vendor=0x8086, dev=0x811d, revid=0x07 domain=0, bus=0, slot=30, func=1 class=08-05-01, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=11 map[10]: type Memory, range 32, base 0xd8020800, size 8, enabled pcib0: matched entry for 0.30.INTB pcib0: slot 30 INTB hardwired to IRQ 20 found-> vendor=0x8086, dev=0x811e, revid=0x07 domain=0, bus=0, slot=30, func=2 class=08-05-01, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 map[10]: type Memory, range 32, base 0xd8020c00, size 8, enabled pcib0: matched entry for 0.30.INTC pcib0: slot 30 INTC hardwired to IRQ 18 found-> vendor=0x8086, dev=0x8119, revid=0x07 domain=0, bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0003, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x811a, revid=0x07 domain=0, bus=0, slot=31, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type I/O Port, range 32, base 0x1810, size 4, enabled vgapci0: port 0x1800-0x1807 mem 0xd8080000-0xd80fffff,0xd0000000-0xd7ffffff,0xd8000000-0xd801ffff irq 16 at device 2.0 on pci0 pcib1: irq 17 at device 28.0 on pci0 pcib1: domain 0 pcib1: secondary bus 2 pcib1: subordinate bus 2 pcib1: I/O decode 0x2000-0x2fff pcib1: memory decode 0xd8100000-0xd81fffff pcib1: prefetched decode 0xd8500000-0xd85fffff pci2: on pcib1 pci2: domain=0, physical bus=2 found-> vendor=0x10ec, dev=0x8168, revid=0x02 domain=0, bus=2, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 1 message, 64 bit MSI-X supports 2 messages in map 0x20 map[10]: type I/O Port, range 32, base 0x2000, size 8, enabled pcib1: requested I/O range 0x2000-0x20ff: in range map[18]: type Memory, range 64, base 0xd8100000, size 12, enabled pcib1: requested memory range 0xd8100000-0xd8100fff: good map[20]: type Prefetchable Memory, range 64, base 0xd8500000, size 16, enabled pcib1: requested memory range 0xd8500000-0xd850ffff: good pcib1: matched entry for 2.0.INTA pcib1: slot 0 INTA hardwired to IRQ 16 re0: port 0x2000-0x20ff mem 0xd8100000-0xd8100fff,0xd8500000-0xd850ffff irq 16 at device 0.0 on pci2 re0: Reserved 0x1000 bytes for rid 0x18 type 3 at 0xd8100000 re0: MSI count : 1 re0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 49 re0: using IRQ 256 for MSI re0: Using 1 MSI messages re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: bpf attached re0: Ethernet address: 00:01:c0:08:25:1f re0: [MPSAFE] re0: [FILTER] pcib2: irq 16 at device 28.1 on pci0 pcib2: domain 0 pcib2: secondary bus 3 pcib2: subordinate bus 3 pcib2: I/O decode 0x3000-0x3fff pcib2: memory decode 0xd8200000-0xd82fffff pcib2: prefetched decode 0xd8600000-0xd86fffff pci3: on pcib2 pci3: domain=0, physical bus=3 found-> vendor=0x10ec, dev=0x8168, revid=0x02 domain=0, bus=3, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=4 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 1 message, 64 bit MSI-X supports 2 messages in map 0x20 map[10]: type I/O Port, range 32, base 0x3000, size 8, enabled pcib2: requested I/O range 0x3000-0x30ff: in range map[18]: type Memory, range 64, base 0xd8200000, size 12, enabled pcib2: requested memory range 0xd8200000-0xd8200fff: good map[20]: type Prefetchable Memory, range 64, base 0xd8600000, size 16, enabled pcib2: requested memory range 0xd8600000-0xd860ffff: good pcib2: matched entry for 3.0.INTA pcib2: slot 0 INTA hardwired to IRQ 17 re1: port 0x3000-0x30ff mem 0xd8200000-0xd8200fff,0xd8600000-0xd860ffff irq 17 at device 0.0 on pci3 re1: Reserved 0x1000 bytes for rid 0x18 type 3 at 0xd8200000 re1: MSI count : 1 re1: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 257 to local APIC 0 vector 50 re1: using IRQ 257 for MSI re1: Using 1 MSI messages re1: Chip rev. 0x3c000000 re1: MAC rev. 0x00400000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: bpf attached re1: Ethernet address: 00:01:c0:08:25:20 re1: [MPSAFE] re1: [FILTER] uhci0: port 0x1820-0x183f irq 23 at device 29.0 on pci0 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 51 uhci0: [MPSAFE] uhci0: [ITHREAD] uhci0: LegSup = 0x0000 usbus0: on uhci0 uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 52 uhci1: [MPSAFE] uhci1: [ITHREAD] uhci1: LegSup = 0x0000 usbus1: on uhci1 uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 53 uhci2: [MPSAFE] uhci2: [ITHREAD] uhci2: LegSup = 0x0000 usbus2: on uhci2 ehci0: mem 0xd8020000-0xd80203ff irq 21 at device 29.7 on pci0 ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 0 vector 54 ehci0: [MPSAFE] ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 pci0: at device 30.0 (no driver attached) pci0: at device 30.1 (no driver attached) pci0: at device 30.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1810 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 55 ata0: [MPSAFE] ata0: [ITHREAD] acpi_tz0: on acpi0 acpi_tz1: on acpi0 atrtc0: port 0x70-0x73 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock (resolution 1000000us) uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 0 vector 56 uart0: [FILTER] uart0: fast interrupt unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff ex_isa_identify() pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete isa_probe_children: disabling PnP devices pmtimer0 on isa0 ata: ata0 already exists; skipping it atrtc: atrtc0 already exists; skipping it sc: sc0 already exists; skipping it uart: uart0 already exists; skipping it isa_probe_children: probing non-PnP devices orm0: at iomem 0xce800-0xcf7ff,0xcf800-0xd07ff,0xe0000-0xe17ff pnpid ORM0000 on isa0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata1 failed to probe at port 0x170 irq 15 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 57 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: current command byte:0067 psm0: failed to reset the aux device. fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ppc0: parallel port not found. ppc0: failed to probe at irq 7 on isa0 uart1: failed to probe at port 0x2f8-0x2ff irq 3 on isa0 isa_probe_children: probing PnP devices est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Device configuration finished. procfs registered lapic: Divisor 2, Frequency 66500002 Hz Timecounter "TSC" frequency 1595999628 Hz quality -100 Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached hptrr: no controller detected. ata0: Identifying devices: 00000001 ata0: New devices: 00000001 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: setting UDMA33 ad0: 30533MB at ata0-master UDMA33 ad0: 62533296 sectors [62037C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 acpi_acad0: acline initialization startad0: Intel check1 failed ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times battery0: battery initialization start battery1: battery initialization start battery2: battery initialization start ad0: Adaptec check1 failed ad0: LSI (v3) check1 failed ad0: LSI (v2) check1 failed ad0: FreeBSD check1 failed ATA PseudoRAID loaded SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000200ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x00000000 CPU1: local APIC error 0x80 Root mount waiting for: usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus3 Root mount waiting for: usbus3 Root mount waiting for: usbus3 uhub3: 8 ports with 8 removable, self powered ugen3.2: at usbus3 run0: <1.0> on usbus3 Root mount waiting for: usbus3 run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 00:0d:f0:8d:4d:23 run0: firmware RT2870 loaded run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Trying to mount root from ufs:/dev/ad0s1a ct_to_ts([2010-10-19 14:33:27]) = 1287498807.000000000 start_init: trying /sbin/init lagg0: bpf attached lagg0.20: bpf attached lagg0.30: bpf attached lagg0.100: bpf attached lagg0.200: bpf attached lagg0.255: bpf attached ------------------- dmesg end -------------------------------- sysctl hw.acpi. output: hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.acline: 1 hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 3 hw.acpi.battery.info_expire: 5 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 0.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 127.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: -1 hw.acpi.thermal.tz1.temperature: 0.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 1 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 95.0C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 95.0C hw.acpi.thermal.tz1._ACx: 55.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1._TC1: 0 hw.acpi.thermal.tz1._TC2: 10 hw.acpi.thermal.tz1._TSP: 2 acpidump -dt ASL file can be downloaded at: http://www.gibfest.dk/tykling-fitpc2i.asl Please let me know if you want me to create a PR for this problem. Best regards and thank you, Thomas Steen Rasmussen ps. the ichwd module you can see being loaded in there is me trying to workaround this issue by playing with the hardware watchdog, but I don't think this chipset is supported by ichwd. From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 15:31:26 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 27D771065675; Tue, 19 Oct 2010 15:31:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Tue, 19 Oct 2010 11:31:00 -0400 User-Agent: KMail/1.6.2 References: <201010181333.29143.jkim@FreeBSD.org> <08905cd48f28787b5b3d36a4e75fb793@bluelife.at> In-Reply-To: <08905cd48f28787b5b3d36a4e75fb793@bluelife.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010191131.16732.jkim@FreeBSD.org> Cc: vbox@freebsd.org, Bernhard Froehlich Subject: Re: VirtualBox: Compile problems with ACPICA 20101013 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 15:31:26 -0000 On Tuesday 19 October 2010 08:52 am, Bernhard Froehlich wrote: > On Mon, 18 Oct 2010 13:33:26 -0400, Jung-uk Kim > > wrote: > > On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: > >> Hi guys! > >> > >> VirtualBox has a compile problem with latest acpica. I've talked > >> to the VirtualBox developers and they think it's an acpica > >> problem which should be fixed upstream. Can we somehow file a > >> bugreport or create a patch to fix that in acpica? > > > > Excerpt rom ACPI 4.0a: > > > > --------------------------------------------------- > > Each Compatible Device ID must be either: > > > > o A valid HID value (a 32-bit compressed EISA type ID or a string > > such as "ACPI0004"). > > o A string that uses a bus-specific nomenclature. For example, > > _CID can be used to specify the PCI ID. > > --------------------------------------------------- > > > > Since it is not a valid HID value, you can only say it may be a > > bus-specific nomenclature at best. However, it looks like an ISA > > device to me and probably it is just a bogus ID. In fact, I > > googled a bit and it only exists on some Intel Mac models, it > > seems. You can just remove the entire _CID unless it is > > absolutely necessary, which is very unlikely. :-) > > It very much looks like a regression. Right beyond that sentences > they have a few examples in the ACPI 4.0a spec on page 201 that > won't pass that check. I haven't looked at all the code so probably > it's done somewhere completely different but if it is checked with > that code then it will complain. > > ACPI 4.0a spec on page 201: > --------------------------------------------------- > o A valid HID value (a 32-bit compressed EISA type ID or a string > such as "ACPI0004"). > o A string that uses a bus-specific nomenclature. For example, > _CID can be used to specify the PCI ID. > > "PCI\CC_ccss" > "PCI\CC_ccsspp" > "PCI\VEN_vvvv&DEV_dddd&SUBSYS_ssssssss&REV_rr" > .... > --------------------------------------------------- > > Now with a deeper look at the commit from acpica [1] especially the > second half. Before there was only an alphanumeric check for _HID > but with that change it was put into a new function AnCheckId() > that is called for both _HID and _CID and now wants both to be > alphanumeric. That looks correct for _HID but it's too strict for > _CID which is a string. Somewhere i've seen string is defined as a > null-terminated ASCII string and no word about alphanumeric. > > [1] > http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e Yes, I am aware of the issue. My point was _CID may be pointless for *VirtualBox* and it can be removed. Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 16:54:48 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606FD106566C for ; Tue, 19 Oct 2010 16:54:48 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A7EC78FC12 for ; Tue, 19 Oct 2010 16:54:47 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA12497; Tue, 19 Oct 2010 19:54:40 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CBDCD50.90906@icyb.net.ua> Date: Tue, 19 Oct 2010 19:54:40 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: rufina sarvarova References: <4CBD8EE8.2050308@icyb.net.ua> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org Subject: Re: Could not map memory X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 16:54:48 -0000 [restored mailing list cc] on 19/10/2010 19:33 rufina sarvarova said the following: > found-> vendor=0x1002, dev=0x4374, revid=0x80 > domain=0, bus=0, slot=19, func=0 > class=0c-03-10, hdrtype=0x00, mfdev=1 > cmdreg=0x0000, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=11 > MSI supports 1 message > map[10]: type Memory, range 32, base 0, size 12, memory disabled ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > pcib0: matched entry for 0.19.INTA > pcib0: slot 19 INTA hardwired to IRQ 19 > unknown: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 > unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80000000 > found-> vendor=0x1002, dev=0x4375, revid=0x80 > domain=0, bus=0, slot=19, func=1 > class=0c-03-10, hdrtype=0x00, mfdev=0 > cmdreg=0x0000, statreg=0x02a0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=11 > map[10]: type Memory, range 32, base 0, size 12, memory disabled ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > pcib0: matched entry for 0.19.INTA > pcib0: slot 19 INTA hardwired to IRQ 19 > unknown: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 > unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80000000 > found-> vendor=0x1002, dev=0x4373, revid=0x80 > domain=0, bus=0, slot=19, func=2 > class=0c-03-20, hdrtype=0x00, mfdev=0 > cmdreg=0x0000, statreg=0x02b0, cachelnsz=16 (dwords) > lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=11 > powerspec 2 supports D0 D1 D2 D3 current D0 > MSI supports 1 message > map[10]: type Memory, range 32, base 0, size 12, memory disabled ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > pcib0: matched entry for 0.19.INTA > pcib0: slot 19 INTA hardwired to IRQ 19 > unknown: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 > unknown: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80000000 > ehci early: SMM active, request owner change > ehci early: SMM does not respond I think that the problem is in underlined lines. Your BIOS hasn't configured BARs for USB devices for some reason and unfortunately FreeBSD wasn't smart enough to do it correctly without assistance from BIOS. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 19 17:16:25 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 051931065694 for ; Tue, 19 Oct 2010 17:16:25 +0000 (UTC) (envelope-from judmarc@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id C8E4E8FC15 for ; Tue, 19 Oct 2010 17:16:24 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 4A6B1222; Tue, 19 Oct 2010 12:56:36 -0400 (EDT) Received: from web3.messagingengine.com ([10.202.2.213]) by compute1.internal (MEProxy); Tue, 19 Oct 2010 12:56:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:cc:mime-version:content-transfer-encoding:content-type:subject:date; s=smtpout; bh=bZFAQ6tlIGrKmZf4u/7dBnvxAcg=; b=cc926BV4UmknO4/IZZl1irpQFXLL4DNR1nR4CWrzYNClyH0hopwHFA9nUZ+w+bH+NPRzlOQN/0BijcoqxwkbhUVLg/d190yrC1a1O+mdDg1Zsffc9RXsTFCM2M00bP5oI0MNXuvxxgHFLUSiWHvhCT1ieDqCzefuUBBiRmN0FTs= Received: by web3.messagingengine.com (Postfix, from userid 99) id 28EF88E3579; Tue, 19 Oct 2010 12:56:36 -0400 (EDT) Message-Id: <1287507396.10392.1400870553@webmail.messagingengine.com> X-Sasl-Enc: Wkl/Dq//dpzfXDf8H9JjCk3dMq9PD0EnBXkMONrYVdR/ 1287507396 From: "Jud" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Date: Tue, 19 Oct 2010 12:56:36 -0400 Cc: Subject: Installation on MacBookPro 5,5 (was MacBookPro 5,1) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 17:16:25 -0000 Just subscribed to list, so pardon my screwing up msg threading. I would like to install FreeBSD on my MacBook Pro 5,5. Attempting to install from DVD isos of -CURRENT and -STABLE snapshots results in panic right after the initial menu. (I believe these snapshots are 14 Oct or thereabouts - sorry, behind a firewall and without FTP access ATM.) HPS's remark about memory used after free sounds like what I remember of the message re the panic. Should using the OsdMemory.c patch from HPS's October 12th email and rolling my own install iso from -CURRENT result in a working install iso on my hardware, or are there additional problems? Thanks, Jud -- "I'd take the awe of understanding over the awe of ignorance any day." - Douglas Adams From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 06:33:15 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD331065673 for ; Wed, 20 Oct 2010 06:33:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 3632D8FC0C for ; Wed, 20 Oct 2010 06:33:14 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5OBHFxb9I47YZ7HELXzI6cL6pwPTRnd5uxbD1DPQ4WY= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=0Dku86sYct3FgqH7JZoA:9 a=jgtJnqrEhT4wqK3aQVv2QJdXpZIA:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 37209436; Wed, 20 Oct 2010 08:33:13 +0200 From: Hans Petter Selasky To: Lin Ming Date: Wed, 20 Oct 2010 08:34:28 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010182221.36745.hselasky@c2i.net> <1287467222.6530.3067.camel@minggr.sh.intel.com> In-Reply-To: <1287467222.6530.3067.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010200834.28444.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 06:33:16 -0000 On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > Can you send us the acpidump for the machine? > > > > > > Also, tell us which control method is failing. > > > > > > Thanks > > > > Hi, > > > > Please find attached dump of ACPI tables. > > > > It is the function AcpiRsCreateAmlResources() which writes beyond the > > buffer it allocates. > > Could you enable AML debug output to get more info? > But I don't know how to enable it on FreeBSD. > > In Linux, the AML debug output is enabled with kernel boot parameters > like below. > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > FreeBSD may have some similar boot parameters. I've enabled the debug prints just around the failing function. Here is the result: pcib0: on acpi0 pci0: on pcib0 pci_link32: Enter debugger **** Context Switch from TID 0xffffffffffffffff to TID 0x186a0 **** rscalc-0293 [0x186a0] [188762] RsGetAmlLength : ----Entry rscalc-0369 [0x186a0] [188762] RsGetAmlLength : ----Exit- AE_OK rslist-0225 [0x186a0] [188762] RsConvertResourcesToAm: ----Entry rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK rslist-0273 [0x186a0] [188762] RsConvertResourcesToAm: ----Exit- AE_OK rscreate-0554 [0x186a0] [188761] RsCreateAmlResources : OutputBuffer 0xffffff00031f9000 Length D Dirty free 0xffffff00031f9000 13 at 13 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a AcpiOsFree() at AcpiOsFree+0x72 AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x335 AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0x188 AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x6e AcpiUtRemoveReference() at AcpiUtRemoveReference+0xd5 AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0x14b AcpiSetCurrentResources() at AcpiSetCurrentResources+0xb8 acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x46b pci_assign_interrupt() at pci_assign_interrupt+0x1c3 pci_add_resources() at pci_add_resources+0x14a pci_add_children() at pci_add_children+0x10e acpi_pci_attach() at acpi_pci_attach+0xcd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x20e acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x280 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xaa6 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x59 btext() at btext+0x2c --HPS From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 06:39:26 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA22106564A for ; Wed, 20 Oct 2010 06:39:26 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF6F8FC19 for ; Wed, 20 Oct 2010 06:39:26 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 19 Oct 2010 23:39:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,354,1283756400"; d="scan'208";a="565675299" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by orsmga002.jf.intel.com with ESMTP; 19 Oct 2010 23:39:24 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <201010200834.28444.hselasky@c2i.net> References: <201010121209.06397.hselasky@c2i.net> <201010182221.36745.hselasky@c2i.net> <1287467222.6530.3067.camel@minggr.sh.intel.com> <201010200834.28444.hselasky@c2i.net> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Oct 2010 14:36:31 +0800 Message-ID: <1287556591.6530.3071.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 06:39:26 -0000 On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > Can you send us the acpidump for the machine? > > > > > > > > Also, tell us which control method is failing. > > > > > > > > Thanks > > > > > > Hi, > > > > > > Please find attached dump of ACPI tables. > > > > > > It is the function AcpiRsCreateAmlResources() which writes beyond the > > > buffer it allocates. > > > > Could you enable AML debug output to get more info? > > But I don't know how to enable it on FreeBSD. > > > > In Linux, the AML debug output is enabled with kernel boot parameters > > like below. > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > FreeBSD may have some similar boot parameters. > > I've enabled the debug prints just around the failing function. Here is the > result: What's the kernel parameters are you using? There should be a lot of AML debug output. Lin Ming > > pcib0: on acpi0 > pci0: on pcib0 > pci_link32: Enter debugger > > **** Context Switch from TID 0xffffffffffffffff to TID 0x186a0 **** > > rscalc-0293 [0x186a0] [188762] RsGetAmlLength : ----Entry > rscalc-0369 [0x186a0] [188762] RsGetAmlLength : ----Exit- AE_OK > rslist-0225 [0x186a0] [188762] RsConvertResourcesToAm: ----Entry > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > rslist-0273 [0x186a0] [188762] RsConvertResourcesToAm: ----Exit- AE_OK > rscreate-0554 [0x186a0] [188761] RsCreateAmlResources : OutputBuffer > 0xffffff00031f9000 Length D > Dirty free 0xffffff00031f9000 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x72 > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x335 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0x188 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x6e > AcpiUtRemoveReference() at AcpiUtRemoveReference+0xd5 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0x14b > AcpiSetCurrentResources() at AcpiSetCurrentResources+0xb8 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x46b > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x20e > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x280 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xaa6 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > > --HPS From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 06:55:17 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B31E106566B for ; Wed, 20 Oct 2010 06:55:17 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C88698FC1D for ; Wed, 20 Oct 2010 06:55:16 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA22593; Wed, 20 Oct 2010 09:55:11 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1P8SZq-0004Tj-ND; Wed, 20 Oct 2010 09:55:10 +0300 Message-ID: <4CBE924D.6020306@icyb.net.ua> Date: Wed, 20 Oct 2010 09:55:09 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Hans Petter Selasky References: <201010121209.06397.hselasky@c2i.net> <201010182221.36745.hselasky@c2i.net> <1287467222.6530.3067.camel@minggr.sh.intel.com> <201010200834.28444.hselasky@c2i.net> In-Reply-To: <201010200834.28444.hselasky@c2i.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 06:55:17 -0000 on 20/10/2010 09:34 Hans Petter Selasky said the following: > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: >> On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: >>> On Monday 18 October 2010 02:01:09 Moore, Robert wrote: >>>> Can you send us the acpidump for the machine? >>>> >>>> Also, tell us which control method is failing. >>>> >>>> Thanks >>> >>> Hi, >>> >>> Please find attached dump of ACPI tables. >>> >>> It is the function AcpiRsCreateAmlResources() which writes beyond the >>> buffer it allocates. >> >> Could you enable AML debug output to get more info? >> But I don't know how to enable it on FreeBSD. >> >> In Linux, the AML debug output is enabled with kernel boot parameters >> like below. >> acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff >> >> FreeBSD may have some similar boot parameters. > > I've enabled the debug prints just around the failing function. Here is the > result: > > pcib0: on acpi0 > pci0: on pcib0 > pci_link32: Enter debugger > > **** Context Switch from TID 0xffffffffffffffff to TID 0x186a0 **** > > rscalc-0293 [0x186a0] [188762] RsGetAmlLength : ----Entry > rscalc-0369 [0x186a0] [188762] RsGetAmlLength : ----Exit- AE_OK > rslist-0225 [0x186a0] [188762] RsConvertResourcesToAm: ----Entry > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > rslist-0273 [0x186a0] [188762] RsConvertResourcesToAm: ----Exit- AE_OK > rscreate-0554 [0x186a0] [188761] RsCreateAmlResources : OutputBuffer > 0xffffff00031f9000 Length D > Dirty free 0xffffff00031f9000 13 at 13 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > AcpiOsFree() at AcpiOsFree+0x72 > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x335 > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0x188 > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x6e > AcpiUtRemoveReference() at AcpiUtRemoveReference+0xd5 > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0x14b > AcpiSetCurrentResources() at AcpiSetCurrentResources+0xb8 > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 Can you please check which branch is executed here? if (sc->pl_crs_bad) status = acpi_pci_link_srs_from_links(sc, &srsbuf); else status = acpi_pci_link_srs_from_crs(sc, &srsbuf); > acpi_pci_link_route_interrupt() at acpi_pci_link_route_interrupt+0x1a9 > acpi_pcib_route_interrupt() at acpi_pcib_route_interrupt+0x46b > pci_assign_interrupt() at pci_assign_interrupt+0x1c3 > pci_add_resources() at pci_add_resources+0x14a > pci_add_children() at pci_add_children+0x10e > acpi_pci_attach() at acpi_pci_attach+0xcd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x20e > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x280 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0xaa6 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > nexus_acpi_attach() at nexus_acpi_attach+0x69 > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd6 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > > --HPS -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 07:49:41 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C214E106564A for ; Wed, 20 Oct 2010 07:49:41 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 20ACF8FC14 for ; Wed, 20 Oct 2010 07:49:40 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=omSrwDgyMf70S47Fr5SNr0rQzcmIOo0IafWlB/wSLLo= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=Yd3dI0rivl6lvPm9YwIA:9 a=sULPxtJSYouQR3f0qMH0EE9vqbgA:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38262447; Wed, 20 Oct 2010 09:49:39 +0200 From: Hans Petter Selasky To: Andriy Gapon Date: Wed, 20 Oct 2010 09:50:53 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010200834.28444.hselasky@c2i.net> <4CBE924D.6020306@icyb.net.ua> In-Reply-To: <4CBE924D.6020306@icyb.net.ua> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010200950.53827.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 07:49:41 -0000 On Wednesday 20 October 2010 08:55:09 Andriy Gapon wrote: > on 20/10/2010 09:34 Hans Petter Selasky said the following: > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > >> On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > >>> On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > >>>> Can you send us the acpidump for the machine? > >>>> > >>>> Also, tell us which control method is failing. > >>>> > >>>> Thanks > >>> > >>> Hi, > >>> > >>> Please find attached dump of ACPI tables. > >>> > >>> It is the function AcpiRsCreateAmlResources() which writes beyond the > >>> buffer it allocates. > >> > >> Could you enable AML debug output to get more info? > >> But I don't know how to enable it on FreeBSD. > >> > >> In Linux, the AML debug output is enabled with kernel boot parameters > >> like below. > >> acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > >> > >> FreeBSD may have some similar boot parameters. > > > > I've enabled the debug prints just around the failing function. Here is > > the result: > > > > pcib0: on acpi0 > > pci0: on pcib0 > > pci_link32: Enter debugger > > > > **** Context Switch from TID 0xffffffffffffffff to TID 0x186a0 **** > > > > rscalc-0293 [0x186a0] [188762] RsGetAmlLength : ----Entry > > rscalc-0369 [0x186a0] [188762] RsGetAmlLength : ----Exit- AE_OK > > rslist-0225 [0x186a0] [188762] RsConvertResourcesToAm: ----Entry > > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > > rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry > > rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK > > rslist-0273 [0x186a0] [188762] RsConvertResourcesToAm: ----Exit- AE_OK > > > > rscreate-0554 [0x186a0] [188761] RsCreateAmlResources : OutputBuffer > > 0xffffff00031f9000 Length D > > Dirty free 0xffffff00031f9000 13 at 13 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > > AcpiOsFree() at AcpiOsFree+0x72 > > AcpiUtDeleteInternalObj() at AcpiUtDeleteInternalObj+0x335 > > AcpiUtUpdateRefCount() at AcpiUtUpdateRefCount+0x188 > > AcpiUtUpdateObjectReference() at AcpiUtUpdateObjectReference+0x6e > > AcpiUtRemoveReference() at AcpiUtRemoveReference+0xd5 > > AcpiRsSetSrsMethodData() at AcpiRsSetSrsMethodData+0x14b > > AcpiSetCurrentResources() at AcpiSetCurrentResources+0xb8 > > acpi_pci_link_route_irqs() at acpi_pci_link_route_irqs+0x204 > > Can you please check which branch is executed here? > if (sc->pl_crs_bad) > status = acpi_pci_link_srs_from_links(sc, &srsbuf); > else > status = acpi_pci_link_srs_from_crs(sc, &srsbuf); The not bad case. --HPS From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 08:05:28 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BA98106566B for ; Wed, 20 Oct 2010 08:05:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id EB9EA8FC0C for ; Wed, 20 Oct 2010 08:05:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=yevn+QCjI6xy199BDvBOOiO14qYvyLq62he9tTtU3M8= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=sOHWQ4URqlb3VPgEtxAA:9 a=3N-XoIwK-JRm56w908A1i1TVTsQA:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 37422322; Wed, 20 Oct 2010 10:05:26 +0200 From: Hans Petter Selasky To: Lin Ming Date: Wed, 20 Oct 2010 10:06:41 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <201010200834.28444.hselasky@c2i.net> <1287556591.6530.3071.camel@minggr.sh.intel.com> In-Reply-To: <1287556591.6530.3071.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010201006.41112.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 08:05:28 -0000 On Wednesday 20 October 2010 08:36:31 Lin Ming wrote: > On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > > Can you send us the acpidump for the machine? > > > > > > > > > > Also, tell us which control method is failing. > > > > > > > > > > Thanks > > > > > > > > Hi, > > > > > > > > Please find attached dump of ACPI tables. > > > > > > > > It is the function AcpiRsCreateAmlResources() which writes beyond the > > > > buffer it allocates. > > > > > > Could you enable AML debug output to get more info? > > > But I don't know how to enable it on FreeBSD. > > > > > > In Linux, the AML debug output is enabled with kernel boot parameters > > > like below. > > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > > > FreeBSD may have some similar boot parameters. > > > > I've enabled the debug prints just around the failing function. Here is > > the > > > result: > What's the kernel parameters are you using? > There should be a lot of AML debug output. Hi, During the function call that overwrites it's buffer, there are no more debug prints than shown in the code, even with all debug prints on. Where should I add more debug prints? --HPS From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 20 11:18:51 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A270106564A for ; Wed, 20 Oct 2010 11:18:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 71C6F8FC14 for ; Wed, 20 Oct 2010 11:18:50 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA28142; Wed, 20 Oct 2010 14:18:45 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4CBED015.8020000@icyb.net.ua> Date: Wed, 20 Oct 2010 14:18:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Hans Petter Selasky References: <201010121209.06397.hselasky@c2i.net> <201010200834.28444.hselasky@c2i.net> <1287556591.6530.3071.camel@minggr.sh.intel.com> <201010201006.41112.hselasky@c2i.net> In-Reply-To: <201010201006.41112.hselasky@c2i.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 11:18:51 -0000 on 20/10/2010 11:06 Hans Petter Selasky said the following: > During the function call that overwrites it's buffer, there are no more debug > prints than shown in the code, even with all debug prints on. Where should I > add more debug prints? Maybe there are some useful messages right before the call? -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 03:42:25 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EFBE106564A for ; Thu, 21 Oct 2010 03:42:25 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by mx1.freebsd.org (Postfix) with ESMTP id EBFF68FC0A for ; Thu, 21 Oct 2010 03:42:24 +0000 (UTC) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 20 Oct 2010 20:42:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,214,1286175600"; d="scan'208";a="338621744" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by azsmga001.ch.intel.com with ESMTP; 20 Oct 2010 20:42:23 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <201010201006.41112.hselasky@c2i.net> References: <201010121209.06397.hselasky@c2i.net> <201010200834.28444.hselasky@c2i.net> <1287556591.6530.3071.camel@minggr.sh.intel.com> <201010201006.41112.hselasky@c2i.net> Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Oct 2010 11:39:20 +0800 Message-ID: <1287632360.6530.3103.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 03:42:25 -0000 On Wed, 2010-10-20 at 16:06 +0800, Hans Petter Selasky wrote: > On Wednesday 20 October 2010 08:36:31 Lin Ming wrote: > > On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > > > Can you send us the acpidump for the machine? > > > > > > > > > > > > Also, tell us which control method is failing. > > > > > > > > > > > > Thanks > > > > > > > > > > Hi, > > > > > > > > > > Please find attached dump of ACPI tables. > > > > > > > > > > It is the function AcpiRsCreateAmlResources() which writes beyond the > > > > > buffer it allocates. > > > > > > > > Could you enable AML debug output to get more info? > > > > But I don't know how to enable it on FreeBSD. > > > > > > > > In Linux, the AML debug output is enabled with kernel boot parameters > > > > like below. > > > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > > > > > FreeBSD may have some similar boot parameters. > > > > > > I've enabled the debug prints just around the failing function. Here is > > > the > > > > > result: > > What's the kernel parameters are you using? > > There should be a lot of AML debug output. > > > Hi, > > During the function call that overwrites it's buffer, there are no more debug > prints than shown in the code, even with all debug prints on. Where should I > add more debug prints? I'm trying to reproduce this bug in the acpi simulator(acpiexec). Will get back to you. Lin Ming From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 07:15:37 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F35D106564A for ; Thu, 21 Oct 2010 07:15:37 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by mx1.freebsd.org (Postfix) with ESMTP id 569868FC15 for ; Thu, 21 Oct 2010 07:15:37 +0000 (UTC) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 21 Oct 2010 00:15:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,216,1286175600"; d="scan'208";a="338674840" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by azsmga001.ch.intel.com with ESMTP; 21 Oct 2010 00:15:31 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <1287632360.6530.3103.camel@minggr.sh.intel.com> References: <201010121209.06397.hselasky@c2i.net> <201010200834.28444.hselasky@c2i.net> <1287556591.6530.3071.camel@minggr.sh.intel.com> <201010201006.41112.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Oct 2010 15:12:27 +0800 Message-ID: <1287645147.6530.3107.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 07:15:37 -0000 On Thu, 2010-10-21 at 11:39 +0800, Lin Ming wrote: > On Wed, 2010-10-20 at 16:06 +0800, Hans Petter Selasky wrote: > > On Wednesday 20 October 2010 08:36:31 Lin Ming wrote: > > > On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > > > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > > > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > > > > Can you send us the acpidump for the machine? > > > > > > > > > > > > > > Also, tell us which control method is failing. > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > Hi, > > > > > > > > > > > > Please find attached dump of ACPI tables. > > > > > > > > > > > > It is the function AcpiRsCreateAmlResources() which writes beyond the > > > > > > buffer it allocates. > > > > > > > > > > Could you enable AML debug output to get more info? > > > > > But I don't know how to enable it on FreeBSD. > > > > > > > > > > In Linux, the AML debug output is enabled with kernel boot parameters > > > > > like below. > > > > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > > > > > > > FreeBSD may have some similar boot parameters. > > > > > > > > I've enabled the debug prints just around the failing function. Here is > > > > the > > > > > > > result: > > > What's the kernel parameters are you using? > > > There should be a lot of AML debug output. > > > > > > Hi, > > > > During the function call that overwrites it's buffer, there are no more debug > > prints than shown in the code, even with all debug prints on. Where should I > > add more debug prints? > > I'm trying to reproduce this bug in the acpi simulator(acpiexec). > Will get back to you. Hi, Could you apply below debug patch and attach the output? I'll try to reproduce this bug with the output. It will print something like below, Passed in resource buffer length=136 Buffer start f 0 0 0 44 0 0 0 1 0 0 0 1 0 1 0 45 ee 44 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Buffer end Thanks. diff --git a/source/components/resources/rsxface.c b/source/components/resources/rsxface.c index 2a019d1..459ad44 100644 --- a/source/components/resources/rsxface.c +++ b/source/components/resources/rsxface.c @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( { ACPI_STATUS Status; ACPI_NAMESPACE_NODE *Node; + UINT8 i, *Buffer; ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( return_ACPI_STATUS (Status); } + AcpiOsPrintf("Passed in resource buffer length=%d\n", InBuffer->Length); + AcpiOsPrintf("Buffer start\n"); + Buffer = (UINT8*) InBuffer->Pointer; + for (i = 0; i < (UINT8) InBuffer->Length; i++) + { + AcpiOsPrintf("%x ", Buffer[i]); + } + AcpiOsPrintf("\nBuffer end\n"); + Status = AcpiRsSetSrsMethodData (Node, InBuffer); return_ACPI_STATUS (Status); } From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 07:25:29 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B6B51065674 for ; Thu, 21 Oct 2010 07:25:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id F32738FC15 for ; Thu, 21 Oct 2010 07:25:28 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=sEolSJAlcSxSMaOm1MQ0bvrIu+BNAN+OqG2UAUgC4Ok= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=qRNQQ0KjiSpejCmMKJIA:9 a=QUo7X1kAFps0uupPLceaMcB0okEA:4 a=QEXdDO2ut3YA:10 a=akkKc1Z6nNKpRAFJ:21 a=ghJKNdH1qYKRNOMR:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38017701; Thu, 21 Oct 2010 09:25:27 +0200 From: Hans Petter Selasky To: Lin Ming Date: Thu, 21 Oct 2010 09:26:40 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> <1287645147.6530.3107.camel@minggr.sh.intel.com> In-Reply-To: <1287645147.6530.3107.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010210926.41103.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 07:25:29 -0000 Hi, I will get you the debug output from this patch in about 8 hours. --HPS On Thursday 21 October 2010 09:12:27 Lin Ming wrote: > > Hi, > > Could you apply below debug patch and attach the output? > I'll try to reproduce this bug with the output. > > It will print something like below, > > Passed in resource buffer length=136 > Buffer start > f 0 0 0 44 0 0 0 1 0 0 0 1 0 1 0 45 ee 44 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > Buffer end > > Thanks. > > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..459ad44 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + UINT8 i, *Buffer; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + AcpiOsPrintf("Passed in resource buffer length=%d\n", > InBuffer->Length); + AcpiOsPrintf("Buffer start\n"); > + Buffer = (UINT8*) InBuffer->Pointer; > + for (i = 0; i < (UINT8) InBuffer->Length; i++) > + { > + AcpiOsPrintf("%x ", Buffer[i]); > + } > + AcpiOsPrintf("\nBuffer end\n"); > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > } From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 11:14:55 2010 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E58106566C; Thu, 21 Oct 2010 11:14:55 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F15B8FC08; Thu, 21 Oct 2010 11:14:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9LBEtnQ022173; Thu, 21 Oct 2010 11:14:55 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9LBEt3c022169; Thu, 21 Oct 2010 11:14:55 GMT (envelope-from remko) Date: Thu, 21 Oct 2010 11:14:55 GMT Message-Id: <201010211114.o9LBEt3c022169@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: bin/151616: [acpi]: FreeBSD 8 panic on boot. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 11:14:55 -0000 Old Synopsis: FreeBSD 8 panic on boot. New Synopsis: [acpi]: FreeBSD 8 panic on boot. Responsible-Changed-From-To: freebsd-i386->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Thu Oct 21 11:14:29 UTC 2010 Responsible-Changed-Why: reassign to acpi team http://www.freebsd.org/cgi/query-pr.cgi?pr=151616 From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 12:20:10 2010 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94CFC1065673 for ; Thu, 21 Oct 2010 12:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 69F2B8FC13 for ; Thu, 21 Oct 2010 12:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9LCKAr1086107 for ; Thu, 21 Oct 2010 12:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9LCKA9Q086106; Thu, 21 Oct 2010 12:20:10 GMT (envelope-from gnats) Date: Thu, 21 Oct 2010 12:20:10 GMT Message-Id: <201010211220.o9LCKA9Q086106@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: John Baldwin Cc: Subject: Re: bin/151616: [acpi]: FreeBSD 8 panic on boot. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 12:20:10 -0000 The following reply was made to PR bin/151616; it has been noted by GNATS. From: John Baldwin To: bug-followup@freebsd.org, damkol@gmail.com Cc: Subject: Re: bin/151616: [acpi]: FreeBSD 8 panic on boot. Date: Thu, 21 Oct 2010 07:43:07 -0400 Can you get capture the messages before the panic, ideally from a verbose boot? If you can compile a kernel with DDB and get a stack trace that would also be very helpful. You can use a digital camera if you can't hook up a serial console (and don't want to write the messages down by hand). -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 21 20:56:47 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9F881065670 for ; Thu, 21 Oct 2010 20:56:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6C1FF8FC1E for ; Thu, 21 Oct 2010 20:56:47 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=yevn+QCjI6xy199BDvBOOiO14qYvyLq62he9tTtU3M8= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=dTUcPJ1cx_haXhq6mpQA:9 a=CKvEAqIuqiFFP0uvNblD3u5D8FAA:4 a=QEXdDO2ut3YA:10 a=OJYMc2-iOwznzSmq:21 a=2GlC21tPvf6IxOvr:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38293135; Thu, 21 Oct 2010 22:56:45 +0200 From: Hans Petter Selasky To: Lin Ming Date: Thu, 21 Oct 2010 22:57:58 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> <1287645147.6530.3107.camel@minggr.sh.intel.com> In-Reply-To: <1287645147.6530.3107.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010212257.58588.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 20:56:48 -0000 On Thursday 21 October 2010 09:12:27 Lin Ming wrote: > On Thu, 2010-10-21 at 11:39 +0800, Lin Ming wrote: > > On Wed, 2010-10-20 at 16:06 +0800, Hans Petter Selasky wrote: > > > On Wednesday 20 October 2010 08:36:31 Lin Ming wrote: > > > > On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > > > > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > > > > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > > > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > > > > > Can you send us the acpidump for the machine? > > > > > > > > > > > > > > > > Also, tell us which control method is failing. > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > Please find attached dump of ACPI tables. > > > > > > > > > > > > > > It is the function AcpiRsCreateAmlResources() which writes > > > > > > > beyond the buffer it allocates. > > > > > > > > > > > > Could you enable AML debug output to get more info? > > > > > > But I don't know how to enable it on FreeBSD. > > > > > > > > > > > > In Linux, the AML debug output is enabled with kernel boot > > > > > > parameters like below. > > > > > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > > > > > > > > > FreeBSD may have some similar boot parameters. > > > > > > > > > > I've enabled the debug prints just around the failing function. > > > > > Here is the > > > > > > > > > result: > > > > What's the kernel parameters are you using? > > > > There should be a lot of AML debug output. > > > > > > Hi, > > > > > > During the function call that overwrites it's buffer, there are no more > > > debug prints than shown in the code, even with all debug prints on. > > > Where should I add more debug prints? > > > > I'm trying to reproduce this bug in the acpi simulator(acpiexec). > > Will get back to you. > > Hi, > > Could you apply below debug patch and attach the output? > I'll try to reproduce this bug with the output. > > It will print something like below, > > Passed in resource buffer length=136 > Buffer start > f 0 0 0 44 0 0 0 1 0 0 0 1 0 1 0 45 ee 44 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > Buffer end > > Thanks. Here is the relevant output. First note, the buffer length is 512 and (uint8_t)512 = 0, so I modified the code to print out the 512 bytes. Passed in resource buffer length=512 Buffer start 0f 00 00 00 40 00 00 00 01 00 01 01 01 17 01 00 38 b0 17 03 00 ff ff ff 11 00 00 00 11 00 00 00 12 00 00 00 13 00 00 00 14 00 00 00 15 00 00 00 16 00 00 00 17 00 00 0 0 00 00 00 00 00 00 00 00 07 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Buffer end **** Context Switch from TID 0xffffffffffffffff to TID 0x186a0 **** rscalc-0293 [0x186a0] [188762] RsGetAmlLength : ----Entry rscalc-0369 [0x186a0] [188762] RsGetAmlLength : ----Exit- AE_OK rslist-0225 [0x186a0] [188762] RsConvertResourcesToAm: ----Entry rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK rsmisc-0437 [0x186a0] [188763] RsConvertResourceToAml: ----Entry rsmisc-0636 [0x186a0] [188763] RsConvertResourceToAml: ----Exit- AE_OK rslist-0273 [0x186a0] [188762] RsConvertResourcesToAm: ----Exit- AE_OK rscreate-0554 [0x186a0] [188761] RsCreateAmlResources : OutputBuffer 0xffffff00031f9000 Length D Dirty free 0xffffff00031f9000 13 at 13 --HPS From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 22 02:42:39 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CEE71065672 for ; Fri, 22 Oct 2010 02:42:39 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx1.freebsd.org (Postfix) with ESMTP id DE0528FC19 for ; Fri, 22 Oct 2010 02:42:38 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 21 Oct 2010 19:42:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,221,1286175600"; d="scan'208";a="619173493" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by fmsmga002.fm.intel.com with ESMTP; 21 Oct 2010 19:42:37 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <201010212257.58588.hselasky@c2i.net> References: <201010121209.06397.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> <1287645147.6530.3107.camel@minggr.sh.intel.com> <201010212257.58588.hselasky@c2i.net> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Oct 2010 10:39:24 +0800 Message-ID: <1287715164.6530.3112.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 02:42:39 -0000 On Fri, 2010-10-22 at 04:57 +0800, Hans Petter Selasky wrote: > On Thursday 21 October 2010 09:12:27 Lin Ming wrote: > > On Thu, 2010-10-21 at 11:39 +0800, Lin Ming wrote: > > > On Wed, 2010-10-20 at 16:06 +0800, Hans Petter Selasky wrote: > > > > On Wednesday 20 October 2010 08:36:31 Lin Ming wrote: > > > > > On Wed, 2010-10-20 at 14:34 +0800, Hans Petter Selasky wrote: > > > > > > On Tuesday 19 October 2010 07:47:02 Lin Ming wrote: > > > > > > > On Tue, 2010-10-19 at 04:21 +0800, Hans Petter Selasky wrote: > > > > > > > > On Monday 18 October 2010 02:01:09 Moore, Robert wrote: > > > > > > > > > Can you send us the acpidump for the machine? > > > > > > > > > > > > > > > > > > Also, tell us which control method is failing. > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > Please find attached dump of ACPI tables. > > > > > > > > > > > > > > > > It is the function AcpiRsCreateAmlResources() which writes > > > > > > > > beyond the buffer it allocates. > > > > > > > > > > > > > > Could you enable AML debug output to get more info? > > > > > > > But I don't know how to enable it on FreeBSD. > > > > > > > > > > > > > > In Linux, the AML debug output is enabled with kernel boot > > > > > > > parameters like below. > > > > > > > acpi.debug_layer=0xffffffff acpi.debug_level=0xffffffff > > > > > > > > > > > > > > FreeBSD may have some similar boot parameters. > > > > > > > > > > > > I've enabled the debug prints just around the failing function. > > > > > > Here is the > > > > > > > > > > > result: > > > > > What's the kernel parameters are you using? > > > > > There should be a lot of AML debug output. > > > > > > > > Hi, > > > > > > > > During the function call that overwrites it's buffer, there are no more > > > > debug prints than shown in the code, even with all debug prints on. > > > > Where should I add more debug prints? > > > > > > I'm trying to reproduce this bug in the acpi simulator(acpiexec). > > > Will get back to you. > > > > Hi, > > > > Could you apply below debug patch and attach the output? > > I'll try to reproduce this bug with the output. > > > > It will print something like below, > > > > Passed in resource buffer length=136 > > Buffer start > > f 0 0 0 44 0 0 0 1 0 0 0 1 0 1 0 45 ee 44 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 > > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 > > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > Buffer end > > > > Thanks. > > Here is the relevant output. First note, the buffer length is 512 and > (uint8_t)512 = 0, so I modified the code to print out the 512 bytes. > > > Passed in resource buffer length=512 > Buffer start > 0f 00 00 00 40 00 00 00 01 00 01 01 01 17 01 00 38 b0 17 03 00 ff ff ff 11 00 > 00 00 11 00 00 00 12 00 00 00 13 00 00 00 14 00 00 00 15 00 00 00 16 00 00 00 > 17 00 00 0 > 0 00 00 00 00 00 00 00 00 07 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 07 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 0 > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Buffer end Unfortunately, I can't reproduce it in the simulator(acpiexec). Anyway, here is the debug patch I tried and the output as below. $acpiexec dsdt.mbp51.bin Set resource for \_SB_.PCI0.LNK1: success Set resource for \_SB_.PCI0.LNK2: success Set resource for \_SB_.PCI0.LNK3: success Set resource for \_SB_.PCI0.LNK4: success Set resource for \_SB_.PCI0.Z003: success Set resource for \_SB_.PCI0.Z004: success Set resource for \_SB_.PCI0.Z005: success Set resource for \_SB_.PCI0.Z006: success Set resource for \_SB_.PCI0.Z007: success Set resource for \_SB_.PCI0.Z008: success Set resource for \_SB_.PCI0.Z009: success Set resource for \_SB_.PCI0.Z00A: success Set resource for \_SB_.PCI0.Z00B: success Set resource for \_SB_.PCI0.Z00C: success Set resource for \_SB_.PCI0.Z00D: success Set resource for \_SB_.PCI0.Z00E: success Set resource for \_SB_.PCI0.Z00F: success Set resource for \_SB_.PCI0.Z00G: success Set resource for \_SB_.PCI0.Z00H: success Set resource for \_SB_.PCI0.Z00I: success Set resource for \_SB_.PCI0.Z00J: success Set resource for \_SB_.PCI0.Z00K: success Set resource for \_SB_.PCI0.Z00L: success Set resource for \_SB_.PCI0.Z00M: success Set resource for \_SB_.PCI0.Z00N: success Set resource for \_SB_.PCI0.Z00O: success Set resource for \_SB_.PCI0.Z00P: success Set resource for \_SB_.PCI0.Z00Q: success Set resource for \_SB_.PCI0.Z00R: success Set resource for \_SB_.PCI0.Z00S: success Set resource for \_SB_.PCI0.Z00T: success Set resource for \_SB_.PCI0.Z00U: success Set resource for \_SB_.PCI0.LSMB: success Set resource for \_SB_.PCI0.LUS0: success Set resource for \_SB_.PCI0.LUS2: success Set resource for \_SB_.PCI0.LMAC: success Set resource for \_SB_.PCI0.LAZA: success Set resource for \_SB_.PCI0.LGPU: success Set resource for \_SB_.PCI0.LPID: success Set resource for \_SB_.PCI0.LSI0: success Set resource for \_SB_.PCI0.LSI1: success Set resource for \_SB_.PCI0.Z000: success Set resource for \_SB_.PCI0.Z001: success Set resource for \_SB_.PCI0.LPMU: success diff --git a/source/tools/acpiexec/aeexec.c b/source/tools/acpiexec/aeexec.c index baf1aeb..5f07412 100644 --- a/source/tools/acpiexec/aeexec.c +++ b/source/tools/acpiexec/aeexec.c @@ -517,6 +517,70 @@ AeHardwareInterfaces ( AE_CHECK_OK (AcpiReadBitRegister, Status); } +static UINT8 TestBuffer[] = { +0x0f,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x17,0x01,0x00,0x38,0xb0,0x17,0x03,0x00,0xff,0xff,0xff,0x11,0x00, +0x00,0x00,0x11,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x16,0x00,0x00,0x00, +0x17,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +}; + +static ACPI_STATUS +SRSTestCallback ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue) +{ + ACPI_STATUS Status; + ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle; + ACPI_BUFFER *Buffer = (ACPI_BUFFER*)Context; + ACPI_BUFFER PathBuffer = { ACPI_ALLOCATE_BUFFER, NULL }; + + if (!Node || strncmp(Node->Name.Ascii, "_SRS", 4) || !Node->Parent) { + return AE_OK; + } + + Status = AcpiGetName(Node->Parent, ACPI_FULL_PATHNAME, &PathBuffer); + if (ACPI_FAILURE (Status)) + return Status; + AcpiOsPrintf("Set resource for %s: ", (char*)PathBuffer.Pointer); + + Status = AcpiSetCurrentResources(Node->Parent, Buffer); + if (ACPI_FAILURE (Status)) { + AcpiOsPrintf("error, status=0x%x\n", Status); + } else { + AcpiOsPrintf("success\n"); + } + + return AE_OK; +} + +static void SRSTest(void) +{ + ACPI_BUFFER Buffer = {sizeof(TestBuffer), TestBuffer}; + ACPI_RESOURCE *Res = (ACPI_RESOURCE*)TestBuffer; + + Res->Data.ExtendedIrq.ResourceSource.StringPtr = ""; + + (void) AcpiWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX, + SRSTestCallback, NULL, (void *) &Buffer, NULL); +} /****************************************************************************** * @@ -540,6 +604,8 @@ AeMiscellaneousTests ( ACPI_STATISTICS Stats; + SRSTest(); + AeHardwareInterfaces (); AeGenericRegisters (); AeSetupConfiguration (Ssdt3Code); From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 22 05:23:02 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C875C106566B for ; Fri, 22 Oct 2010 05:23:02 +0000 (UTC) (envelope-from ming.m.lin@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.freebsd.org (Postfix) with ESMTP id A2BEA8FC26 for ; Fri, 22 Oct 2010 05:23:02 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 Oct 2010 22:23:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,221,1286175600"; d="scan'208";a="669744473" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by orsmga001.jf.intel.com with ESMTP; 21 Oct 2010 22:23:01 -0700 From: Lin Ming To: Hans Petter Selasky In-Reply-To: <1287715164.6530.3112.camel@minggr.sh.intel.com> References: <201010121209.06397.hselasky@c2i.net> <1287632360.6530.3103.camel@minggr.sh.intel.com> <1287645147.6530.3107.camel@minggr.sh.intel.com> <201010212257.58588.hselasky@c2i.net> <1287715164.6530.3112.camel@minggr.sh.intel.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Oct 2010 13:19:47 +0800 Message-ID: <1287724787.6530.3135.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 05:23:02 -0000 On Fri, 2010-10-22 at 10:39 +0800, Lin Ming wrote: > On Fri, 2010-10-22 at 04:57 +0800, Hans Petter Selasky wrote: > > Here is the relevant output. First note, the buffer length is 512 and > > (uint8_t)512 = 0, so I modified the code to print out the 512 bytes. > > > > > > Passed in resource buffer length=512 > > Buffer start > > 0f 00 00 00 40 00 00 00 01 00 01 01 01 17 01 00 38 b0 17 03 00 ff ff ff 11 00 > > 00 00 11 00 00 00 12 00 00 00 13 00 00 00 14 00 00 00 15 00 00 00 16 00 00 00 > > 17 00 00 0 > > 0 00 00 00 00 00 00 00 00 07 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 07 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 0 > > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 0 > > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > Buffer end > > Unfortunately, I can't reproduce it in the simulator(acpiexec). Hans, This bug seems really strange. As above resource buffer you got, it's interpreted as below [00] Extended IRQ Resource Type : ResourceConsumer Triggering : Level Polarity : ActiveLow Sharing : Shared Resource Source Index : 17 Resource Source : [NULL NAMESTRING] Interrupt Count : 01 Dword00 : 00000011 [01] EndTag Resource [NULL NAMESTRING] actually means empty string with size 1 (1 byte for NULL terminator). You wrote: > It appears that when a string is present in the extended interrupt > descriptor (6.4.3.6, ACPIspec30.pdf), then this is not handled > correctly, meaning that the precomputed buffer space when encoding to > AML, is incorrect and that data is written beyond the destination > buffer! But for above resources, AcpiRsCreateAmlResources->AcpiRsGetAmlLength returns 13, which is the precomputed size for the AML buffer and it's correct. I'm lost now. Would you please try this patch to double check if the fault is really caused by the string in the extended interrupt descriptor? Tell us if it boots OK or not with this patch. Thanks. diff --git a/source/components/resources/rsxface.c b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644 --- a/source/components/resources/rsxface.c +++ b/source/components/resources/rsxface.c @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( { ACPI_STATUS Status; ACPI_NAMESPACE_NODE *Node; + ACPI_RESOURCE *Res; ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( return_ACPI_STATUS (Status); } + Res = (ACPI_RESOURCE *) InBuffer->Pointer; + if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) + { + /* DEBUG: clear the string to see if it's the root cause */ + + Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL; + Res->Data.ExtendedIrq.ResourceSource.StringLength = 0; + } + Status = AcpiRsSetSrsMethodData (Node, InBuffer); return_ACPI_STATUS (Status); } From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 22 07:03:24 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5312D106566C for ; Fri, 22 Oct 2010 07:03:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id BBD548FC13 for ; Fri, 22 Oct 2010 07:03:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5UXFHLfkiY5XrCDma5uYm2T9fyMGz6t0cyN4hLfZsqg= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=MMVxDBbnyh3PXRL5lLkA:9 a=Z9DCFsx7N2C1AseLnr-FDGbXPXcA:4 a=QEXdDO2ut3YA:10 a=x1IBvQ22bnPtTBTG:21 a=m5XuVVhlUhnRvmgg:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38021251; Fri, 22 Oct 2010 09:03:21 +0200 From: Hans Petter Selasky To: Lin Ming Date: Fri, 22 Oct 2010 09:04:34 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <1287715164.6530.3112.camel@minggr.sh.intel.com> <1287724787.6530.3135.camel@minggr.sh.intel.com> In-Reply-To: <1287724787.6530.3135.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010220904.34583.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 07:03:24 -0000 On Friday 22 October 2010 07:19:47 Lin Ming wrote: > On Fri, 2010-10-22 at 10:39 +0800, Lin Ming wrote: > > On Fri, 2010-10-22 at 04:57 +0800, Hans Petter Selasky wrote: > > > Here is the relevant output. First note, the buffer length is 512 and > > > (uint8_t)512 = 0, so I modified the code to print out the 512 bytes. > > > > > > > > > Passed in resource buffer length=512 > > > Buffer start > > > 0f 00 00 00 40 00 00 00 01 00 01 01 01 17 01 00 38 b0 17 03 00 ff ff ff > > > 11 00 00 00 11 00 00 00 12 00 00 00 13 00 00 00 14 00 00 00 15 00 00 > > > 00 16 00 00 00 17 00 00 0 > > > 0 00 00 00 00 00 00 00 00 07 00 00 00 10 00 00 00 00 00 00 00 00 00 00 > > > 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 0 > > > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 0 > > > 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 > > > > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > 00 00 00 00 00 > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > Buffer end > > > > Unfortunately, I can't reproduce it in the simulator(acpiexec). > > Hans, > > This bug seems really strange. > > As above resource buffer you got, it's interpreted as below > > [00] Extended IRQ Resource > Type : ResourceConsumer > Triggering : Level > Polarity : ActiveLow > Sharing : Shared > Resource Source Index : 17 > Resource Source : [NULL NAMESTRING] > Interrupt Count : 01 > Dword00 : 00000011 > > [01] EndTag Resource > > [NULL NAMESTRING] actually means empty string with size 1 (1 byte for > NULL terminator). > > You wrote: > > It appears that when a string is present in the extended interrupt > > descriptor (6.4.3.6, ACPIspec30.pdf), then this is not handled > > correctly, meaning that the precomputed buffer space when encoding to > > AML, is incorrect and that data is written beyond the destination > > buffer! > > But for above resources, AcpiRsCreateAmlResources->AcpiRsGetAmlLength > returns 13, which is the precomputed size for the AML buffer and it's > correct. > > I'm lost now. > Would you please try this patch to double check if the fault is really > caused by the string in the extended interrupt descriptor? I'm pretty sure it's a bug in the parsing of ACPI_RESOURCE_TYPE_EXTENDED_IRQ. I will test your patch to verify that more later today. --HPS > > Tell us if it boots OK or not with this patch. > Thanks. > > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + ACPI_RESOURCE *Res; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + Res = (ACPI_RESOURCE *) InBuffer->Pointer; > + if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) > + { > + /* DEBUG: clear the string to see if it's the root cause */ > + > + Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL; > + Res->Data.ExtendedIrq.ResourceSource.StringLength = 0; > + } > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > } From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 22 16:05:39 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 130F4106566C for ; Fri, 22 Oct 2010 16:05:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9771C8FC08 for ; Fri, 22 Oct 2010 16:05:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5UXFHLfkiY5XrCDma5uYm2T9fyMGz6t0cyN4hLfZsqg= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=mAzfewIA-RLd-FPLHG4A:9 a=VybSBEQt3m7id7orEirHwrfBkS0A:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38291407; Fri, 22 Oct 2010 18:05:36 +0200 From: Hans Petter Selasky To: Lin Ming Date: Fri, 22 Oct 2010 18:06:48 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <1287715164.6530.3112.camel@minggr.sh.intel.com> <1287724787.6530.3135.camel@minggr.sh.intel.com> In-Reply-To: <1287724787.6530.3135.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010221806.48632.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 16:05:39 -0000 On Friday 22 October 2010 07:19:47 Lin Ming wrote: > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + ACPI_RESOURCE *Res; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + Res = (ACPI_RESOURCE *) InBuffer->Pointer; > + if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) > + { > + /* DEBUG: clear the string to see if it's the root cause */ > + > + Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL; > + Res->Data.ExtendedIrq.ResourceSource.StringLength = 0; > + } > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > } Hi, After applying this patch I can confirm there are no more dirty free's. --HPS From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 23 07:43:32 2010 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB33106564A; Sat, 23 Oct 2010 07:43:32 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 068E58FC16; Sat, 23 Oct 2010 07:43:32 +0000 (UTC) Received: from home.bluelife.at (91.205.172.21) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 29E533; Sat, 23 Oct 2010 09:28:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Sat, 23 Oct 2010 07:28:25 +0000 From: Bernhard Froehlich To: Jung-uk Kim In-Reply-To: <201010191131.16732.jkim@FreeBSD.org> References: <201010181333.29143.jkim@FreeBSD.org> <08905cd48f28787b5b3d36a4e75fb793@bluelife.at> <201010191131.16732.jkim@FreeBSD.org> Message-ID: <23edca762eb8c4fb6306a607d5935564@bluelife.at> X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.4.2 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0204.4CC28E99.000F,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-acpi@FreeBSD.org, vbox@freebsd.org Subject: Re: VirtualBox: Compile problems with ACPICA 20101013 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2010 07:43:32 -0000 On Tue, 19 Oct 2010 11:31:00 -0400, Jung-uk Kim wrote: > On Tuesday 19 October 2010 08:52 am, Bernhard Froehlich wrote: >> On Mon, 18 Oct 2010 13:33:26 -0400, Jung-uk Kim >> >> wrote: >> > On Monday 18 October 2010 05:44 am, Bernhard Froehlich wrote: >> >> Hi guys! >> >> >> >> VirtualBox has a compile problem with latest acpica. I've talked >> >> to the VirtualBox developers and they think it's an acpica >> >> problem which should be fixed upstream. Can we somehow file a >> >> bugreport or create a patch to fix that in acpica? >> > >> > Excerpt rom ACPI 4.0a: >> > >> > --------------------------------------------------- >> > Each Compatible Device ID must be either: >> > >> > o A valid HID value (a 32-bit compressed EISA type ID or a string >> > such as "ACPI0004"). >> > o A string that uses a bus-specific nomenclature. For example, >> > _CID can be used to specify the PCI ID. >> > --------------------------------------------------- >> > >> > Since it is not a valid HID value, you can only say it may be a >> > bus-specific nomenclature at best. However, it looks like an ISA >> > device to me and probably it is just a bogus ID. In fact, I >> > googled a bit and it only exists on some Intel Mac models, it >> > seems. You can just remove the entire _CID unless it is >> > absolutely necessary, which is very unlikely. :-) >> >> It very much looks like a regression. Right beyond that sentences >> they have a few examples in the ACPI 4.0a spec on page 201 that >> won't pass that check. I haven't looked at all the code so probably >> it's done somewhere completely different but if it is checked with >> that code then it will complain. >> >> ACPI 4.0a spec on page 201: >> --------------------------------------------------- >> o A valid HID value (a 32-bit compressed EISA type ID or a string >> such as "ACPI0004"). >> o A string that uses a bus-specific nomenclature. For example, >> _CID can be used to specify the PCI ID. >> >> "PCI\CC_ccss" >> "PCI\CC_ccsspp" >> "PCI\VEN_vvvv&DEV_dddd&SUBSYS_ssssssss&REV_rr" >> .... >> --------------------------------------------------- >> >> Now with a deeper look at the commit from acpica [1] especially the >> second half. Before there was only an alphanumeric check for _HID >> but with that change it was put into a new function AnCheckId() >> that is called for both _HID and _CID and now wants both to be >> alphanumeric. That looks correct for _HID but it's too strict for >> _CID which is a string. Somewhere i've seen string is defined as a >> null-terminated ASCII string and no word about alphanumeric. >> >> [1] >> http://git.moblin.org/cgit.cgi/acpica/commit/?id=b66fd716e0b9b5389e > > Yes, I am aware of the issue. My point was _CID may be pointless for > *VirtualBox* and it can be removed. I am just trying to figure out who is wrong and try to fix it there if possible. So do you agree that this is a acpica regression? Vbox guys say that removing it is not a good idea because it will "break things" but I don't know what it is used for so I cannot test it. -- Bernhard Froehlich http://www.bluelife.at/