Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 1998 01:45:55 +0100 (CET)
From:      Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
Subject:   kern/5839: vm_page_unwire: invalid wire count: 0
Message-ID:  <199802250045.BAA00440@rige.physik.fu-berlin.de>

index | next in thread | raw e-mail


>Number:         5839
>Category:       kern
>Synopsis:       vm_page_unwire: invalid wire count: 0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 24 16:50:01 PST 1998
>Last-Modified:
>Originator:     Axel Thimm
>Organization:
FU Berlin
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

3.0-CURRENT with sources dated "Web Feb 24 21:45:32 CET" (also last three
weeks), kernel config is GENERIC with "config -g"

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: Wed Feb 25 00:53:53 CET 1998
    root@rige.physik.fu-berlin.de:/usr/src/sys/compile/GENERIC.DEBUG
Timecounter "i8254"  frequency 1193182 Hz  cost 2419 ns
Timecounter "TSC"  frequency 166449760 Hz  cost 209 ns
CPU: Pentium (166.45-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62545920 (61080K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 10 on pci0.10.0
vx0: <3COM 3C900 Etherlink XL PCI> rev 0x00 int a irq 11 on pci0.11.0
utp/aui/bnc[*bnc*] address 00:60:08:8f:e0:9d
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found
mse0 not found at 0x23c
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): <FUJITSU MPA3026ATU>
wd0: 2503MB (5126688 sectors), 5086 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
aha0 not found at 0x330
aic0 not found at 0x340
nca0 not found at 0x1f88
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium F00F detected, installing workaround

swapinfo:
Device      1K-blocks     Used    Avail Capacity  Type
/dev/wd0s3b    141144        0   141080     0%    Interleaved

>Description:

While configuring teTeX-0.9 on an NFS mounted home directory:

gdb -k:
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 276000
initial pcb at 24d4a0
panicstr: vm_page_unwire: invalid wire count: %d

panic messages:
---
panic: vm_page_unwire: invalid wire count: 0


syncing disks... 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 giving up

dumping to dev 40001, offset 151216
dump 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:286
286					dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:286
#1  0xf0115ac6 in panic (
    fmt=0xf01c8d02 "vm_page_unwire: invalid wire count: %d\n")
    at ../../kern/kern_shutdown.c:426
#2  0xf01c8d9b in vm_page_unwire (m=0xf049fc2c) at ../../vm/vm_page.c:1244
#3  0xf012dd04 in vfs_vmio_release (bp=0xf1c35a30) at ../../kern/vfs_bio.c:757
#4  0xf012d95d in brelse (bp=0xf1c35a30) at ../../kern/vfs_bio.c:645
#5  0xf0133455 in vinvalbuf (vp=0xf42141e0, flags=0, cred=0xf07b8a80, 
    p=0xf41eb6c0, slpflag=0, slptimeo=0) at ../../kern/vfs_subr.c:613
#6  0xf0161540 in nfs_vinvalbuf (vp=0xf42141e0, flags=0, cred=0xf07b8a80, 
    p=0xf41eb6c0, intrflg=1) at ../../nfs/nfs_bio.c:782
#7  0xf01895e0 in nfs_remove (ap=0xf427ef04) at ../../nfs/nfs_vnops.c:1463
#8  0xf0136b3b in unlink (p=0xf41eb6c0, uap=0xf427ef94) at vnode_if.h:523
#9  0xf01df9c3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, 
      tf_esi = 196608, tf_ebp = -272639620, tf_isp = -198709276, 
      tf_ebx = 204928, tf_edx = 0, tf_ecx = 47, tf_eax = 10, tf_trapno = 12, 
      tf_err = 7, tf_eip = 88485, tf_cs = 31, tf_eflags = 582, 
      tf_esp = -272639640, tf_ss = 39}) at ../../i386/i386/trap.c:994
#10 0x159a5 in ?? ()
#11 0x12db in ?? ()
#12 0x107e in ?? ()
(kgdb) info registers
eax            0x0	0
ecx            0x0	0
edx            0x0	0
ebx            0x0	0
esp            0xf427ed30	0xf427ed30
ebp            0xf427ed44	0xf427ed44
esi            0x14	20
edi            0x100	256
eip            0xf01157f7	0xf01157f7
eflags         0x0	0
cs             0x0	0
ss             0x0	0
ds             0x0	0
es             0x0	0
fs             0x1f	31
gs             0x27	39

>How-To-Repeat:

E.g. try to configure teTeX-0.9 on a -CURRENT system (not until January 1998)
The error seems to occur at different stages in the process.

>Fix:

Probably the recent VM changed need to be reinvestigated.
>Audit-Trail:
>Unformatted:

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


help

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