From owner-freebsd-stable@FreeBSD.ORG Sat Jun 20 11:07:55 2015 Return-Path: Delivered-To: stable@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0C80952; Sat, 20 Jun 2015 11:07:55 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 240C17DC; Sat, 20 Jun 2015 11:07:55 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: by labko7 with SMTP id ko7so87227174lab.2; Sat, 20 Jun 2015 04:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Cb6g5Mj0YydhwGN8MH+xdBpbYiWbUbKi2+BvW/YWr3g=; b=iRtZr9jo/2yAU5j5Kb/oDt3KOGM/45SxvfBbDzBX3XQ4XZr6XAkUPRtCtQIIs84xF0 P8TyTDhpRD0m/lbui4cEPTbKLHW83SfTrWlx13Km0x0lP3c36qVt8P5Rbhc0toVlVc6b 7HbwAmP18Gfgytgn/3ZVgNFclaCAFxdJN3a/dihIds1WLd7sBM104wO36hkn8ENHSS5I 49I5FX7DszQoprqvM3K90y4nroUOqAuisWqpWKe6o+iN+7Ecj4AyTlJClegbOeACNNaa LiH6vEd/FwnuU1FwZ/t84SoZhWH+ODYesOijzEMAL3ycXpJmPJH8mzVVj4qQby02Cqnn GHdQ== X-Received: by 10.112.137.164 with SMTP id qj4mr21624232lbb.105.1434798473145; Sat, 20 Jun 2015 04:07:53 -0700 (PDT) Received: from [10.0.1.6] (broadband-5-228-251-108.nationalcablenetworks.ru. [5.228.251.108]) by mx.google.com with ESMTPSA id la10sm3125325lab.15.2015.06.20.04.07.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Jun 2015 04:07:52 -0700 (PDT) Content-Type: text/plain; charset=koi8-r Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: panic: wm_page_unwire From: Dmitry Sivachenko In-Reply-To: <20150620100116.GU2080@kib.kiev.ua> Date: Sat, 20 Jun 2015 14:07:51 +0300 Cc: FreeBSD Stable ML , alc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7643BD12-C684-4C50-93A8-C25CE5A535EC@gmail.com> References: <8436D969-5AF2-4189-A509-B44669906AEB@gmail.com> <60FB4B9C-CC80-4269-8C94-F9DE3D98EE0D@gmail.com> <20150620100116.GU2080@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2015 11:07:55 -0000 > On 20 =C9=C0=CE=D1 2015 =C7., at 13:01, Konstantin Belousov = wrote: >=20 >=20 > I was able to reproduce something related, this may be very well your > problem. Take the attached program. Select a scratch file on UFS = mount > point, say x. Run the following commands: > mlock_modify x& > dd if=3D/dev/zero of=3Dx bs=3D1 count=3D1 > fg > ^C <- system might panic at this point, if buffers are in short supply > dd if=3D/dev/zero of=3Dx bs=3D1 count=3D1 <- at this point, the system = must panic Yes, that is exactly two cases when I was able to reproduce a panic, so = it is apparently my issue. I tried your patch and I can confirm that it does fix the problem. Thanks!