From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 13 01:39:46 2007 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 47AA616A417 for ; Thu, 13 Sep 2007 01:39:46 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 35AEB13C458 for ; Thu, 13 Sep 2007 01:39:46 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 37593 invoked from network); 13 Sep 2007 01:39:47 -0000 Received: from 209-128-117-003.bayarea.net (HELO ?10.0.1.144?) (nate-mail@209.128.117.3) by root.org with ESMTPA; 13 Sep 2007 01:39:47 -0000 Message-ID: <46E894DC.6020707@root.org> Date: Wed, 12 Sep 2007 18:39:40 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.6 (X11/20070810) MIME-Version: 1.0 To: Mikael Ikivesi References: <46E0777A.8070901@root.org> <200709081054.14073.mikael.ikivesi@pp.inet.fi> In-Reply-To: <200709081054.14073.mikael.ikivesi@pp.inet.fi> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: PATCH: ecng for 6.x and 7.x 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, 13 Sep 2007 01:39:46 -0000 Mikael Ikivesi wrote: > On Friday 07 September 2007 00:56, Nate Lawson wrote: >> I've done some major rework on the EC driver. This should help with >> various problems, including timeouts while checking battery status or >> temperature. > > > And it does :) Thanks... > > It took away those error messages I was having. Now things seems to work, more > or less... > > dmesg still shows this: > acpi0: reservation of 0, 1000 (3) failed > > but thats all. > When issuing halt -p the system powersoff but show some acpi related message > just before powering off but it goes so fast I dont have a clue about its > contents. > > > > > Note still: If I try to suspend machine I get kernel panic. I dont know if it > was you patch or some other update, but before I got only messages and bounce > back to system without crashing. Because of the updates I cannot now access > the messages but if I remember correctly they were something about: > device physically ejected? and they had something to do with cardbus if I > remember correctly... > ...sorry for being so vague! > > > BUT about that panic I can be more precise :) > > > acpi_button0: sleep button pressed > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex ACPI global lock r = 0 (0xffffffff808ac4a0) locked > @ /usr/src/sys/dev/acpica/acpi.c:2222 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > witness_warn() at witness_warn+0x248 > trap() at trap+0x25e > calltrap() at calltrap+0x8 > --- trap 0xc, rip = 0xffffffff801d9cf4, rsp = 0xffffffff9ed4aa00, rbp = > 0xffffffff9ed4aa30 --- > acpi_AckSleepState() at acpi_AckSleepState+0x34 > devfs_ioctl_f() at devfs_ioctl_f+0x6d > kern_ioctl() at kern_ioctl+0xa3 > ioctl() at ioctl+0xf9 > syscall() at syscall+0x1ce > Xfast_syscall() at Xfast_syscall+0xab > --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x8007187ec, rsp = > 0x7fffffffecd8, rbp = 0x7fffffffee50 --- > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x18 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff801d9cf4 > stack pointer = 0x10:0xffffffff9ed4aa00 > frame pointer = 0x10:0xffffffff9ed4aa30 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 748 (acpiconf) > Fixed, thanks. -Nate