From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 26 18:52:29 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 8D37937B401; Sat, 26 Jul 2003 18:52:29 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88C4743FB1; Sat, 26 Jul 2003 18:52:28 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6R1nQFL089269; Sat, 26 Jul 2003 19:49:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 26 Jul 2003 19:47:50 -0600 (MDT) Message-Id: <20030726.194750.28168388.imp@bsdimp.com> To: grog@freebsd.org From: "M. Warner Losh" In-Reply-To: <20030727010938.GF45069@wantadilla.lemis.com> References: <20030727002138.GD45069@wantadilla.lemis.com> <20030726.184443.70908660.imp@bsdimp.com> <20030727010938.GF45069@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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:52:29 -0000 In message: <20030727010938.GF45069@wantadilla.lemis.com> "Greg 'groggy' Lehey" writes: : 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. None of them support console access, as far as I know. : >> 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 Typically, there are a number of different ROM sections. The orm driver searches for these things out. Does it report anything : > 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. True. Warner