From owner-freebsd-current@FreeBSD.ORG Wed Sep 24 22:01:50 2003 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 B3E6816A4B3 for ; Wed, 24 Sep 2003 22:01:50 -0700 (PDT) Received: from lagash.satanosphere.com (216-210-218-82.atgi.net [216.210.218.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3E4344003 for ; Wed, 24 Sep 2003 22:01:49 -0700 (PDT) (envelope-from jeremy@lagash.satanosphere.com) Received: (from jeremy@localhost) by lagash.satanosphere.com (8.12.9/8.12.9) id h8P58QNh022396 for freebsd-current@freebsd.org; Wed, 24 Sep 2003 22:08:26 -0700 (PDT) (envelope-from jeremy) Date: Wed, 24 Sep 2003 22:08:26 -0700 From: Jeremy Bingham To: freebsd-current@freebsd.org Message-ID: <20030925050826.GA22335@lagash.satanosphere.com> References: <20030923180441.R49426@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20030923180441.R49426@root.org> User-Agent: Mutt/1.4i Sender: jeremy@satanosphere.com X-PGP-Key: http://home.satanosphere.com/jeremy-pubkey.asc Subject: Re: Problem w/ ACPI in -CURRENT 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: Thu, 25 Sep 2003 05:01:50 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline So, after running this laptop with debugging stuff and INVARIANTS on all day and having it work fine, I decided to try taking the INVARIANTS options out of the kernel. Lo and behold, it now hangs again when I try to boot. I can't even get it to respond when I hit Ctrl-Alt-Esc and try to get it to go into debugging mode and get a stack trace. When I was looking at where it was dying before with verbose logging turned on, it seemed to be dying when it was trying to initialize the battery. I looked at the ACPI stuff in the kernel, and I think I may have found where it stops working. (It's where the kernel tries to initialize the battery - somewhere in sys/dev/acpia/acpi_cmbat.c.) What should I do? I can't even seem to get the kernel to core dump right for some reason, so should I insert some code to spit out messages in the kernel where I think it might be hanging, or am I totally going down the wrong path here? -j ---------------------------------------------- /* You are not expected to understand this. */ Captain_Tenille http://www.satanosphere.com/ jeremy@satanosphere.com --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE/cnhJz9BfgBOfXn0RAi+LAJoDCowFIksdV3K/a136fi9Cqv90XgCfbs5F Nhxtao3KEJVxQIHlpVksTlM= =/4nL -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--