Dear colleagues,
I had a crash durinc rsync to ZFS today:
(kgdb) bt
#0 doadump () at pcpu.h:196
#1 0xc050c688 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2 0xc050c965 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3 0xc08e95ce in zfs_fuid_create (zfsvfs=0xc65c4800, id=Unhandled dwarf
expression opcode 0x93
)
at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fuid.c:591
#4 0xc0910775 in zfs_freebsd_setattr (ap=0xf5baab64)
at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:2888
#5 0xc06c6292 in VOP_SETATTR_APV (vop=0xc096e560, a=0xf5baab64)
at vnode_if.c:583
#6 0xc05918e5 in setfown (td=0xc834fd80, vp=0xcac4b33c, uid=4294967294, gid=0)
at vnode_if.h:315
#7 0xc05919bc in kern_lchown (td=0xc834fd80,
path=0xbfbfccc8 <Address 0xbfbfccc8 out of bounds>,
pathseg=UIO_USERSPACE,
uid=-2, gid=0) at /usr/src/sys/kern/vfs_syscalls.c:2787
#8 0xc0591a4a in lchown (td=0xc834fd80, uap=0xf5baacfc)
at /usr/src/sys/kern/vfs_syscalls.c:2770
#9 0xc06b10f5 in syscall (frame=0xf5baad38)
at /usr/src/sys/i386/i386/trap.c:1101
#10 0xc0696b90 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:262
Any other info needed?
Thanks in advance!
--
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------
On Mon, Jan 25, 2010 at 10:04:20PM +0300, Dmitry Morozovsky wrote:> Dear colleagues, > > I had a crash durinc rsync to ZFS today:Do you have recent 7-STABLE? Not sure if it was the same before MFC, probably not, because what you see is impossible in case of source I'm looking at. At the begining of zfs_fuid_create() function there is a check: if (!zfsvfs->z_use_fuids || !IS_EPHEMERAL(id) || fuid_idx != 0) return (id); And IS_EPHEMERAL() is defined as follows: #define IS_EPHEMERAL(x) (0) So it will always return here.> #3 0xc08e95ce in zfs_fuid_create (zfsvfs=0xc65c4800, id=Unhandled dwarf > expression opcode 0x93 > ) > at > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fuid.c:591-- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100125/5ef414bc/attachment.pgp
On Tue, 26 Jan 2010, Artem Belevich wrote: AB> > will do, thank you. is fletcher4 faster? AB> Not necessarily. But it does work as a checksum much better. See AB> following link for the details. AB> AB> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6740597 Yes, I already read some articles about fletcher checksums and related. Thanks. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------