Kernel page fault with the following non-sleepable locks held...

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 31 Mar 2008 09:16:38 -0700
Sources updated as of about 0330 hrs. US/Pacific today, from cvsup4.

My headless build machine didn't have a problem, but my laptop (which
was running Xorg (built under RELENG_6; I have the misc/compat6x port
installed) seemed to have a problem when I tried to login, so I rebooted
it with a serial console attached.  Second time around, it booted OK,
but when I issued

	sudo boot0cfg -s 1 ad0 && sudo reboot

I saw the following panic (cut/pasted from serial console) -- I'll prepend
a bit of the boot stuff for context:

/boot/kernel/acpi.ko text=0x540f8 data=0x2640+0x186c syms=[0x4+0x8b40+0x4+0xbdcd]
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=02 base=000000000009fc00 len=0000000000000400
SMAP type=01 base=0000000000100000 len=000000003fee2800
SMAP type=02 base=000000003ffe2800 len=000000000001d800
SMAP type=02 base=00000000feda0000 len=0000000000060000
SMAP type=02 base=00000000ffb80000 len=0000000000480000
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #731: Mon Mar 31 07:56:05 PDT 2008
    root_at_g1-37.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e2c000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0e2c14c.
Preloaded elf module "/boot/kernel/if_an.ko" at 0xc0e2c1f8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e2c2a4.
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2392951100 Hz
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz (2392.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x400<CNXT-ID>
...
FreeBSD/i386 (localhost) (ttyd0)

login: drm0: <ATI Radeon Lf RV250 Mobility 9000 M9 / FireMV 2400 PCI> on vgapci0
info: [drm] AGP at 0xe8000000 64MB
info: [drm] Initialized radeon 1.25.0 20060524
vgapci0: Reserved 0x10000 bytes for rid 0x18 type 3 at 0xfcff0000
vgapci0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xe0000000
agp0: Setting AGP v2 mode 4
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R200 Microcode
info: [drm] writeback test succeeded in 1 usecs
drm0: [MPSAFE]
drm0: [ITHREAD]
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex vm page queue free mutex r = 0 (0xc0c47f10) locked _at_ /usr/src/sys/vm/vm_page.c:1037
exclusive sleep mutex vm object (standard object) r = 0 (0xc4668b00) locked _at_ /usr/src/sys/vm/vm_fault.c:295
KDB: stack backtrace:
db_trace_self_wrapper(c0ad96c4,e66329a0,c0782207,c0ad9a87,e66329b4,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0ad9a87,e66329b4,4,1,0,...) at kdb_backtrace+0x29
witness_warn(5,0,c0b07e8b,0,c460b290,...) at witness_warn+0x1d7
trap(e6632a40) at trap+0x122
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc098bf22, esp = 0xe6632a80, ebp = 0xe6632ad4 ---
vm_reserv_alloc_page(c4668b00,e8284,0,36f,0,...) at vm_reserv_alloc_page+0x102
vm_page_alloc(c4668b00,e8284,0,40,e6632be8,...) at vm_page_alloc+0x25e
vm_fault(c4452938,2d128000,2,8,2d128000,...) at vm_fault+0x6e2
trap_pfault(5,0,c0b07e8b,c0bebb80,c460b290,...) at trap_pfault+0x118
trap(e6632d38) at trap+0x259
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0x28668591, esp = 0xbfbfe5a0, ebp = 0xbfbfe5b8 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc2587110
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc098bf22
stack pointer           = 0x28:0xe6632a80
frame pointer           = 0x28:0xe6632ad4
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 3
current process         = 1151 (Xorg)
[thread pid 1151 tid 100095 ]
Stopped at      vm_reserv_alloc_page+0x102:     cmpl    %eax,0x10(%esi)
db> bt
Tracing pid 1151 tid 100095 td 0xc4636000
vm_reserv_alloc_page(c4668b00,e8284,0,36f,0,...) at vm_reserv_alloc_page+0x102
vm_page_alloc(c4668b00,e8284,0,40,e6632be8,...) at vm_page_alloc+0x25e
vm_fault(c4452938,2d128000,2,8,2d128000,...) at vm_fault+0x6e2
trap_pfault(5,0,c0b07e8b,c0bebb80,c460b290,...) at trap_pfault+0x118
trap(e6632d38) at trap+0x259
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0x28668591, esp = 0xbfbfe5a0, ebp = 0xbfbfe5b8 ---
db> show locks
exclusive sleep mutex vm page queue free mutex r = 0 (0xc0c47f10) locked _at_ /usr/src/sys/vm/vm_page.c:1037
exclusive sleep mutex vm object (standard object) r = 0 (0xc4668b00) locked _at_ /usr/src/sys/vm/vm_fault.c:295
exclusive sx user map r = 0 (0xc445297c) locked _at_ /usr/src/sys/vm/vm_map.c:3111
db> show witness
Sleep locks:
0 DRM IRQ lock -- last acquired _at_ /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_irq.c:66
0 md bio queue -- last acquired _at_ /usr/src/sys/dev/md/md.c:704
0 ls_lock -- last acquired _at_ /usr/src/sys/kern/kern_lockf.c:612
1  owner graph lock -- last acquired _at_ /usr/src/sys/kern/kern_lockf.c:1374
1  lock owners lock -- last acquired _at_ /usr/src/sys/kern/kern_lockf.c:364
16  UMA zone -- last acquired _at_ /usr/src/sys/vm/uma_core.c:2257
16 UMA zone -- (already displayed)
0 so_rcv_sx -- last acquired _at_ /usr/src/sys/kern/uipc_sockbuf.c:145
11 so_rcv -- last acquired _at_ /usr/src/sys/kern/uipc_socket.c:686
13  sellck -- last acquired _at_ /usr/src/sys/kern/sys_generic.c:1359
12  radix node head -- last acquired _at_ /usr/src/sys/netinet6/in6_rmx.c:418
13   rtentry -- last acquired _at_ /usr/src/sys/netinet/ip_input.c:1218
14    ifaddr -- last acquired _at_ /usr/src/sys/net/route.c:821
16    UMA zone -- (already displayed)
14    sctp-addr -- last acquired _at_ /usr/src/sys/netinet/sctp_pcb.c:649
15    UMA boot pages -- last acquired _at_ /usr/src/sys/vm/uma_core.c:916
14    system map -- last acquired _at_ /usr/src/sys/vm/vm_map.c:3111
16     vm page queue mutex -- last acquired _at_ /usr/src/sys/vm/vm_object.c:1864
17      vnode interlock -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:2224
18       cdev -- last acquired _at_ /usr/src/sys/kern/kern_conf.c:71
18       vnode_free_list -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:888
17      pmap -- last acquired _at_ /usr/src/sys/i386/i386/pmap.c:2514
18       vm page queue free mutex -- last acquired _at_ /usr/src/sys/vm/vm_page.c:1037
19        eventhandler -- last acquired _at_ /usr/src/sys/kern/subr_eventhandler.c:212
20         eventhandler list -- last acquired _at_ /usr/src/sys/dev/dcons/dcons_os.c:264
20        eventhandler list -- (already displayed)
18       SYSMAPS -- last acquired _at_ /usr/src/sys/i386/i386/pmap.c:3676
18      vm page queue free mutex -- (already displayed)
18      SYSMAPS -- (already displayed)
15     kmem object -- last acquired _at_ /usr/src/sys/vm/vm_kern.c:408
18      vm page queue free mutex -- (already displayed)
16      vm page queue mutex -- (already displayed)
18      SYSMAPS -- (already displayed)
15     KMAP ENTRY -- last acquired _at_ /usr/src/sys/vm/uma_core.c:2257
16      UMA zone -- (already displayed)
16     UMA zone -- (already displayed)
15     kernel object -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:3663
16      vm page queue mutex -- (already displayed)
18      vm page queue free mutex -- (already displayed)
18      SYSMAPS -- (already displayed)
18     vm page queue free mutex -- (already displayed)
18     SYSMAPS -- (already displayed)
15     UMA boot pages -- (already displayed)
17     pmap -- (already displayed)
14    sctp_it_wq -- last acquired _at_ /usr/src/sys/netinet/sctputil.c:1345
13   ifnet -- last acquired _at_ /usr/src/sys/net/if.c:1497
16    UMA zone -- (already displayed)
19    eventhandler -- (already displayed)
14    if_addr_mtx -- last acquired _at_ /usr/src/sys/net/if.c:2495
16     UMA zone -- (already displayed)
16   UMA zone -- (already displayed)
14   system map -- (already displayed)
12  process lock -- last acquired _at_ /usr/src/sys/i386/i386/trap.c:779
13   session -- last acquired _at_ /usr/src/sys/kern/kern_exit.c:343
14    uidinfo hash -- last acquired _at_ /usr/src/sys/kern/kern_resource.c:1261
14    tty -- last acquired _at_ /usr/src/sys/kern/tty.c:2856
17    vnode interlock -- (already displayed)
13   sigacts -- last acquired _at_ /usr/src/sys/kern/kern_sig.c:641
13   ktrace -- last acquired _at_ /usr/src/sys/kern/kern_fork.c:606
13   fdesc -- last acquired _at_ /usr/src/sys/kern/kern_descrip.c:1531
12  sleep mtxpool -- last acquired _at_ /usr/src/sys/kern/sys_generic.c:1350
13   sellck -- (already displayed)
16  UMA zone -- (already displayed)
19  eventhandler -- (already displayed)
12  sf_buf -- last acquired _at_ /usr/src/sys/i386/i386/vm_machdep.c:807
16  vm page queue mutex -- (already displayed)
16 UMA zone -- (already displayed)
6  unp_mtx -- last acquired _at_ /usr/src/sys/kern/uipc_usrreq.c:558
11  so_rcv -- (already displayed)
7   accept -- last acquired _at_ /usr/src/sys/kern/uipc_socket.c:685
10   so_snd -- last acquired _at_ /usr/src/sys/kern/uipc_socket.c:2903
11    so_rcv -- (already displayed)
12    sleep mtxpool -- (already displayed)
11   so_rcv -- (already displayed)
10  so_snd -- (already displayed)
16  UMA zone -- (already displayed)
12 process lock -- (already displayed)
7  user map -- last acquired _at_ /usr/src/sys/vm/vm_map.c:3111
16  UMA zone -- (already displayed)
15  UMA boot pages -- (already displayed)
14  system map -- (already displayed)
18  vm page queue free mutex -- (already displayed)
11  vm object_list -- last acquired _at_ /usr/src/sys/vm/vm_object.c:236
10  standard object -- last acquired _at_ /usr/src/sys/vm/vm_fault.c:295
18   vm page queue free mutex -- (already displayed)
17   vnode interlock -- (already displayed)
16   vm page queue mutex -- (already displayed)
18   SYSMAPS -- (already displayed)
11   vm object_list -- (already displayed)
16   UMA zone -- (already displayed)
11   swap_pager swhash -- last acquired _at_ /usr/src/sys/vm/swap_pager.c:1888
12   sf_buf -- (already displayed)
16  vm page queue mutex -- (already displayed)
17  pmap -- (already displayed)
17  vnode interlock -- (already displayed)
9   dev_pager list -- last acquired _at_ /usr/src/sys/vm/device_pager.c:140
10   standard object -- (already displayed)
0 so_snd_sx -- last acquired _at_ /usr/src/sys/kern/uipc_sockbuf.c:148
10 so_snd -- (already displayed)
16 UMA zone -- (already displayed)
5  unp_global_rwlock -- last acquired _at_ /usr/src/sys/kern/uipc_usrreq.c:557
6   unp_mtx -- (already displayed)
7   accept -- (already displayed)
16  UMA zone -- (already displayed)
6   so_glabel -- last acquired _at_ /usr/src/sys/kern/uipc_socket.c:299
10  so_snd -- (already displayed)
14  system map -- (already displayed)
15 UMA boot pages -- (already displayed)
14 system map -- (already displayed)
16 vm page queue mutex -- (already displayed)
12 sf_buf -- (already displayed)
0 syncer -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:1665
10 bufobj interlock -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:2442
17  vnode interlock -- (already displayed)
11  Syncer mtx -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:1573
9  mountlist -- last acquired _at_ /usr/src/sys/kern/vfs_syscalls.c:149
10  struct mount mtx -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:1021
17   vnode interlock -- (already displayed)
1  vfslock -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:364
16  UMA zone -- (already displayed)
10  arc4_mtx -- last acquired _at_ /usr/src/sys/libkern/arc4random.c:137
9   unit# allocation -- last acquired _at_ /usr/src/sys/kern/subr_unit.c:623
10  struct mount mtx -- (already displayed)
2   mntid -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:460
9    mountlist -- (already displayed)
2   devfsmount -- last acquired _at_ /usr/src/sys/fs/devfs/devfs_vnops.c:201
9    devfs interlock -- last acquired _at_ /usr/src/sys/fs/devfs/devfs_vnops.c:194
17    vnode interlock -- (already displayed)
18    cdev -- (already displayed)
18   vnode_free_list -- (already displayed)
16   UMA zone -- (already displayed)
3    devfs -- last acquired _at_ /usr/src/sys/fs/devfs/devfs_vnops.c:789
9     devfs interlock -- (already displayed)
10    struct mount mtx -- (already displayed)
17    vnode interlock -- (already displayed)
7     filedesc structure -- last acquired _at_ /usr/src/sys/kern/kern_descrip.c:1090
17     vnode interlock -- (already displayed)
12     process lock -- (already displayed)
9      Name Cache -- last acquired _at_ /usr/src/sys/kern/vfs_cache.c:498
17      vnode interlock -- (already displayed)
16      UMA zone -- (already displayed)
13     fdesc -- (already displayed)
16     UMA zone -- (already displayed)
14     system map -- (already displayed)
18     cdev -- (already displayed)
8      Giant -- last acquired _at_ /usr/src/sys/kern/kern_intr.c:1044
9       pipe mutex -- last acquired _at_ /usr/src/sys/kern/sys_pipe.c:1512
10       sigio lock -- last acquired _at_ /usr/src/sys/kern/kern_descrip.c:847
11        process group -- last acquired _at_ /usr/src/sys/kern/kern_proc.c:413
12         process lock -- (already displayed)
13         session -- (already displayed)
16         UMA zone -- (already displayed)
12         ttylist -- last acquired _at_ /usr/src/sys/kern/tty.c:2855
14          tty -- (already displayed)
12        process lock -- (already displayed)
12       sleep mtxpool -- (already displayed)
16      UMA zone -- (already displayed)
14      system map -- (already displayed)
9       UMA lock -- last acquired _at_ /usr/src/sys/vm/uma_core.c:1492
16       UMA zone -- (already displayed)
15       KMAP ENTRY -- (already displayed)
15      UMA boot pages -- (already displayed)
19      eventhandler -- (already displayed)
20      eventhandler list -- (already displayed)
10      kobj -- last acquired _at_ /usr/src/sys/kern/subr_kobj.c:307
10      kernel environment -- last acquired _at_ /usr/src/sys/kern/subr_hints.c:117
9       malloc -- last acquired _at_ /usr/src/sys/kern/kern_malloc.c:655
18      vm page queue free mutex -- (already displayed)
15      kernel object -- (already displayed)
11      vm object_list -- (already displayed)
15      KMAP ENTRY -- (already displayed)
14      uidinfo hash -- (already displayed)
12      process lock -- (already displayed)
9       evclass_mtx -- last acquired _at_ /usr/src/sys/security/audit/audit_bsm_klib.c:112
9       TID lock -- last acquired _at_ /usr/src/sys/kern/subr_unit.c:623
10      standard object -- (already displayed)
12      sleep mtxpool -- (already displayed)
9       intr event -- last acquired _at_ /usr/src/sys/kern/kern_intr.c:440
18      cdev -- (already displayed)
9       GEOM orphanage -- last acquired _at_ /usr/src/sys/geom/geom_event.c:201
9       sndstat lock -- last acquired _at_ /usr/src/sys/dev/sound/pcm/sndstat.c:290
12      ttylist -- (already displayed)
9       accept_filter_mtx -- last acquired _at_ /usr/src/sys/kern/uipc_accf.c:116
11      intr config -- last acquired _at_ /usr/src/sys/kern/subr_autoconf.c:72
9       taskqueue list -- last acquired _at_ /usr/src/sys/kern/subr_taskqueue.c:127
9       XPT lock -- last acquired _at_ /usr/src/sys/cam/cam_xpt.c:2646
16       UMA zone -- (already displayed)
10       XPT topology lock -- last acquired _at_ /usr/src/sys/cam/cam_xpt.c:7192
14       system map -- (already displayed)
10       kernel environment -- (already displayed)
10       taskqueue -- last acquired _at_ /usr/src/sys/kern/subr_taskqueue.c:75
9       rman head -- last acquired _at_ /usr/src/sys/kern/subr_rman.c:152
9       rman -- last acquired _at_ /usr/src/sys/kern/subr_rman.c:539
16       UMA zone -- (already displayed)
14       system map -- (already displayed)
9       devd -- last acquired _at_ /usr/src/sys/kern/subr_bus.c:419
12       sleep mtxpool -- (already displayed)
9       ACPI semaphore -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:303
9       acpi subsystem HW lock -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:377
9       acpi subsystem GPE lock -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/Osd/OsdSynch.c:377
16       UMA zone -- (already displayed)
10       taskqueue -- (already displayed)
9       ACPI global lock -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../i386/acpica/acpi_machdep.c:311
9       network driver -- last acquired _at_ /usr/src/sys/pci/if_xl.c:2239
10       taskqueue -- (already displayed)
13      ifnet -- (already displayed)
9       bpf global lock -- last acquired _at_ /usr/src/sys/net/bpf.c:1801
10       bpf interface lock -- last acquired _at_ order list:0
11        bpf cdev lock -- last acquired _at_ order list:0
9       bounce pages lock -- last acquired _at_ /usr/src/sys/i386/i386/busdma_machdep.c:1083
9       sbp -- last acquired _at_ /usr/src/sys/cam/cam_xpt.c:2646
16       UMA zone -- (already displayed)
10       kernel environment -- (already displayed)
10       XPT topology lock -- (already displayed)
10       CAM SIMQ lock -- last acquired _at_ /usr/src/sys/cam/cam_xpt.c:7207
14       system map -- (already displayed)
9       firewire -- last acquired _at_ /usr/src/sys/dev/firewire/fwohci.c:1184
10      ac97 codec -- last acquired _at_ /usr/src/sys/dev/sound/pcm/ac97.c:495
9       sound cdev -- last acquired _at_ /usr/src/sys/dev/sound/pcm/mixer.c:997
9       pcm fake channel -- last acquired _at_ /usr/src/sys/dev/sound/pcm/channel.c:1108
16       UMA zone -- (already displayed)
10       kobj -- (already displayed)
9       pcm play channel -- last acquired _at_ /usr/src/sys/dev/sound/pcm/vchan.c:665
16       UMA zone -- (already displayed)
10       kobj -- (already displayed)
10       snd_ich softc -- last acquired _at_ /usr/src/sys/dev/sound/pci/ich.c:497
11        intr config -- (already displayed)
10       ac97 codec -- (already displayed)
10      snd_ich softc -- (already displayed)
9       pcm record channel -- last acquired _at_ /usr/src/sys/dev/sound/pcm/vchan.c:665
16       UMA zone -- (already displayed)
10       kobj -- (already displayed)
10       snd_ich softc -- (already displayed)
10       ac97 codec -- (already displayed)
10      taskqueue -- (already displayed)
9       vm86 lock -- last acquired _at_ /usr/src/sys/i386/i386/vm86.c:569
17      pmap -- (already displayed)
9       unit# allocation -- (already displayed)
18      vnode_free_list -- (already displayed)
9       pfs_node -- last acquired _at_ /usr/src/sys/fs/pseudofs/pseudofs_internal.h:103
9       pfs_fileno -- last acquired _at_ /usr/src/sys/kern/subr_unit.c:623
9       random reseed -- last acquired _at_ /usr/src/sys/dev/random/yarrow.c:191
10      arc4_mtx -- (already displayed)
9       nfsd_mtx -- last acquired _at_ /usr/src/sys/nfsserver/nfs_srvsock.c:799
10       so_snd -- (already displayed)
11       so_rcv -- (already displayed)
9       if_clone lock -- last acquired _at_ /usr/src/sys/net/if_clone.c:164
9       if_cloners lock -- last acquired _at_ /usr/src/sys/net/if_clone.c:252
9       domain list -- last acquired _at_ /usr/src/sys/kern/uipc_domain.c:228
10      pfil_head_list lock -- last acquired _at_ /usr/src/sys/net/pfil.c:160
9       PFil hook read/write mutex -- last acquired _at_ /usr/src/sys/net/pfil.c:204
10       pfil_head_list lock -- (already displayed)
9       isn_mtx -- last acquired _at_ /usr/src/sys/netinet/tcp_subr.c:1433
12      radix node head -- (already displayed)
9       IPFW static rules -- last acquired _at_ /usr/src/sys/netinet/ip_fw2.c:3390
10       IPFW dynamic rules -- last acquired _at_ /usr/src/sys/netinet/ip_fw2.c:3462
9       ATA queue lock -- last acquired _at_ /usr/src/sys/dev/ata/ata-queue.c:177
10       ATA state lock -- last acquired _at_ /usr/src/sys/dev/ata/ata-queue.c:194
9       cbb -- last acquired _at_ /usr/src/sys/dev/pccbb/pccbb.c:521
9       devstat -- last acquired _at_ /usr/src/sys/kern/subr_devstat.c:394
9       ATAPICAM lock -- last acquired _at_ /usr/src/sys/cam/cam_periph.h:182
16       UMA zone -- (already displayed)
10       kernel environment -- (already displayed)
10       XPT topology lock -- (already displayed)
10       CAM SIMQ lock -- (already displayed)
14       system map -- (already displayed)
10       taskqueue -- (already displayed)
10      XPT topology lock -- (already displayed)
9       pcm virtual play channel -- last acquired _at_ /usr/src/sys/dev/sound/pcm/vchan.c:665
16       UMA zone -- (already displayed)
10       kobj -- (already displayed)
9       pcm virtual record channel -- last acquired _at_ /usr/src/sys/dev/sound/pcm/vchan.c:665
16       UMA zone -- (already displayed)
10       kobj -- (already displayed)
9       NFS iod lock -- last acquired _at_ /usr/src/sys/nfsclient/nfs_nfsiod.c:196
9       mountlist -- (already displayed)
10      struct mount mtx -- (already displayed)
10      bufobj interlock -- (already displayed)
9       buf queue lock -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:1451
9       needsbuffer lock -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:310
17      vnode interlock -- (already displayed)
9       FFS Lock -- last acquired _at_ /usr/src/sys/ufs/ffs/ffs_softdep.c:3537
10       arc4_mtx -- (already displayed)
9       Name Cache -- (already displayed)
9       vfs hash -- last acquired _at_ /usr/src/sys/kern/vfs_hash.c:114
17       vnode interlock -- (already displayed)
9       dirhash list -- last acquired _at_ /usr/src/sys/ufs/ufs/ufs_dirhash.c:349
10       dirhash -- last acquired _at_ /usr/src/sys/ufs/ufs/ufs_dirhash.c:350
10      dirhash -- (already displayed)
9       pbuf mutex -- last acquired _at_ /usr/src/sys/vm/vm_pager.c:336
12      sf_buf -- (already displayed)
16      vm page queue mutex -- (already displayed)
11      process group -- (already displayed)
14      tty -- (already displayed)
13      session -- (already displayed)
9       bio queue -- last acquired _at_ /usr/src/sys/geom/geom_io.c:68
9       Softdep Lock -- last acquired _at_ /usr/src/sys/ufs/ffs/ffs_softdep.c:4892
16       UMA zone -- (already displayed)
10       bufobj interlock -- (already displayed)
10       buffer daemon lock -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:418
9       pfs_vncache -- last acquired _at_ /usr/src/sys/fs/pseudofs/pseudofs_vncache.c:300
17       vnode interlock -- (already displayed)
9       if_afdata -- last acquired _at_ /usr/src/sys/netinet6/scope6.c:408
10       scope6_lock -- last acquired _at_ /usr/src/sys/netinet6/scope6.c:437
14      if_addr_mtx -- (already displayed)
10      buffer daemon lock -- (already displayed)
10      sigio lock -- (already displayed)
9       devfs interlock -- (already displayed)
9       drm device -- last acquired _at_ /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:830
16       UMA zone -- (already displayed)
10       sigio lock -- (already displayed)
14       system map -- (already displayed)
9       agp lock -- last acquired _at_ /usr/src/sys/dev/agp/agp.c:560
10       standard object -- (already displayed)
9       drmdma -- last acquired _at_ /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_bufs.c:1059
16       UMA zone -- (already displayed)
9       dev_pager list -- (already displayed)
10     so_snd -- (already displayed)
12     sleep mtxpool -- (already displayed)
9      pipe mutex -- (already displayed)
8      kqueue -- last acquired _at_ /usr/src/sys/kern/kern_event.c:1442
10      struct mount mtx -- (already displayed)
5     clone events drain lock -- last acquired _at_ /usr/src/sys/fs/devfs/devfs_vnops.c:626
19     eventhandler -- (already displayed)
20     eventhandler list -- (already displayed)
18     cdev -- (already displayed)
16     UMA zone -- (already displayed)
16    UMA zone -- (already displayed)
18    cdev -- (already displayed)
10    bufobj interlock -- (already displayed)
4     GEOM topology -- last acquired _at_ /usr/src/sys/geom/geom_event.c:233
9      GEOM orphanage -- (already displayed)
16     UMA zone -- (already displayed)
9      devstat -- (already displayed)
9      unit# allocation -- (already displayed)
18     cdev -- (already displayed)
9      bio queue -- (already displayed)
12     sleep mtxpool -- (already displayed)
14     system map -- (already displayed)
9      ATA queue lock -- (already displayed)
10     XPT topology lock -- (already displayed)
9      ATAPICAM lock -- (already displayed)
11     vm object_list -- (already displayed)
17     vnode interlock -- (already displayed)
10     standard object -- (already displayed)
5      swapdev -- last acquired _at_ /usr/src/sys/vm/swap_pager.c:2029
8     Giant -- (already displayed)
9     Name Cache -- (already displayed)
9     mountlist -- (already displayed)
5     knlist lock for lockless objects -- last acquired _at_ /usr/src/sys/kern/kern_event.c:1666
9     vfs hash -- (already displayed)
14    system map -- (already displayed)
18    vnode_free_list -- (already displayed)
4     ufs -- last acquired _at_ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1386
10     struct mount mtx -- (already displayed)
9      vfs hash -- (already displayed)
10     bufobj interlock -- (already displayed)
9      buf queue lock -- (already displayed)
17     vnode interlock -- (already displayed)
7      filedesc structure -- (already displayed)
9      Name Cache -- (already displayed)
5      bufwait -- last acquired _at_ /usr/src/sys/vm/vm_pager.c:313
14      system map -- (already displayed)
10      bufobj interlock -- (already displayed)
10      standard object -- (already displayed)
16      UMA zone -- (already displayed)
9       bio queue -- (already displayed)
12      sleep mtxpool -- (already displayed)
8       Giant -- (already displayed)
9       buf queue lock -- (already displayed)
9       needsbuffer lock -- (already displayed)
15      kernel object -- (already displayed)
12      process lock -- (already displayed)
7       user map -- (already displayed)
9       pbuf mutex -- (already displayed)
10      dirhash -- (already displayed)
16      vm page queue mutex -- (already displayed)
18      cdev -- (already displayed)
9       FFS Lock -- (already displayed)
9       Softdep Lock -- (already displayed)
10      buffer daemon lock -- (already displayed)
9       vfs hash -- (already displayed)
17      vnode interlock -- (already displayed)
6       runningbufspace lock -- last acquired _at_ /usr/src/sys/kern/vfs_bio.c:329
16     UMA zone -- (already displayed)
18     vnode_free_list -- (already displayed)
10     standard object -- (already displayed)
7      user map -- (already displayed)
12     process lock -- (already displayed)
12     sf_buf -- (already displayed)
16     vm page queue mutex -- (already displayed)
9      pbuf mutex -- (already displayed)
9      dirhash list -- (already displayed)
10     dirhash -- (already displayed)
17     pmap -- (already displayed)
18     cdev -- (already displayed)
11     vm object_list -- (already displayed)
12     sleep mtxpool -- (already displayed)
14     system map -- (already displayed)
14     uidinfo hash -- (already displayed)
15     UMA boot pages -- (already displayed)
9      FFS Lock -- (already displayed)
10     buffer daemon lock -- (already displayed)
9      Softdep Lock -- (already displayed)
9      bio queue -- (already displayed)
6      runningbufspace lock -- (already displayed)
9      mountlist -- (already displayed)
5      knlist lock for lockless objects -- (already displayed)
9      pfs_vncache -- (already displayed)
5      pseudofs -- last acquired _at_ /usr/src/sys/kern/vfs_subr.c:2044
10      struct mount mtx -- (already displayed)
9       pfs_vncache -- (already displayed)
17      vnode interlock -- (already displayed)
9       Name Cache -- (already displayed)
16      UMA zone -- (already displayed)
9       pfs_node -- (already displayed)
18      vnode_free_list -- (already displayed)
6       allproc -- last acquired _at_ /usr/src/sys/kern/kern_exit.c:403
7        allprison -- last acquired _at_ /usr/src/sys/kern/kern_jail.c:952
12       process lock -- (already displayed)
13       fdesc -- (already displayed)
7        filedesc structure -- (already displayed)
17       vnode interlock -- (already displayed)
7        user map -- (already displayed)
12      process lock -- (already displayed)
10      bufobj interlock -- (already displayed)
14      system map -- (already displayed)
12      sleep mtxpool -- (already displayed)
9      needsbuffer lock -- (already displayed)
5      unp_global_rwlock -- (already displayed)
10     kobj -- (already displayed)
8      Giant -- (already displayed)
4     proctree -- last acquired _at_ /usr/src/sys/kern/kern_prot.c:325
6      allproc -- (already displayed)
11     process group -- (already displayed)
8      Giant -- (already displayed)
12     process lock -- (already displayed)
13     session -- (already displayed)
10     sigio lock -- (already displayed)
5      clone events drain lock -- (already displayed)
9     GEOM orphanage -- (already displayed)
9     bio queue -- (already displayed)
6     runningbufspace lock -- (already displayed)
12    process lock -- (already displayed)
9     Softdep Lock -- (already displayed)
9     dev_pager list -- (already displayed)
11    vm object_list -- (already displayed)
18   cdev -- (already displayed)
14   system map -- (already displayed)
17   vnode interlock -- (already displayed)
9   mountlist -- (already displayed)
3   devfs -- (already displayed)
14  system map -- (already displayed)
7   filedesc structure -- (already displayed)
10  kernel environment -- (already displayed)
17  vnode interlock -- (already displayed)
15  UMA boot pages -- (already displayed)
9   UMA lock -- (already displayed)
9   FFS Lock -- (already displayed)
4   GEOM topology -- (already displayed)
8   Giant -- (already displayed)
9   Softdep Lock -- (already displayed)
10  bufobj interlock -- (already displayed)
5   bufwait -- (already displayed)
9   bio queue -- (already displayed)
6   runningbufspace lock -- (already displayed)
4   ufs -- (already displayed)
18  vnode_free_list -- (already displayed)
9   vfs hash -- (already displayed)
9   pfs_vncache -- (already displayed)
5   pseudofs -- (already displayed)
10  buffer daemon lock -- (already displayed)
12  radix node head -- (already displayed)
10 struct mount mtx -- (already displayed)
0 g_disk_done -- last acquired _at_ /usr/src/sys/geom/geom_disk.c:199
16 UMA zone -- (already displayed)
9  bio queue -- (already displayed)
0 MD config lock -- last acquired _at_ /usr/src/sys/dev/md/md.c:1173
16 UMA zone -- (already displayed)
19 eventhandler -- (already displayed)
4  proctree -- (already displayed)
7  filedesc structure -- (already displayed)
12 process lock -- (already displayed)
11 vm object_list -- (already displayed)
10 standard object -- (already displayed)
4  GEOM topology -- (already displayed)
9  devstat -- (already displayed)
0 dummynet -- last acquired _at_ /usr/src/sys/netinet/ip_dummynet.c:789
0 iterator -- last acquired _at_ /usr/src/sys/netinet/sctputil.c:1209
0 ipqlock -- last acquired _at_ /usr/src/sys/netinet/ip_input.c:1086
0 ip6qlock -- last acquired _at_ /usr/src/sys/netinet6/frag6.c:690
0 sem -- last acquired _at_ /usr/src/sys/kern/sysv_sem.c:1288
0 crossmp -- last acquired _at_ /usr/src/sys/kern/vfs_lookup.c:686
17 vnode interlock -- (already displayed)
0 fdc lock -- last acquired _at_ /usr/src/sys/dev/fdc/fdc.c:803
0 primary pcm mixer -- last acquired _at_ /usr/src/sys/dev/sound/pcm/mixer.c:970
10 ac97 codec -- (already displayed)
0 fwtlabel -- last acquired _at_ /usr/src/sys/dev/firewire/firewire.c:363
0 fwwait -- last acquired _at_ /usr/src/sys/dev/firewire/firewire.c:1659
0 intr sources -- last acquired _at_ /usr/src/sys/i386/i386/intr_machdep.c:175
0 audit_mtx -- last acquired _at_ /usr/src/sys/security/audit/audit_worker.c:392
0 uma object -- last acquired _at_ /usr/src/sys/vm/vm_meter.c:114
0 p_peers -- last acquired _at_ /usr/src/sys/kern/kern_exit.c:278
0 ACPI root bus -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:1015
9  rman -- (already displayed)
14 system map -- (already displayed)
16 UMA zone -- (already displayed)
9  ACPI semaphore -- (already displayed)
0 ACPI PCI bus methods -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_pcib.c:221
16 UMA zone -- (already displayed)
9  ACPI semaphore -- (already displayed)
10 kernel environment -- (already displayed)
1  ACPI PCI link -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_pci_link.c:1046
16  UMA zone -- (already displayed)
9   ACPI semaphore -- (already displayed)
10  kernel environment -- (already displayed)
0 ACPI generic battery -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_battery.c:68
16 UMA zone -- (already displayed)
9  ACPI global lock -- (already displayed)
14 system map -- (already displayed)
0 ACPI thermal zone -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_thermal.c:941
0 linux ioctl handlers -- last acquired _at_ /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2653
16 UMA zone -- (already displayed)
0 /dev/mem lock -- last acquired _at_ /usr/src/sys/i386/i386/mem.c:144
0 vm daemon -- last acquired _at_ /usr/src/sys/vm/vm_pageout.c:1530
0 lock states lock -- last acquired _at_ /usr/src/sys/kern/kern_lockf.c:695
0 sysctl lock -- last acquired _at_ /usr/src/sys/kern/kern_sysctl.c:1415
10 arc4_mtx -- (already displayed)
16 UMA zone -- (already displayed)
6  allproc -- (already displayed)
12 process lock -- (already displayed)
7  user map -- (already displayed)
18 cdev -- (already displayed)
14 system map -- (already displayed)
7  filedesc structure -- (already displayed)
13 fdesc -- (already displayed)
1  kernel linker -- last acquired _at_ /usr/src/sys/kern/kern_linker.c:416
16  UMA zone -- (already displayed)
14  system map -- (already displayed)
2   module subsystem sx lock -- last acquired _at_ /usr/src/sys/kern/kern_module.c:118
16   UMA zone -- (already displayed)
14   system map -- (already displayed)
7   filedesc structure -- (already displayed)
17  vnode interlock -- (already displayed)
4   ufs -- (already displayed)
10  struct mount mtx -- (already displayed)
10  bufobj interlock -- (already displayed)
5   bufwait -- (already displayed)
9   buf queue lock -- (already displayed)
9  GEOM orphanage -- (already displayed)
8  Giant -- (already displayed)
13 ktrace -- (already displayed)
9  malloc -- (already displayed)
9  devstat -- (already displayed)
12 ttylist -- (already displayed)
11 vm object_list -- (already displayed)
9  UMA lock -- (already displayed)
18 vm page queue free mutex -- (already displayed)
11 Syncer mtx -- (already displayed)
5  unp_global_rwlock -- (already displayed)
1  tcp -- last acquired _at_ /usr/src/sys/netinet/tcp_usrreq.c:255
2   tcpinp -- last acquired _at_ /usr/src/sys/netinet/tcp_usrreq.c:256
10   so_snd -- (already displayed)
16   UMA zone -- (already displayed)
14   system map -- (already displayed)
11   so_rcv -- (already displayed)
13   ifnet -- (already displayed)
19   eventhandler -- (already displayed)
16  UMA zone -- (already displayed)
14  system map -- (already displayed)
1  tcp_sc_head -- last acquired _at_ /usr/src/sys/netinet/tcp_syncache.c:1721
1  udp -- last acquired _at_ /usr/src/sys/netinet/udp_usrreq.c:1099
2   udpinp -- last acquired _at_ /usr/src/sys/netinet/udp_usrreq.c:1100
3    in_multi_mtx -- last acquired _at_ /usr/src/sys/netinet/in_mcast.c:318
4     igmp_mtx -- last acquired _at_ /usr/src/sys/netinet/igmp.c:446
14     if_addr_mtx -- (already displayed)
14    if_addr_mtx -- (already displayed)
16    UMA zone -- (already displayed)
10   so_snd -- (already displayed)
16   UMA zone -- (already displayed)
10   arc4_mtx -- (already displayed)
12   radix node head -- (already displayed)
13   rtentry -- (already displayed)
9    if_afdata -- (already displayed)
3    addrsel_lock -- last acquired _at_ /usr/src/sys/netinet6/in6_src.c:860
7    accept -- (already displayed)
11   so_rcv -- (already displayed)
13   ifnet -- (already displayed)
14   if_addr_mtx -- (already displayed)
16  UMA zone -- (already displayed)
14  system map -- (already displayed)
1  sctp-info -- last acquired _at_ /usr/src/sys/netinet/sctp_pcb.c:6138
1  rip -- last acquired _at_ /usr/src/sys/netinet/raw_ip.c:638
16  UMA zone -- (already displayed)
14  system map -- (already displayed)
2   rawinp -- last acquired _at_ /usr/src/sys/netinet/raw_ip.c:639
11   so_rcv -- (already displayed)
1  div -- last acquired _at_ /usr/src/sys/netinet/ip_divert.c:652
1  addrsel_sxlock -- last acquired _at_ /usr/src/sys/netinet6/in6_src.c:1025
3   addrsel_lock -- (already displayed)
1  db_capture_sx -- last acquired _at_ /usr/src/sys/ddb/db_capture.c:181
1  db_script_mtx -- last acquired _at_ /usr/src/sys/ddb/db_script.c:481
9  ACPI semaphore -- (already displayed)
1  ACPI AC adapter -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_acad.c:108
16  UMA zone -- (already displayed)
9   devd -- (already displayed)
1  ACPI cmbat -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_cmbat.c:383
16  UMA zone -- (already displayed)
9   ACPI semaphore -- (already displayed)
7  allprison -- (already displayed)
1  linux osname -- last acquired _at_ /usr/src/sys/modules/linux/../../compat/linux/linux_mib.c:180
10 ac97 codec -- (already displayed)
9  sound cdev -- (already displayed)
9  pcm play channel -- (already displayed)
9  pcm virtual play channel -- (already displayed)
9  pcm record channel -- (already displayed)
9  pcm virtual record channel -- (already displayed)
1  cpufreq lock -- last acquired _at_ /usr/src/sys/kern/kern_cpu.c:245
16  UMA zone -- (already displayed)
13 ifnet -- (already displayed)
1  ACPI CPU -- last acquired _at_ /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_cpu.c:1187
19 eventhandler -- (already displayed)
20 eventhandler list -- (already displayed)
0 ng_node -- last acquired _at_ order list:0
1  ng_worklist -- last acquired _at_ order list:0
0 802.11 com lock -- last acquired _at_ order list:0
0 ddp_list_mtx -- last acquired _at_ order list:0
1  ddp_mtx -- last acquired _at_ order list:0
0 slip_mtx -- last acquired _at_ order list:0
1  slip sc_mtx -- last acquired _at_ order list:0
0 unp -- last acquired _at_ order list:0
10 so_snd -- (already displayed)

Spin locks:

Locks which were never acquired:
SCSI CD Changer List
arp_inq
rts_inq
tcp_hc_entry
ip_inq
ip6_inq
futex protection lock
emuldata->shared lock
emuldata lock
tunmtx
gif_mtx
ppp_softc_list_mtx
msq
semid
shm dictionary
shm timestamps
idmap gid hash table
idmap uid hash table
nfs4dev state
nfs4dev waitq
nfs4dev newq
NFS xid lock
NFS reqq lock
fwip    
fwe
if send queue
LED sx
LED mtx
audit_pipe_mtx
nfslock
midistat lock
pt_mtx
Libalias_modules_rwlock
audit_worker_sx
audit_trigger_mtx
ktrace_sx
ACPI embedded controller
ACPI power resources
ACPI PCI power methods
ACPI Smart Battery
ACPI lid
ACPI HPET support
umtxql
kqueue order
protect sysfilt_ops
securelevel mutex lock
encapmtx
firmware table
acct_sx
ip_id_mtx
snapdata free list
net80211 instances
DEVFS ruleset lock
rtsock route_cb lock
rawcb
MSDOSFS fileno
PCM channel sync group lock
fifo mutex
UUID generator mutex lock
phys_pager list
swap_pager list
vm map sleep mutex
PMAP2
db> 

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Mon Mar 31 2008 - 14:16:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC