From owner-freebsd-current@FreeBSD.ORG Sat Sep 11 01:44:52 2010 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 08C061065670 for ; Sat, 11 Sep 2010 01:44:52 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B42CE8FC08 for ; Sat, 11 Sep 2010 01:44:51 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OuF96-0003do-T5 for freebsd-current@freebsd.org; Sat, 11 Sep 2010 03:44:49 +0200 Received: from 142-076-ppp.kubtelecom.ru ([142-076-ppp.kubtelecom.ru]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Sep 2010 03:44:48 +0200 Received: from yuri.pankov by 142-076-ppp.kubtelecom.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Sep 2010 03:44:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Yuri Pankov Date: Sat, 11 Sep 2010 01:44:40 +0000 (UTC) Lines: 22 Message-ID: References: <4C8A9B8B.1000006@delphij.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.132.76.142 (Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100908 Firefox/3.6.8) Subject: Re: g_event spinning 100% when doing 'gpart add' 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: Sat, 11 Sep 2010 01:44:52 -0000 Xin LI delphij.net> writes: > > > Hi, > > On a brand new system I'm trying to allocate new GPT partition with: > > gpart create -s gpt ada0 > gpart add -t freebsd-zfs ada0 > And gpart hangs with "g_waitfor_event" with "g_event" spinning 100% of CPU. > > Any thoughts? The system is FreeBSD/amd64 on Atom D510 with reasonably > new FreeBSD -CURRENT code. > > Cheers, Probably result of kernel built with DEBUG_LOCKS and world without -DDEBUG_LOCKS. HTH, Yuri