Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 1997 11:38:21 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Cc:        Mike Smith <mike@smith.net.au>, freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: still mmap and my driver 
Message-ID:  <199711030108.LAA00713@word.smith.net.au>
In-Reply-To: Your message of "Sun, 02 Nov 1997 09:07:52 BST." <19971102090752.08503@gil.physik.rwth-aachen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711030108.LAA00713>