From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 05:15:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89B4016A4CE for ; Fri, 9 Jan 2004 05:15:59 -0800 (PST) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2D643D48 for ; Fri, 9 Jan 2004 05:15:57 -0800 (PST) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1AewTj-0007QA-00; Fri, 09 Jan 2004 14:15:07 +0100 Date: Fri, 9 Jan 2004 14:15:07 +0100 To: Nate Lawson Message-ID: <20040109131507.GT14031@poupinou.org> References: <20040106153123.L27817@root.org> <20040107151531.161D73B90B@mail.if.lt> <20040108085952.7072E369A5@mail.if.lt> <20040108080739.L35340@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040108080739.L35340@root.org> User-Agent: Mutt/1.5.4i From: Ducrot Bruno cc: current@freebsd.org Subject: Re: ACPI panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 13:15:59 -0000 On Thu, Jan 08, 2004 at 08:25:20AM -0800, Nate Lawson wrote: > On Thu, 8 Jan 2004, Vaidas Damosevicius wrote: > > On Wed, 7 Jan 2004, Nate Lawson wrote: > > > > > I really need the messages a few lines above the probe_and_attach line. > > > Also, send your ASL: acpidump -t -d > vaidas-CompaqNX7000.asl > > > > Done > > Hmm, not sure what is returning the error but it's probably the call to > _REG at the end of AcpiInstallAddressSpaceHandler(). Please recompile > your ACPI module as follows: > > cd /sys/modules/acpi/acpi && make clean && make ACPI_DEBUG=1 > > Install that module somewhere and add the following to loader.conf: > > debug.acpi.layer="ACPI_EVENTS" > debug.acpi.level="ACPI_LV_ALL_EXCEPTIONS" > > Then load the new module at the loader prompt ("load /wherever/acpi.ko") > and report the dmesg like you did this time. > Hum, Im wondering what happens with something like that: OperationRegion (C0EE, EmbeddedControl, 0x00, 0xFF) Field (C0EE, ByteAcc, NoLock, Preserve) { Offset (0x80), Offset (0x81), , 4, C0EF, 4, , 1, C0F0, 1, ^^^^ C0F1, 1, , 1, [...] } [...] Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, C0ED) If (Arg1) { C11C (0x07, 0xFF) Store (C11D (), Local0) C11E (Local0, 0x81) And (C0EC, 0x01, C0F0) ^^^^ And (ShiftRight (C0EC, 0x01), 0x01, C0F2) } } } The C0F0 is actually a inside the EC space handler, but you have to call _REG with the second argument (Arg1) as 1 when initiliazing the space handler before accessing C0F0. -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care.