From owner-freebsd-hackers@FreeBSD.ORG Sun May 10 13:37:57 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378DE106566C for ; Sun, 10 May 2009 13:37:57 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id B1A648FC08 for ; Sun, 10 May 2009 13:37:56 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by bwz9 with SMTP id 9so2174617bwz.43 for ; Sun, 10 May 2009 06:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=gpDrH7rlXjmjDzMpMT28IkvoFvtvB9WsT8XfANKwCCU=; b=d/aQDRe7QqcpH4b2AFw25DSR3WvxZPW8+ldfZYot7M2+SdFkoPJV6gjqsLxr5H6NxR WIVLDnnQxVSsogHJlS1ZzTHCY3XnJ9JuS3nuhqSSpBFF31Jr/j7PqqK9a85PuAkvEKLw z9BWk2/A6z9dZiuNY3fR+HbuBshwWrYPUu720= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=j1+4SXUWRhjJ4Q2O5umzYx00yk8kclM2RuT0pRjX8FEw105+z7zEVEK8DmpagRlo89 nEkAZxV7siVpf+Tsr8AQfm+JoHdKL8Y6Dzo5fxpTeWrjImPoRU/LMMmtCVHMHeB6slpI KG4fqKHiZ75SRtTXH6pjRO5M/DFoTIThqlR5Y= MIME-Version: 1.0 Received: by 10.239.150.9 with SMTP id l9mr333732hbb.147.1241962675623; Sun, 10 May 2009 06:37:55 -0700 (PDT) In-Reply-To: <584ec6bb0905100532n36ae97b1rc5e6e31c23bdb44b@mail.gmail.com> References: <584ec6bb0905100532n36ae97b1rc5e6e31c23bdb44b@mail.gmail.com> Date: Sun, 10 May 2009 09:37:55 -0400 Message-ID: From: Ryan Stone To: Ray Kinsella Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: contigmalloc & access protection failure 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: Sun, 10 May 2009 13:37:57 -0000 You're loading this through kldload? Then I'd imagine that curthread->td_proc->p_vmspace->vm_map refers to the vm_map of the kldload process, not the kernel. Try using kernel_map directly. Ryan Stone