vm_page_unwire panic

ANISH MISTRY mistry.7 at osu.edu
Wed Dec 24 18:10:29 PST 2003


I just got a panic with todays -CURRENT sources.  I was listening to a shoutcast stream, and did a make -DFORCE_PKG_REGISTER install clean, and after a second or 2 it paniced.

panic: vm_page_unwire: invalid wire count: 0

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


syncing disks, buffers remaining... 

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x1c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc051ea1d
stack pointer           = 0x10:0xce2eb500
frame pointer           = 0x10:0xce2eb53c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 42066 (make)
trap number             = 12
panic: page fault
Uptime: 3h33m48s
Dumping 239 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224
---
Reading symbols from /boot/kernel/snd_t4dwave.ko...done.
Loaded symbols for /boot/kernel/snd_t4dwave.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/                        ums/ums.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/um                        s/ums.ko.debug
Reading symbols from /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/                        usb/usb.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/us                        b/usb.ko.debug
Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/                        linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/LITTLEGUY/modules/usr/src/sys/modules/li                        nux/linux.ko.debug
Reading symbols from /boot/kernel/acpi_fjex.ko...done.
Loaded symbols for /boot/kernel/acpi_fjex.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04d0ba9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04d0f88 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc0613bb6 in trap_fatal (frame=0xce2eb4c0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:821
#4  0xc0613852 in trap_pfault (frame=0xce2eb4c0, usermode=0, eva=28)
    at /usr/src/sys/i386/i386/trap.c:735
#5  0xc061338d in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 18, tf_esi = -953210944, tf_ebp = -835799748, tf_isp = -835799828, tf_ebx = -953210944, tf_edx = -1029084992, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = -1068373475, tf_cs = 8, tf_eflags = 66118, tf_esp = -1066939392, tf_ss = -835799788})
    at /usr/src/sys/i386/i386/trap.c:420
#6  0xc0604448 in calltrap () at {standard input}:94
#7  0xc0520359 in getblk (vp=0xc2745b2c, blkno=4892032, size=16384, slpflag=0, 
    slptimeo=0, flags=0) at /usr/src/sys/kern/vfs_bio.c:2573
#8  0xc051b9c2 in breadn (vp=0xc2745b2c, blkno=0, size=0, rablkno=0x0, 
    rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at /usr/src/sys/kern/vfs_bio.c:700
#9  0xc051b96c in bread (vp=0x0, blkno=0, size=0, cred=0x0, bpp=0x0)
    at /usr/src/sys/kern/vfs_bio.c:682
#10 0xc05a1545 in ffs_update (vp=0xc2d4b104, waitfor=0)
    at /usr/src/sys/ufs/ffs/ffs_inode.c:108
#11 0xc05b73ef in ffs_fsync (ap=0xce2eb71c)
---Type <return> to continue, or q <return> to quit--- 
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:325
#12 0xc05b62d9 in ffs_sync (mp=0xc26fdc00, waitfor=2, cred=0xc109ee00, 
    td=0xc067cee0) at vnode_if.h:627
#13 0xc05350ce in sync (td=0xc067cee0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:141
#14 0xc04d06bd in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:281
#15 0xc04d0f88 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#16 0xc05dd88b in vm_page_unwire (m=0xc0fac910, activate=0)
    at /usr/src/sys/vm/vm_page.c:1227
#17 0xc051e142 in vfs_vmio_release (bp=0xc73616a0)
    at /usr/src/sys/kern/vfs_bio.c:1563
#18 0xc051eb24 in getnewbuf (slpflag=0, slptimeo=0, size=16384, maxsize=16384)
    at /usr/src/sys/kern/vfs_bio.c:1878
#19 0xc0520359 in getblk (vp=0xc2745b2c, blkno=4515872, size=16384, slpflag=0, 
    slptimeo=0, flags=0) at /usr/src/sys/kern/vfs_bio.c:2573
#20 0xc051b9c2 in breadn (vp=0xc2745b2c, blkno=0, size=0, rablkno=0x0, 
    rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at /usr/src/sys/kern/vfs_bio.c:700
#21 0xc051b96c in bread (vp=0x0, blkno=0, size=0, cred=0x0, bpp=0x0)
    at /usr/src/sys/kern/vfs_bio.c:682
#22 0xc05b6874 in ffs_vget (mp=0xc26fdc00, ino=288541, flags=2, vpp=0xce2eba44)
    at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1317
#23 0xc05bf122 in ufs_lookup (ap=0xce2ebb08)
    at /usr/src/sys/ufs/ufs/ufs_lookup.c:603
---Type <return> to continue, or q <return> to quit---
#24 0xc05c66f8 in ufs_vnoperate (ap=0x0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2793
#25 0xc05243a1 in vfs_cache_lookup (ap=0x0) at vnode_if.h:82
#26 0xc05c66f8 in ufs_vnoperate (ap=0x0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2793
#27 0xc0529bf2 in lookup (ndp=0xce2ebc28) at vnode_if.h:52
#28 0xc05295fb in namei (ndp=0xce2ebc28) at /usr/src/sys/kern/vfs_lookup.c:183
#29 0xc05389d2 in stat (td=0xc2a968c0, uap=0xce2ebd14)
    at /usr/src/sys/kern/vfs_syscalls.c:1994
#30 0xc0613f40 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134753350, tf_esi = 135042077, tf_ebp = -1077946104, tf_isp = -835797644, tf_ebx = 135042048, tf_edx = 135042048, tf_ecx = 135042048, tf_eax = 188, tf_trapno = 0, tf_err = 2, tf_eip = 134628079, tf_cs = 31, tf_eflags = 582, tf_esp = -1077946260, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1010
#31 0xc060449d in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---




More information about the freebsd-current mailing list