From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 26 18:09:42 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D505337B401; Sat, 26 Jul 2003 18:09:42 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D87743F85; Sat, 26 Jul 2003 18:09:41 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 13D9C526D2; Sun, 27 Jul 2003 10:39:38 +0930 (CST) Date: Sun, 27 Jul 2003 10:39:38 +0930 From: Greg 'groggy' Lehey To: "M. Warner Losh" Message-ID: <20030727010938.GF45069@wantadilla.lemis.com> References: <20030726080217.GB45069@wantadilla.lemis.com> <20030726.112706.56443148.imp@bsdimp.com> <20030727002138.GD45069@wantadilla.lemis.com> <20030726.184443.70908660.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TeJTyD9hb8KJN2Jy" Content-Disposition: inline In-Reply-To: <20030726.184443.70908660.imp@bsdimp.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: FreeBSD-current@FreeBSD.org cc: freebsd-mobile@FreeBSD.org Subject: Re: Mapping Video BIOS? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2003 01:09:43 -0000 --TeJTyD9hb8KJN2Jy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 26 July 2003 at 18:44:43 -0600, M. Warner Losh wrote: > In message: <20030727002138.GD45069@wantadilla.lemis.com> > "Greg 'groggy' Lehey" writes: >> On Saturday, 26 July 2003 at 11:27:06 -0600, M. Warner Losh wrote: >>> In message: <20030726080217.GB45069@wantadilla.lemis.com> >>> "Greg 'groggy' Lehey" writes: >>>> machine doesn't have a serial port, so I can't apply a kernel debugger >>>> to find out what's going on. >>> >>> Does it have a firewire port? >> >> Yes. How can I use that? > > If you have a second machine with firewire, then you can use the > firewire port as your console. Look at /usr/ports/devel/dcons. It is > one of the under-publicized cool features from Japan (Thanks > Shimokawa-san!). Ah, good stuff. I'll have to check if it also works with gdb. Unfortunately, this is my only machine with firewire. I was wondering if there were USB/conventional serial converters that I could use. >> I had also expected that you could shed some light on the BIOS mapping >> issue. Since my last message I've become pretty sure that it must be >> something to do with the chip set setup. Is it possible that we're >> not mapping the entire area 0xc0000 to 0xfffff? > > I'm not sure what you mean by this question. Since OLDCARD works, and > requires read/write access to that physical memory range, I doubt that > it is unmapped. I'm not sure at what level. I suspect that something in the chipset is turning off that area of memory, or mapping something else to it. The dump from Microsoft shows that there's another BIOS at 0xcf000, but what I have mapped in memory shows only 0xff up to address 0xd0000, where I find another BIOS signature: 0x28377fe0: 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0x28377ff0: 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0x28378000: 0xe80caa55 0x4ecb14c8 0x0000033b 0x00000000 0x28378010: 0x00000000 0x00200000 0x00600040 0x90c08b2e 0x28378020: 0x49444e55 0x0000ea16 0x0c9d0201 0xad100800 > It may be the case that we aren't setting things up so that XFree86 > can call the BIOS, but given that we used PCIBIOS before ACPI, it > seems unlikely. Well, this is a new laptop, so it's possible that something *is* getting set up incorrectly. Greg -- See complete headers for address and phone numbers --TeJTyD9hb8KJN2Jy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/IyZSIubykFB6QiMRAm9hAJ4wtIjBDnaOS39ppyF5ViIKLSvEoACdFpib ogRRd1tWHcuVTadCxWuuqN8= =5F7a -----END PGP SIGNATURE----- --TeJTyD9hb8KJN2Jy--