From owner-freebsd-current@FreeBSD.ORG Tue Nov 1 15:09:59 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F25106564A for ; Tue, 1 Nov 2011 15:09:59 +0000 (UTC) (envelope-from bsdboot@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 169DE8FC14 for ; Tue, 1 Nov 2011 15:09:58 +0000 (UTC) Received: by iabz21 with SMTP id z21so3409082iab.13 for ; Tue, 01 Nov 2011 08:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CxtsWBBGNihUkREhvaHj7ZE2kD7zGVPdLJF5P19d0EE=; b=bGrBMTkckOdM+gFIyO/UiwnUwVHUYoFkbZOjeph+iB+jFVZ7YAd6aOuYCsOZYSzJug 4pjE1h0WSrdzv0bkL5zRH+L3u9TPgFsD97H780GSmFlY1XUHmObyWKPxQzVKbvoTJ9PJ 8dr5dwHpOUTd4nWd/uIQM4gyxLmKaYEj8W0DU= MIME-Version: 1.0 Received: by 10.42.151.4 with SMTP id c4mr29098185icw.39.1320160197896; Tue, 01 Nov 2011 08:09:57 -0700 (PDT) Received: by 10.50.15.234 with HTTP; Tue, 1 Nov 2011 08:09:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Nov 2011 20:39:57 +0530 Message-ID: From: Penta Upa To: "K. Macy" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 15:09:59 -0000 Yes that seems to be the problem. It will is for out of tree modules. http://www.freebsd.org/cgi/query-pr.cgi?pr=161887 . I have to verify if moving the module to /usr/src/ tree fixes the problem. Thanks, Penta On Tue, Nov 1, 2011 at 2:04 AM, K. Macy wrote: > Someone was seeing the same issue with the vmtools kmod. The only > thing that might make sense is that the page lock array is defined as > being a different size in your kmod as in the kernel itself so the > lock corresponding to the page you're locking differs between the two > files. > > Cheers > > On Fri, Oct 21, 2011 at 5:25 PM, Penta Upa wrote: > > Hi, > > > > I'm facing a kernel panic at vm_page_wire(). Page is locked with > > vm_page_lock() yet i get the following panic > > panic: mutex page lock not owned at /usr/src/sys/vm/vm_page:1845 > > > > Code sequence is as below > > vm_page_lock(pp); > > vm_page_lock_assert(pp, MA_OWNED); /* No panic here */ > > vm_page_wire(pp); /* Panic here for the same assertion as above, strange > */ > > vm_page_unlock(pp); > > > > Kernel on the system is unchanged after install. The only thing which > > occurred out the way was that the first time install failed for checksum > > mismatch for src.txz. Also there were some SCSI errors/warnings with the > CD > > drive during install. So the next time, i only installed the base and > > kernel and later unpacked src.txz under /usr/src . Could this lead to any > > issues ? > > > > Attached is a test module (vmtest) and the makefile used. Uname output > from > > the system is > > > > FreeBSD scache 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 21:31:28 UTC > > 2011 > > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > > Is there anything i'm doing wrong here ? Kindly help. > > > > Regards, > > Penta > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > >