From owner-freebsd-current Sat Feb 21 16:14:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13139 for freebsd-current-outgoing; Sat, 21 Feb 1998 16:14:06 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13077 for ; Sat, 21 Feb 1998 16:13:59 -0800 (PST) (envelope-from gallatin@grasshopper.cs.duke.edu) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.8.8/8.8.8) id TAA00419; Sat, 21 Feb 1998 19:13:56 -0500 (EST) (envelope-from gallatin) Date: Sat, 21 Feb 1998 19:13:56 -0500 (EST) Message-Id: <199802220013.TAA00419@grasshopper.cs.duke.edu> From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Kevin Day Cc: current@FreeBSD.ORG Subject: Re: panic: vm_page_unwire: invalid wire count: 0 In-Reply-To: <199802212310.RAA01733@home.dragondata.com> References: <199802211518.JAA09042@home.dragondata.com> <199802212310.RAA01733@home.dragondata.com> X-Mailer: VM 6.31 under 20.2 XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just to add another data point: This happens to me too, but on a uniprocessor PII with an Intel EtherExpress Pro 100/B. The NFS filesystem in question is mounted NFSv3, via a 100Mb/Full-duplex link to an essentially idle DEC Alpha NFS server running DU 4.0B. If I do the following in the NFSv3 mounted filesystem, I can reproduce your first stack trace: % echo 'main() { printf ("hello, world\n");}' > foo.c ; cc foo.c ; ./a.out ; cc foo.c Everything's fine until the second complilation. Here's my stack trace: (kgdb) where #0 boot (howto=256) at ../../kern/kern_shutdown.c:286 #1 0xf0118d67 in panic ( fmt=0xf01b24c6 "vm_page_unwire: invalid wire count: %d\n") at ../../kern/kern_shutdown.c:426 #2 0xf01b255f in vm_page_unwire (m=0xf0d9f708) at ../../vm/vm_page.c:1244 #3 0xf0131044 in vfs_vmio_release (bp=0xf3336150) at ../../kern/vfs_bio.c:757 #4 0xf0130c9d in brelse (bp=0xf3336150) at ../../kern/vfs_bio.c:645 #5 0xf0136985 in vinvalbuf (vp=0xf5ca52e0, flags=0, cred=0xf13be500, p=0xf5bdee00, slpflag=0, slptimeo=0) at ../../kern/vfs_subr.c:605 #6 0xf0157230 in nfs_vinvalbuf (vp=0xf5ca52e0, flags=0, cred=0xf13be500, p=0xf5bdee00, intrflg=1) at ../../nfs/nfs_bio.c:782 #7 0xf017e60c in nfs_remove (ap=0xf5c9fef4) at ../../nfs/nfs_vnops.c:1463 #8 0xf013a117 in unlink (p=0xf5bdee00, uap=0xf5c9ff84) at vnode_if.h:523 #9 0xf01c6a4f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, tf_esi = -272639487, tf_ebp = -272639732, tf_isp = -171311148, tf_ebx = -272639676, tf_edx = 0, tf_ecx = 0, tf_eax = 10, tf_trapno = 7, tf_err = 7, tf_eip = 84661, tf_cs = 31, tf_eflags = 582, tf_esp = -272639844, tf_ss = 39}) at ../../i386/i386/trap.c:994 #10 0x14ab5 in ?? () #11 0x1459 in ?? () #12 0x107e in ?? () And dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Sat Feb 21 18:32:15 EST 1998 gallatin@grasshopper.cs.duke.edu:/usr/src/sys/compile/DUKE Timecounter "i8254" frequency 1193182 Hz cost 3034 ns Timecounter "TSC" frequency 299942168 Hz cost 193 ns CPU: Pentium Pro (299.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80f9ff real memory = 134217728 (131072K bytes) avail memory = 120107008 (117292K bytes) Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x01 int d irq 11 on pci0.7.2 chip4: rev 0x01 on pci0.7.3 fxp0: rev 0x02 int a irq 10 on pci0.13.0 fxp0: Ethernet address 00:a0:c9:9a:b2:f4 ahc0: rev 0x00 int a irq 11 on pci0.16.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 Sending SDTR!! ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 4095MB (8388314 512 byte sectors) ahc0:A:5: refuses WIDE negotiation. Using 8bit transfers cd0 at scbus0 target 5 lun 0 cd0: type 5 removable SCSI 2 cd0: CD-ROM can't get the size Probing for devices on PCI bus 1: vga0: rev 0x10 int a irq 9 on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: YMH0030 [0x3000a865] Serial 0x80860001 mss_attach 1 at 0x530 irq 5 dma 0:1 flags 0x11 pcm1 (CS423x/Yamaha sn 0x80860001) at 0x530-0x537 irq 5 drq 0 flags 0x11 on isa 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 not found at 0x2f8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 pcm0 not found fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 npx0 flags 0x1 on motherboard npx0: INT 16 interface WARNING: / was not properly dismounted. ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message