From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 16:59:39 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 DB3C916A4CE for ; Tue, 27 Apr 2004 16:59:39 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E73243D41 for ; Tue, 27 Apr 2004 16:59:39 -0700 (PDT) (envelope-from freebsd-current-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc11) with ESMTP id <2004042723593801100p88uue>; Tue, 27 Apr 2004 23:59:38 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 8ADD312; Tue, 27 Apr 2004 19:59:38 -0400 (EDT) Sender: lowell@be-well.ilk.org To: freebsd-current@freebsd.org From: Lowell Gilbert Date: 27 Apr 2004 19:59:38 -0400 Message-ID: <44vfjlkm51.fsf@be-well.ilk.org> Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: PCI bus power problems (can't turn it off) 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: Tue, 27 Apr 2004 23:59:40 -0000 --=-=-= I have set hw.pci.do_powerstate=0 in my loader.conf, but the power state code is keeping my system from recognizing my PC cards anyway. The dmesg output in this state is attached. --=-=-= Content-Disposition: attachment; filename=laptop-problems.html Content-Description: dmesg output for HP Omnibook XE2 MIME-Version: 1.0 Content-Type: text/plain Latest I've got my Omnibook running -CURRENT, by booting from floppies, and then copying the install kernel over from the floppies after the install was complete. The AGP problems are definitely a bug in the laptop, and there doesn't seem to be anything I can do about that. ACPI isn't working, either, but that's common for older laptops. _________________________________________________________________ introduction The most basic problem I'm seeing is that the agp device keeps the thing from booting. agp is now in the GENERIC kernels, so that's a real problem. I've bootstrapped the system up from an earlier release (4.6.2), so it's running okay now, but I'm still working on figuring out the AGP problem. What actually happens? pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0-0x3ffffff at device 0.0 on pci and it locks up there for good. hardware This is an [1]HP Omnibook XE2 and its revision is what HP calls "dd". [Sorry; actually HP calls that a "technology code."] Kernel debugging I'm having problems with debugging the kernel on this. It has to be done from boot, because the agp functionality can't be loaded later (according to the documentation, anyway; I haven't tried it). When I do try, the kernel debugger can't seem to find any symbols. What I did to get there was: 1. add "options DDB" to the kernel configuration 2. "config -g " 3. interrupt the loader, "unload kernel", load the debug kernel in its place, and "boot -d" 4. at the "DB>" prompt, type "b agp_find_caps" (and get a symbol-not-known error for my trouble) Late addition(30/Apr) I've got what seems to be a good debugging kernel, but I get the "DB>" prompt repeating endlessly (as if the return key were being hit continuously). _________________________________________________________________ last modified: 8:33pm, Wednesday, 11 Feb 2004 by Lowell Gilbert. References 1. http://h20015.www2.hp.com/en/document.jhtml?lc=en&docName=bpi03425 --=-=-=--