From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 16 23:57:48 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1ABB16A41F for ; Tue, 16 Aug 2005 23:57:47 +0000 (GMT) (envelope-from michael.honeyfield@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 930E143D46 for ; Tue, 16 Aug 2005 23:57:47 +0000 (GMT) (envelope-from michael.honeyfield@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so7158wxd for ; Tue, 16 Aug 2005 16:57:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=omCAEmbfy4oYP1P+An8ExogxXHiS4+5OWmn7/UpKU0Ms72m4z6+AWRM7MrEZrq8QZzkpnZi7CvYoaIJ1yXFOEy6LfoDkRL5vT5KMFiXFYSorWbbqzfYsGmO/UOZ/hFInzPt2qLIvR1burzXZ3Eed+atZ//RVuc7wNiMetHpWe0w= Received: by 10.70.15.19 with SMTP id 19mr366wxo; Tue, 16 Aug 2005 16:57:46 -0700 (PDT) Received: by 10.70.20.4 with HTTP; Tue, 16 Aug 2005 16:57:46 -0700 (PDT) Message-ID: <16d2d73705081616576dea9072@mail.gmail.com> Date: Wed, 17 Aug 2005 11:57:46 +1200 From: Michael Honeyfield To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: driver mmap weirdness X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2005 23:57:48 -0000 Hello, I am looking for some advise on troubleshooting a issue I am seeing with mmap() (probably how I am using it). I have a issue where a driver returns a correct value, but it seem to get lost when that value is validated by mmap() and returns MAP_FAILED. Obviously gdb is not going to be able to set into the kernel and set through each call, so am I left with using ddb ? Any points/suggestions on dealing with this would be greatly appreicated.= =20 Thanks in advance.. Mike