rsync + hammer + nfs = trouble

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Mon Jul 14 10:50:20 PDT 2008


On Monday 14 July 2008, you wrote:
> 
> :
> :Hit an unrelated hammer bug (latest HEAD) while trying to reproduce. Should
> :be easy to fix; uploading dump to my ~/crash directory on leaf.
> :
> :Aggelos
> 
>     I'm looking at the core file but I don't see anything wrong.  There are
>     no processes stuck on anything as far as I can tell.

This is not the same issue as I reported previously. AFAICT it's a null
pointer dereference:

(kgdb) bt
#0  dumpsys () at ./machine/thread.h:83
#1  0xc0256b2d in boot (howto=260)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/kern/kern_shutdown.c:375
#2  0xc0256df0 in panic (fmt=0xc04437c5 "from debugger")
    at /home/aggelos/imports/vcs/dfgit/cz/sys/kern/kern_shutdown.c:800
#3  0xc016133d in db_panic (addr=-1070072130, have_addr=0, count=-1, modif=0xd45b25e4 "")
    at /home/aggelos/imports/vcs/dfgit/cz/sys/ddb/db_command.c:447
#4  0xc01619a8 in db_command_loop ()
    at /home/aggelos/imports/vcs/dfgit/cz/sys/ddb/db_command.c:343
#5  0xc0163f54 in db_trap (type=12, code=2)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/ddb/db_trap.c:71
#6  0xc03ed786 in kdb_trap (type=12, code=2, regs=0xd45b272c)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/db_interface.c:148
#7  0xc0403877 in trap_fatal (frame=0xd45b272c, eva=<value optimized out>)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/trap.c:1133
#8  0xc0403a07 in trap_pfault (frame=0xd45b272c, usermode=0, eva=0)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/trap.c:1039
#9  0xc0404006 in trap (frame=0xd45b272c)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/trap.c:719
#10 0xc03ee487 in calltrap ()
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/exception.s:785
#11 0xc037febe in hammer_alloc_objid (hmp=0xd4827000, dip=0xd17c46d0)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/vfs/hammer/hammer_transaction.c:205
#12 0xc0373280 in hammer_create_inode (trans=0xd45b27dc, vap=0xd45b2a70, cred=0xc237aa30,
    dip=0xd17c46d0, pfsm=0x0, ipp=0xd45b27d8)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/vfs/hammer/hammer_inode.c:524
#13 0xc0382865 in hammer_vop_nmkdir (ap=0xd45b2818)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/vfs/hammer/hammer_vnops.c:1050
#14 0xc02aa2c3 in vop_nmkdir (ops=0xc23add70, nch=0xd45b28e0, dvp=0xd47ed7e8, vpp=0xd45b28c8,
    cred=0xc237aa30, vap=0xd45b2a70)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/kern/vfs_vopops.c:1029
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---#15 0xc03075b2 in nfsrv_mkdir (nfsd=0xc237a9b0, slp=0xc23aca50, td=0xc23799c0, mrq=0xd45b2ba8)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/vfs/nfs/nfs_serv.c:2583
#16 0xc0318f2d in sys_nfssvc (uap=0xd45b2cf0)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/vfs/nfs/nfs_syscalls.c:590
#17 0xc040469b in syscall2 (frame=0xd45b2d40)
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/trap.c:1384
#18 0xc03ee536 in Xint0x80_syscall ()
    at /home/aggelos/imports/vcs/dfgit/cz/sys/platform/pc32/i386/exception.s:876
#19 0x080498c0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(kgdb)


>     Could it be an issue with your network?  Can access the machine via
>     its console and see if the network still works?

In the previous bug (hit the new bug while trying to reproduce it) the network
was up; as I said, I could edit the command line over ssh just fine. In this
one, the machine crashed, so obviously no network access was possible.

Aggelos





More information about the Bugs mailing list