sparc64 hang with zfs v28

Marius Strobl marius at alchemy.franken.de
Sat Mar 19 15:28:40 UTC 2011


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



More information about the freebsd-sparc64 mailing list