NFS serving off NTFS panic

Dmitri Nikulin dnikulin at optusnet.com.au
Wed Dec 22 22:29:28 PST 2004


Matthew Dillon wrote:

   For yours, please try this patch.
 

Patch helped slightly. It no longer panics on nfsd start. It now panics 
on remote mounting of the exported volume. The mount finishes fine, but 
when you try to do anything and notice the client goes into deep space, 
it's a sign the host died.

Backtrace this time (doesn't appear too different, but I have untrained 
eyes; my best debugging efforts involve printf):

#0  dumpsys () at ../../kern/kern_shutdown.c:508
#1  0xc02603a3 in boot (howto=260) at ../../kern/kern_shutdown.c:341
#2  0xc02607d4 in panic (fmt=0xc042c82a "from debugger")
   at ../../kern/kern_shutdown.c:620
#3  0xc0157b49 in db_panic (addr=-1071020233, have_addr=0, count=-1,
   modif=0xdecab690 "") at ../../ddb/db_command.c:450
#4  0xc0157ae7 in db_command (last_cmdp=0xc04c7fa4, cmd_table=0xc04c7dc4,
   aux_cmd_tablep=0xc04bf9f0, aux_cmd_tablep_end=0xc04bfa08)
   at ../../ddb/db_command.c:346
#5  0xc0157bb3 in db_command_loop () at ../../ddb/db_command.c:472
#6  0xc015a1d9 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:72
#7  0xc03f8cb2 in kdb_trap (type=12, code=0, regs=0xdecab7dc)
   at ../../i386/i386/db_interface.c:161
#8  0xc040aa3a in trap_fatal (frame=0xdecab7dc, eva=28)
   at ../../i386/i386/trap.c:1139
#9  0xc040a669 in trap_pfault (frame=0xdecab7dc, usermode=0, eva=28)
   at ../../i386/i386/trap.c:1033
#10 0xc040a2c4 in trap (frame=
     {tf_fs = -557645800, tf_es = -1049493488, tf_ds = 16, tf_edi = 
-1048308224, tf_esi = 0, tf_ebp = -557139924, tf_isp = -557139960, 
tf_ebx = 0, tf_edx = -1049463268, tf_ecx = -911559804, tf_eax = 
-8388608, tf_trapno = 12, tf_err = 0, tf_eip = -1071020233, tf_cs = 8, 
tf_eflags = 66195, tf_esp = 0, tf_ss = 0})
   at ../../i386/i386/trap.c:613
#11 0xc03f9c2b in calltrap ()
#12 0xdec30018 in ?? ()
#13 0xc1720010 in ?? ()
#14 0x00000010 in ?? ()
#15 0xc1841600 in ?? ()
#16 0x00000000 in ?? ()
#17 0xdecab82c in ?? ()
#18 0xdecab808 in ?? ()
#19 0x00000000 in ?? ()
#20 0xc172761c in ?? ()
#21 0xc9aab384 in ?? ()
#22 0xff800000 in ?? ()
#23 0x0000000c in ?? ()
#24 0x00000000 in ?? ()
#25 0xc0298737 in vput (vp=0x0) at ../../kern/vfs_lock.c:340
#26 0xc0305fab in nfsrv_readdirplus (nfsd=0xdeb66c88, slp=0xc1843e00,
   td=0xc9aab2c0, mrq=0xdecabacc) at ../../vfs/nfs/nfs_serv.c:3288
#27 0xc030f3d2 in nfssvc_nfsd (nsd=0xdecabb34, argp=---Can't read 
userspace from dump, or kernel process---

)
   at ../../vfs/nfs/nfs_syscalls.c:613
#28 0xc030ecc9 in nfssvc (uap=0xdecabc34) at 
. ./../vfs/nfs/nfs_syscalls.c:311
#29 0xc040ad7e in syscall2 (frame=
     {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 0, 
tf_ebp = -1077937312, tf_isp = -557138572, tf_ebx = 4, tf_edx = 1, 
tf_ecx = -7, tf_eax = 155, tf_trapno = 12, tf_err = 2, tf_eip = 
134518624, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937740, tf_ss = 
47}) at ../../i386/i386/trap.c:1350
#30 0xc03f9cba in Xint0x80_syscall ()
#31 0x0000002f in ?? ()
#32 0x0000002f in ?? ()
#33 0x0000002f in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0xbfbffb60 in ?? ()
#37 0xdecabd74 in ?? ()
#38 0x00000004 in ?? ()
#39 0x00000001 in ?? ()
#40 0xfffffff9 in ?? ()
#41 0x0000009b in ?? ()
#42 0x0000000c in ?? ()
#43 0x00000002 in ?? ()
#44 0x08049760 in ?? ()
#45 0x0000001f in ?? ()
#46 0x00000297 in ?? ()
#47 0xbfbff9b4 in ?? ()
#48 0x0000002f in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x1a678000 in ?? ()
#54 0xff800000 in ?? ()
#55 0xc05364f0 in ithread_ary ()
#56 0xdecab430 in ?? ()
#57 0xdecab420 in ?? ()
#58 0xc9aab2c0 in ?? ()
#59 0xc02647ea in lwkt_preempt (ntd=---Can't read userspace from dump, 
or kernel process---

) at ../../kern/lwkt_thread.c:763
Previous frame inner to this frame (corrupt stack?)





More information about the Bugs mailing list