From owner-freebsd-sparc64@FreeBSD.ORG Sat Mar 19 15:28:40 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78EDF106564A; Sat, 19 Mar 2011 15:28:40 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id CA2FF8FC08; Sat, 19 Mar 2011 15:28:39 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p2JFScST008608; Sat, 19 Mar 2011 16:28:38 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p2JFScRV008607; Sat, 19 Mar 2011 16:28:38 +0100 (CET) (envelope-from marius) Date: Sat, 19 Mar 2011 16:28:38 +0100 From: Marius Strobl To: Roger Hammerstein Message-ID: <20110319152838.GA8594@alchemy.franken.de> References: <20110307192239.GA31314@alchemy.franken.de> <20110310185423.GA50419@alchemy.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110310185423.GA50419@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i Cc: pjd@freebsd.org, freebsd-sparc64@freebsd.org, mm@freebsd.org Subject: Re: sparc64 hang with zfs v28 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2011 15:28:40 -0000 On Thu, Mar 10, 2011 at 07:54:23PM +0100, Marius Strobl wrote: > On Wed, Mar 09, 2011 at 10:03:24AM -0500, Roger Hammerstein wrote: > > > > As for the remaining ZFS hangs you're seeing I can reproduce these > with a r219092 checkout (i.e. right after the ZFS v28 import plus > fixes) and the above patch applied, so this problem appears to be > orthogonal: > v215# kldload zfs.ko > ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; > to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. > ZFS filesystem version 5 > ZFS storage pool version 28 > v215# mdconfig -a -t malloc -s 100m > md0 > v215# mdconfig -a -t malloc -s 100m > md1 > v215# zpool create tank mirror /dev/md0 /dev/md1 > ^Z > > > The end of the corresponding ktrace dump is: > <...> > v215# kdump | tail > 1683 initial thread RET madvise 0 > 1683 initial thread CALL close(0x5) > 1683 initial thread RET close 0 > 1683 initial thread CALL __sysctl(0x7fdffff8778,0x2,0x7fdffff8840,0x7fdffff88a8,0x40d41168,0x13) > 1683 initial thread SCTL "sysctl.name2oid" > 1683 initial thread RET __sysctl 0 > 1683 initial thread CALL __sysctl(0x7fdffff8840,0x4,0x40e4f158,0x7fdffff8978,0,0) > 1683 initial thread SCTL "vfs.zfs.version.spa" > 1683 initial thread RET __sysctl 0 > 1683 initial thread CALL ioctl(0x3,0xd5985a00 ,0x7fdffff8a60) > > Please work with the ZFS maintainers (CC'ed) to get this fixed. > Is there any progress regarding this or at least some tips what debug information to provide? Marius