Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 18:05:21 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        Roger Hammerstein <cheeky.m@live.com>, freebsd-sparc64@FreeBSD.org, mm@FreeBSD.org
Subject:   Re: sparc64 hang with zfs v28
Message-ID:  <20110322170521.GA1882@garage.freebsd.pl>
In-Reply-To: <20110322160731.GG15528@alchemy.franken.de>
References:  <BAY147-w7342A790723770DCE8BD4F9C00@phx.gbl> <BAY147-w229E76D137B7A0DCEB3696F9C70@phx.gbl> <20110307192239.GA31314@alchemy.franken.de> <BAY147-w5926709E28BF613C663D48F9C90@phx.gbl> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110322170521.GA1882>