kern/139440: 8.0 RC1 panics on writing large files to ntfs-3g mounted partitions

Silviu hydrow.net at gmail.com
Thu Oct 8 19:50:02 UTC 2009


>Number:         139440
>Category:       kern
>Synopsis:       8.0 RC1 panics on writing large files to ntfs-3g mounted partitions
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 08 19:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Silviu
>Release:        8.0 RC1
>Organization:
>Environment:
FreeBSD localhost 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Panic happens when bt client starting a download or copying a file > 4Gb.
If the file to be downloaded already exists, there are no panic, and the bt client says file can not be found, however it is there.

Repeated on 2 machines, an iCore workstation and an pentium mobile notebook both with 8.0 RC1.

Thank you for any suggestions.

Here are the dump from notebook:

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

Thu Oct  8 19:29:41 UTC 2009

FreeBSD localhost 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 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 = 0; apic id = 00
fault virtual address    = 0x0
fault code        = supervisor read, page not present
instruction pointer    = 0x20:0x0
stack pointer            = 0x28:0xe672bc44
frame pointer            = 0x28:0xe672bc68
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        = 1128 (rtorrent)
trap number        = 12
panic: page fault
cpuid = 0
Uptime: 1m2s
Physical memory: 1002 MB
Dumping 56 MB: 41 25 9

Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.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  0xc08823c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc08826b9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:579
#3  0xc0bb346c in trap_fatal (frame=0xe672bc04, eva=0)
    at /usr/src/sys/i386/i386/trap.c:933
#4  0xc0bb36f0 in trap_pfault (frame=0xe672bc04, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:846
#5  0xc0bb40d5 in trap (frame=0xe672bc04) at /usr/src/sys/i386/i386/trap.c:528
#6  0xc0b96a4b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

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

Segmentation fault (core dumped)

------------------------------------------------------------------------
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
       56 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()
       66 pages cached
        0 pages freed
        0 pages freed by daemon
    38835 pages freed by exiting processes
     2980 pages active
     1820 pages inactive
       10 pages in VM cache
     5745 pages wired down
   241343 pages free
     4096 bytes per page
    16186 total name lookups
          cache hits (83% pos + 10% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

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

         Type InUse MemUse HighUse Requests  Size(s)
    pfs_nodes    20     3K       -       20  128
         GEOM   101    18K       -      633  16,32,64,128,512,1024,2048
    acpi_perf     1     1K       -        1  256
       isadev     6     1K       -        6  64
          sbp   104     9K       -      104  32,128
         cdev    11     2K       -       11  128
        sigio     1     1K       -        1  32
     filedesc    46    12K       -     1131  16,256,512
         kenv    76     7K       -       80  16,32,64,128,4096
       kqueue     0     0K       -        4  128,1024
    proc-args    21     2K       -      309  32,64,128
      ithread    64     5K       -       64  16,64,128
          agp     1     1K       -        1  16
       acpica  2120   107K       -    80694  16,32,64,128,256,512,1024
       KTRACE   100    13K       -      100  128
       linker   116    76K       -      149  16,32,256,1024,4096
        lockf    17     1K       -       17  32,64
       ip6ndp     6     1K       -        6  64,128
         temp    25   229K       -     4956  16,32,64,128,256,512,1024,2048,4096
       devbuf  2485  3683K       -     2516  16,32,64,128,256,512,1024,2048,4096
     acpitask     1     1K       -        1  1024
       module   465    30K       -      465  64,128
      CAM SIM     2     1K       -        2  128
     mtx_pool     2     8K       -        2  4096
       kbdmux     6    10K       -        6  16,256,1024,2048,4096
      subproc    93   189K       -     1178  256,4096
         proc     2     8K       -        2  4096
      session    17     2K       -       17  64
         pgrp    19     2K       -       20  64
         cred    26     3K       -     2670  64,128
      uidinfo     2     2K       -        2  64,1024
       plimit    11     3K       -      148  256
    sysctltmp     0     0K       -      228  16,32,64,128
    sysctloid  3188    96K       -     3277  16,32,64,128
       sysctl     0     0K       -      301  16,32,64
         umtx    98     7K       -       98  64
     p1003.1b     1     1K       -        1  16
         SWAP     2   277K       -        2  64
       bus-sc    76   158K       -     3769  16,32,64,128,256,512,1024,2048,4096
          bus  1184    54K       -     6575  16,32,64,128,512,1024
      devstat     8    17K       -        8  16,4096
 eventhandler    69     4K       -       69  32,64,128
         kobj   326   652K       -      396  2048
      Per-cpu     1     1K       -        1  16
         rman   194    12K       -      684  16,32,64
      acpisem    17     2K       -       17  64,128
         sbuf     0     0K       -      368  16,32,64,128,256,512,1024,2048,4096
      CAM XPT    17     7K       -       89  16,32,64,1024,2048
        stack     0     0K       -        2  128
    taskqueue    13     1K       -       13  16,64
       Unitno    11     1K       -       29  16,64
          iov     0     0K       -     4520  64,128,256
       select     8     1K       -        8  64
     ioctlops     0     0K       -      803  16,32,64,128,256,512,1024
          msg     4    25K       -        4  1024,4096
          sem     4     6K       -        4  256,512,1024,4096
          shm     1    12K       -        1 
          tty    20    10K       -       22  512,2048
     mbuf_tag     0     0K       -        1  32
         ksem     1     4K       -        1  4096
        shmfd     1     4K       -        1  4096
   CAM periph     2     1K       -       18  16,32,64,128
          pcb    36    79K       -       43  16,64,512,1024,2048,4096
       soname     3     1K       -       76  16,32,128
       biobuf     4     8K       -        6  2048
     vfscache     1   512K       -        1 
     vfs_hash     1   256K       -        1 
       vnodes     2     1K       -        2  128
  vnodemarker     0     0K       -       26  512
        mount    94     3K       -      138  16,32,64,128,256
          BPF     5     1K       -        5  64
  ether_multi    13     1K       -       14  16,32,64
       ifaddr    48    10K       -       48  16,32,64,128,256,512,2048
        ifnet     6     6K       -        6  64,1024
        clone     5    20K       -        5  4096
       arpcom     2     1K       -        2  16
       fw_com     1     1K       -        1  64
      lltable    14     4K       -       14  128,256
  ata_generic     2     2K       -        2  1024
    ad_driver     1     1K       -        1  32
    ar_driver     0     0K       -        6  512,2048
   acd_driver     1     2K       -        1  2048
     routetbl    53   259K       -       99  16,32,64,128,256,512
         igmp     5     1K       -        5  128
      acpidev    81     3K       -       81  32
     in_multi     2     1K       -        2  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 
     ppbusdev     3     1K       -        3  128
    in6_multi     9     1K       -        9  16,256
          mld     5     1K       -        5  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     4     1K       -       21  32
        mkdir     0     0K       -       12  32
       diradd    18     2K       -       25  64
     freefile    14     1K       -       19  32
     freeblks    12     3K       -       15  256
     freefrag     0     0K       -        2  32
  allocdirect     0     0K       -       25  128
    bmsafemap     0     0K       -        7  64
       newblk     1     1K       -       26  64,256
     inodedep    34   261K       -       43  128
      pagedep     3    33K       -       11  64
  ufs_dirhash    24     5K       -       24  16,32,64,128,512
    ufs_mount    12    25K       -       12  256,2048,4096
      entropy  1024    64K       -     1024  64
CAM dev queue     2     1K       -        2  64
    vm_pgdata     2    65K       -        2  64
      fw_xfer     0     0K       -        1  128
     atkbddev     2     1K       -        2  32
     firewire    11    23K       -       14  32,64,512,1024,2048,4096
         UART     3     2K       -        3  16,256,1024
       apmdev     1     1K       -        1  64
    CAM queue     6     1K       -       64  16,32
       USBdev    16     5K       -       16  32,128,1024
          USB    28     5K       -       28  16,32,64,1024
     pci_link    16     2K       -       16  32,128
       DEVFS1   100    25K       -      110  256
       DEVFS3   120    15K       -      130  128
      memdesc     1     4K       -        1  4096
     nexusdev     3     1K       -        3  16
        DEVFS    16     1K       -       17  16,64
fuse_messaging     5     2K       -       16  128,256,512
fuse_filehandles     1     1K       -        8  64
   fuse_vnode     4     1K       -        4  256

------------------------------------------------------------------------
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,      646,       12,     1381,        0
UMA RCntSlabs:            544,        0,      195,        1,      195,        0
UMA Hash:                 128,        0,        4,       26,        4,        0
16 Bucket:                 76,        0,       27,       23,       48,        0
32 Bucket:                140,        0,       24,        4,       45,        0
64 Bucket:                268,        0,       15,       13,       61,       13
128 Bucket:               524,        0,       25,        3,     1026,      112
VM OBJECT:                136,        0,      716,       38,    12772,        0
MAP:                      140,        0,        7,       21,        7,        0
KMAP ENTRY:                72,    56180,       29,      130,     3546,        0
MAP ENTRY:                 72,        0,      370,       54,    23404,        0
DP fakepg:                 72,        0,        0,        0,        0,        0
SG fakepg:                 72,        0,        0,        0,        0,        0
mt_zone:                 2056,        0,      267,      124,      267,        0
16:                        16,        0,     2809,      236,    42604,        0
32:                        32,        0,     2454,       32,    39391,        0
64:                        64,        0,     4336,      148,    11346,        0
128:                      128,        0,     2025,       45,    10703,        0
256:                      256,        0,      588,       42,     3023,        0
512:                      512,        0,       67,        5,     3754,        0
1024:                    1024,        0,       35,      157,     1260,        0
2048:                    2048,        0,      364,       20,      625,        0
4096:                    4096,        0,      290,       15,     5429,        0
Files:                     56,        0,       74,      127,     4349,        0
TURNSTILE:                 72,        0,       99,       51,       99,        0
umtx pi:                   52,        0,        0,        0,        0,        0
MAC labels:                20,        0,        0,        0,        0,        0
PROC:                     680,        0,       43,        5,     1128,        0
THREAD:                   572,        0,       81,       17,       81,        0
SLEEPQUEUE:                32,        0,       99,       78,       99,        0
VMSPACE:                  232,        0,       21,       30,     1106,        0
cpuset:                    40,        0,        2,      182,        2,        0
audit_record:             816,        0,        0,        0,        0,        0
mbuf_packet:              256,        0,      260,      137,      306,        0
mbuf:                     256,        0,        6,      135,      126,        0
mbuf_cluster:            2048,    25600,      384,        6,      384,        0
mbuf_jumbo_page:         4096,    12800,        0,        0,        0,        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
g_bio:                    140,        0,        0,      168,     4616,        0
ttyinq:                   152,        0,      120,       36,      480,        0
ttyoutq:                  256,        0,       64,       11,      256,        0
ata_request:              200,        0,        1,       56,     2187,        0
ata_composite:            180,        0,        0,        0,        0,        0
VNODE:                    268,        0,      461,       29,      481,        0
VNODEPOLL:                 60,        0,        0,        0,        0,        0
S VFS Cache:               72,        0,      435,       42,      903,        0
L VFS Cache:              292,        0,        0,        0,        0,        0
NAMEI:                   1024,        0,        0,        8,     6749,        0
DIRHASH:                 1024,        0,       35,        1,       35,        0
NFSMOUNT:                 520,        0,        0,        0,        0,        0
NFSNODE:                  464,        0,        0,        0,        0,        0
pipe:                     392,        0,        1,       19,      738,        0
ksiginfo:                  80,        0,       32,     1024,       32,        0
itimer:                   220,        0,        0,        0,        0,        0
KNOTE:                     68,        0,        0,      112,        4,        0
socket:                   412,    25605,       32,       22,      182,        0
unpcb:                    172,    25622,        6,       40,       17,        0
ipq:                       32,      904,        0,        0,        0,        0
udp_inpcb:                220,    25614,        2,       34,      136,        0
udpcb:                      8,    25781,        2,      201,      136,        0
tcp_inpcb:                220,    25614,       25,       29,       28,        0
tcpcb:                    632,    25602,       24,       12,       28,        0
tcptw:                     52,     5184,        1,      143,        1,        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,      145,        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,        0,        0,        0,        0
rtentry:                  108,        0,        9,       63,        9,        0
selfd:                     28,        0,       18,      236,     1793,        0
ip4flow:                   40,     4140,       23,      161,       24,        0
ip6flow:                   64,     4118,        0,        0,        0,        0
Mountpoints:              644,        0,        6,        6,        6,        0
FFS inode:                116,        0,      415,       14,      434,        0
FFS1 dinode:              128,        0,        0,        0,        0,        0
FFS2 dinode:              256,        0,      415,       20,      434,        0
SWAPMETA:                 276,   121576,        0,        0,        0,        0


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

interrupt                          total       rate
irq0: clk                          62481       2403
irq1: atkbd0                         143          5
irq8: rtc                           7997        307
irq11: cbb0 cbb1+*                    92          3
irq14: ata0                         1415         54
irq15: ata1                          109          4
Total                              72237       2778

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

 74/12328 files
0M/1622M swap space

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

Device          512-blocks     Used    Avail Capacity
/dev/ad0s2b        3322440        0  3322440     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
             ad0
  KB/t tps  MB/s
 16.88  44  0.72

------------------------------------------------------------------------
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:
    69 packets sent
        32 data packets (1637 bytes)
        0 data packets (0 bytes) retransmitted
        0 data packets unnecessarily retransmitted
        0 resends initiated by MTU discovery
        14 ack-only packets (1 delayed)
        0 URG only packets
        0 window probe packets
        0 window update packets
        23 control packets
    45 packets received
        38 acks (for 1521 bytes)
        0 duplicate acks
        0 acks for unsent data
        21 packets (12121 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
        1 window update packet
        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
    22 connection requests
    0 connection accepts
    0 bad connection attempts
    0 listen queue overflows
    0 ignored RSTs in the windows
    10 connections established (including accepts)
    3 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
    2 embryonic connections dropped
    38 segments updated rtt (of 55 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
    4 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:
    2 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
    2 delivered
    2 datagrams output
    0 times multicast source filter matched
ip:
    47 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
    47 packets for this host
    0 packets for unknown/unsupported protocol
    0 packets forwarded (0 packets fast forwarded)
    0 packets not forwardable
    0 packets received for unknown multicast group
    0 redirects sent
    71 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:
        1 first candidate
        1 same address
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

266/272/538 mbufs in use (current/cache/total)
247/143/390/25600 mbuf clusters in use (current/cache/total/max)
260/137 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/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)
560K/354K/914K 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:0b:5d:4c:4e:3f       48     0       73     0     0    0
bge0   1500 192.168.2.0   localhost               47     -       71     -     -    -
fwe0*  1500 <Link#2>      02:00:0e:90:a7:1d        0     0        0     0     0    0
fwip0  1500 <Link#3>      00:00:0e:10:02:90:a7:1d:0a:02:ff:fe:00:00:00:00        0     0        0     0     0    0
plip0  1500 <Link#4>                               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     -     -    -

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

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.2.2        UGS        23       71   bge0
127.0.0.1          link#5             UH          0        0    lo0
192.168.2.0/24     link#1             U           0        0   bge0
192.168.2.5        link#5             UHS         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)
c4a63278 tcp4       0      0 192.168.2.5.31858  95.220.50.57.62773 SYN_SENT
c4a634f0 tcp4       0      0 192.168.2.5.64367  89.185.88.245.5084 SYN_SENT
c4a63768 tcp4       0      0 192.168.2.5.45874  193.53.83.21.44156 SYN_SENT
c4a5d768 tcp4       0      0 192.168.2.5.34819  91.77.41.60.38168  SYN_SENT
c4a5d9e0 tcp4       0      5 192.168.2.5.21376  85.202.230.199.615 ESTABLISHED
c4a5dc58 tcp4       0      0 192.168.2.5.58411  95.54.221.192.4924 SYN_SENT
c4a5f000 tcp4       0      0 192.168.2.5.59844  82.193.115.223.272 ESTABLISHED
c4a5f278 tcp4       0      5 192.168.2.5.31068  78.60.226.227.3494 ESTABLISHED
c4a5f4f0 tcp4       0      0 192.168.2.5.18169  77.41.19.177.45022 ESTABLISHED
c4a5f768 tcp4       0     68 192.168.2.5.14422  92.124.160.82.2752 ESTABLISHED
c4a5f9e0 tcp4       0      0 192.168.2.5.14207  94.19.183.244.1592 SYN_SENT
c4a5fc58 tcp4       0      0 192.168.2.5.63918  80.92.96.70.44250  SYN_SENT
c4894278 tcp4       0      0 192.168.2.5.58835  83.167.115.93.3549 SYN_SENT
c48944f0 tcp4       0      0 192.168.2.5.55091  89.163.99.97.24259 SYN_SENT
c4894768 tcp4       0      0 192.168.2.5.13778  79.165.161.236.514 ESTABLISHED
c48949e0 tcp4       0      5 192.168.2.5.63650  78.37.127.202.3866 ESTABLISHED
c4a5d000 tcp4       0     34 192.168.2.5.47597  77.220.58.88.24238 ESTABLISHED
c4a5d278 tcp4       0      0 192.168.2.5.46432  82.193.97.92.35975 SYN_SENT
c4a5d4f0 tcp4    5328      0 192.168.2.5.59401  92.242.90.182.2010 ESTABLISHED
c4a67000 tcp4       0      0 192.168.2.5.49951  195.82.146.121.80  TIME_WAIT
c4893278 tcp4       0      0 *.6919             *.*                LISTEN
c48934f0 tcp4       0      0 *.21               *.*                LISTEN
c4893768 tcp6       0      0 *.21               *.*                LISTEN
c4893c58 tcp4       0      0 *.22               *.*                LISTEN
c4894000 tcp6       0      0 *.22               *.*                LISTEN
c46db6e0 udp4       0      0 *.514              *.*               
c46db7bc udp6       0      0 *.514              *.*               
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c46deec8 stream      0      0 c487b430        0        0        0 /var/run/devd.pipe
c46de4b4 dgram       0      0        0 c46de8bc        0 c46de560
c46de560 dgram       0      0        0 c46de8bc        0 c46de60c
c46de60c dgram       0      0        0 c46de8bc        0        0
c46de8bc dgram       0      0 c4882b84        0 c46de4b4        0 /var/run/logpriv
c46de968 dgram       0      0 c4882c90        0        0        0 /var/run/log

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

Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen         Local Address        
tcp4  0/0/50         *.6919                
tcp4  0/0/32         *.ftp                 
tcp6  0/0/32         *.ftp                 
tcp4  0/0/128        *.ssh                 
tcp6  0/0/128        *.ssh                 
unix  0/0/4          /var/run/devd.pipe

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

Segmentation fault

------------------------------------------------------------------------
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-RC1 #0: Thu Sep 17 20:45:19 UTC 2009
    root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.60GHz (1600.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d6  Stepping = 6
  Features=0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1073741824 (1024 MB)
avail memory = 1027059712 (979 MB)
kbd1 at kbdmux0
acpi0: <FUJ FJNB185> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xfc08-0xfc0b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
vgapci0: <VGA-compatible display> port 0x2450-0x2457 mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0
agp0: <Intel 82855GME (855GME GMCH) SVGA controller> on vgapci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
vgapci1: <VGA-compatible display> mem 0xe0000000-0xe7ffffff,0xd0080000-0xd00fffff at device 2.1 on pci0
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x20c0-0x20df irq 11 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x20e0-0x20ff irq 11 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x2400-0x241f irq 11 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xd0100000-0xd01003ff irq 11 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
cbb0: <O2Micro OZ711M3 PCI-CardBus Bridge> irq 11 at device 10.0 on pci1
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [FILTER]
cbb1: <O2Micro OZ711M3 PCI-CardBus Bridge> irq 11 at device 10.1 on pci1
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [FILTER]
pci1: <base peripheral> at device 10.2 (no driver attached)
cbb2: <O2Micro OZ711M3 PCI-CardBus Bridge> at device 10.3 on pci1
cardbus2: <CardBus bus> on cbb2
pccard2: <16-bit PCCard bus> on cbb2
cbb2: [FILTER]
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x3003> mem 0xd0200000-0xd020ffff irq 11 at device 12.0 on pci1
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:0b:5d:4c:4e:3f
bge0: [ITHREAD]
pci1: <network> at device 13.0 (no driver attached)
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem 0xd0216000-0xd02167ff,0xd0210000-0xd0213fff irq 11 at device 14.0 on pci1
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:0e:10:02:90:a7:1d
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 0x3e4a4000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:0e:90:a7:1d
fwe0: Ethernet address: 02:00:0e:90:a7:1d
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:00:0e:10:02:90:a7:1d @ 0xfffe00000000, S400, maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2440-0x244f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 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 Generic PS/2 mouse, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xdc000-0xdffff 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
Timecounter "TSC" frequency 1600061907 Hz quality 800
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: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ad0: 76319MB <WDC WD800UE-22HCT0 09.07D09> at ata0-master UDMA100
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 UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
acd0: DVDR <HL-DT-ST DVD-RW GWA-4082N/CG02> at ata1-master UDMA33
GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s).
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ad0s2a
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list