From owner-freebsd-current@freebsd.org Wed Dec 30 10:56:28 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 162EBA562DC for ; Wed, 30 Dec 2015 10:56:28 +0000 (UTC) (envelope-from florian.ermisch@alumni.tu-berlin.de) Received: from mail-2.alumni.tu-berlin.de (mail-2.alumni.tu-berlin.de [130.149.5.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C88A217BD for ; Wed, 30 Dec 2015 10:56:27 +0000 (UTC) (envelope-from florian.ermisch@alumni.tu-berlin.de) X-tubIT-Incoming-IP: 92.224.250.242 Received: from x5ce0faf2.dyn.telefonica.de ([92.224.250.242] helo=[192.168.2.226]) by mailbox.alumni.tu-berlin.de (exim-4.76) with esmtpsa [UNKNOWN:AES128-SHA:128] id 1aEEQa-0007ZY-4N; Wed, 30 Dec 2015 11:56:24 +0100 Subject: Re: Stack backtrace on `zpool export` To: NGie Cooper References: <5B1F1E9E-7651-4C1D-807F-A875EDEF8705@fsfe.org> <3B435E9A-F93A-407E-AB54-C7B98291269B@gmail.com> Cc: oliver.pinter@hardenedbsd.org, FreeBSD CURRENT From: Florian Ermisch X-Enigmail-Draft-Status: N1110 Message-ID: <5683B857.3070904@alumni.tu-berlin.de> Date: Wed, 30 Dec 2015 11:56:23 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 30 Dec 2015 12:08:30 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 30 Dec 2015 10:56:28 -0000 On 29.12.15 21:14, Alan Somers wrote: > On Tue, Dec 29, 2015 at 12:54 PM, NGie Cooper > wrote: >> >>> On Dec 29, 2015, at 11:48, Florian Ermisch <0xf10e@fsfe.org> >>> wrote: >>> >>> Hi *, >>> >>> since I've upgraded my laptop from 10.2-RELEASE to 11-CURRENT >>> (r292536, now r292755) I see this stack backtrace when a zpool >>> is exported: >>> (see https://gist.github.com/a342d0381a6b7ac8b313) >>> >>> (From /var/log/messages) >>> >>> First I've only seen this on the console at shutdown or reboot >>> (after sync I think) but later found I can reproduce it by >>> exporting a zpool. While the only pools I can trigger this >>> without a shutdown/reboot are connected via USB(3) I still see >>> it just before poweroff at shutdown when the system's root pool >>> is synced. >>> >>> When I try to export a zpool under heavy load (`make -C >>> /use/src -j 4 buildworld` on a 2 core CPU w/ HT) the system >>> locks up completely. I don't think it's related to memory >>> pressure as I haven't seen swap being used during a buildworld >>> (with 8 gigs of RAM). >>> >>> Has anyone else seen this? >> >> Please file a bug for this issue and assign it to freebsd-fs. It >> doesn’t look familiar (there might be a lock ordering issue with >> either zfs or vfs+zfs). Thanks! -NGie I've filed the bug but I don't think I can change the assignee: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205725 As mentioned in the first comment, there might be a related issue with UFS on 10-STABLE: https://lists.freebsd.org/pipermail/freebsd-stable/2015-December/083895.html Regards, Florian > > Adding Will@. I think he was working on this LOR at one point. > -Alan