sparc64 hang with zfs v28

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Mar 22 17:05:38 UTC 2011


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,
> > > 
> > > On Sat, Mar 19, 2011 at 04:28:38PM +0100, Marius Strobl wrote:
> > > 
> > > > Is there any progress regarding this or at least some tips what
> > > > debug information to provide?
> > > 
> > > 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. :(
> > 
> > Hi.
> > 
> > Sorry for the delay in responding...
> > 
> > Are you able to send me the output of 'alltrace' command from DDB?
> > 
> 
> 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=$1
func=`echo $2 | awk -F+ '{print $1}'`
off=`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

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20110322/f6dbae10/attachment.pgp


More information about the freebsd-sparc64 mailing list