Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 21:28:07 -0600 (CST)
From:      Kevin Day <toasty@shell1.dragondata.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/8657: nfs client hung in nfs_bwrite/vfs_busy_pages
Message-ID:  <199811120328.VAA27940@shell1.dragondata.com>

next in thread | raw e-mail | index | archive | help

>Number:         8657
>Category:       kern
>Synopsis:       nfs client hung in nfs_bwrite/vfs_busy_pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 11 19:30:00 PST 1998
>Last-Modified:
>Originator:     Kevin Day
>Organization:
DragonData Internet Services
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

2.2.5 NFS server, and 2.2.7 NFS client

>Description:

Three times in the past week, the NFS client has frozen with the following
trace:


--- interrupt, eip = 0xf012fa10, esp = 0xefbffdbc, ebp = 0xefbffdf0
_vfs_busy_pages(f6dff300,1,efbffed0,f015d640,efbffe5c) at _vfs_busy_pages
_nfs_bwrite(efbffe5c) at _nfs_bwrite+0x10
_nfs_write(efbffef4,efbfff94,1ef5ef3c00,2) at _nfs_write+0x648
_vn_write(f61815c0,efbfff38,f6061d00,f01f2f90,f5ef3c00) at _vn_write+0x93
_write(f5ef3c00,efbfff94,efbff84) at _write+0x76
_syscall
_Xsyscall

9 out of 10 times I'd break into the debugger, I'd see this exact trace. If
not, it would be somewhere higher up in the same syscall.

I am unable to force a core dump. (it acts like it's going to dump, but
never actually starts displaying any numbers)


Here's the dmesg from the client

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.7-RELEASE #0: Thu Jul 30 16:42:02 CDT 1998
    root@shell1.dragondata.com:/usr/src/sys/compile/SHELL1
CPU: Pentium II (quarter-micron) (398.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping=1
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,<b16>,<b17>,MMX,<b24>>
real memory  = 402653184 (393216K bytes)
avail memory = 391720960 (382540K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7190 subclass=0)> rev 2 on pci0:0:0
chip1 <generic PCI bridge (vendor=8086 device=7191 subclass=4)> rev 2 on pci0:1:0
chip2 <Intel 82371AB PCI-ISA bridge> rev 2 on pci0:7:0
chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip4 <Intel 82371AB USB interface> rev 1 int d irq 9 on pci0:7:2
chip5 <Intel 82371AB Power management controller> rev 2 on pci0:7:3
de0 <Digital 21140A Fast Ethernet> rev 34 int a irq 11 on pci0:14:0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:40:05:43:a3:a3
de1 <Digital 21140A Fast Ethernet> rev 34 int a irq 10 on pci0:15:0
de1: 21140A [10-100Mb/s] pass 2.2
de1: address 00:40:05:42:dd:26
Probing for devices on PCI bus 1:
vga0 <VGA-compatible display device> rev 92 on pci1:0:0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1 not found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Maxtor 91152D8>
wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <NEC                 CD-ROM DRIVE:28C/3.02>, removable, dma, iordy
wcd0: 2412/5512Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: no disc inside, unlocked
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
WARNING: / was not properly dismounted.
de0: enabling Full Duplex 100baseTX port
de1: enabling 100baseTX port


nfsstat from the box now:

Client Info:
Rpc Counts:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
   252676      6639    339393        74     39757     45089     42982     44343
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
    44119         8         0         0        38       503         0   1077438
    Mknod    Fsstat    Fsinfo  PathConf    Commit    GLease    Vacate     Evict
        0         4         2         0     20988         0         0         0
Rpc Info:
 TimedOut   Invalid X Replies   Retries  Requests
        0         0      1173      3294   1914053
Cache Info:
Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits    Misses
  1630403    252676    951712    250478    347493     39757     98064     45089
BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
     1024        74     16003       503       711         0

>How-To-Repeat:

Rather random.. Heavy NFS access on the client at all times though.

>Fix:
	
.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811120328.VAA27940>