From owner-freebsd-hackers Sat Nov 1 23:53:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA06655 for hackers-outgoing; Sat, 1 Nov 1997 23:53:19 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA06648 for ; Sat, 1 Nov 1997 23:53:15 -0800 (PST) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by Campino.Informatik.RWTH-Aachen.DE (8.8.7/RBI-Z14) with ESMTP id IAA18720; Sun, 2 Nov 1997 08:53:12 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id JAA03761; Sun, 2 Nov 1997 09:07:52 +0100 (MET) Message-ID: <19971102090752.08503@gil.physik.rwth-aachen.de> Date: Sun, 2 Nov 1997 09:07:52 +0100 From: Christoph Kukulies To: Mike Smith Cc: Christoph Kukulies , freebsd-hackers@freefall.FreeBSD.org Subject: Re: still mmap and my driver References: <199711011856.TAA01870@gil.physik.rwth-aachen.de> <199711020509.PAA00322@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199711020509.PAA00322@word.smith.net.au>; from Mike Smith on Sun, Nov 02, 1997 at 03:39:24PM +1030 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. > > mike > -- --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de