From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 1 22:05:13 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 136113BE; Thu, 1 Nov 2012 22:05:13 +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 2455F8FC14; Thu, 1 Nov 2012 22:05:11 +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 AAA26667; Fri, 02 Nov 2012 00:05:01 +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 1TU2sn-000Dku-3s; Fri, 02 Nov 2012 00:05:01 +0200 Message-ID: <5092F209.7090803@FreeBSD.org> Date: Fri, 02 Nov 2012 00:04:57 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Tom Lislegaard Subject: Re: 9-Stable panic: resource_list_unreserve: can't find resource References: <509172F6.2040400@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, freebsd-stable@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: Thu, 01 Nov 2012 22:05:13 -0000 on 01/11/2012 11:45 Tom Lislegaard said the following: > > >> -----Original Message----- >> From: Andriy Gapon [mailto:avg@FreeBSD.org] >> Sent: 31. oktober 2012 19:51 >> To: Tom Lislegaard >> Cc: 'freebsd-stable@freebsd.org' >> Subject: Re: 9-Stable panic: resource_list_unreserve: can't find resource >> >> on 31/10/2012 12:14 Tom Lislegaard said the following: >>> Hi >>> >>> I'm running >>> FreeBSD stingray 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3: Mon Oct 29 16:11:35 CET 2012 >> tl@stingray:/usr/obj/usr/src/sys/stingray amd64 >>> on a new Dell laptop and keep getting these panics (typically once or twice per day) >>> >>> (kgdb) set pagination off >>> (kgdb) bt >>> #0 doadump (textdump=Variable "textdump" is not available. >>> ) at pcpu.h:229 >>> #1 0xffffffff80425e64 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448 >>> #2 0xffffffff8042634c in panic (fmt=0x1
) at >> /usr/src/sys/kern/kern_shutdown.c:636 >>> #3 0xffffffff8045773e in resource_list_unreserve (rl=Variable "rl" is not available. >>> ) at /usr/src/sys/kern/subr_bus.c:3338 >>> #4 0xffffffff802c3ee4 in acpi_delete_resource (bus=0xfffffe00052c1100, child=0xfffffe00052c1500, >> type=4, rid=3323) at /usr/src/sys/dev/acpica/acpi.c:1405 >>> #5 0xffffffff802c62bc in acpi_bus_alloc_gas (dev=0xfffffe00052c1500, type=0xfffffe00052b786c, >> rid=0xfffffe00052b7978, gas=Variable "gas" is not available. >>> ) at /usr/src/sys/dev/acpica/acpi.c:1450 >>> #6 0xffffffff802d1663 in acpi_PkgGas (dev=0xfffffe00052c1500, res=Variable "res" is not available. >>> ) at /usr/src/sys/dev/acpica/acpi_package.c:120 >>> #7 0xffffffff802cbf6b in acpi_cpu_cx_cst (sc=0xfffffe00052b7800) at >> /usr/src/sys/dev/acpica/acpi_cpu.c:782 >>> #8 0xffffffff802cc3a4 in acpi_cpu_notify (h=Variable "h" is not available. >>> ) at /usr/src/sys/dev/acpica/acpi_cpu.c:1050 >>> #9 0xffffffff802a3fca in AcpiEvNotifyDispatch (Context=0x0) at >> /usr/src/sys/contrib/dev/acpica/events/evmisc.c:283 >>> #10 0xffffffff802c26c3 in acpi_task_execute (context=0xfffffe00051d6800, pending=Variable "pending" >> is not available. >>> ) at /usr/src/sys/dev/acpica/Osd/OsdSchedule.c:134 >>> #11 0xffffffff804683c4 in taskqueue_run_locked (queue=0xfffffe00052bc100) at >> /usr/src/sys/kern/subr_taskqueue.c:308 >>> #12 0xffffffff80469366 in taskqueue_thread_loop (arg=Variable "arg" is not available. >>> ) at /usr/src/sys/kern/subr_taskqueue.c:497 >>> #13 0xffffffff803f762f in fork_exit (callout=0xffffffff80469320 , >> arg=0xffffffff80a20cc8, frame=0xffffff80002cdb00) at /usr/src/sys/kern/kern_fork.c:992 >>> #14 0xffffffff806be6be in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:602 >> >> Could you please provide *sc from frame 7? > > (kgdb) up 7 > #7 0xffffffff802cbf6b in acpi_cpu_cx_cst (sc=0xfffffe00052b7800) at /usr/src/sys/dev/acpica/acpi_cpu.c:782 > 782 acpi_PkgGas(sc->cpu_dev, pkg, 0, &cx_ptr->res_type, &sc->cpu_rid, > (kgdb) print *sc > $1 = {cpu_dev = 0xfffffe00052c1500, cpu_handle = 0xfffffe00052e7a80, cpu_pcpu = 0xffffffff80aa6a80, cpu_acpi_id = 1, cpu_p_blk = 1040, cpu_p_blk_len = 6, cpu_cx_states = {{p_lvlx = 0xfffffe0196f0e380, type = 1, trans_lat = 1, power = 1000, res_type = 4}, {p_lvlx = 0x0, type = 3, trans_lat = 87, power = 200, res_type = 4}, {p_lvlx = 0x0, type = 3, trans_lat = 87, power = 200, res_type = 4}, {p_lvlx = 0x0, type = 0, trans_lat = 0, power = 0, res_type = 0}, {p_lvlx = 0x0, type = 0, trans_lat = 0, power = 0, res_type = 0}, {p_lvlx = 0x0, type = 0, trans_lat = 0, power = 0, res_type = 0}, {p_lvlx = 0x0, type = 0, trans_lat = 0, power = 0, res_type = 0}, {p_lvlx = 0x0, type = 0, trans_lat = 0, power = 0, res_type = 0}}, cpu_cx_count = 2, cpu_prev_sleep = 619, cpu_features = 31, cpu_non_c3 = 1, cpu_cx_stats = {390, 0, 0, 0, 0, 0, 0, 0}, cpu_sysctl_ctx = {tqh_first = 0xfffffe00088931a0, tqh_last = 0xfffffe0008893228}, cpu_sysctl_tree = 0x0, cpu_cx_lowest = 0, cpu_cx_lowest_lim = 0, ! cpu_cx_s upported = "C1/1 C2/59 C3/87", '\0' , cpu_rid = 3323} Thank you. Did this crash occur at the time when you plugged or unplugged AC line? Do you plug and unplug the line often? Do you think that the line could have any problems like flaky contacts or some such? -- Andriy Gapon