kern/144987: injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic

Gabriel Quadros gabrielquadros at hotmail.com
Tue Mar 23 22:20:01 UTC 2010


>Number:         144987
>Category:       kern
>Synopsis:       injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 22:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gabriel Quadros
>Release:        8.0
>Organization:
>Environment:
FreeBSD freebsd 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Running wlaninject on FreeBSD 8.0-RELEASE using a Intel 39345ABG card gives a kernel panic. The driver I'm using is wpi, and this is probably a driver bug.

wlaninject => http://svn.freebsd.org/viewvc/base/release/8.0.0/tools/tools/net80211/wlaninject/wlaninject.c?view=log


Some results running the tool:

With length 1 to 5
--------------------------------
#wlaninject -l 1

..
wlaninject: writev(): Message too long
--------------------------------


With length 6 to 9
--------------------------------
#wlaninject -l 6

..
wlaninject: writev(): Input/output error
--------------------------------


With length >= 10 it gives the kernel panic. The core dump with backtrace is appended.
>How-To-Repeat:
#wlaninject -l 10
>Fix:


Patch attached with submission follows:

freebsd dumped core - see /var/crash/vmcore.0

Sat Mar 20 17:19:19 BRT 2010

FreeBSD freebsd 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

panic: page fault

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address	= 0xffff
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc09373ba
stack pointer	        = 0x28:0xe8fdda80
frame pointer	        = 0x28:0xe8fdda94
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		= 1517 (wlaninject)
trap number		= 12
panic: page fault
cpuid = 1
Uptime: 4m57s
Physical memory: 3058 MB
Dumping 93 MB:panic: bufwrite: buffer is not busy???
cpuid = 1
 78 62 46 30 14

Reading symbols from /boot/kernel/if_wpi.ko...Reading symbols from /boot/kernel/if_wpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_wpi.ko
Reading symbols from /boot/kernel/wpifw.ko...Reading symbols from /boot/kernel/wpifw.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/wpifw.ko
#0  doadump () at pcpu.h:246
246	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:246
#1  0xc087cf67 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc087d259 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:579
#3  0xc0bae64c in trap_fatal (frame=0xe8fdda40, eva=65535)
    at /usr/src/sys/i386/i386/trap.c:933
#4  0xc0bae8d0 in trap_pfault (frame=0xe8fdda40, usermode=0, eva=65535)
    at /usr/src/sys/i386/i386/trap.c:846
#5  0xc0baf2b5 in trap (frame=0xe8fdda40) at /usr/src/sys/i386/i386/trap.c:528
#6  0xc0b91aab in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0xc09373ba in ieee80211_chan2mode (chan=0xffff)
    at /usr/src/sys/net80211/ieee80211.c:1405
#8  0xc0f72732 in wpi_tx_data (sc=0xc6694000, m0=0xc6eab900, ni=0xc6ce6000, 
    ac=0) at /usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:1904
#9  0xc0f72c7f in wpi_raw_xmit (ni=0xc6ce6000, m=0xc6eab900, 
    params=0xe8fddbb6) at /usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2080
#10 0xc095d835 in ieee80211_output (ifp=0xc6b1e400, m=0xc6eab900, 
    dst=0xe8fddbb4, ro=0x0) at /usr/src/sys/net80211/ieee80211_output.c:486
#11 0xc091b14b in bpfwrite (dev=0xc658c800, uio=0xc6f57380, ioflag=0)
    at /usr/src/sys/net/bpf.c:889
#12 0xc08015bf in devfs_write_f (fp=0xc6b6c118, uio=0xc6f57380, 
    cred=0xc6b06800, flags=0, td=0xc6bc8000)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:1509
#13 0xc08b9197 in dofilewrite (td=0xc6bc8000, fd=3, fp=0xc6b6c118, 
    auio=0xc6f57380, offset=-1, flags=0) at file.h:239
#14 0xc08b9488 in kern_writev (td=0xc6bc8000, fd=3, auio=0xc6f57380)
    at /usr/src/sys/kern/sys_generic.c:446
#15 0xc08b96e6 in writev (td=0xc6bc8000, uap=0xe8fddcf8)
    at /usr/src/sys/kern/sys_generic.c:432
#16 0xc0baec15 in syscall (frame=0xe8fddd38)
    at /usr/src/sys/i386/i386/trap.c:1073
#17 0xc0b91b10 in Xint0x80_syscall ()
    at /usr/src/sys/i386/i386/exception.s:261
#18 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 

------------------------------------------------------------------------
ps -axl

  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
    0     0     0   0 -68  0     0     0 -      DLs   ??  302488:38.00 [kernel]
    0     1     0   0  44  0  2912     0 wait   DLs   ??  91350:25.00 [init]
    0     2     0   0  -8  0     0     0 -      DL    ??  145918:29.00 [g_event]
    0     3     0   0  -8  0     0     0 -      DL    ??  373211:07.00 [g_up]
    0     4     0   0  -8  0     0     0 -      DL    ??  367679:46.00 [g_down]
    0     5     0   0 -16  0     0     0 ccb_sc DL    ??    0:00.00 [xpt_thrd]
    0     6     0   0 -16  0     0     0 -      DL    ??    0:00.00 [fw0_probe]
    0     7     0   0 -16  0     0     0 waitin DL    ??  382:26.00 [sctp_itera
    0     8     0   0 -16  0     0     0 psleep DL    ??  2674:50.00 [pagedaemon
    0     9     0   0 -16  0     0     0 psleep DL    ??   53:21.00 [vmdaemon]
    0    10     0   0 -16  0     0     0 audit_ DL    ??    0:00.00 [audit]
    0    11     0   0 171  0     0     0 -      RL    ??  22243598:34.00 [idle]
    0    12     0   0 -60  0     0     0 -      WL    ??  6806371:00.00 [intr]
    0    13     0   0 -16  0     0     0 -      DL    ??  97577:20.00 [yarrow]
    0    14     0   0 -64  0     0     0 -      DL    ??  1331361:10.00 [usb]
    0    15     0   0  76  0     0     0 pgzero DL    ??  120:27.00 [pagezero]
    0    16     0   0 -16  0     0     0 psleep DL    ??  895:35.00 [bufdaemon]
    0    17     0   0 -16  0     0     0 -      RL    ??  851:13.00 [syncer]
    0    18     0   0 -16  0     0     0 vlruwt DL    ??  859:06.00 [vnlru]
    0    19     0   0 -16  0     0     0 sdflus DL    ??  1594:16.00 [softdepflu
    0    20     0   0 -16  0     0     0 flowcl DL    ??  218:10.00 [flowcleane
    0   111     1   0  76  0  1536     0 pause  Ds    ??  7519:03.00 [adjkerntz]
    0   895     1   0  76  0  3448     0 select Ds    ??  4662:32.00 [moused]
    0   975     1   0  44  0  1888     0 select Ds    ??  83426:12.00 [devd]
    0  1132     1   0  44  0  3344     0 select Ds    ??  453129:47.00 [syslogd]
    0  1384     1   0  76  0  3284     0 select Ds    ??  20229:11.00 [dhclient]
    0  1400     1   0  44  0  6072     0 select Ds    ??  32672:01.00 [sendmail]
   65  1402     1   0  44  0  3284     0 select Ds    ??  4297:20.00 [dhclient]
   25  1407     1   0  76  0  6072     0 pause  Ds    ??  26435:34.00 [sendmail]
    0  1413     1   0  44  0  3372     0 nanslp Ds    ??  45510:07.00 [cron]
    0  1434     1   0  76  0  3448     0 select Ds    ??  4481:35.00 [moused]
    0  1481     1   0  44  0  3808     0 wait   Ds    ??  45316:20.00 [login]
    0  1482     1   0  76  0  3344     0 ttyin  Ds+   ??  42330:23.00 [getty]
    0  1483     1   0  76  0  3344     0 ttyin  Ds+   ??  42467:53.00 [getty]
    0  1484     1   0  76  0  3344     0 ttyin  Ds+   ??  41907:59.00 [getty]
    0  1485     1   0  76  0  3344     0 ttyin  Ds+   ??  50168:37.00 [getty]
    0  1486     1   0  76  0  3344     0 ttyin  Ds+   ??  41621:37.00 [getty]
    0  1487     1   0  76  0  3344     0 ttyin  Ds+   ??  41665:59.00 [getty]
    0  1488     1   0  76  0  3344     0 ttyin  Ds+   ??  41201:25.00 [getty]
 1001  1489  1481   0  44  0  5648     0 pause  D     ??  79356:23.00 [csh]
    0  1492  1489   0  44  0  3804     0 wait   D     ??    0:00.00 [su]
    0  1493  1492   0  44  0  5648     0 pause  D     ??  53873:36.00 [csh]
    0  1517  1493   0 -68  0  3284     0 -      R+    ??    0:00.00 [wlaninject

------------------------------------------------------------------------
vmstat -s

        0 cpu context switches
        0 device interrupts
        0 software interrupts
        0 traps
        0 system calls
        0 kernel threads created
        0  fork() calls
        0 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
        0 vnode pager pageins
        0 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
      153 pages reactivated
        0 copy-on-write faults
        0 copy-on-write optimized faults
        0 zero fill pages zeroed
        0 zero fill pages prezeroed
        0 intransit blocking page faults
        0 total VM faults taken
        0 pages affected by kernel thread creation
        0 pages affected by  fork()
        0 pages affected by vfork()
        0 pages affected by rfork()
      171 pages cached
        0 pages freed
        0 pages freed by daemon
    51933 pages freed by exiting processes
     2025 pages active
     2704 pages inactive
        8 pages in VM cache
     5862 pages wired down
   758336 pages free
     4096 bytes per page
    23797 total name lookups
          cache hits (84% pos + 10% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

------------------------------------------------------------------------
vmstat -m

         Type InUse MemUse HighUse Requests  Size(s)
         GEOM    84    17K       -      470  16,32,64,128,512,1024,2048
CAM dev queue     1     1K       -        1  64
       isadev     9     1K       -        9  64
      fw_xfer     0     0K       -        1  128
     firewire    11    23K       -       14  32,64,512,1024,2048,4096
    CAM queue     3     1K       -        7  16
     pci_link    16     2K       -       16  64,128
         cdev    10     2K       -       10  128
    acpi_perf     2     1K       -        2  128
        sigio     1     1K       -        1  32
     filedesc    43    11K       -     1518  256
         kenv    79     7K       -       83  16,32,64,128,4096
       kqueue     0     0K       -       11  128,1024
    proc-args    23     2K       -      500  16,32,64,128
      ithread    75     6K       -       75  16,64,128
       KTRACE   100    13K       -      100  128
       linker   119   159K       -      169  16,32,256,1024,4096
        lockf    23     2K       -       27  32,64
       ip6ndp     7     1K       -        7  64,128
         temp    36   237K       -     5140  16,32,64,128,256,512,1024,2048,4096
       devbuf  4506  6098K       -     4783  16,32,64,128,256,512,1024,2048,4096
       kbdmux     6    10K       -        6  16,256,1024,2048,4096
       module   465    30K       -      465  64,128
     mtx_pool     2     8K       -        2  4096
      subproc   116   191K       -     1591  256,4096
         proc     2     8K       -        2  4096
      session    19     2K       -       21  64
         pgrp    23     2K       -       38  64
         cred    32     3K       -     3690  64,128
      uidinfo     5     2K       -        9  64,1024
       plimit    14     4K       -      184  256
    sysctltmp     0     0K       -      282  16,32,64,128,256
    sysctloid  3729   113K       -     3836  16,32,64,128
       sysctl     0     0K       -      396  16,32,64
      callout     1   256K       -        1  
         umtx   140     9K       -      140  64
     p1003.1b     1     1K       -        1  16
         SWAP     2   277K       -        2  64
       bus-sc    83   219K       -     4283  16,32,64,128,256,512,1024,2048,4096
          bus  1258    57K       -     7381  16,32,64,128,512,1024
      devstat     6    13K       -        6  16,4096
 eventhandler    68     4K       -       68  32,64,128
         kobj   326   652K       -      392  2048
      Per-cpu     1     1K       -        1  16
         rman   170    11K       -      664  16,32,64
         sbuf     0     0K       -      294  16,32,64,128,256,512,1024,2048,4096
       acpica  2538   131K       -    67195  16,32,64,128,256,512,1024,2048
     acpitask     1     1K       -        1  1024
      CAM SIM     1     1K       -        1  128
        stack     0     0K       -        2  128
    taskqueue    15     1K       -       15  16,64
       Unitno    11     1K       -       21  16,64
          iov     1     1K       -      370  64,128,256
       select    10     1K       -       10  64
     ioctlops     0     0K       -     1384  16,32,64,128,256,512,1024,4096
          msg     4    25K       -        4  1024,4096
          sem     4     6K       -        4  256,512,1024,4096
          shm     1    12K       -        1  
          tty    19    10K       -       21  512,1024
     mbuf_tag     0     0K       -        9  32
         ksem     1     4K       -        1  4096
        shmfd     1     4K       -        1  4096
          pcb    15    79K       -       21  16,64,512,1024,2048,4096
       soname     3     1K       -      117  16,32,128
          acl     0     0K       -        1  4096
       biobuf     0     0K       -        6  2048
     vfscache     1   512K       -        1  
     vfs_hash     1   256K       -        1  
       vnodes     2     1K       -        2  128
  vnodemarker     0     0K       -      165  512
        mount    69     3K       -      195  16,32,64,128,256
          BPF    14    18K       -       17  64,128,256,4096
  ether_multi    15     1K       -       22  16,32,64
       ifaddr   174    15K       -      175  16,32,64,128,256,512,2048
        ifnet     7     7K       -        7  64,1024
        clone     5    20K       -        5  4096
       arpcom     3     1K       -        3  16
       fw_com     1     1K       -        1  64
      lltable    16     4K       -       16  128,256
      acpisem    50     7K       -       50  64,128
      CAM XPT    11     2K       -       30  16,32,64,1024
   CAM periph     2     1K       -       11  16,32,64,128
  ata_generic     2     2K       -        2  1024
     routetbl    53   259K       -      129  16,32,64,128,256,512
     80211vap     1     4K       -        1  4096
     80211com     1     8K       -        1  
    80211node     1     8K       -        1  
    80211scan     2     4K       -        2  2048
         igmp     6     1K       -        6  128
    ad_driver     1     1K       -        1  32
    ar_driver     0     0K       -        6  512,2048
   acd_driver     1     2K       -        1  2048
     in_multi     2     1K       -        3  128
    sctp_iter     0     0K       -        3  128
     sctp_ifn     2     1K       -        2  128
     sctp_ifa     4     1K       -        4  128
     sctp_vrf     1     1K       -        1  64
    sctp_a_it     0     0K       -        3  16
    hostcache     1    16K       -        1  
     syncache     1    72K       -        1  
    in6_multi    12     2K       -       12  16,256
      entropy  1024    64K       -     1024  64
          mld     6     1K       -        6  128
      NFS FHA     1     1K       -        1  1024
          rpc     2     5K       -        2  128,4096
audit_evclass   172     3K       -      211  16
     savedino     0     0K       -       18  256
       dirrem     0     0K       -       29  32
        mkdir     0     0K       -       12  32
       diradd     0     0K       -       29  64
     freefile     0     0K       -       28  32
     freeblks     0     0K       -       24  256
     freefrag     0     0K       -        2  32
   allocindir     0     0K       -      207  64
     indirdep     0     0K       -      100  32
  allocdirect     0     0K       -       50  128
    bmsafemap     0     0K       -       69  64
       newblk     1     1K       -      258  64,256
     inodedep     1   256K       -       71  128
      pagedep     1    64K       -       17  64
  ufs_dirhash    36     7K       -       36  16,32,64,128,512
    ufs_mount    13    26K       -       22  64,256,512,2048,4096
    vm_pgdata     2    65K       -        2  64
     atkbddev     2     1K       -        2  32
      acpidev    80     3K       -       80  32
       apmdev     1     1K       -        1  64
       USBdev    46    12K       -       46  32,128,256,1024,2048
          USB    74    51K       -       78  16,32,64,128,1024,2048,4096
       DEVFS1   106    27K       -      111  256
       DEVFS3   120    15K       -      126  128
      io_apic     1     1K       -        1  1024
      memdesc     1     4K       -        1  4096
          msi     1     1K       -        1  64
     nexusdev     4     1K       -        4  16
        DEVFS    22     1K       -       23  16,64
       DEVFSP     3     1K       -        4  32
    pfs_nodes    20     3K       -       20  128

------------------------------------------------------------------------
vmstat -z

ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES

UMA Kegs:                 128,        0,       88,        2,       88,        0
UMA Zones:                888,        0,       88,        0,       88,        0
UMA Slabs:                284,        0,      728,       14,     1806,        0
UMA RCntSlabs:            544,        0,      391,        1,      391,        0
UMA Hash:                 128,        0,        4,       26,        4,        0
16 Bucket:                 76,        0,       44,        6,       65,        0
32 Bucket:                140,        0,       55,        1,       77,        0
64 Bucket:                268,        0,       41,        1,       90,       13
128 Bucket:               524,        0,       47,        2,     1060,      112
VM OBJECT:                136,        0,      812,       87,    17137,        0
MAP:                      140,        0,        7,       21,        7,        0
KMAP ENTRY:                72,    57505,       45,      220,     4947,        0
MAP ENTRY:                 72,        0,      368,      215,    31451,        0
DP fakepg:                 72,        0,        0,        0,        0,        0
SG fakepg:                 72,        0,        0,        0,        0,        0
mt_zone:                 2056,        0,      262,        0,      262,        0
16:                        16,        0,     3214,      440,    38321,        0
32:                        32,        0,     3150,      240,    34219,        0
64:                        64,        0,     4735,      398,     9090,        0
128:                      128,        0,     3010,      200,    11565,        0
256:                      256,        0,      879,       81,     4082,        0
512:                      512,        0,       73,       31,     2565,        0
1024:                    1024,        0,       48,      180,     1436,        0
2048:                    2048,        0,      378,       38,      674,        0
4096:                    4096,        0,      299,       36,     5785,        0
Files:                     56,        0,       60,      208,     5782,        0
TURNSTILE:                 72,        0,      141,       39,      141,        0
umtx pi:                   52,        0,        0,        0,        0,        0
MAC labels:                20,        0,        0,        0,        0,        0
PROC:                     680,        0,       42,       30,     1517,        0
THREAD:                   572,        0,      125,       15,      125,        0
SLEEPQUEUE:                32,        0,      141,       95,      141,        0
VMSPACE:                  232,        0,       23,       62,     1499,        0
cpuset:                    40,        0,        2,      182,        2,        0
audit_record:             816,        0,        0,        0,        0,        0
mbuf_packet:              256,        0,      256,      388,      774,        0
mbuf:                     256,        0,       66,      194,      153,        0
mbuf_cluster:            2048,    25600,      640,       12,      640,        0
mbuf_jumbo_page:         4096,    12800,       64,        1,       64,        0
mbuf_jumbo_9k:           9216,    19200,        0,        0,        0,        0
mbuf_jumbo_16k:         16384,    12800,        0,        0,        0,        0
mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
ttyinq:                   152,        0,      120,       62,      705,        0
ttyoutq:                  256,        0,       64,       11,      376,        0
g_bio:                    140,        0,        0,      308,   117667,        0
ata_request:              200,        0,        1,      113,    30907,        0
ata_composite:            180,        0,        0,        0,        0,        0
VNODE:                    268,        0,      506,       40,      539,        0
VNODEPOLL:                 60,        0,        0,        0,        0,        0
S VFS Cache:               72,        0,      489,      147,     1121,        0
L VFS Cache:              292,        0,        0,        0,        0,        0
NAMEI:                   1024,        0,        0,       36,     9372,        0
NFSMOUNT:                 520,        0,        0,        0,        0,        0
NFSNODE:                  464,        0,        0,        0,        0,        0
DIRHASH:                 1024,        0,       46,       10,       46,        0
pipe:                     392,        0,        1,       39,     1056,        0
ksiginfo:                  80,        0,       60,      996,       60,        0
itimer:                   220,        0,        0,        0,        0,        0
KNOTE:                     68,        0,        0,      112,        6,        0
socket:                   412,    25605,       12,       15,      226,        0
ipq:                       32,      904,        0,        0,        0,        0
udp_inpcb:                220,    25614,        2,       52,      187,        0
udpcb:                      8,    25781,        2,      404,      187,        0
tcp_inpcb:                220,    25614,        1,       53,        3,        0
tcpcb:                    632,    25602,        1,       17,        3,        0
tcptw:                     52,     5184,        0,        0,        0,        0
syncache:                 112,    15365,        0,        0,        0,        0
hostcache:                 76,    15400,        0,        0,        0,        0
tcpreass:                  20,     1690,        0,        0,        0,        0
sackhole:                  20,        0,        0,        0,        0,        0
sctp_ep:                  848,    25600,        0,        0,        0,        0
sctp_asoc:               1460,    40000,        0,        0,        0,        0
sctp_laddr:                24,    80040,        0,      290,        3,        0
sctp_raddr:               420,    80001,        0,        0,        0,        0
sctp_chunk:                96,   400000,        0,        0,        0,        0
sctp_readq:                76,   400000,        0,        0,        0,        0
sctp_stream_msg_out:       64,   400020,        0,        0,        0,        0
sctp_asconf:               24,   400055,        0,        0,        0,        0
sctp_asconf_ack:           24,   400055,        0,        0,        0,        0
ripcb:                    220,    25614,        1,       35,        1,        0
unpcb:                    172,    25622,        7,       62,       31,        0
rtentry:                  108,        0,        9,       99,       10,        0
selfd:                     28,        0,       21,      360,      841,        0
ip4flow:                   40,     4140,        0,      184,        1,        0
ip6flow:                   64,     4118,        0,        0,        0,        0
SWAPMETA:                 276,   121576,        0,        0,        0,        0
Mountpoints:              644,        0,        5,       13,        5,        0
FFS inode:                116,        0,      466,       62,      498,        0
FFS1 dinode:              128,        0,        0,        0,        0,        0
FFS2 dinode:              256,        0,      466,       44,      498,        0


------------------------------------------------------------------------
vmstat -i

interrupt                          total       rate
irq1: atkbd0                         650         29
irq9: acpi0                         1465         66
irq14: ata0                           36          1
irq16: uhci0                           1          0
irq17: wpi0                         4983        226
irq18: ehci0 uhci4                    54          2
irq19: uhci3+                      29405       1336
irq21: uhci1                          13          0
irq22: fwohci0                         1          0
irq23: uhci2 ehci1                     2          0
cpu0: timer                       594216      27009
irq256: bge0                          16          0
cpu1: timer                       593446      26974
Total                            1224288      55649

------------------------------------------------------------------------
pstat -T

 60/12328 files
0M/1681M swap space

------------------------------------------------------------------------
pstat -s

Device          512-blocks     Used    Avail Capacity
/dev/ad4s4b        3443984        0  3443984     0%

------------------------------------------------------------------------
iostat

iostat: kvm_read(_tk_nin): invalid address (0x0)
iostat: disabling TTY statistics
iostat: kvm_getcptime: invalid address (0x0)
iostat: disabling CPU time statistics
             ad4 
  KB/t tps  MB/s 
 15.85 1302 20.16 

------------------------------------------------------------------------
ipcs -a

Message Queues:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP                 CBYTES                 QNUM               QBYTES        LSPID        LRPID STIME    RTIME    CTIME   

Shared Memory:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP         NATTCH        SEGSZ         CPID         LPID ATIME    DTIME    CTIME   

Semaphores:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP          NSEMS OTIME    CTIME   


------------------------------------------------------------------------
ipcs -T

msginfo:
	msgmax:        16384	(max characters in a message)
	msgmni:           40	(# of message queues)
	msgmnb:         2048	(max characters in a message queue)
	msgtql:           40	(max # of messages in system)
	msgssz:            8	(size of a message segment)
	msgseg:         2048	(# of message segments in system)

shminfo:
	shmmax:     33554432	(max shared memory segment size)
	shmmin:            1	(min shared memory segment size)
	shmmni:          192	(max number of shared memory identifiers)
	shmseg:          128	(max shared memory segments per process)
	shmall:         8192	(max amount of shared memory in pages)

seminfo:
	semmap:           30	(# of entries in semaphore map)
	semmni:           10	(# of semaphore identifiers)
	semmns:           60	(# of semaphores in system)
	semmnu:           30	(# of undo structures in system)
	semmsl:           60	(max # of semaphores per id)
	semopm:          100	(max # of operations per semop call)
	semume:           10	(max # of undo entries per process)
	semusz:          136	(size in bytes of undo structure)
	semvmx:        32767	(semaphore maximum value)
	semaem:        16384	(adjust on exit max value)


------------------------------------------------------------------------
nfsstat

Client Info:
Rpc Counts:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
        0         0         0         0         0         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         0         0         0         0         0         0
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0         0         0         0         0
Rpc Info:
 TimedOut   Invalid X Replies   Retries  Requests
        0         0         0         0         0
Cache Info:
Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits    Misses
        0         0         0         0         0         0         0         0
BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
        0         0         0         0         0         0

Server Info:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
        0         0         0         0         0         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         0         0         0         0         0         0
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0         0         0         0         0
Server Ret-Failed
                0
Server Faults
            0
Server Cache Stats:
   Inprog      Idem  Non-idem    Misses
        0         0         0         0
Server Write Gathering:
 WriteOps  WriteRPC   Opsaved
        0         0         0

------------------------------------------------------------------------
netstat -s

tcp:
	0 packets sent
		0 data packets (0 bytes)
		0 data packets (0 bytes) retransmitted
		0 data packets unnecessarily retransmitted
		0 resends initiated by MTU discovery
		0 ack-only packets (0 delayed)
		0 URG only packets
		0 window probe packets
		0 window update packets
		0 control packets
	0 packets received
		0 acks (for 0 bytes)
		0 duplicate acks
		0 acks for unsent data
		0 packets (0 bytes) received in-sequence
		0 completely duplicate packets (0 bytes)
		0 old duplicate packets
		0 packets with some dup. data (0 bytes duped)
		0 out-of-order packets (0 bytes)
		0 packets (0 bytes) of data after window
		0 window probes
		0 window update packets
		0 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
		0 discarded due to memory problems
	0 connection requests
	0 connection accepts
	0 bad connection attempts
	0 listen queue overflows
	0 ignored RSTs in the windows
	0 connections established (including accepts)
	2 connections closed (including 0 drops)
		0 connections updated cached RTT on close
		0 connections updated cached RTT variance on close
		0 connections updated cached ssthresh on close
	0 embryonic connections dropped
	0 segments updated rtt (of 0 attempts)
	0 retransmit timeouts
		0 connections dropped by rexmit timeout
	0 persist timeouts
		0 connections dropped by persist timeout
	0 Connections (fin_wait_2) dropped because of timeout
	0 keepalive timeouts
		0 keepalive probes sent
		0 connections dropped by keepalive
	0 correct ACK header predictions
	0 correct data packet header predictions
	0 syncache entries added
		0 retransmitted
		0 dupsyn
		0 dropped
		0 completed
		0 bucket overflow
		0 cache overflow
		0 reset
		0 stale
		0 aborted
		0 badack
		0 unreach
		0 zone failures
	0 cookies sent
	0 cookies received
	0 SACK recovery episodes
	0 segment rexmits in SACK recovery episodes
	0 byte rexmits in SACK recovery episodes
	0 SACK options (SACK blocks) received
	0 SACK options (SACK blocks) sent
	0 SACK scoreboard overflow
	0 packets with ECN CE bit set
	0 packets with ECN ECT(0) bit set
	0 packets with ECN ECT(1) bit set
	0 successful ECN handshakes
	0 times ECN reduced the congestion window
udp:
	3 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	0 with no checksum
	0 dropped due to no socket
	0 broadcast/multicast datagrams undelivered
	0 dropped due to full socket buffers
	0 not for hashed pcb
	3 delivered
	3 datagrams output
	0 times multicast source filter matched
ip:
	4 total packets received
	0 bad header checksums
	0 with size smaller than minimum
	0 with data size < data length
	0 with ip length > max ip packet size
	0 with header length < data size
	0 with data length < header length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 packets reassembled ok
	3 packets for this host
	0 packets for unknown/unsupported protocol
	0 packets forwarded (0 packets fast forwarded)
	1 packet not forwardable
	0 packets received for unknown multicast group
	0 redirects sent
	3 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 tunneling packets that can't find gif
	0 datagrams with bad address in header
icmp:
	0 calls to icmp_error
	0 errors not generated in response to an icmp message
	0 messages with bad code fields
	0 messages less than the minimum length
	0 messages with bad checksum
	0 messages with bad length
	0 multicast echo requests ignored
	0 multicast timestamp requests ignored
	0 message responses generated
	0 invalid return addresses
	0 no return routes
igmp:
	0 messages received
	0 messages received with too few bytes
	0 messages received with wrong TTL
	0 messages received with bad checksum
	0 V1/V2 membership queries received
	0 V3 membership queries received
	0 membership queries received with invalid field(s)
	0 general queries received
	0 group queries received
	0 group-source queries received
	0 group-source queries dropped
	0 membership reports received
	0 membership reports received with invalid field(s)
	0 membership reports received for groups to which we belong
	0 V3 reports received without Router Alert
	0 membership reports sent
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 fragments that exceeded limit
	0 packets reassembled ok
	0 packets for this host
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	0 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 packets that violated scope rules
	0 multicast packets which we don't join
	Mbuf statistics:
		0 one mbuf
		0 one ext mbuf
		0 two or more ext mbuf
	0 packets whose headers are not continuous
	0 tunneling packets that can't find gif
	0 packets discarded because of too many headers
	0 failures of source address selection
	Source addresses selection rule applied:
icmp6:
	0 calls to icmp6_error
	0 errors not generated in response to an icmp6 message
	0 errors not generated because of rate limitation
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	Histogram of error messages to be generated:
		0 no route
		0 administratively prohibited
		0 beyond scope
		0 address unreachable
		0 port unreachable
		0 packet too big
		0 time exceed transit
		0 time exceed reassembly
		0 erroneous header field
		0 unrecognized next header
		0 unrecognized option
		0 redirect
		0 unknown
	0 message responses generated
	0 messages with too many ND options
	0 messages with bad ND options
	0 bad neighbor solicitation messages
	0 bad neighbor advertisement messages
	0 bad router solicitation messages
	0 bad router advertisement messages
	0 bad redirect messages
	0 path MTU changes
rip6:
	0 messages received
	0 checksum calculations on inbound
	0 messages with bad checksum
	0 messages dropped due to no socket
	0 multicast messages dropped due to no socket
	0 messages dropped due to full socket buffers
	0 delivered
	0 datagrams output

------------------------------------------------------------------------
netstat -m

322/582/904 mbufs in use (current/cache/total)
252/400/652/25600 mbuf clusters in use (current/cache/total/max)
256/388 mbuf+clusters out of packet secondary zone in use (current/cache)
64/1/65/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/19200 9k jumbo clusters in use (current/cache/total/max)
0/0/0/12800 16k jumbo clusters in use (current/cache/total/max)
840K/949K/1790K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

------------------------------------------------------------------------
netstat -id

Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll Drop
bge0   1500 <Link#1>      00:1b:38:cd:79:f5        7     0        7     0     0    0 
bge0   1500 10.0.0.0      10.1.1.3                 3     -        3     -     -    - 
wpi0   2290 <Link#2>      00:1c:bf:6c:33:3d        0     0        1     0     0    0 
fwe0*  1500 <Link#3>      02:02:3f:40:01:4a        0     0        0     0     0    0 
fwip0  1500 <Link#4>      00:02:3f:81:cc:40:01:4a:0a:02:ff:fe:00:00:00:00        0     0        0     0     0    0 
lo0   16384 <Link#5>                               0     0        0     0     0    0 
lo0   16384 fe80:5::1     fe80:5::1                0     -        0     -     -    - 
lo0   16384 localhost     ::1                      0     -        0     -     -    - 
lo0   16384 your-net      localhost                0     -        0     -     -    - 
wlan0  1500 <Link#6>      00:1c:bf:6c:33:3d        0     0        1     1     0    0 

------------------------------------------------------------------------
netstat -anr

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.1.1.1           UGS         0        0   bge0
10.0.0.0/8         link#1             U           0        3   bge0
10.1.1.3           link#1             UHS         0        0    lo0
127.0.0.1          link#5             UH          0        0    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%lo0/64                     link#5                        U           lo0
fe80::1%lo0                       link#5                        UHS         lo0
ff01:5::/32                       fe80::1%lo0                   U           lo0
ff02::%lo0/32                     fe80::1%lo0                   U           lo0

------------------------------------------------------------------------
netstat -anA

Active Internet connections (including servers)
Tcpcb    Proto Recv-Q Send-Q  Local Address      Foreign Address   (state)
c6ea2c58 tcp4       0      0 127.0.0.1.25       *.*                LISTEN
c6c2044c udp4       0      0 *.514              *.*                
c6c201b8 udp6       0      0 *.514              *.*                
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c6c24d70 stream      0      0 c6bc9860        0        0        0 /var/run/devd.pipe
c6c244b4 dgram       0      0        0 c6c25c18        0 c6c25ac0
c6c25a14 dgram       0      0        0 c6c25cc4        0        0
c6c25ac0 dgram       0      0        0 c6c25c18        0 c6c25b6c
c6c25b6c dgram       0      0        0 c6c25c18        0        0
c6c25c18 dgram       0      0 c6e73430        0 c6c244b4        0 /var/run/logpriv
c6c25cc4 dgram       0      0 c6e7353c        0 c6c25a14        0 /var/run/log

------------------------------------------------------------------------
netstat -aL

Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen         Local Address         
tcp4  0/0/10         localhost.smtp         
unix  0/0/4          /var/run/devd.pipe

------------------------------------------------------------------------
fstat

USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
root     wlaninject  1517 root /             2 drwxr-xr-x     512  r
root     wlaninject  1517   wd /usr      77868 drwxr-xr-x    1024  r
root     wlaninject  1517 text /usr      84434 -rwxr-xr-x   15568  r
root     wlaninject  1517    0 /dev         43 crw-------   ttyv0 rw
root     wlaninject  1517    1 /dev         43 crw-------   ttyv0 rw
root     wlaninject  1517    2 /dev         43 crw-------   ttyv0 rw
root     wlaninject  1517    3 /dev         16 crw-------     bpf rw
root     csh         1493 root /             2 drwxr-xr-x     512  r
root     csh         1493   wd /usr      77868 drwxr-xr-x    1024  r
root     csh         1493 text /           115 -r-xr-xr-x  327760  r
root     csh         1493   15 /dev         43 crw-------   ttyv0 rw
root     csh         1493   16 /dev         43 crw-------   ttyv0 rw
root     csh         1493   17 /dev         43 crw-------   ttyv0 rw
root     csh         1493   18 /dev         43 crw-------   ttyv0 rw
root     csh         1493   19 /dev         43 crw-------   ttyv0 rw
root     su          1492 root /             2 drwxr-xr-x     512  r
root     su          1492   wd /usr      77868 drwxr-xr-x    1024  r
root     su          1492 text /usr     189402 -r-sr-xr-x   14496  r
root     su          1492    0 /dev         43 crw-------   ttyv0 rw
root     su          1492    1 /dev         43 crw-------   ttyv0 rw
root     su          1492    2 /dev         43 crw-------   ttyv0 rw
gabriel  csh         1489 root /             2 drwxr-xr-x     512  r
gabriel  csh         1489   wd /usr      77868 drwxr-xr-x    1024  r
gabriel  csh         1489 text /           115 -r-xr-xr-x  327760  r
gabriel  csh         1489   15 /dev         43 crw-------   ttyv0 rw
gabriel  csh         1489   16 /dev         43 crw-------   ttyv0 rw
gabriel  csh         1489   17 /dev         43 crw-------   ttyv0 rw
gabriel  csh         1489   18 /dev         43 crw-------   ttyv0 rw
gabriel  csh         1489   19 /dev         43 crw-------   ttyv0 rw
root     getty       1488 root /             2 drwxr-xr-x     512  r
root     getty       1488   wd /             2 drwxr-xr-x     512  r
root     getty       1488 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1488    0 /dev         50 crw-------   ttyv7 rw
root     getty       1488    1 /dev         50 crw-------   ttyv7 rw
root     getty       1488    2 /dev         50 crw-------   ttyv7 rw
root     getty       1487 root /             2 drwxr-xr-x     512  r
root     getty       1487   wd /             2 drwxr-xr-x     512  r
root     getty       1487 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1487    0 /dev         49 crw-------   ttyv6 rw
root     getty       1487    1 /dev         49 crw-------   ttyv6 rw
root     getty       1487    2 /dev         49 crw-------   ttyv6 rw
root     getty       1486 root /             2 drwxr-xr-x     512  r
root     getty       1486   wd /             2 drwxr-xr-x     512  r
root     getty       1486 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1486    0 /dev         48 crw-------   ttyv5 rw
root     getty       1486    1 /dev         48 crw-------   ttyv5 rw
root     getty       1486    2 /dev         48 crw-------   ttyv5 rw
root     getty       1485 root /             2 drwxr-xr-x     512  r
root     getty       1485   wd /             2 drwxr-xr-x     512  r
root     getty       1485 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1485    0 /dev         47 crw-------   ttyv4 rw
root     getty       1485    1 /dev         47 crw-------   ttyv4 rw
root     getty       1485    2 /dev         47 crw-------   ttyv4 rw
root     getty       1484 root /             2 drwxr-xr-x     512  r
root     getty       1484   wd /             2 drwxr-xr-x     512  r
root     getty       1484 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1484    0 /dev         46 crw-------   ttyv3 rw
root     getty       1484    1 /dev         46 crw-------   ttyv3 rw
root     getty       1484    2 /dev         46 crw-------   ttyv3 rw
root     getty       1483 root /             2 drwxr-xr-x     512  r
root     getty       1483   wd /             2 drwxr-xr-x     512  r
root     getty       1483 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1483    0 /dev         45 crw-------   ttyv2 rw
root     getty       1483    1 /dev         45 crw-------   ttyv2 rw
root     getty       1483    2 /dev         45 crw-------   ttyv2 rw
root     getty       1482 root /             2 drwxr-xr-x     512  r
root     getty       1482   wd /             2 drwxr-xr-x     512  r
root     getty       1482 text /usr     447498 -r-xr-xr-x   21860  r
root     getty       1482    0 /dev         44 crw-------   ttyv1 rw
root     getty       1482    1 /dev         44 crw-------   ttyv1 rw
root     getty       1482    2 /dev         44 crw-------   ttyv1 rw
root     login       1481 root /             2 drwxr-xr-x     512  r
root     login       1481   wd /usr      77868 drwxr-xr-x    1024  r
root     login       1481 text /usr     189334 -r-sr-xr-x   21804  r
root     login       1481    0 /dev         43 crw-------   ttyv0 rw
root     login       1481    1 /dev         43 crw-------   ttyv0 rw
root     login       1481    2 /dev         43 crw-------   ttyv0 rw
root     login       1481    3* local dgram c6c244b4 <-> c6c25c18
root     moused      1434 root /             2 drwxr-xr-x     512  r
root     moused      1434   wd /             2 drwxr-xr-x     512  r
root     moused      1434 text /usr     471180 -r-xr-xr-x   36140  r
root     moused      1434    0 /dev         11 crw-rw-rw-    null rw
root     moused      1434    1 /dev         11 crw-rw-rw-    null rw
root     moused      1434    2 /dev         11 crw-rw-rw-    null rw
root     moused      1434    3 /dev         41 crw-rw-rw-    psm0 rw
root     moused      1434    4 /dev         59 crw-------  consolectl rw
root     moused      1434    5 /var         41 -rw-------       4  w
root     cron        1413 root /             2 drwxr-xr-x     512  r
root     cron        1413   wd /var      14146 drwxr-x---     512  r
root     cron        1413 text /usr     471102 -r-xr-xr-x   34080  r
root     cron        1413    0 /dev         11 crw-rw-rw-    null rw
root     cron        1413    1 /dev         11 crw-rw-rw-    null rw
root     cron        1413    2 /dev         11 crw-rw-rw-    null rw
root     cron        1413    3 /var         34 -rw-------       4  w
smmsp    sendmail    1407 root /             2 drwxr-xr-x     512  r
smmsp    sendmail    1407   wd /var      28302 drwxrwx---     512  r
smmsp    sendmail    1407 text /usr     447545 -r-xr-sr-x  682732  r
smmsp    sendmail    1407    0 /dev         11 crw-rw-rw-    null  r
smmsp    sendmail    1407    1 /dev         11 crw-rw-rw-    null  w
smmsp    sendmail    1407    2 /dev         11 crw-rw-rw-    null  w
smmsp    sendmail    1407    3* local dgram c6c25a14 <-> c6c25cc4
smmsp    sendmail    1407    4 /var      28345 -rw-------      50  w
_dhcp    dhclient    1402 root /var      14147 dr-xr-xr-x     512  r
_dhcp    dhclient    1402   wd /var      14147 dr-xr-xr-x     512  r
_dhcp    dhclient    1402 jail /var      14147 dr-xr-xr-x     512  r
_dhcp    dhclient    1402 text /            28 -r-xr-xr-x   78520  r
_dhcp    dhclient    1402    0 /dev         11 crw-rw-rw-    null rw
_dhcp    dhclient    1402    1 /dev         11 crw-rw-rw-    null rw
_dhcp    dhclient    1402    2 /dev         11 crw-rw-rw-    null rw
_dhcp    dhclient    1402    3* local dgram c6c25b6c <-> c6c25c18
_dhcp    dhclient    1402    5* local stream c6c24d70
_dhcp    dhclient    1402    6 /var         24 -rw-------       3  w
_dhcp    dhclient    1402    7* route raw 0 c6c1f80c
_dhcp    dhclient    1402    8* pipe c6bca860 <-> c6bca7a8      0 rw
_dhcp    dhclient    1402    9 /var      28326 ----------     700  w
_dhcp    dhclient    1402   10 /dev         16 crw-------     bpf rw
_dhcp    dhclient    1402   11* internet raw ip c6ea5000
root     sendmail    1400 root /             2 drwxr-xr-x     512  r
root     sendmail    1400   wd /var      28299 drwxr-xr-x     512  r
root     sendmail    1400 text /usr     447545 -r-xr-sr-x  682732  r
root     sendmail    1400    0 /dev         11 crw-rw-rw-    null  r
root     sendmail    1400    1 /dev         11 crw-rw-rw-    null  w
root     sendmail    1400    2 /dev         11 crw-rw-rw-    null  w
root     sendmail    1400    3* local dgram c6c25ac0 <-> c6c25c18
root     sendmail    1400    4* internet stream tcp c6ea2c58
root     sendmail    1400    5 /var         33 -rw-------      79  w
root     dhclient    1384 root /             2 drwxr-xr-x     512  r
root     dhclient    1384   wd /             2 drwxr-xr-x     512  r
root     dhclient    1384 text /            28 -r-xr-xr-x   78520  r
root     dhclient    1384    0 /dev         11 crw-rw-rw-    null rw
root     dhclient    1384    1 /dev         11 crw-rw-rw-    null rw
root     dhclient    1384    2 /dev         11 crw-rw-rw-    null rw
root     dhclient    1384    3* local dgram c6c25b6c <-> c6c25c18
root     dhclient    1384    5* local stream c6c24d70
root     dhclient    1384    6 /var         24 -rw-------       3  w
root     dhclient    1384    7* pipe c6bca7a8 <-> c6bca860      0 rw
root     syslogd     1132 root /             2 drwxr-xr-x     512  r
root     syslogd     1132   wd /             2 drwxr-xr-x     512  r
root     syslogd     1132 text /usr     471262 -r-xr-xr-x   35916  r
root     syslogd     1132    0 /dev         11 crw-rw-rw-    null rw
root     syslogd     1132    1 /dev         11 crw-rw-rw-    null rw
root     syslogd     1132    2 /dev         11 crw-rw-rw-    null rw
root     syslogd     1132    3 /var         29 -rw-------       4  w
root     syslogd     1132    4* local dgram c6c25cc4
root     syslogd     1132    5* local dgram c6c25c18
root     syslogd     1132    6* internet6 dgram udp c6c201b8
root     syslogd     1132    7* internet dgram udp c6c2044c
root     syslogd     1132    8 /dev         10 crw-------    klog  r
root     syslogd     1132   10 -         -         bad    -
root     syslogd     1132   11 /var      14195 -rw-r--r--   45301  w
root     syslogd     1132   12 /var      14181 -rw-------      62  w
root     syslogd     1132   13 /var      14174 -rw-------    6163  w
root     syslogd     1132   14 /var      14179 -rw-r-----    4507  w
root     syslogd     1132   15 /var      14177 -rw-r--r--      62  w
root     syslogd     1132   16 /var      14182 -rw-------      62  w
root     syslogd     1132   17 /var      14175 -rw-------   46947  w
root     syslogd     1132   18 /var      14176 -rw-------      62  w
root     syslogd     1132   19 /var      14180 -rw-r-----      62  w
root     devd         975 root /             2 drwxr-xr-x     512  r
root     devd         975   wd /             2 drwxr-xr-x     512  r
root     devd         975 text /            26 -r-xr-xr-x  381640  r
root     devd         975    0 /dev         11 crw-rw-rw-    null rw
root     devd         975    1 /dev         11 crw-rw-rw-    null rw
root     devd         975    2 /dev         11 crw-rw-rw-    null rw
root     devd         975    3 /         33231 drwxr-xr-x     512  r
root     devd         975    4 /dev          4 crw-------  devctl  r
root     devd         975    5* local stream c6c24d70
root     devd         975    6 /var         24 -rw-------       3  w
root     moused       895 root /             2 drwxr-xr-x     512  r
root     moused       895   wd /             2 drwxr-xr-x     512  r
root     moused       895 text /usr     471180 -r-xr-xr-x   36140  r
root     moused       895    0 /dev         11 crw-rw-rw-    null rw
root     moused       895    1 /dev         11 crw-rw-rw-    null rw
root     moused       895    2 /dev         11 crw-rw-rw-    null rw
root     moused       895    3 /dev        111 crw-r--r--    ums0 rw
root     moused       895    4 /dev         59 crw-------  consolectl rw
root     moused       895    5* local stream c6c24d70
root     moused       895    6 /var         23 -rw-------       3  w
root     adjkerntz    111 root /             2 drwxr-xr-x     512  r
root     adjkerntz    111   wd /             2 drwxr-xr-x     512  r
root     adjkerntz    111 text /            15 -r-xr-xr-x    7424  r
root     adjkerntz    111    0 /dev         11 crw-rw-rw-    null rw
root     adjkerntz    111    1 /dev         11 crw-rw-rw-    null rw
root     adjkerntz    111    2 /dev         11 crw-rw-rw-    null rw
root     init           1 root /             2 drwxr-xr-x     512  r
root     init           1   wd /             2 drwxr-xr-x     512  r
root     init           1 text /            50 -r-xr-xr-x  663136  r
root     kernel         0 root /             2 drwxr-xr-x     512  r
root     kernel         0   wd /             2 drwxr-xr-x     512  r

------------------------------------------------------------------------
dmesg

Copyright (c) 1992-2009 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-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
    root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T5550  @ 1.83GHz (1828.76-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
  Features=0xbfebfbff<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,PBE>
  Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3144716288 (2999 MB)
ACPI APIC Table: <INTEL  CRESTLNE>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Compal CRESTLNE> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x207f mem 0xc6000000-0xc6ffffff,0xd0000000-0xdfffffff,0xc4000000-0xc5ffffff irq 16 at device 0.0 on pci1
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x1800-0x181f irq 16 at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x3000
usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x1820-0x183f irq 21 at device 26.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xf8404800-0xf8404bff irq 18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pci4: <ACPI PCI bus> on pcib3
pci0:4:0:0: failed to read VPD data.
bge0: <Broadcom BCM5754/5787 A2, ASIC rev. 0xb002> mem 0xf0000000-0xf000ffff irq 17 at device 0.0 on pci4
miibus0: <MII bus> on bge0
brgphy0: <BCM5787 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:1b:38:cd:79:f5
bge0: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci6: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci8: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
pci10: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci12: <ACPI PCI bus> on pcib7
wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xf8000000-0xf8000fff irq 17 at device 0.0 on pci12
wpi0: Driver Revision 20071127
wpi0: Hardware Revision (0x1)
adding chan 1 (2412MHz) flags=0x2b maxpwr=15 passive=0, offset 2
adding chan 2 (2417MHz) flags=0x2b maxpwr=15 passive=0, offset 4
adding chan 3 (2422MHz) flags=0x2b maxpwr=15 passive=0, offset 6
adding chan 4 (2427MHz) flags=0x2b maxpwr=15 passive=0, offset 8
adding chan 5 (2432MHz) flags=0x2b maxpwr=15 passive=0, offset 10
adding chan 6 (2437MHz) flags=0x2b maxpwr=15 passive=0, offset 12
adding chan 7 (2442MHz) flags=0x2b maxpwr=15 passive=0, offset 14
adding chan 8 (2447MHz) flags=0x2b maxpwr=15 passive=0, offset 16
adding chan 9 (2452MHz) flags=0x2b maxpwr=15 passive=0, offset 18
adding chan 10 (2457MHz) flags=0x2b maxpwr=15 passive=0, offset 20
adding chan 11 (2462MHz) flags=0x2b maxpwr=14 passive=0, offset 22
adding chan 36 (5180MHz) flags=0xa1 maxpwr=14 passive=1, offset 23
adding chan 40 (5200MHz) flags=0xa1 maxpwr=14 passive=1, offset 24
adding chan 44 (5220MHz) flags=0xa1 maxpwr=14 passive=1, offset 25
adding chan 48 (5240MHz) flags=0xa1 maxpwr=14 passive=1, offset 26
adding chan 52 (5260MHz) flags=0xb1 maxpwr=14 passive=1, offset 27
adding chan 56 (5280MHz) flags=0xb1 maxpwr=14 passive=1, offset 28
adding chan 60 (5300MHz) flags=0xb1 maxpwr=14 passive=1, offset 29
adding chan 64 (5320MHz) flags=0xb1 maxpwr=14 passive=1, offset 30
adding chan 149 (5745MHz) flags=0x21 maxpwr=16 passive=1, offset 31
adding chan 153 (5765MHz) flags=0x21 maxpwr=16 passive=1, offset 32
adding chan 157 (5785MHz) flags=0x21 maxpwr=16 passive=1, offset 33
adding chan 161 (5805MHz) flags=0x21 maxpwr=16 passive=1, offset 34
adding chan 165 (5825MHz) flags=0x21 maxpwr=16 passive=1, offset 35
power group 0: chan=1 maxpwr=47 temp=-209
	sample 0: index=13 power=44
	sample 1: index=29 power=32
	sample 2: index=47 power=12
	sample 3: index=58 power=2
	sample 4: index=77 power=-17
power group 1: chan=44 maxpwr=53 temp=-214
	sample 0: index=12 power=47
	sample 1: index=19 power=40
	sample 2: index=32 power=26
	sample 3: index=43 power=16
	sample 4: index=77 power=-16
power group 2: chan=64 maxpwr=55 temp=-212
	sample 0: index=12 power=50
	sample 1: index=20 power=43
	sample 2: index=33 power=30
	sample 3: index=44 power=20
	sample 4: index=77 power=-11
power group 3: chan=116 maxpwr=55 temp=-211
	sample 0: index=12 power=43
	sample 1: index=20 power=34
	sample 2: index=36 power=17
	sample 3: index=48 power=7
	sample 4: index=77 power=-20
power group 4: chan=153 maxpwr=53 temp=-209
	sample 0: index=10 power=41
	sample 1: index=20 power=29
	sample 2: index=32 power=17
	sample 3: index=42 power=9
	sample 4: index=77 power=-23
wpi0: Regulatory Domain: MoW1
wpi0: Hardware Type: B
wpi0: Hardware Revision: ?
wpi0: SKU does support 802.11a
wpi0: [ITHREAD]
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x1840-0x185f irq 23 at device 29.0 on pci0
uhci2: [ITHREAD]
usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x1860-0x187f irq 19 at device 29.1 on pci0
uhci3: [ITHREAD]
usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x1880-0x189f irq 18 at device 29.2 on pci0
uhci4: [ITHREAD]
usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xf8404c00-0xf8404fff irq 23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus6: EHCI version 1.0
usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
pcib8: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci14: <ACPI PCI bus> on pcib8
fwohci0: <1394 Open Host Controller Interface> mem 0xf8100000-0xf81007ff irq 22 at device 6.0 on pci14
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3f:81:cc:40:01:4a
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0xbc810000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3f:40:01:4a
fwe0: Ethernet address: 02:02:3f:40:01:4a
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:02:3f:81:cc:40:01:4a @ 0xfffe00000000, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
pci14: <base peripheral, SD host controller> at device 6.1 (no driver attached)
pci14: <base peripheral> at device 6.2 (no driver attached)
pci14: <base peripheral> at device 6.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18a0-0x18af at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH8M SATA300 controller> port 0x18d8-0x18df,0x18cc-0x18cf,0x18d0-0x18d7,0x18c8-0x18cb,0x18e0-0x18ff mem 0xf8404000-0xf84047ff irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI v1.10 controller with 3 3Gbps ports, PM not supported
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xdc000-0xdffff,0xe0000-0xe17ff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
acd0: DVDR <MATSHITADVD-RAM UJ-850S/1.60> at ata0-master UDMA33
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
ad4: 238475MB <WDC WD2500BEVS-00UST0 01.01A01> at ata2-master SATA150
SMP: AP CPU #1 Launched!
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
Root mount waiting for: usbus6 usbus2
Root mount waiting for: usbus6 usbus2
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus6 usbus2
uhub6: 6 ports with 6 removable, self powered
ugen2.2: <Chicony Electronics Co., Ltd.> at usbus2
Trying to mount root from ufs:/dev/ad4s4a
WARNING: / was not properly dismounted
Setting hostuuid: 04efa396-c08d-11dc-927c-001b38cd79f5.
Setting hostid: 0x01faea10.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
ugen5.2: <vendor 0x04f3> at usbus5
ums0: <vendor 0x04f3 PS/2+USB Mouse, class 0/0, rev 1.10/22.90, addr 2> on usbus5
ums0: 3 buttons and [XYZ] coordinates ID=0
 kickstart
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list