From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 22 17:05:38 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 9A69A106566B; Tue, 22 Mar 2011 17:05:38 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 3F8B58FC14; Tue, 22 Mar 2011 17:05:37 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 71DB945E5C; Tue, 22 Mar 2011 18:05:36 +0100 (CET) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 425BC45CBA; Tue, 22 Mar 2011 18:05:28 +0100 (CET) Date: Tue, 22 Mar 2011 18:05:21 +0100 From: Pawel Jakub Dawidek To: Marius Strobl Message-ID: <20110322170521.GA1882@garage.freebsd.pl> References: <20110307192239.GA31314@alchemy.franken.de> <20110310185423.GA50419@alchemy.franken.de> <20110319152838.GA8594@alchemy.franken.de> <20110321175632.GA19345@darkthrone.kvedulv.de> <20110321175933.GD2086@garage.freebsd.pl> <20110322160731.GG15528@alchemy.franken.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <20110322160731.GG15528@alchemy.franken.de> User-Agent: Mutt/1.4.2.3i X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Roger Hammerstein , 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: Tue, 22 Mar 2011 17:05:38 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 22, 2011 at 05:07:31PM +0100, Marius Strobl wrote: > On Mon, Mar 21, 2011 at 06:59:33PM +0100, Pawel Jakub Dawidek wrote: > > On Mon, Mar 21, 2011 at 06:56:32PM +0100, Michael Moll wrote: > > > Hi, > > >=20 > > > On Sat, Mar 19, 2011 at 04:28:38PM +0100, Marius Strobl wrote: > > >=20 > > > > Is there any progress regarding this or at least some tips what > > > > debug information to provide? > > >=20 > > > Roger created kern/155615 for this, but I do not see anything else > > > besides from that. Personally this bites my quite hard as almost all = my > > > sparc64 machines are using ZFS. :( > >=20 > > Hi. > >=20 > > Sorry for the delay in responding... > >=20 > > Are you able to send me the output of 'alltrace' command from DDB? > >=20 >=20 > available here: > http://people.freebsd.org/~marius/zfs_alltrace.txt Are you able to convert zfs_ioc_pool_create+0x3c into line number? I use the following script for i386/amd64: #!/bin/sh if [ $# -ne 2 ]; then echo "usage: `basename $0` kernel function+offset" >/dev/stderr exit 1 fi kern=3D$1 func=3D`echo $2 | awk -F+ '{print $1}'` off=3D`echo $2 | awk -F+ '{print $2}'` objdump -d ${kern} | \ egrep '^[0-9a-f]{8,16} <'${func}'>' | \ awk '{printf("0x%s\n", $1)}' | \ xargs -J ADDR printf "%u + %u\n" ADDR $off | \ bc | \ xargs printf "0x%x\n" | \ xargs addr2line -e ${kern} And: fa2line.sh /boot/kernel/zfs.ko.symbols zfs_ioc_pool_create+0x3c --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2I1tAACgkQForvXbEpPzTC5wCbB0hDuFcCU84oSKewkrvqv96c kRgAn1i4Uws4sN1XBgDOl/8V+McXEVGA =ZlV5 -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--