GENERIC HEAD from Jan 18 19:27 UTC, vmcore.148

GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-CURRENT #2: Thu Jan 20 19:55:30 CET 2005
    pho@current.osted.lan:/usr/src/sys/i386/compile/PHO
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <A M I  OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 1.80GHz (1799.15-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 267583488 (255 MB)
avail memory = 252448768 (240 MB)
:
mount root from ufs:/dev/ad0s1a
KDB: stack backtrace:
kdb_backtrace(c1d8d500,1,1d2a6,cf4147dc,c0748914) at kdb_backtrace+0x29
getdirtybuf(cf4147d0,0,1,c66643d0,1) at getdirtybuf+0x27
flush_deplist(c26d1ac4,1,cf4147f0) at flush_deplist+0x34
flush_inodedep_deps(c1789800,1d2a6,c08c08d8,0,c1bbd114) at flush_inodedep_deps+0x68
softdep_sync_metadata(cf4148a0) at softdep_sync_metadata+0x4b
ffs_fsync(cf4148a0) at ffs_fsync+0x304
VOP_FSYNC_AP(cf4148a0) at VOP_FSYNC_AP+0x62
ufs_direnter(c1bbd114,c1b749b4,cf414910,cf414c0c,0) at ufs_direnter+0x302
ufs_makeinode(81b0,c1bbd114,cf414bf8,cf414c0c) at ufs_makeinode+0x46b
ufs_create(cf414a70) at ufs_create+0x26
VOP_CREATE_AP(cf414a70) at VOP_CREATE_AP+0x62
vn_open_cred(cf414be4,cf414ce4,1b0,c1aaf280,3) at vn_open_cred+0x17a
vn_open(cf414be4,cf414ce4,1b0,3,c08eb820) at vn_open+0x1e
kern_open(c23ac730,bfbfe9b0,0,602,1b0) at kern_open+0xcc
open(c23ac730,cf414d14,3,29f,212) at open+0x18
syscall(804002f,bfbf002f,bfbf002f,8049806,bfbfec51) at syscall+0x213
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x280b7c93, esp = 0xbfbfe97c, ebp = 0xbfbfe998 ---
KDB: stack backtrace:
kdb_backtrace(c23e5b00,1,43,cf75d7dc,c0748914) at kdb_backtrace+0x29
getdirtybuf(cf75d7d0,0,1,c6647a68,1) at getdirtybuf+0x27
flush_deplist(c25ea8c4,1,cf75d7f0) at flush_deplist+0x34
flush_inodedep_deps(c1789800,43,c08c08d8,0,c1fec9b4) at flush_inodedep_deps+0x68
softdep_sync_metadata(cf75d8a0) at softdep_sync_metadata+0x4b
ffs_fsync(cf75d8a0) at ffs_fsync+0x304
VOP_FSYNC_AP(cf75d8a0) at VOP_FSYNC_AP+0x62
ufs_direnter(c1fec9b4,c1f2878c,cf75d910,cf75dc0c,0) at ufs_direnter+0x302
ufs_makeinode(81b0,c1fec9b4,cf75dbf8,cf75dc0c) at ufs_makeinode+0x46b
ufs_create(cf75da70) at ufs_create+0x26
VOP_CREATE_AP(cf75da70) at VOP_CREATE_AP+0x62
vn_open_cred(cf75dbe4,cf75dce4,1b0,c1aaf280,3) at vn_open_cred+0x17a
vn_open(cf75dbe4,cf75dce4,1b0,3,c08eb820) at vn_open+0x1e
kern_open(c1c3a000,bfbfe9b0,0,602,1b0) at kern_open+0xcc
open(c1c3a000,cf75dd14,3,2c4,212) at open+0x18
syscall(804002f,bfbf002f,bfbf002f,8049806,bfbfec51) at syscall+0x213
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x280b7c93, esp = 0xbfbfe97c, ebp = 0xbfbfe998 ---
~KDB: enter: Line break on console
[thread pid 13634 tid 100542 ]
Stopped at      kdb_enter+0x2b: nop
db> show pcpu
cpuid        = 0
curthread    = 0xc1b5c2e0: pid 13634 "swap"
curpcb       = 0xcf6acda0
fpcurthread  = none
idlethread   = 0xc151f5c0: pid 11 "idle: cpu0"
APIC ID      = 0
currentldt   = 0x30
spin locks held:
db> ps
  pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
13647 c2698bd0 1001 13642  1422 0000002 [SLPQ pfault 0xc0947018][SLP] rw
13646 c187e9d8 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13645 c26981f8 1001 13642  1422 0000002 [SLPQ pfault 0xc0947018][SLP] rw
13644 c1b04000 1001 13642  1422 0000002 [SLPQ pfault 0xc0947018][SLP] rw
13643 c1ac27e0 1001 13642  1422 0000002 [SLPQ pfault 0xc0947018][SLP] rw
13642 c1b047e0 1001 13621  1422 0000002 [SLPQ wait 0xc1b047e0][SLP][SWAP] rw
13641 c1d1abd0 1001 13623  1422 0000002 [RUNQ] swap
13640 c26979d8 1001 13638  1422 0008082 (threaded)  thr1
   thread 0xc1880450 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1f39730 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1ac3cf0 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc233ccf0 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc233cb80 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1f39170 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc23bb000 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1e78000 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc2341a10 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc23be170 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc22dc730 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc22dd450 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1b08000 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1f6f000 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc1b36000 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc22de8a0 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc22092e0 ksegrp 0xc1ae0a20 [SLPQ pfault 0xc0947018][SLP]
   thread 0xc175a8a0 ksegrp 0xc22da600 [SLPQ pfault 0xc0947018][SLP]
13639 c2698dc8 1001 13624  1422 0000002 [SLPQ pfault 0xc0947018][SLP] mkdir
13638 c1b033f0 1001 13620  1422 0000002 [SLPQ wait 0xc1b033f0][SLP][SWAP] thr1
13637 c26bf5e8 1001 13624  1422 0000002 [SLPQ pfault 0xc0947018][SLP] mkdir
13636 c26985e8 1001 13623  1422 0000002 [RUNQ] swap
13635 c183f5e8 1001 13623  1422 0000002 [RUNQ] swap
13634 c1b031f8 1001 13623  1422 0000002 [CPU 0] swap
13633 c1b035e8 1001 13624  1422 0000002 [SLPQ pfault 0xc0947018][SLP] mkdir
13632 c187fdc8 1001 13625  1422 0000002 [SLPQ getblk 0xc6671650][SLP] creat
13631 c1b03dc8 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13630 c18849d8 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13629 c1b04bd0 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13628 c1d1a000 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13627 c1ac2000 1001 13624  1422 0000002 [SLPQ pfault 0xc0947018][SLP] mkdir
13626 c187e1f8 1001 13625  1422 0000002 [SLPQ vmwait 0xc0947018][SLP] creat
13625 c1d1bdc8 1001 13618  1422 0000002 [SLPQ wait 0xc1d1bdc8][SLP][SWAP] creat
13624 c17579d8 1001 13619  1422 0000002 [SLPQ wait 0xc17579d8][SLP][SWAP] mkdir
13623 c1d1b3f0 1001 13617  1422 0000002 [SLPQ wait 0xc1d1b3f0][SLP][SWAP] swap
13621 c187f3f0 1001  1429  1422 0004002 [SLPQ pfault 0xc0947018][SLP] rw
13620 c26bf7e0 1001  1429  1422 0004002 [SLPQ pfault 0xc0947018][SLP] thr1
13619 c1d1b9d8 1001  1429  1422 0004002 [SLPQ pfault 0xc0947018][SLP] mkdir
13618 c281c000 1001  1429  1422 0004002 [SLPQ pfault 0xc0947018][SLP] creat
13617 c26977e0 1001  1429  1422 0004002 [SLPQ pfault 0xc0947018][SLP] swap
 1429 c1ae11f8 1001  1428  1422 0000002 [SLPQ wait 0xc1ae11f8][SLP][SWAP] run
 1428 c1ae13f0 1001  1427  1422 0000002 [SLPQ wait 0xc1ae13f0][SLP][SWAP] run
 1427 c1adfdc8 1001  1422  1422 0004002 [SLPQ nanslp 0xc08ec06c][SLP] run
 1422 c1adf000 1001   561  1422 0004002 [SLPQ wait 0xc1adf000][SLP][SWAP] sh
  561 c18841f8 1001   560   561 0004002 [SLPQ wait 0xc18841f8][SLP][SWAP] bash
  560 c183f9d8 1001   558   558 0000100 [SLPQ select 0xc09392e4][SLP][SWAP] sshd
  558 c18845e8    0   428   558 0004100 [SLPQ sbwait 0xc1857bfc][SLP][SWAP] sshd
  557 c187f000 1001   551   557 0004002 [SLPQ pfault 0xc0947018][SLP] top
  551 c18401f8 1001   550   551 0004002 [SLPQ wait 0xc18401f8][SLP][SWAP] bash
  550 c1840000 1001   548   548 0000100 [SLPQ pfault 0xc0947018][SLP] sshd
  548 c18843f0    0   428   548 0004100 [SLPQ sbwait 0xc18571dc][SLP][SWAP] sshd
  543 c17573f0    0     1   543 0004002 [SLPQ ttyin 0xc169d410][SLP][SWAP] getty
  542 c187e7e0    0     1   542 0004002 [SLPQ ttyin 0xc169ec10][SLP][SWAP] getty
  541 c1757bd0    0     1   541 0004002 [SLPQ ttyin 0xc1697c10][SLP][SWAP] getty
  540 c18407e0    0     1   540 0004002 [SLPQ ttyin 0xc169d810][SLP][SWAP] getty
  539 c18409d8    0     1   539 0004002 [SLPQ ttyin 0xc1696c10][SLP][SWAP] getty
  538 c1840bd0    0     1   538 0004002 [SLPQ ttyin 0xc169fc10][SLP][SWAP] getty
  537 c1840dc8    0     1   537 0004002 [SLPQ ttyin 0xc1696410][SLP][SWAP] getty
  536 c187e000    0     1   536 0004002 [SWAP] getty
  501 c183f000    0     1   501 0000000 [SLPQ select 0xc09392e4][SLP][SWAP] moused
  450 c183f7e0    0     1   450 0000000 [SLPQ pfault 0xc0947018][SLP] cron
  438 c18405e8   25     1   438 0000100 [SLPQ pfault 0xc0947018][SLP] sendmail
  434 c183fbd0    0     1   434 0000100 [SLPQ pfault 0xc0947018][SLP] sendmail
  428 c1629dc8    0     1   428 0000100 [SLPQ select 0xc09392e4][SLP][SWAP] sshd
  412 c1757000    0     1   412 0000000 [SLPQ pfault 0xc0947018][SLP] ntpd
  386 c183fdc8    0     1   386 0000000 [SLPQ pfault 0xc0947018][SLP] usbd
  365 c183f3f0    0   361   361 0000000 [SLPQ - 0xc1848c00][SLP][SWAP] nfsd
  364 c18403f0    0   361   361 0000000 [SLPQ - 0xc1848a00][SLP][SWAP] nfsd
  363 c17589d8    0   361   361 0000000 [SLPQ - 0xc169be00][SLP][SWAP] nfsd
  362 c1758bd0    0   361   361 0000000 [SLPQ - 0xc1848800][SLP][SWAP] nfsd
  361 c1758dc8    0     1   361 0000000 [SLPQ select 0xc09392e4][SLP][SWAP] nfsd
  359 c183f1f8    0     1   359 0000000 [SLPQ select 0xc09392e4][SLP][SWAP] mountd
  290 c17575e8    0     1   290 0000000 [SLPQ pfault 0xc0947018][SLP] rpcbind
  276 c17577e0    0     1   276 0000000 [SLPQ pfault 0xc0947018][SLP] syslogd
  251 c17571f8    0     1   251 0000000 [SLPQ select 0xc09392e4][SLP][SWAP] devd
   61 c1757dc8    0     0     0 0000204 [SLPQ - 0xcc6c8d14][SLP] schedcpu
   60 c1758000    0     0     0 0000204 [SLPQ - 0xc0940f6c][SLP] nfsiod 3
   59 c17581f8    0     0     0 0000204 [SLPQ - 0xc0940f68][SLP] nfsiod 2
   58 c17583f0    0     0     0 0000204 [SLPQ - 0xc0940f64][SLP] nfsiod 1
   57 c17585e8    0     0     0 0000204 [SLPQ - 0xc0940f60][SLP] nfsiod 0
   56 c17587e0    0     0     0 0000204 [SLPQ vmwait 0xc0947018][SLP] syncer
   55 c156e3f0    0     0     0 0000204 [SLPQ vlruwt 0xc156e3f0][SLP] vnlru
   54 c156e5e8    0     0     0 0000204 [SLPQ vmwait 0xc0947018][SLP] bufdaemon
   53 c156e7e0    0     0     0 000020c [SLPQ pgzero 0xc09477a4][SLP] pagezero
   52 c156e9d8    0     0     0 0000204 [SLPQ psleep 0xc09472f4][SLP] vmdaemon
   51 c156ebd0    0     0     0 0000204 [SLPQ psleep 0xc09472b0][SLP] pagedaemon
   50 c156edc8    0     0     0 0000204 [SLPQ - 0xc167dc3c][SLP] fdc0
   49 c1629000    0     0     0 0000204 [IWAIT] swi0: sio
   48 c16291f8    0     0     0 0000204 [SLPQ usbevt 0xc1650210][SLP] usb3
   47 c16293f0    0     0     0 0000204 [SLPQ usbevt 0xc1646210][SLP] usb2
   46 c16295e8    0     0     0 0000204 [SLPQ usbevt 0xc1643210][SLP] usb1
   45 c16297e0    0     0     0 0000204 [SLPQ usbtsk 0xc08e6ab4][SLP] usbtask
   44 c16299d8    0     0     0 0000204 [SLPQ usbevt 0xc1617210][SLP] usb0
    9 c1629bd0    0     0     0 0000204 [SLPQ actask 0xc0aa6cac][SLP] acpi_task2
    8 c1561bd0    0     0     0 0000204 [SLPQ actask 0xc0aa6cac][SLP] acpi_task1
    7 c1561dc8    0     0     0 0000204 [SLPQ actask 0xc0aa6cac][SLP] acpi_task0
   43 c156c000    0     0     0 0000204 [IWAIT] swi6:+
   42 c156c1f8    0     0     0 0000204 [IWAIT] swi6: task queue
   41 c156c3f0    0     0     0 0000204 [IWAIT] swi6: acpitaskq
    6 c156c5e8    0     0     0 0000204 [SLPQ - 0xc15e3540][SLP] kqueue taskq
   40 c156c7e0    0     0     0 0000204 [IWAIT] swi2: cambio
   39 c156c9d8    0     0     0 0000204 [IWAIT] swi5:+
    5 c156cbd0    0     0     0 0000204 [SLPQ - 0xc15e3740][SLP] thread taskq
   38 c156cdc8    0     0     0 0000204 [SLPQ - 0xc08e4800][SLP] yarrow
    4 c156e000    0     0     0 0000204 [SLPQ - 0xc08e9428][SLP] g_down
    3 c156e1f8    0     0     0 0000204 [SLPQ - 0xc08e9424][SLP] g_up
    2 c15555e8    0     0     0 0000204 [SLPQ - 0xc08e941c][SLP] g_event
   37 c15557e0    0     0     0 0000204 [IWAIT] swi3: vm
   36 c15559d8    0     0     0 000020c [IWAIT] swi4: clock sio
   35 c1555bd0    0     0     0 0000204 [IWAIT] swi1: net
   34 c1555dc8    0     0     0 0000204 [IWAIT] irq0: clk
   33 c1561000    0     0     0 0000204 [IWAIT] irq23:
   32 c15611f8    0     0     0 0000204 [IWAIT] irq22: rl0
   31 c15613f0    0     0     0 0000204 [IWAIT] irq21:
   30 c15615e8    0     0     0 0000204 [IWAIT] irq20:
   29 c15617e0    0     0     0 0000204 [IWAIT] irq19: uhci1
   28 c15619d8    0     0     0 0000204 [IWAIT] irq18: uhci2
   27 c15271f8    0     0     0 0000204 [IWAIT] irq17: pcm0
   26 c15273f0    0     0     0 0000204 [IWAIT] irq16: uhci0 uhci3
   25 c15275e8    0     0     0 0000204 [IWAIT] irq15: ata1
   24 c15277e0    0     0     0 0000204 [IWAIT] irq14: ata0
   23 c15279d8    0     0     0 0000204 [IWAIT] irq13:
   22 c1527bd0    0     0     0 0000204 [IWAIT] irq12: psm0
   21 c1527dc8    0     0     0 0000204 [IWAIT] irq11:
   20 c1555000    0     0     0 0000204 [IWAIT] irq10:
   19 c15551f8    0     0     0 0000204 [IWAIT] irq9: acpi0
   18 c15553f0    0     0     0 0000204 [IWAIT] irq8: rtc
   17 c151e000    0     0     0 0000204 [IWAIT] irq7: ppc0
   16 c151e1f8    0     0     0 0000204 [IWAIT] irq6: fdc0
   15 c151e3f0    0     0     0 0000204 [IWAIT] irq5:
   14 c151e5e8    0     0     0 0000204 [IWAIT] irq4: sio0
   13 c151e7e0    0     0     0 0000204 [IWAIT] irq3:
   12 c151e9d8    0     0     0 0000204 [IWAIT] irq1: atkbd0
   11 c151ebd0    0     0     0 000020c [Can run] idle: cpu0
    1 c151edc8    0     0     1 0004200 [SLPQ wait 0xc151edc8][SLP] init
   10 c1527000    0     0     0 0000204 [SLPQ ktrace 0xc08ea018][SLP] ktrace
    0 c08e9580    0     0     0 0000200 [SLPQ vmwait 0xc0947018][SLP] swapper
13622 c26989d8 1001  1429  1422 0006002 zomb[INACTIVE] syscall
db> show alllocks
db> show lockedvnods
Locked vnodes
0xc17b633c: tag devfs, type VCHR
    usecount 4165, writecount 0, refcount 427 mountedhere 0xc1736800
    flags (VV_OBJBUF)
     lock type devfs: EXCL (count 1) by thread 0xc1759a10 (pid 56)
        dev ad0s1e
0xc1fec9b4: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 6 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc1c3a000 (pid 13632)
        ino 67, on dev ad0s1e (228, 10)
0xc1b9733c: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 5 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc18812e0 (pid 13630)
        ino 1529, on dev ad0s1e (228, 10)
0xc1c56cf0: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 6 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc22dd730 (pid 13631)
        ino 72410, on dev ad0s1e (228, 10)
0xc1bbd114: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 2 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc23ac730 (pid 13626)
        ino 119462, on dev ad0s1e (228, 10)
0xc1f1de04: tag ufs, type VREG
    usecount 1, writecount 1, refcount 494 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc156d2e0 (pid 54)
        ino 121196, on dev ad0s1e (228, 10)
0xc1d4e9b4: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 4 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc1e5ea10 (pid 13629)
        ino 78025, on dev ad0s1e (228, 10)
0xc1deee04: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 4 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc233c2e0 (pid 13628)
        ino 78034, on dev ad0s1e (228, 10)
0xc1cbe9b4: tag ufs, type VDIR
    usecount 2, writecount 0, refcount 7 mountedhere 0
    flags (VV_OBJBUF)
     lock type ufs: EXCL (count 1) by thread 0xc23b3000 (pid 13646)
        ino 78156, on dev ad0s1e (228, 10)
0xc17a278c: tag ufs, type VREG
    usecount 1, writecount 0, refcount 0 mountedhere 0

     lock type ufs: EXCL (count 1) by thread 0xc1e5ea10 (pid 13629)
        ino 100228, on dev ad0s1e (228, 10)
0xc1f43000: tag ufs, type VREG
    usecount 1, writecount 0, refcount 0 mountedhere 0

     lock type ufs: EXCL (count 1) by thread 0xc233c2e0 (pid 13628)
        ino 100230, on dev ad0s1e (228, 10)
db> call doadump
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Dump complete
0
db> reset

(kgdb) btp 0
 frame 0 at 0xc0c20cb0: ebp c0c20d00, eip 0xc0617dc0 <mi_switch+612>:   add    $0xc,%esp
 frame 1 at 0xc0c20d00: ebp c0c20d18, eip 0xc062f27c <sleepq_switch+224>:       add    $0x8,%esp
 frame 2 at 0xc0c20d18: ebp c0c20d24, eip 0xc062f45c <sleepq_wait+48>:  push   $0x220
 frame 3 at 0xc0c20d24: ebp c0c20d54, eip 0xc0617a3d <msleep+785>:      mov    $0x0,%edi
 frame 4 at 0xc0c20d54: ebp c0c20d70, eip 0xc076cc9b <vm_wait+147>:     add    $0x14,%esp
 frame 5 at 0xc0c20d70: ebp c0c20d84, eip 0xc076343f <scheduler+55>:    jmp    0xc0763427 <scheduler+31>
 frame 6 at 0xc0c20d84: ebp c0c20d98, eip 0xc05ed926 <mi_startup+150>:  mov    (%ebx),%eax
(kgdb) l *vm_wait+147
0xc076cc9b is in vm_wait (../../../vm/vm_page.c:891).
886             } else {
887                     if (!vm_pages_needed) {
888                             vm_pages_needed = 1;
889                             wakeup(&vm_pages_needed);
890                     }
891                     msleep(&cnt.v_free_count, &vm_page_queue_mtx, PDROP | PVM,
892                         "vmwait", 0);
893             }
894     }
895
(kgdb) p vm_pages_needed
$1 = 0x1
(kgdb) p cnt
$3 = {v_swtch = 0x397fc22, v_trap = 0xd4d587, v_syscall = 0x0, v_intr = 0x2b2c5f8, v_soft = 0x1a0c38, v_vm_faults = 0xc217c3,
  v_cow_faults = 0x4a87e, v_cow_optim = 0x3cb, v_zfod = 0x95fc4a, v_ozfod = 0x674041, v_swapin = 0x31ee2, v_swapout = 0x291c9,
  v_swappgsin = 0x123720, v_swappgsout = 0x1842a0, v_vnodein = 0x2793, v_vnodeout = 0x0, v_vnodepgsin = 0x9a64, v_vnodepgsout = 0x0,
  v_intrans = 0x3495b, v_reactivated = 0x119bb1, v_pdwakeups = 0x5de0, v_pdpages = 0x3ebeb117, v_dfree = 0x3a7, v_pfree = 0x10dc91,
  v_tfree = 0xe83bdf, v_page_size = 0x1000, v_page_count = 0xf1f9, v_free_reserved = 0xa2, v_free_target = 0x7fa, v_free_min = 0x1d6,
  v_free_count = 0x37, v_wire_count = 0x3c6b, v_active_count = 0xb50e, v_inactive_target = 0xbf7, v_inactive_count = 0x0,
  v_cache_count = 0x0, v_cache_min = 0x7fa, v_cache_max = 0xff4, v_pageout_free_min = 0x22, v_interrupt_free_min = 0x2,
  v_free_severe = 0x13c, v_forks = 0x2f10, v_vforks = 0x622, v_rforks = 0x0, v_kthreads = 0x3d, v_forkpages = 0xd35ae,
  v_vforkpages = 0xede4, v_rforkpages = 0x0, v_kthreadpages = 0x0}
(kgdb) x/x 0xc0947018
0xc0947018 <cnt+120>:   0x00000037
(kgdb) btp 51
 frame 0 at 0xcc6a3c54: ebp cc6a3ca4, eip 0xc0617dc0 <mi_switch+612>:   add    $0xc,%esp
 frame 1 at 0xcc6a3ca4: ebp cc6a3cbc, eip 0xc062f27c <sleepq_switch+224>:       add    $0x8,%esp
 frame 2 at 0xcc6a3cbc: ebp cc6a3ccc, eip 0xc062f4d8 <sleepq_timedwait+52>:     call   0xc062f29c <sleepq_check_timeout>
 frame 3 at 0xcc6a3ccc: ebp cc6a3cfc, eip 0xc0617a16 <msleep+746>:      mov    %eax,%edi
 frame 4 at 0xcc6a3cfc: ebp cc6a3d1c, eip 0xc076f7d9 <vm_pageout+557>:  add    $0x14,%esp
 frame 5 at 0xcc6a3d1c: ebp cc6a3d34, eip 0xc05ff650 <fork_exit+164>:   push   $0x31c
(kgdb) l *vm_pageout+557
0xc076f7d9 is in vm_pageout (../../../vm/vm_pageout.c:1453).
1448                             * (unlimited dirty cleaning), otherwise sleep a bit
1449                             * and try again.
1450                             */
1451                            ++pass;
1452                            if (pass > 1)
1453                                    msleep(&vm_pages_needed, &vm_page_queue_mtx, PVM,
1454                                           "psleep", hz/2);
1455                    } else {
1456                            /*
1457                             * Good enough, sleep & handle stats.  Prime the pass