From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 10 11:06:39 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F17EFEEA for ; Mon, 10 Dec 2012 11:06:39 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B9EAD8FC1B for ; Mon, 10 Dec 2012 11:06:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBAB6dC0064148 for ; Mon, 10 Dec 2012 11:06:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBAB6dIo064146 for freebsd-acpi@FreeBSD.org; Mon, 10 Dec 2012 11:06:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Dec 2012 11:06:39 GMT Message-Id: <201212101106.qBAB6dIo064146@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 Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 11:06:40 -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 kern/171305 acpi [acpi] acpi_tz0: _CRT value is absurd, ignored (256.0C o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] fix driver detach in absence of CMI o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for o kern/152098 acpi [acpi] Lenovo T61p does not resume 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 i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject 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 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 kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o bin/126162 acpi [acpi] ACPI autoload failed : loading required module o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o kern/73823 acpi [request] acpi / power-on by timer support o kern/56024 acpi ACPI suspend drains battery while in S3 31 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 11 18:14:18 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A04C398 for ; Tue, 11 Dec 2012 18:14:18 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 059C28FC12 for ; Tue, 11 Dec 2012 18:14:17 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id qBBIDocq081566 for ; Tue, 11 Dec 2012 10:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1355249631; bh=UXuhBiABJwCEhMcHu4emuViU7sm83JGn0R3MN+V/ews=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version:Content-Transfer-Encoding; b=QmrIHA+pCdPG196H6OUIxwkXTqJq56v5xyF/xg8yHz05bVOhJMemWfmsEamRe/ky1 bz7nVoc6OyRvoIcn0tF1t5gl3DMG0o8UMaUtxv/i6KkwJJw96Pr5OF/0nWujvdUh7O 78YNT2/F72EJ7F8NLxYvMdz9wQLtCsL9AJ+/BM/M= Subject: oh right, this one ... From: Sean Bruno To: freebsd-acpi@FreeBSD.org Content-Type: text/plain; charset="UTF-8" Date: Tue, 11 Dec 2012 10:13:50 -0800 Message-ID: <1355249630.2526.1.camel@powernoodle.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Milter-Version: master.31+4-gbc07cd5+ X-CLX-ID: 249631001 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@FreeBSD.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 18:14:18 -0000 Finally got around to returning the Dell R620 series BIOS update that breaks badly on FreeBSD. I suspect that there is an ACPI update going on here that I need to figure out for -current. I'm going to disable the pci bus that fails to attach via device hints and get an acpidump in a bit. pcib4: irq 53 at device 3.0 on pci0 pcib4: domain 0 pcib4: secondary bus 4 pcib4: subordinate bus 4 pcib4: no prefetched decode pci4: on pcib4 pci4: domain=0, physical bus=4 pci0: at device 4.0 (no driver attached) pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) pci0: at device 4.3 (no driver attached) pci0: at device 4.4 (no driver attached) pci0: at device 4.5 (no driver attached) pci0: at device 4.6 (no driver attached) pci0: at device 4.7 (no driver attached) pci0: at device 5.0 (no driver attached) pci0: at device 5.2 (no driver attached) pcib5: irq 16 at device 17.0 on pci0 pcib5: domain 0 pcib5: secondary bus 5 pcib5: subordinate bus 5 pcib5: no prefetched decode pci5: on pcib5 pci5: domain=0, physical bus=5 pci0: at device 22.0 (no driver attached) pci0: at device 22.1 (no driver attached) ehci0: mem 0xdf8fe000-0xdf8fe3ff irq 23 at device 26.0 on pci0 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 96 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci0: usbpf: Attached pcib6: at device 28.0 on pci0 pcib6: domain 0 pcib6: secondary bus 6 pcib6: subordinate bus 6 pcib6: no prefetched decode device_attach: pcib6 attach returned 6 pcib6: irq 19 at device 28.7 on pci0 panic: Bad tailq NEXT(0xffffffff814f3318->tqh_last) != NULL cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff81bcb440 kdb_backtrace() at kdb_backtrace+0x39/frame 0xffffffff81bcb4f0 panic() at panic+0x174/frame 0xffffffff81bcb570 rman_init() at rman_init+0x166/frame 0xffffffff81bcb590 pcib_alloc_window() at pcib_alloc_window+0x87/frame 0xffffffff81bcb620 pcib_attach_common() at pcib_attach_common+0xaf9/frame 0xffffffff81bcb6b0 acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x17/frame 0xffffffff81bcb6f0 device_attach() at device_attach+0x396/frame 0xffffffff81bcb740 bus_generic_attach() at bus_generic_attach+0x4a/frame 0xffffffff81bcb760 acpi_pci_attach() at acpi_pci_attach+0x15f/frame 0xffffffff81bcb7b0 device_attach() at device_attach+0x396/frame 0xffffffff81bcb800 bus_generic_attach() at bus_generic_attach+0x4a/frame 0xffffffff81bcb820 acpi_pcib_attach() at acpi_pcib_attach+0x24d/frame 0xffffffff81bcb870 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x299/frame 0xffffffff81bcb8c0 device_attach() at device_attach+0x396/frame 0xffffffff81bcb910 bus_generic_attach() at bus_generic_attach+0x4a/frame 0xffffffff81bcb930 acpi_attach() at acpi_attach+0xd58/frame 0xffffffff81bcb9f0 device_attach() at device_attach+0x396/frame 0xffffffff81bcba40 bus_generic_attach() at bus_generic_attach+0x4a/frame 0xffffffff81bcba60 nexus_acpi_attach() at nexus_acpi_attach+0x76/frame 0xffffffff81bcba90 device_attach() at device_attach+0x396/frame 0xffffffff81bcbae0 bus_generic_new_pass() at bus_generic_new_pass+0x116/frame 0xffffffff81bcbb10 bus_set_pass() at bus_set_pass+0x8f/frame 0xffffffff81bcbb40 configure() at configure+0xa/frame 0xffffffff81bcbb50 mi_startup() at mi_startup+0x118/frame 0xffffffff81bcbb70 btext() at btext+0x2c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x3e: movq $0,kdb_why From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 11 18:48:11 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A82ACF1; Tue, 11 Dec 2012 18:48:11 +0000 (UTC) (envelope-from seanwbruno@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id BD8568FC19; Tue, 11 Dec 2012 18:48:10 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id n2so1843532dad.13 for ; Tue, 11 Dec 2012 10:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=nb6teUX/FEqinGEInCgR9AmTfTqCEZJYGymrlZfvrBI=; b=MaIqtOD4L60qm77yTRyiJIEVe7sWKYFQWAx0i19neK/652XMVJtGn0SkMKxHEJpgwL QyhlpUNV00M40hxCbLJSlw9id/Gx+6Mng2LdeXCR7fUVdLY0jEX2d0ecGoUiNkZACAfa DomYvum12uyjMEDIgBXkelF+H0mDhOozLMbPige3g6jdBIuoHj5XAonawtwpNdNXErYj N5pFt0N5TKvjTKVZtWwv4fdgPwil3sjJk46nPqCNBPLTL/aD9zWuegab0zr+5W6FQCpy YBGr4ZbFuH3SJf5RIOTKQ9L6UnKsVfEynKpdKW/0GsjVvk5aCGR6LHA2XO3DQIh4YKkp VUaA== Received: by 10.68.132.34 with SMTP id or2mr51366871pbb.133.1355251690229; Tue, 11 Dec 2012 10:48:10 -0800 (PST) Received: from [10.73.160.242] (nat-dip7.cfw-a-gci.corp.yahoo.com. [209.131.62.116]) by mx.google.com with ESMTPS id z5sm11236788pax.9.2012.12.11.10.48.08 (version=SSLv3 cipher=OTHER); Tue, 11 Dec 2012 10:48:09 -0800 (PST) Subject: Re: oh right, this one ... From: Sean Bruno To: sbruno In-Reply-To: <1355249630.2526.1.camel@powernoodle.corp.yahoo.com> References: <1355249630.2526.1.camel@powernoodle.corp.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 11 Dec 2012 10:48:08 -0800 Message-ID: <1355251688.2526.5.camel@powernoodle.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@FreeBSD.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 18:48:11 -0000 On Tue, 2012-12-11 at 10:13 -0800, Sean Bruno wrote: > Finally got around to returning the Dell R620 series BIOS update that > breaks badly on FreeBSD. I suspect that there is an ACPI update going > on here that I need to figure out for -current. I'm going to disable > the pci bus that fails to attach via device hints and get an acpidump in > a bit. acpidump --> http://people.freebsd.org/~sbruno/r620_acpi.txt pciconf -lvcb --> http://people.freebsd.org/~sbruno/r620_pciconf.txt Problematic pci bus attach is on pcib6 pcib6: at device 28.0 on pci0 pcib6: domain 0 pcib6: secondary bus 6 pcib6: subordinate bus 6 pcib6: no prefetched decode device_attach: pcib6 attach returned 6 pcib6: irq 19 at device 28.7 on pci0 panic: Bad tailq NEXT(0xffffffff814f3318->tqh_last) != NULL A couple of comments here. It sure *looks* like the failure to attach doesn't clean up after itself, which then leads to a *reuse* of pcib6 data elements for pcib7! 1. we fail to attach to pcib6 2. we don't clean up properly on a failure to attach 3. we try to reuse the data structure that failed for the next pcib device. Sean From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 09:48:18 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B323A8; Fri, 14 Dec 2012 09:48:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id CDADA8FC16; Fri, 14 Dec 2012 09:48:17 +0000 (UTC) Received: from porto.starpoint.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 LAA25524; Fri, 14 Dec 2012 11:48:12 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TjRsK-000Od4-Hz; Fri, 14 Dec 2012 11:48:12 +0200 Message-ID: <50CAF5DA.6070203@FreeBSD.org> Date: Fri, 14 Dec 2012 11:48:10 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: panic in AcpiExSystemMemorySpaceHandler [Was: 9.1 memstick install panics on boot] References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> In-Reply-To: <20121214030208.GA15080@regency.nsu.ru> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 09:48:18 -0000 on 14/12/2012 05:02 Alexey Dokuchaev said the following: > On Thu, Dec 13, 2012 at 05:36:35AM -0500, Glen Barber wrote: >> >> https://snapshots.glenbarber.us/Latest/ >> >> It is a few days behind though. > > I've tried 10.0 image from it; still getting (apparently the same) panic [1]. OK. Let's move this over to acpi@. Could you please obtain acpidump output using Ubuntu? It might be available in "pmtools" package or "acpi-something" package, not sure... > It seems that something is wrong with AML, but I cannot tell much without > debug symbols. Glen, since you include kernel debugger in you snapshots, > do you think you can ship those .symbols as well? :-) > > ./danfe > > [1] http://193.124.210.26/10.0-acpi.dmesg > -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 10:43:30 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A469EB8; Fri, 14 Dec 2012 10:43:30 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id 9848D8FC13; Fri, 14 Dec 2012 10:43:29 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1TjSjm-0003Br-V8; Fri, 14 Dec 2012 17:43:27 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id qBEAiF2w092595; Fri, 14 Dec 2012 17:44:15 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id qBEAiA4N092538; Fri, 14 Dec 2012 17:44:10 +0700 (NOVT) (envelope-from danfe) Date: Fri, 14 Dec 2012 17:44:10 +0700 From: Alexey Dokuchaev To: Andriy Gapon Subject: Re: panic in AcpiExSystemMemorySpaceHandler [Was: 9.1 memstick install panics on boot] Message-ID: <20121214104409.GB88134@regency.nsu.ru> References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> <50CAF5DA.6070203@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50CAF5DA.6070203@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: stable@FreeBSD.org, freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 10:43:30 -0000 On Fri, Dec 14, 2012 at 11:48:10AM +0200, Andriy Gapon wrote: > Could you please obtain acpidump output using Ubuntu? Yup, I already did [1]. Here is the what's inside: all.bin dump of all tables dsdt.bin dump of DSDT (original) dsdt.dsl decompiled DSDT dsdt.aml recompiled DSDT (from dsdt.dsl) [1] http://193.124.210.26/lenovo.tgz ./danfe From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 12:45:38 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D25A7B42 for ; Fri, 14 Dec 2012 12:45:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 265AD8FC0C for ; Fri, 14 Dec 2012 12:45:37 +0000 (UTC) Received: from porto.starpoint.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 OAA27204; Fri, 14 Dec 2012 14:45:34 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TjUdx-000OoQ-T2; Fri, 14 Dec 2012 14:45:34 +0200 Message-ID: <50CB1F6C.6070701@FreeBSD.org> Date: Fri, 14 Dec 2012 14:45:32 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: panic in AcpiExSystemMemorySpaceHandler References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> <50CAF5DA.6070203@FreeBSD.org> <20121214104409.GB88134@regency.nsu.ru> In-Reply-To: <20121214104409.GB88134@regency.nsu.ru> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 12:45:38 -0000 on 14/12/2012 12:44 Alexey Dokuchaev said the following: > On Fri, Dec 14, 2012 at 11:48:10AM +0200, Andriy Gapon wrote: >> Could you please obtain acpidump output using Ubuntu? > > Yup, I already did [1]. Here is the what's inside: > > all.bin dump of all tables > dsdt.bin dump of DSDT (original) > dsdt.dsl decompiled DSDT > dsdt.aml recompiled DSDT (from dsdt.dsl) > > [1] http://193.124.210.26/lenovo.tgz How did you obtain these files? acpixtract doesn't seem to recognize all.bin... Could you please do something like 'acpidump > acpi.dat' ? -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 14:25:52 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4743E563; Fri, 14 Dec 2012 14:25:52 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id D72798FC08; Fri, 14 Dec 2012 14:25:51 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1TjWCV-00020n-Ex; Fri, 14 Dec 2012 21:25:19 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id qBEEQ991023226; Fri, 14 Dec 2012 21:26:09 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id qBEEPpTd023159; Fri, 14 Dec 2012 21:25:51 +0700 (NOVT) (envelope-from danfe) Date: Fri, 14 Dec 2012 21:25:51 +0700 From: Alexey Dokuchaev To: Andriy Gapon Subject: Re: panic in AcpiExSystemMemorySpaceHandler Message-ID: <20121214142550.GA20406@regency.nsu.ru> References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> <50CAF5DA.6070203@FreeBSD.org> <20121214104409.GB88134@regency.nsu.ru> <50CB1F6C.6070701@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50CB1F6C.6070701@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 14:25:52 -0000 On Fri, Dec 14, 2012 at 02:45:32PM +0200, Andriy Gapon wrote: > on 14/12/2012 12:44 Alexey Dokuchaev said the following: > > On Fri, Dec 14, 2012 at 11:48:10AM +0200, Andriy Gapon wrote: > >> Could you please obtain acpidump output using Ubuntu? > > > > Yup, I already did [1]. Here is the what's inside: > > > > all.bin dump of all tables > > dsdt.bin dump of DSDT (original) > > dsdt.dsl decompiled DSDT > > dsdt.aml recompiled DSDT (from dsdt.dsl) > > > > [1] http://193.124.210.26/lenovo.tgz > > How did you obtain these files? Downloaded pmtools-20071116.tar.gz from here [2], built acpidump, run it. Then used iasl (on FreeBSD) to decompile/recompile. > acpixtract doesn't seem to recognize all.bin... Perhaps that's because I used -b switch to get binary data... I can rerun without it of course, but are you sure there's no way for acpixtract to eat these binary files (maybe preconverted somehow)? > Could you please do something like 'acpidump > acpi.dat' ? I will do, but not immediately: problematic box is at $work, and I am already at home tonight. I hope to give it to you tomorrow (unless you find a way to work with binary files given above :-). Sorry for the hassle, I guess I should've obtained all the bits in every possible form... ./danfe [2] https://lesswatts.org/projects/acpi/utilities.php From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 14:44:15 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C739E9E for ; Fri, 14 Dec 2012 14:44:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 896278FC12 for ; Fri, 14 Dec 2012 14:44:14 +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 QAA28412; Fri, 14 Dec 2012 16:44:06 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50CB3B35.1080006@FreeBSD.org> Date: Fri, 14 Dec 2012 16:44:05 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: panic in AcpiExSystemMemorySpaceHandler References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> <50CAF5DA.6070203@FreeBSD.org> <20121214104409.GB88134@regency.nsu.ru> <50CB1F6C.6070701@FreeBSD.org> <20121214142550.GA20406@regency.nsu.ru> In-Reply-To: <20121214142550.GA20406@regency.nsu.ru> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 14:44:15 -0000 on 14/12/2012 16:25 Alexey Dokuchaev said the following: > Sorry for the hassle, I guess I should've obtained all the bits in every > possible form... Ah, no. Just a plain acpidump output is what is usually requested (on Linux). The rest can be conveniently obtained from there. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 14 22:08:31 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 770531EA8; Fri, 14 Dec 2012 22:08:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 487BE8FC12; Fri, 14 Dec 2012 22:08:31 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A5107B948; Fri, 14 Dec 2012 17:08:30 -0500 (EST) From: John Baldwin To: sbruno@freebsd.org Subject: Re: oh right, this one ... Date: Fri, 14 Dec 2012 15:31:58 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p22; KDE/4.5.5; amd64; ; ) References: <1355249630.2526.1.camel@powernoodle.corp.yahoo.com> <1355251688.2526.5.camel@powernoodle.corp.yahoo.com> In-Reply-To: <1355251688.2526.5.camel@powernoodle.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201212141531.59181.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 14 Dec 2012 17:08:30 -0500 (EST) Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 22:08:31 -0000 On Tuesday, December 11, 2012 1:48:08 pm Sean Bruno wrote: > On Tue, 2012-12-11 at 10:13 -0800, Sean Bruno wrote: > > Finally got around to returning the Dell R620 series BIOS update that > > breaks badly on FreeBSD. I suspect that there is an ACPI update going > > on here that I need to figure out for -current. I'm going to disable > > the pci bus that fails to attach via device hints and get an acpidump in > > a bit. > > acpidump --> http://people.freebsd.org/~sbruno/r620_acpi.txt > pciconf -lvcb --> http://people.freebsd.org/~sbruno/r620_pciconf.txt > > Problematic pci bus attach is on pcib6 > > pcib6: at device 28.0 on pci0 > pcib6: domain 0 > pcib6: secondary bus 6 > pcib6: subordinate bus 6 > pcib6: no prefetched decode > device_attach: pcib6 attach returned 6 > pcib6: irq 19 at device 28.7 on pci0 > panic: Bad tailq NEXT(0xffffffff814f3318->tqh_last) != NULL > > > A couple of comments here. It sure *looks* like the failure to attach > doesn't clean up after itself, which then leads to a *reuse* of pcib6 > data elements for pcib7! > > 1. we fail to attach to pcib6 > 2. we don't clean up properly on a failure to attach > 3. we try to reuse the data structure that failed for the next pcib > device. Yes, it is known to not clean up after itself. Fixing that isn't entirely trivial. Disable pcib6 instead of trying to disable pci6. -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 15 15:20:07 2012 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45C8D1E6; Sat, 15 Dec 2012 15:20:07 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) by mx1.freebsd.org (Postfix) with ESMTP id D701C8FC19; Sat, 15 Dec 2012 15:20:06 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1TjtW2-0000fo-NV; Sat, 15 Dec 2012 22:19:02 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id qBFFJtCm079044; Sat, 15 Dec 2012 22:19:56 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id qBFFJYcW078988; Sat, 15 Dec 2012 22:19:34 +0700 (NOVT) (envelope-from danfe) Date: Sat, 15 Dec 2012 22:19:33 +0700 From: Alexey Dokuchaev To: Andriy Gapon Subject: Re: panic in AcpiExSystemMemorySpaceHandler Message-ID: <20121215151933.GA77608@regency.nsu.ru> References: <20121213073033.GA19514@regency.nsu.ru> <50C9ABA0.20009@FreeBSD.org> <20121213102651.GA51050@regency.nsu.ru> <20121213103635.GG1325@glenbarber.us> <20121214030208.GA15080@regency.nsu.ru> <50CAF5DA.6070203@FreeBSD.org> <20121214104409.GB88134@regency.nsu.ru> <50CB1F6C.6070701@FreeBSD.org> <20121214142550.GA20406@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121214142550.GA20406@regency.nsu.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 15:20:07 -0000 On Fri, Dec 14, 2012 at 09:25:51PM +0700, Alexey Dokuchaev wrote: > On Fri, Dec 14, 2012 at 02:45:32PM +0200, Andriy Gapon wrote: > > How did you obtain these files? > > acpixtract doesn't seem to recognize all.bin... > > Could you please do something like 'acpidump > acpi.dat' ? > > I will do, but not immediately: problematic box is at $work, and I am > already at home tonight. I hope to give it to you tomorrow (unless you > find a way to work with binary files given above :-). It's here: http://193.124.210.26/lenovo.acpi.dump ./danfe