nfs + msdosfs = crashes & panics

Chris Pressey cpressey at catseye.mine.nu
Tue Apr 13 17:06:37 PDT 2004


On Tue, 13 Apr 2004 15:24:19 -0700 (PDT)
Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:

>     It sounds like you may have a cable or NIC issue due
>     to getting a whole bunch of packet fragments all once.  A standard
>     NFS packet has an 8K data payload which results in 5 or 6 physical
>     packets on the wire.  There are many older (ISA primarily) NICs
>     that just can't handle that.

Yep, that's almost certainly the case:

ed0: <AOpen AON-101 10M NIC          > at port 0x240-0x25f irq 9 on isa0
ed0: address 52:54:40:26:f5:f9, type NE2000 (16 bit) 

But I'm not complaining, I'm just happy it works - it came with a
second-hand computer that cost me $5 :)

>     That works, but it does not install the debug-symboled binary.  It
>     keeps it in your kernel build directory as 'kernel.debug'.  If you
>     are using make buildkernel, then the kernel build directory is 
>     probably /usr/obj/usr/src/sys/<KERNELNAME>.  Note that the
>     kernel.debug must be from the exact build that was installed on
>     the machine.

Ah, so that's it, thanks!  Right, then, the relevant bit is:

#11 0xc01bfff5 in msdosfs_write (ap=0xc9274934)
    at /usr/src/sys/vfs/msdosfs/msdosfs_vnops.c:653
#12 0xc0209358 in nfsrv_write (nfsd=0xc0b48b08, slp=0xc0b51a00,
    td=0xc481f800, mrq=0xc9274abc) at vnode_if.h:457
#13 0xc021d95a in nfssvc_nfsd (nsd=0xc9274b20, argp=0x807d720 "", 
    td=0xc481f800) at /usr/src/sys/vfs/nfs/nfs_syscalls.c:609
#14 0xc021d255 in nfssvc (uap=0xc9274c4c)
    at /usr/src/sys/vfs/nfs/nfs_syscalls.c:306
#15 0xc02c00a6 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = 0, tf_ebp = -1077936736, tf_isp = -920171148,
      tf_ebx = 4, tf_edx = 1, tf_ecx = -3, tf_eax = 155, tf_trapno = 12,
      tf_err = 2, tf_eip = 134518160, tf_cs = 31, tf_eflags = 663, 
      tf_esp = -1077937164, tf_ss = 47}) at
    /usr/src/sys/i386/i386/trap.c:1292
#16 0xc02af93a in Xint0x80_syscall ()

>     If you can upload the core and kernel.debug to leaf I'll take a
>     look at the crash.

Also done.

-Chris





More information about the Bugs mailing list