From owner-freebsd-hackers Sun Nov 2 17:12:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23526 for hackers-outgoing; Sun, 2 Nov 1997 17:12:14 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA23519 for ; Sun, 2 Nov 1997 17:12:09 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00713; Mon, 3 Nov 1997 11:38:21 +1030 (CST) Message-Id: <199711030108.LAA00713@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Christoph Kukulies cc: Mike Smith , freebsd-hackers@freefall.FreeBSD.org Subject: Re: still mmap and my driver In-reply-to: Your message of "Sun, 02 Nov 1997 09:07:52 BST." <19971102090752.08503@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:38:21 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sun, Nov 02, 1997 at 03:39:24PM +1030, Mike Smith wrote: > > > > > > Things are still weird with my driver ISA memory mapping. > > > I noticed that the space I need to map is 16386 bytes > > > from C8000 on. I changed isa_device id->id_msize to have 16386. > > > And I have an iosiz 0x4000 in my config file now. > > > > > > I still get a kernel panic, when I access 0xca000 in the driver. > > > > > > Did I still overlook anything? > > > > The details of the "panic". Was it really a panic? Do you perhaps > > mean that it was a page fault (probably good ol' trap 12)? > > Sure. I mean page fault because it cannot access 0xca000. > It happens during the driver probe phase in the portion of code > I wrote. It's quite obvious that it's because the page is not > available. This doesn't make a great deal of sense, unfortunately. If the correct window is being mapped for your driver, it should work. It sounds like the mapping isn't being done right. Source for your probe/attach available? mike