From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 16:11:07 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430A010656A4 for ; Fri, 20 Aug 2010 16:11:07 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id E595A8FC16 for ; Fri, 20 Aug 2010 16:11:04 +0000 (UTC) Received: from [41.154.88.19] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1OmUBJ-0006pD-Um for current@freebsd.org; Fri, 20 Aug 2010 18:11:02 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OmUBI-0000Oy-J5 for current@freebsd.org; Fri, 20 Aug 2010 18:11:00 +0200 Message-Id: To: current@freebsd.org From: "Ian FREISLICH" X-Attribution: BOFH Date: Fri, 20 Aug 2010 18:11:00 +0200 Cc: Subject: fusefs-kmod broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 16:11:07 -0000 Hi I have a system that relies on Fuse and OWFS to manage the power at my house. I get the following panic when writing to to one of the PIO devices: The panic isn't really helpful because it looks like the stack frame has been broken. Have others seen this? I've tried rebuilding everything from a clean slate but it doesn't help. The machine used to be -STABLE, which worked until 21 April 2010, but no kernel since has worked. brane.freislich.nom.za dumped core - see /var/crash/vmcore.7 Fri Aug 20 16:07:17 SAST 2010 FreeBSD brane.freislich.nom.za 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Aug 20 13:53:55 SAST 2010 ianf@brane.freislich.nom.za:/usr/obj/usr/src/sys/BRANE 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 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xe75d3b50 frame pointer = 0x28:0xe75d3c14 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 = 56578 (sh) trap number = 12 panic: page fault KDB: stack backtrace: db_trace_self_wrapper(c07b0ffc,e75d39e8,c05b4aff,c07af087,c0838240,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c07af087,c0838240,c079b1a4,e75d39f4,e75d39f4,...) at kdb_backtrace+0x29 panic(c079b1a4,c07c9e3f,c784aca0,1,1,...) at panic+0xaf trap_fatal(c783e000,0,1,0,c782c8c0,...) at trap_fatal+0x353 trap_pfault(c274a3a8,0,c669eaa0,c784ab00,c7845000,...) at trap_pfault+0x25b trap(e75d3b10) at trap+0x423 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0, esp = 0xe75d3b50, ebp = 0xe75d3c14 --- uart_z8530_class(c784ab00,ffffff9c,284052c4,0,402,...) at 0 kern_open(c784ab00,284052c4,0,601,1b6,...) at kern_open+0x35 open(c784ab00,e75d3cec,e75d3d28,e75d3d28,e75d3c02,...) at open+0x30 syscallenter(c784ab00,e75d3ce4,e75d3ce4,0,c784ab00,...) at syscallenter+0x343 syscall(e75d3d28) at syscall+0x34 Xint0x80_syscall() at Xint0x80_syscall+0x21 --- syscall (5, FreeBSD ELF32, open), eip = 0x281e579b, esp = 0xbfbfe96c, ebp = 0xbfbfea28 --- Uptime: 1h49m31s Physical memory: 2007 MB Dumping 194 MB: 179 163 147 131 115 99 83 67 51 35 19 3 No symbol "stopped_cpus" in current context. No symbol "stoppcbs" in current context. Reading symbols from /boot/kernel/puc.ko...Reading symbols from /boot/kernel/puc.ko.symbols...done. done. Loaded symbols for /boot/kernel/puc.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump () at pcpu.h:231 231 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:231 #1 0xc05b4923 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc05b4b4f in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:590 #3 0xc0759543 in trap_fatal (frame=0xe75d3b10, eva=0) at /usr/src/sys/i386/i386/trap.c:941 #4 0xc07597ab in trap_pfault (frame=0xe75d3b10, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:854 #5 0xc0759cb3 in trap (frame=0xe75d3b10) at /usr/src/sys/i386/i386/trap.c:529 #6 0xc074365c in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0x00000000 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 8 0 0 0 - DLs ?? 306287:15.00 [kernel] 0 1 0 0 44 0 8032 496 wait DLs ?? 8248871:42.00 [init] 0 2 0 0 -8 0 0 0 - DL ?? 4280098:17.00 [g_event] 0 3 0 0 -8 0 0 0 - DL ?? 32358964:51.00 [g_up] 0 4 0 0 -8 0 0 0 - DL ?? 25140601:54.00 [g_down] 0 5 0 0 -16 0 0 0 pftm DL ?? 709006:55.00 [pfpurge] 0 6 0 0 -16 0 0 0 ccb_sc DL ?? 0:00.00 [xpt_thrd 0 7 0 0 -16 0 0 0 psleep DL ?? 111034:23.00 [pagedaem 0 8 0 0 -16 0 0 0 psleep DL ?? 50:11.00 [vmdaemon 0 9 0 0 76 0 0 0 pgzero DL ?? 2229:36.00 [pagezero 0 10 0 0 171 0 0 0 - RL ?? -32573570:-46.55 [idle] 0 11 0 0 -60 0 0 0 - WL ?? -29804148:-20.55 [intr] 0 12 0 0 -16 0 0 0 - DL ?? 15760116:47.00 [yarrow] 0 13 0 0 -64 0 0 0 - DL ?? 9764491:03.00 [usb] 0 14 0 0 -16 0 0 0 tzpoll DL ?? 5327193:44.00 [acpi_the 0 15 0 0 -16 0 0 0 coolin DL ?? 94312:20.00 [acpi_coo 0 16 0 0 44 0 0 0 psleep DL ?? 24015582:25.00 [bufdaemo 0 17 0 0 44 0 0 0 syncer DL ?? 1458594:59.00 [syncer] 0 18 0 0 -16 0 0 0 vlruwt DL ?? 539998:14.00 [vnlru] 0 19 0 0 44 0 0 0 sdflus DL ?? 33298541:20.00 [softdepf 0 27845 1 0 76 0 1640 892 pause Ds ?? 6213:05.00 [adjkernt 0 28536 1 0 76 0 9712 1212 select Ds ?? 3559:40.00 [moused] 0 28553 1 0 44 0 8032 696 select Ds ?? 847133:08.00 [devd] 0 28572 1 0 76 0 9800 1596 sbwait Ds ?? 294006:26.00 [pflogd] 64 28574 28572 0 44 0 9800 1656 bpf D ?? 3335558:42.00 [pflogd] 0 28779 1 0 44 0 9616 1472 select Ds ?? 1190554:09.00 [syslogd] 53 28794 1 0 44 0 35992 19368 kqread Ds ?? 14804697:15.00 [named] 0 28818 1 0 44 0 9644 1504 select Ds ?? 208787:24.00 [rpcbind] 0 28988 1 0 76 0 9532 1416 select Ds ?? 105927:50.00 [lpd] 70 29103 1 0 44 0 44336 5116 select Ds ?? 2997888:33.00 [postgres 70 29105 29103 0 44 0 44336 5424 select Ds ?? 14961987:51.00 [postgres 70 29106 29103 0 44 0 12528 4184 select Ds ?? 1038570:19.00 [postgres 26 29201 1 0 44 0 14144 3900 select Ds ?? 980587:29.00 [exim-4.7 0 29262 1 0 44 0 12988 3968 select Ds ?? 76126:28.00 [sshd] 0 29273 1 0 52 0 9644 1524 nanslp Ds ?? 1104871:52.00 [cron] 0 29305 1 0 76 0 9676 1332 select Ds ?? 11270:29.00 [inetd] 0 29339 1 0 76 0 9616 1252 ttyin Ds+ ?? 55592:11.00 [getty] 0 29340 1 0 76 0 9616 1252 ttyin Ds+ ?? 42957:15.00 [getty] 0 29341 1 0 76 0 9616 1252 ttyin Ds+ ?? 41741:08.00 [getty] 0 29342 1 0 76 0 9616 1252 ttyin Ds+ ?? 43682:07.00 [getty] 0 29343 1 0 76 0 9616 1252 ttyin Ds+ ?? 42346:22.00 [getty] 0 29344 1 0 76 0 9616 1252 ttyin Ds+ ?? 43069:56.00 [getty] 0 29345 1 0 76 0 9616 1252 ttyin Ds+ ?? 43107:53.00 [getty] 0 29346 1 0 76 0 9616 1252 ttyin Ds+ ?? 44075:21.00 [getty] 0 29347 1 0 44 0 10048 1928 wait Ds ?? 387233:46.00 [login] 0 39521 29347 0 44 0 9892 1764 ttyin D+ ?? 544541:14.00 [sh] 0 44418 1 0 44 0 11228 2640 select Ds ?? 5839856:06.00 [ntpd] 1000 45103 97479 0 44 0 11212 4844 select D ?? -31017170:-55.55 [perl] 0 56378 1 0 54 0 11492 1916 fu_msg Ds ?? 87736:30.00 [owfs] 1000 56578 97479 0 44 0 9892 1532 - R+ ?? 0:00.00 [sh] 0 57989 1 0 44 0 10188 2428 select Ds ?? -23813812:-31.55 [screen] 0 57990 57989 0 51 0 10828 2548 ttyin Ds+ ?? 656705:26.00 [bash] 0 75221 29262 0 46 0 15712 4756 sbwait Ds ?? 1397537:31.00 [sshd] 1000 75223 75221 0 44 0 15712 4780 select D ?? 10666399:15.00 [sshd] 1000 75224 75223 0 45 0 10828 2544 wait Ds ?? 190136:43.00 [bash] 0 75227 75224 0 44 0 10044 1908 wait D ?? 168236:33.00 [su] 0 75228 75227 0 44 0 10828 2524 wait D ?? 124223:03.00 [bash] 0 75229 75228 0 44 0 10188 2280 pause D+ ?? 404415:12.00 [screen] 0 97423 29262 0 46 0 15712 4756 sbwait Ds ?? 1470712:26.00 [sshd] 1000 97469 97423 0 44 0 15712 4748 select D ?? 11267771:57.00 [sshd] 1000 97479 97469 0 44 0 10828 2468 wait Ds ?? 311046:58.00 [bash] ------------------------------------------------------------------------ vmstat -s 5927091 cpu context switches 2037250 device interrupts 1337655 software interrupts 49077340 traps 173266014 system calls 19 kernel threads created 332276 fork() calls 123727 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 15900 vnode pager pageins 66917 vnode pager pages paged in 376 vnode pager pageouts 376 vnode pager pages paged out 0 page daemon wakeups 0 pages examined by the page daemon 581 pages reactivated 8460226 copy-on-write faults 2068 copy-on-write optimized faults 29553775 zero fill pages zeroed 1343392 zero fill pages prezeroed 11 intransit blocking page faults 46831577 total VM faults taken 0 pages affected by kernel thread creation 317038645 pages affected by fork() 112597829 pages affected by vfork() 0 pages affected by rfork() 0 pages cached 42931623 pages freed 0 pages freed by daemon 0 pages freed by exiting processes 9615 pages active 101549 pages inactive 27 pages in VM cache 36303 pages wired down 357114 pages free 4096 bytes per page 25766502 total name lookups cache hits (88% pos + 8% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% ------------------------------------------------------------------------ vmstat -m Type InUse MemUse HighUse Requests Size(s) sigio 1 1K - 1 32 filedesc 91 64K - 456335 16,32,64,128,256,512,1024,2048,4096 kenv 77 7K - 81 16,32,64,128,4096 kqueue 2 5K - 1275 128,256,1024,4096 proc-args 42 3K - 310324 16,32,64,128,256 drm_maps 1 1K - 1 64 ithread 102 9K - 103 16,64,128 KTRACE 100 13K - 100 128 drm_driver 4 5K - 8 16,64,256,4096 linker 86 81K - 148 16,32,64,128,512,1024,4096 lockf 23 2K - 1163 32,64 drm_sarea 1 1K - 1 16 temp 149 211K - 691955 16,32,64,128,256,512,1024,2048,4096 devbuf 3134 4146K - 3309 16,32,64,128,256,512,1024,2048,4096 drm_dma 1 1K - 1 16 module 216 14K - 217 64,128 kbdmux 7 18K - 7 16,256,1024,2048 mtx_pool 2 8K - 2 4096 osd 2 1K - 2 16,32 subproc 147 266K - 456112 256,4096 proc 2 8K - 2 4096 session 33 3K - 372 64 pgrp 39 3K - 586 64 cred 66 7K - 2074138 64,128 uidinfo 7 2K - 87 64,1024 plimit 19 5K - 7121 256 CAM periph 2 1K - 5 16,32,128 sysctltmp 0 0K - 19899 16,32,64,128 sysctloid 3061 93K - 3196 16,32,64 sysctl 0 0K - 102808 16,32,64 umtx 280 27K - 280 64,128 p1003.1b 1 1K - 1 16 SWAP 2 277K - 2 64 ddb_capture 1 48K - 1 bus-sc 65 107K - 1521 16,32,64,128,256,512,1024,2048 bus 762 38K - 4231 16,32,64,128,256,512,1024 devstat 4 9K - 4 16,4096 eventhandler 76 4K - 77 32,64,128 kobj 162 324K - 179 2048 Per-cpu 1 1K - 1 16 agp 1 1K - 1 16 rman 206 13K - 574 16,32,64 CAM XPT 5 2K - 12 16,32,64,1024 sbuf 0 0K - 343 16,32,64,128,256,512,1024,2048,4096 CAM dev queue 1 1K - 1 128 CAM queue 3 1K - 7 16 stack 0 0K - 2 128 taskqueue 9 1K - 9 16,64 Unitno 14 1K - 782 16,64 iov 0 0K - 25538 16,64,128,256 select 67 5K - 67 64 ioctlops 0 0K - 169970 16,32,64,128,256,512,1024 msg 4 25K - 4 1024,4096 sem 4 101K - 4 1024,4096 shm 4 15K - 68 1024 tty 26 13K - 141 512,2048 pts 3 1K - 116 128 mbuf_tag 0 0K - 1 32 shmfd 1 4K - 1 4096 ppbusdev 1 1K - 1 128 pcb 23 7K - 1717 16,512,1024,2048 soname 6 1K - 9156 16,32,128 acl 0 0K - 20564 4096 biobuf 71 142K - 9314 2048 vfscache 1 512K - 1 cl_savebuf 0 0K - 8192 32,64 vfs_hash 1 256K - 1 vnodes 3 1K - 11 32,128 vnodemarker 0 0K - 1749 512 mount 94 3K - 210 16,32,64,128,256 BPF 9 65K - 10 16,64,256 ether_multi 7 1K - 8 16,32,64 ifaddr 40 9K - 40 16,32,256,2048 ifnet 6 6K - 6 64,1024 entropy 1024 64K - 1024 64 clone 4 16K - 5 4096 arpcom 2 1K - 2 16 lltable 8 2K - 8 128,256 ata_generic 2 2K - 2 1024 UART 12 6K - 12 16,256,1024 USBdev 39 9K - 39 32,128,256,1024,2048 USB 66 77K - 74 16,32,64,128,1024,2048,4096 ad_driver 1 1K - 1 32 routetbl 11 2K - 148 16,32,64,128,256 igmp 5 1K - 5 128 acd_driver 1 2K - 1 2048 CAM SIM 1 1K - 1 128 in_multi 2 1K - 2 128 hostcache 1 16K - 1 syncache 1 72K - 1 savedino 0 0K - 49275 256 freework 1 1K - 163160 64 newdirblk 0 0K - 9617 32 dirrem 1 1K - 141359 64 mkdir 0 0K - 18624 64 diradd 1 1K - 142994 64 freefile 3 1K - 127270 32 freeblks 1 1K - 121940 64 freefrag 0 0K - 59952 64 indirdep 1 1K - 1613 64 newblk 3 65K - 324053 128 bmsafemap 2 5K - 1909 128,4096 inodedep 15 260K - 219956 256 pagedep 2 65K - 19292 128 ufs_dirhash 228 44K - 1425 16,32,64,128,256,512 ufs_mount 12 69K - 21 256,2048,4096 UMAHash 1 1K - 3 256,512,1024 DEVFS1 137 35K - 251 256 vm_pgdata 2 65K - 2 64 DEVFS3 162 21K - 276 128 atkbddev 1 1K - 1 32 memdesc 1 4K - 1 4096 nexusdev 4 1K - 4 16 DEVFS 27 1K - 28 16,64 linux 14 1K - 14 32,64 DEVFSP 2 1K - 2 32 pfs_nodes 169 22K - 169 128 drm_ctxbitmap 1 4K - 1 4096 GEOM 69 15K - 167 16,64,128,512,1024,2048 isadev 8 1K - 8 64 drm_agplists 1 1K - 1 64 io_apic 2 2K - 2 1024 cdev 9 2K - 9 128 acpica 1863 97K - 71981 16,32,64,128,256,512,1024 acpitask 1 1K - 1 1024 pci_link 16 2K - 16 64,128 acpisem 15 2K - 15 64,128 PUC 4 1K - 4 32,256 apmdev 1 1K - 1 64 acpidev 57 2K - 57 32 acpipwr 1 1K - 1 32 fuse_messaging 5 2K - 8 128,256,512,1024 fuse_filehandles 1 1K - 44 64 fuse_vnode 29 8K - 29 256 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 128, 0, 89, 1, 89, 0, 0 UMA Zones: 152, 0, 89, 7, 89, 0, 0 UMA Slabs: 284, 0, 1402, 12, 1899, 0, 0 UMA RCntSlabs: 544, 0, 204, 6, 204, 0, 0 UMA Hash: 128, 0, 2, 28, 3, 0, 0 16 Bucket: 76, 0, 36, 14, 36, 0, 0 32 Bucket: 140, 0, 59, 25, 59, 0, 0 64 Bucket: 268, 0, 58, 12, 58, 0, 0 128 Bucket: 524, 0, 2005, 4, 2005,2324, 0 VM OBJECT: 136, 0, 28684, 12931, 5719386, 0, 0 MAP: 140, 0, 7, 49, 7, 0, 0 KMAP ENTRY: 72, 57505, 30, 129, 16796, 0, 0 MAP ENTRY: 72, 0, 1046, 438,10907676, 0, 0 DP fakepg: 72, 0, 0, 0, 0, 0, 0 SG fakepg: 72, 0, 0, 0, 0, 0, 0 mt_zone: 76, 0, 209, 41, 209, 0, 0 16: 16, 0, 2676, 369, 218984, 0, 0 32: 32, 0, 2329, 11796, 591034, 0, 0 64: 64, 0, 4567, 43223, 1961616, 0, 0 128: 128, 0, 1945, 7865, 1511081, 0, 0 256: 256, 0, 729, 20556, 769786, 0, 0 512: 512, 0, 163, 53, 295755, 0, 0 1024: 1024, 0, 54, 122, 15622, 0, 0 2048: 2048, 0, 271, 1671, 9689, 0, 0 4096: 4096, 0, 115, 36, 486502, 0, 0 Files: 56, 0, 130, 272, 3534124, 0, 0 TURNSTILE: 72, 0, 141, 39, 141, 0, 0 umtx pi: 52, 0, 0, 0, 0, 0, 0 PROC: 680, 0, 60, 24, 456022, 0, 0 THREAD: 704, 0, 124, 16, 282, 0, 0 SLEEPQUEUE: 44, 0, 141, 95, 141, 0, 0 VMSPACE: 240, 0, 42, 38, 456003, 0, 0 cpuset: 40, 0, 2, 182, 2, 0, 0 mbuf_packet: 256, 0, 256, 140, 71609, 0, 0 mbuf: 256, 0, 2, 394, 140999, 0, 0 mbuf_cluster: 2048, 25600, 384, 6, 384, 0, 0 mbuf_jumbo_page: 4096, 12800, 0, 9, 75, 0, 0 mbuf_jumbo_9k: 9216, 19200, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 12800, 0, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0 g_bio: 140, 0, 0, 3164, 929046, 0, 0 ttyinq: 152, 0, 480, 66, 8565, 0, 0 ttyoutq: 256, 0, 251, 34, 4444, 0, 0 ata_request: 208, 0, 1, 797, 235403, 0, 0 ata_composite: 180, 0, 0, 0, 0, 0, 0 VNODE: 272, 0, 34124, 12104, 196226, 0, 0 VNODEPOLL: 60, 0, 1, 125, 1, 0, 0 NAMEI: 1024, 0, 0, 12, 8349730, 0, 0 S VFS Cache: 72, 0, 35128, 11300, 414636, 0, 0 L VFS Cache: 292, 0, 331, 59, 1277, 0, 0 DIRHASH: 1024, 0, 368, 192, 1551, 0, 0 pipe: 392, 0, 4, 26, 204010, 0, 0 ksiginfo: 80, 0, 74, 982, 733, 0, 0 itimer: 220, 0, 1, 35, 4, 0, 0 KNOTE: 72, 0, 6, 100, 11843, 0, 0 socket: 412, 25605, 42, 57, 2341, 0, 0 ipq: 32, 904, 0, 0, 0, 0, 0 udp_inpcb: 220, 25614, 9, 81, 1781, 0, 0 udpcb: 8, 25781, 9, 194, 1781, 0, 0 tcp_inpcb: 220, 25614, 13, 41, 230, 0, 0 tcpcb: 632, 25602, 12, 12, 230, 0, 0 tcptw: 52, 5184, 1, 143, 82, 0, 0 syncache: 112, 15365, 0, 70, 129, 0, 0 hostcache: 76, 15400, 9, 91, 18, 0, 0 tcpreass: 20, 1690, 0, 169, 9552, 0, 0 sackhole: 20, 0, 0, 169, 71, 0, 0 ripcb: 220, 25614, 0, 36, 21, 0, 0 unpcb: 172, 25622, 20, 26, 305, 0, 0 rtentry: 108, 0, 4, 68, 4, 0, 0 pfsrctrpl: 124, 0, 0, 0, 0, 0, 0 pfrulepl: 828, 0, 0, 0, 0, 0, 0 pfstatepl: 284, 10010, 0, 0, 0, 0, 0 pfaltqpl: 224, 0, 0, 0, 0, 0, 0 pfpooladdrpl: 68, 0, 0, 0, 0, 0, 0 pfrktable: 1240, 0, 0, 0, 0, 0, 0 pfrkentry: 156, 0, 0, 0, 0, 0, 0 pfrkentry2: 156, 0, 0, 0, 0, 0, 0 pffrent: 16, 5075, 0, 0, 0, 0, 0 pffrag: 48, 0, 0, 0, 0, 0, 0 pffrcache: 48, 10062, 0, 0, 0, 0, 0 pffrcent: 12, 50141, 0, 0, 0, 0, 0 pfstatescrub: 28, 0, 0, 0, 0, 0, 0 pfiaddrpl: 100, 0, 0, 0, 0, 0, 0 pfospfen: 108, 0, 0, 0, 0, 0, 0 pfosfp: 28, 0, 0, 0, 0, 0, 0 selfd: 28, 0, 112, 142,60027973, 0, 0 SWAPMETA: 276, 121576, 0, 0, 0, 0, 0 Mountpoints: 648, 0, 6, 6, 9, 0, 0 FFS inode: 116, 0, 34049, 12151, 195941, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 34049, 12136, 195941, 0, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq1: atkbd0 2 0 irq0: attimer0 834491 2418 irq3: uart1 33065 95 irq4: uart0 154540 447 irq14: ata0 232411 673 irq15: ata1 25 0 irq16: uhci0 21 0 irq19: uhci1 16 0 irq20: puc0 uart2+ 636041 1843 irq23: ehci0 18283 52 irq24: re0 128350 372 cpu0:timer 6570306 19044 Total 8607551 24949 ------------------------------------------------------------------------ pstat -T 130/12328 files 0M/1996M swap space ------------------------------------------------------------------------ pstat -s Device 512-blocks Used Avail Capacity /dev/ad0s1b 4088976 0 4088976 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 13.86 673 9.11 ------------------------------------------------------------------------ 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 m 65536 5432001 --rw------- pgsql pgsql pgsql pgsql 2 32571392 29103 29103 14:19:22 16:00:29 14:19:22 Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME s 65536 5432001 --rw------- pgsql pgsql pgsql pgsql 17 14:19:22 14:19:22 s 65537 5432002 --rw------- pgsql pgsql pgsql pgsql 17 14:19:22 14:19:22 s 65538 5432003 --rw------- pgsql pgsql pgsql pgsql 17 14:19:22 14:19:22 ------------------------------------------------------------------------ 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: 536870912 (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: 131072 (max amount of shared memory in pages) seminfo: semmap: 30 (# of entries in semaphore map) semmni: 50 (# of semaphore identifiers) semmns: 340 (# of semaphores in system) semmnu: 150 (# of undo structures in system) semmsl: 340 (max # of semaphores per id) semopm: 100 (max # of operations per semop call) semume: 50 (max # of undo entries per process) semusz: 616 (size in bytes of undo structure) semvmx: 32767 (semaphore maximum value) semaem: 16384 (adjust on exit max value) ------------------------------------------------------------------------ nfsstat nfsstat: kvm_nlist: can't get names ------------------------------------------------------------------------ netstat -s tcp: 74465 packets sent 50412 data packets (5860981 bytes) 85 data packets (52300 bytes) retransmitted 4 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 19347 ack-only packets (276 delayed) 0 URG only packets 0 window probe packets 4340 window update packets 281 control packets 62397 packets received 27848 acks (for 5858054 bytes) 568 duplicate acks 0 acks for unsent data 25262 packets (25484049 bytes) received in-sequence 55 completely duplicate packets (54515 bytes) 1 old duplicate packet 1 packet with some dup. data (416 bytes duped) 9552 out-of-order packets (9355410 bytes) 0 packets (0 bytes) of data after window 0 window probes 108 window update packets 17 packets received after close 637 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 24 discarded due to memory problems 79 connection requests 129 connection accepts 0 bad connection attempts 0 listen queue overflows 60 ignored RSTs in the windows 207 connections established (including accepts) 217 connections closed (including 21 drops) 186 connections updated cached RTT on close 186 connections updated cached RTT variance on close 1 connection updated cached ssthresh on close 1 embryonic connection dropped 27814 segments updated rtt (of 19294 attempts) 25 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 1 correct ACK header prediction 23157 correct data packet header predictions 129 syncache entries added 1 retransmitted 2 dupsyn 0 dropped 129 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 0 badack 0 unreach 0 zone failures 129 cookies sent 0 cookies received 43 SACK recovery episodes 58 segment rexmits in SACK recovery episodes 29868 byte rexmits in SACK recovery episodes 467 SACK options (SACK blocks) received 7893 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: 3240 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 0 with no checksum 56 dropped due to no socket 101 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 3083 delivered 3576 datagrams output 0 times multicast source filter matched ip: 65718 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 65658 packets for this host 60 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 78171 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: 56 calls to icmp_error 0 errors not generated in response to an icmp message Output histogram: destination unreachable: 56 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 Input histogram: echo reply: 21 destination unreachable: 60 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 carp: 0 packets received (IPv4) 0 packets received (IPv6) 0 packets discarded for wrong TTL 0 packets shorter than header 0 discarded for bad checksums 0 discarded packets with a bad version 0 discarded because packet too short 0 discarded for bad authentication 0 discarded for bad vhid 0 discarded because of a bad address list 0 packets sent (IPv4) 0 packets sent (IPv6) 0 send failed due to mbuf memory error pfsync: 0 packets received (IPv4) 0 packets received (IPv6) 0 packets discarded for bad interface 0 packets discarded for bad ttl 0 packets shorter than header 0 packets discarded for bad version 0 packets discarded for bad HMAC 0 packets discarded for bad action 0 packets discarded for short packet 0 states discarded for bad values 0 stale states 0 failed state lookup/inserts 0 packets sent (IPv4) 0 packets sent (IPv6) 0 send failed due to mbuf memory error 0 send error arp: 258 ARP requests sent 181 ARP replies sent 2046 ARP requests received 113 ARP replies received 2159 ARP packets received 255 total packets dropped due to no ARP entry 0 ARP entrys timed out 0 Duplicate IPs seen ------------------------------------------------------------------------ netstat -m 258/534/792 mbufs in use (current/cache/total) 244/146/390/25600 mbuf clusters in use (current/cache/total/max) 256/140 mbuf+clusters out of packet secondary zone in use (current/cache) 0/9/9/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) 552K/461K/1014K 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 Idrop Opkts Oerrs Coll Drop re0 1500 00:30:4f:52:39:70 64608 0 0 75086 0 0 0 re0 1500 41.154.0.8/29 41.154.0.9 63726 - - 74902 - - - re1* 1500 00:01:29:2d:41:49 0 0 0 0 0 0 0 pfsyn 1460 0 0 0 0 0 0 0 lo0 16384 3269 0 0 3269 0 0 0 lo0 16384 your-net localhost 1891 - - 3269 - - - pflog 33200 0 0 0 0 0 0 0 ------------------------------------------------------------------------ netstat -anr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 41.154.0.14 UGS 0 74808 re0 41.154.0.8/29 link#1 U 0 94 re0 41.154.0.9 link#1 UHS 0 1378 lo0 127.0.0.1 link#4 UH 0 1891 lo0 ------------------------------------------------------------------------ netstat -anA Active Internet connections (including servers) Tcpcb Proto Recv-Q Send-Q Local Address Foreign Address (state) c782e1a0 tcp4 0 0 127.0.0.1.22341 127.0.0.1.5432 TIME_WAIT c78bb000 tcp4 0 48 41.154.0.9.22 196.7.162.28.42945 ESTABLISHED c78bbc58 tcp4 0 0 41.154.0.9.22 196.7.162.28.59568 ESTABLISHED c77d1768 tcp4 0 0 *.22 *.* LISTEN c7809278 tcp4 0 0 127.0.0.1.587 *.* LISTEN c78094f0 tcp4 0 0 127.0.0.1.25 *.* LISTEN c77d1000 tcp4 0 0 41.154.0.9.587 *.* LISTEN c77d0768 tcp4 0 0 41.154.0.9.25 *.* LISTEN c77d0000 tcp4 0 0 *.5432 *.* LISTEN c77d0278 tcp4 0 0 *.515 *.* LISTEN c77d04f0 tcp4 0 0 *.111 *.* LISTEN c77d09e0 tcp4 0 0 127.0.0.1.953 *.* LISTEN c77d0c58 tcp4 0 0 41.154.0.9.53 *.* LISTEN c5000a50 udp4 0 0 41.154.0.9.60130 192.0.2.1.53 c50007bc udp4 0 0 127.0.0.1.123 *.* c77d60dc udp4 0 0 41.154.0.9.123 *.* c4fff1b8 udp4 0 0 *.123 *.* c50006e0 udp4 0 0 127.0.0.1.32314 127.0.0.1.32314 c5000528 udp4 0 0 *.862 *.* c4fffb2c udp4 0 0 *.111 *.* c4fff294 udp4 0 0 41.154.0.9.53 *.* c4fff370 udp4 0 0 *.514 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c75f0ac0 stream 0 0 0 c75f0b6c 0 0 c75f0b6c stream 0 0 0 c75f0ac0 0 0 c75f0764 stream 0 0 0 c75f06b8 0 0 c75f06b8 stream 0 0 0 c75f0764 0 0 c75f0d70 stream 0 0 0 c75f0ec8 0 0 c75f0ec8 stream 0 0 0 c75f0d70 0 0 c75f0968 stream 0 0 c721abb0 0 0 0 /tmp/.s.PGSQL.5432 c75f060c stream 0 0 c5480110 0 0 0 /var/run/printer c75f0408 stream 0 0 c5480dd0 0 0 0 /var/run/rpcbind.sock c75f02b0 stream 0 0 0 c75f035c 0 0 c75f035c stream 0 0 0 c75f02b0 0 0 c75f0c18 stream 0 0 c5435880 0 0 0 /var/run/devd.pipe c75f1000 dgram 0 0 0 c75f0000 0 c75f0204 c75f0204 dgram 0 0 0 c75f0000 0 c75f0560 c75f0a14 dgram 0 0 0 c75f00ac 0 0 c75f0560 dgram 0 0 0 c75f0000 0 c75f04b4 c75f04b4 dgram 0 0 0 c75f0000 0 c75f0158 c75f0158 dgram 0 0 0 c75f0000 0 0 c75f0000 dgram 0 0 c5489660 0 c75f1000 0 /var/run/logpriv c75f00ac dgram 0 0 c5489550 0 c75f0a14 0 /var/run/log ------------------------------------------------------------------------ netstat -aL Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address tcp4 0/0/128 *.ssh tcp4 0/0/20 localhost.submission tcp4 0/0/20 localhost.smtp tcp4 0/0/20 41.154.0.9.submission tcp4 0/0/20 41.154.0.9.smtp tcp4 0/0/80 *.postgresql tcp4 0/0/5 *.printer tcp4 0/0/128 *.sunrpc tcp4 0/0/128 localhost.rndc tcp4 0/0/3 41.154.0.9.domain unix 0/0/80 /tmp/.s.PGSQL.5432 unix 0/0/5 /var/run/printer unix 0/0/128 /var/run/rpcbind.sock unix 0/0/4 /var/run/devd.pipe ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W ianf sh 56578 root / 2 drwxr-xr-x 1024 r ianf sh 56578 wd /usr 11846887 drwxr-xr-x 6144 r ianf sh 56578 text / 17809 -r-xr-xr-x 120784 r ianf sh 56578 0 /dev 152 crw--w---- pts/3 rw ianf sh 56578 1 /dev 152 crw--w---- pts/3 rw ianf sh 56578 2 /dev 152 crw--w---- pts/3 rw ianf sh 56578 10 /usr 11894944 -rwxr-xr-x 243 r ianf sh 56578 11 /dev 152 crw--w---- pts/3 rw root owfs 56378 root / 2 drwxr-xr-x 1024 r root owfs 56378 wd / 2 drwxr-xr-x 1024 r root owfs 56378 text /usr 24494430 -rwxr-xr-x 41342 r root owfs 56378 0 /dev 15 crw-rw-rw- null rw root owfs 56378 1 /dev 15 crw-rw-rw- null rw root owfs 56378 2 /dev 15 crw-rw-rw- null rw root owfs 56378 3 /dev 120 crw------- ttyU1 rw root owfs 56378 4 /dev 109 crw------- ttyU0 rw root owfs 56378 5 /dev 153 crw-rw---- fuse0 rw ianf perl 45103 root / 2 drwxr-xr-x 1024 r ianf perl 45103 wd /usr 11846887 drwxr-xr-x 6144 r ianf perl 45103 text /usr 24494623 -rwxr-xr-x 4712 r ianf perl 45103 0 /dev 152 crw--w---- pts/3 rw ianf perl 45103 1 /dev 152 crw--w---- pts/3 rw ianf perl 45103 2 /dev 152 crw--w---- pts/3 rw ianf perl 45103 3 /dev 76 crw-rw---- cuau1 rw ianf bash 97479 root / 2 drwxr-xr-x 1024 r ianf bash 97479 wd /usr 11846887 drwxr-xr-x 6144 r ianf bash 97479 text /usr 24496001 -rwxr-xr-x 632468 r ianf bash 97479 0 /dev 152 crw--w---- pts/3 rw ianf bash 97479 1 /dev 152 crw--w---- pts/3 rw ianf bash 97479 2 /dev 152 crw--w---- pts/3 rw ianf bash 97479 255 /dev 152 crw--w---- pts/3 rw ianf sshd 97469 root / 2 drwxr-xr-x 1024 r ianf sshd 97469 wd / 2 drwxr-xr-x 1024 r ianf sshd 97469 text /usr 42158090 -r-xr-xr-x 232420 r ianf sshd 97469 0 /dev 15 crw-rw-rw- null rw ianf sshd 97469 1 /dev 15 crw-rw-rw- null rw ianf sshd 97469 2 /dev 15 crw-rw-rw- null rw ianf sshd 97469 3* internet stream tcp c78bb000 ianf sshd 97469 4* local stream c75f0b6c <-> c75f0ac0 ianf sshd 97469 5* pipe c500d498 <-> c500d550 0 rw ianf sshd 97469 6* pipe c500d550 <-> c500d498 0 rw ianf sshd 97469 7* pseudo-terminal master pts/3 rw ianf sshd 97469 9* pseudo-terminal master pts/3 rw ianf sshd 97469 10* pseudo-terminal master pts/3 rw root sshd 97423 root / 2 drwxr-xr-x 1024 r root sshd 97423 wd / 2 drwxr-xr-x 1024 r root sshd 97423 text /usr 42158090 -r-xr-xr-x 232420 r root sshd 97423 0 /dev 15 crw-rw-rw- null r root sshd 97423 1 /dev 15 crw-rw-rw- null rw root sshd 97423 2 /dev 15 crw-rw-rw- null rw root sshd 97423 3* internet stream tcp c78bb000 root sshd 97423 4* pseudo-terminal master pts/3 rw root sshd 97423 5* local stream c75f0ac0 <-> c75f0b6c root screen 75229 root / 2 drwxr-xr-x 1024 r root screen 75229 wd /usr 11846887 drwxr-xr-x 6144 r root screen 75229 text /usr 24495939 -rwsr-xr-x 301192 r root screen 75229 0 /dev 149 crw--w---- pts/2 rw root screen 75229 1 /dev 149 crw--w---- pts/2 rw root screen 75229 2 /dev 149 crw--w---- pts/2 rw root bash 75228 root / 2 drwxr-xr-x 1024 r root bash 75228 wd /usr 11846887 drwxr-xr-x 6144 r root bash 75228 text /usr 24496001 -rwxr-xr-x 632468 r root bash 75228 0 /dev 149 crw--w---- pts/2 rw root bash 75228 1 /dev 149 crw--w---- pts/2 rw root bash 75228 2 /dev 149 crw--w---- pts/2 rw root bash 75228 255 /dev 149 crw--w---- pts/2 rw root su 75227 root / 2 drwxr-xr-x 1024 r root su 75227 wd /usr 11846887 drwxr-xr-x 6144 r root su 75227 text /usr 38296097 -r-sr-xr-x 14676 r root su 75227 0 /dev 149 crw--w---- pts/2 rw root su 75227 1 /dev 149 crw--w---- pts/2 rw root su 75227 2 /dev 149 crw--w---- pts/2 rw ianf bash 75224 root / 2 drwxr-xr-x 1024 r ianf bash 75224 wd /usr 11846887 drwxr-xr-x 6144 r ianf bash 75224 text /usr 24496001 -rwxr-xr-x 632468 r ianf bash 75224 0 /dev 149 crw--w---- pts/2 rw ianf bash 75224 1 /dev 149 crw--w---- pts/2 rw ianf bash 75224 2 /dev 149 crw--w---- pts/2 rw ianf bash 75224 255 /dev 149 crw--w---- pts/2 rw ianf sshd 75223 root / 2 drwxr-xr-x 1024 r ianf sshd 75223 wd / 2 drwxr-xr-x 1024 r ianf sshd 75223 text /usr 42158090 -r-xr-xr-x 232420 r ianf sshd 75223 0 /dev 15 crw-rw-rw- null rw ianf sshd 75223 1 /dev 15 crw-rw-rw- null rw ianf sshd 75223 2 /dev 15 crw-rw-rw- null rw ianf sshd 75223 3* internet stream tcp c78bbc58 ianf sshd 75223 4* local stream c75f0ec8 <-> c75f0d70 ianf sshd 75223 5* pipe c500c000 <-> c500c0b8 0 rw ianf sshd 75223 6* pipe c500c0b8 <-> c500c000 0 rw ianf sshd 75223 7* pseudo-terminal master pts/2 rw ianf sshd 75223 9* pseudo-terminal master pts/2 rw ianf sshd 75223 10* pseudo-terminal master pts/2 rw root sshd 75221 root / 2 drwxr-xr-x 1024 r root sshd 75221 wd / 2 drwxr-xr-x 1024 r root sshd 75221 text /usr 42158090 -r-xr-xr-x 232420 r root sshd 75221 0 /dev 15 crw-rw-rw- null r root sshd 75221 1 /dev 15 crw-rw-rw- null rw root sshd 75221 2 /dev 15 crw-rw-rw- null rw root sshd 75221 3* internet stream tcp c78bbc58 root sshd 75221 4* pseudo-terminal master pts/2 rw root sshd 75221 5* local stream c75f0d70 <-> c75f0ec8 root bash 57990 root / 2 drwxr-xr-x 1024 r root bash 57990 wd /var 234887 drwxr-xr-x 1024 r root bash 57990 text /usr 24496001 -rwxr-xr-x 632468 r root bash 57990 0 /dev 151 crw--w---- pts/1 rw root bash 57990 1 /dev 151 crw--w---- pts/1 rw root bash 57990 2 /dev 151 crw--w---- pts/1 rw root bash 57990 255 /dev 151 crw--w---- pts/1 rw root screen 57989 root / 2 drwxr-xr-x 1024 r root screen 57989 wd /usr 11846887 drwxr-xr-x 6144 r root screen 57989 text /usr 24495939 -rwsr-xr-x 301192 r root screen 57989 0 /dev 15 crw-rw-rw- null r root screen 57989 1 /dev 15 crw-rw-rw- null w root screen 57989 2 /dev 15 crw-rw-rw- null w root screen 57989 3 /tmp 95 prwx------ 0 r root screen 57989 4 /dev 149 crw--w---- pts/2 rw root screen 57989 5 /var 70466 -rw-r--r-- 591 r root screen 57989 6* pseudo-terminal master pts/1 rw root ntpd 44418 root / 2 drwxr-xr-x 1024 r root ntpd 44418 wd / 2 drwxr-xr-x 1024 r root ntpd 44418 text /usr 42158375 -r-xr-xr-x 349228 r root ntpd 44418 0 /dev 15 crw-rw-rw- null rw root ntpd 44418 1 /dev 15 crw-rw-rw- null rw root ntpd 44418 2 /dev 15 crw-rw-rw- null rw root ntpd 44418 3* local dgram c75f1000 <-> c75f0000 root ntpd 44418 4 /var 164440 -rw-r--r-- 57025 w root ntpd 44418 5 /var 164422 -rw-r--r-- 1741190 w root ntpd 44418 6 /dev 36 crw-rw---- cuau2 rw root ntpd 44418 7 /var 211400 -rw-r--r-- 3584 rw root ntpd 44418 8 /dev 42 crw-rw---- cuau3 rw root ntpd 44418 9 /var 211401 -rw-r--r-- 3584 rw root ntpd 44418 10 /var 164441 -rw-r--r-- 20164 w root ntpd 44418 20* internet dgram udp c4fff1b8 root ntpd 44418 21* internet dgram udp c77d60dc root ntpd 44418 22* internet dgram udp c50007bc root ntpd 44418 23* route raw 0 c77e680c root sh 39521 root / 2 drwxr-xr-x 1024 r root sh 39521 wd / 16461 drwxr-xr-x 512 r root sh 39521 text / 17809 -r-xr-xr-x 120784 r root sh 39521 0 /dev 67 crw------- ttyu0 rw root sh 39521 1 /dev 67 crw------- ttyu0 rw root sh 39521 2 /dev 67 crw------- ttyu0 rw root sh 39521 10 /dev 67 crw------- ttyu0 rw root login 29347 root / 2 drwxr-xr-x 1024 r root login 29347 wd / 16461 drwxr-xr-x 512 r root login 29347 text /usr 38295942 -r-sr-xr-x 21924 r root login 29347 0 /dev 67 crw------- ttyu0 rw root login 29347 1 /dev 67 crw------- ttyu0 rw root login 29347 2 /dev 67 crw------- ttyu0 rw root login 29347 3* local dgram c75f0204 <-> c75f0000 root getty 29346 root / 2 drwxr-xr-x 1024 r root getty 29346 wd / 2 drwxr-xr-x 1024 r root getty 29346 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29346 0 /dev 53 crw------- ttyv7 rw root getty 29346 1 /dev 53 crw------- ttyv7 rw root getty 29346 2 /dev 53 crw------- ttyv7 rw root getty 29345 root / 2 drwxr-xr-x 1024 r root getty 29345 wd / 2 drwxr-xr-x 1024 r root getty 29345 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29345 0 /dev 52 crw------- ttyv6 rw root getty 29345 1 /dev 52 crw------- ttyv6 rw root getty 29345 2 /dev 52 crw------- ttyv6 rw root getty 29344 root / 2 drwxr-xr-x 1024 r root getty 29344 wd / 2 drwxr-xr-x 1024 r root getty 29344 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29344 0 /dev 51 crw------- ttyv5 rw root getty 29344 1 /dev 51 crw------- ttyv5 rw root getty 29344 2 /dev 51 crw------- ttyv5 rw root getty 29343 root / 2 drwxr-xr-x 1024 r root getty 29343 wd / 2 drwxr-xr-x 1024 r root getty 29343 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29343 0 /dev 50 crw------- ttyv4 rw root getty 29343 1 /dev 50 crw------- ttyv4 rw root getty 29343 2 /dev 50 crw------- ttyv4 rw root getty 29342 root / 2 drwxr-xr-x 1024 r root getty 29342 wd / 2 drwxr-xr-x 1024 r root getty 29342 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29342 0 /dev 49 crw------- ttyv3 rw root getty 29342 1 /dev 49 crw------- ttyv3 rw root getty 29342 2 /dev 49 crw------- ttyv3 rw root getty 29341 root / 2 drwxr-xr-x 1024 r root getty 29341 wd / 2 drwxr-xr-x 1024 r root getty 29341 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29341 0 /dev 48 crw------- ttyv2 rw root getty 29341 1 /dev 48 crw------- ttyv2 rw root getty 29341 2 /dev 48 crw------- ttyv2 rw root getty 29340 root / 2 drwxr-xr-x 1024 r root getty 29340 wd / 2 drwxr-xr-x 1024 r root getty 29340 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29340 0 /dev 47 crw------- ttyv1 rw root getty 29340 1 /dev 47 crw------- ttyv1 rw root getty 29340 2 /dev 47 crw------- ttyv1 rw root getty 29339 root / 2 drwxr-xr-x 1024 r root getty 29339 wd / 2 drwxr-xr-x 1024 r root getty 29339 text /usr 20584686 -r-xr-xr-x 21760 r root getty 29339 0 /dev 46 crw------- ttyv0 rw root getty 29339 1 /dev 46 crw------- ttyv0 rw root getty 29339 2 /dev 46 crw------- ttyv0 rw root inetd 29305 root / 2 drwxr-xr-x 1024 r root inetd 29305 wd / 2 drwxr-xr-x 1024 r root inetd 29305 text /usr 42158316 -r-xr-xr-x 42736 r root inetd 29305 0 /dev 15 crw-rw-rw- null rw root inetd 29305 1 /dev 15 crw-rw-rw- null rw root inetd 29305 2 /dev 15 crw-rw-rw- null rw root inetd 29305 3 /var 70522 -rw------- 5 w root inetd 29305 4* pipe c500d000 <-> c500d0b8 0 rw root inetd 29305 5* pipe c500d0b8 <-> c500d000 0 rw root cron 29273 root / 2 drwxr-xr-x 1024 r root cron 29273 wd /var 211495 drwxr-x--- 512 r root cron 29273 text /usr 42158176 -r-xr-xr-x 34464 r root cron 29273 0 /dev 15 crw-rw-rw- null rw root cron 29273 1 /dev 15 crw-rw-rw- null rw root cron 29273 2 /dev 15 crw-rw-rw- null rw root cron 29273 3 /var 70521 -rw------- 5 w root sshd 29262 root / 2 drwxr-xr-x 1024 r root sshd 29262 wd / 2 drwxr-xr-x 1024 r root sshd 29262 text /usr 42158090 -r-xr-xr-x 232420 r root sshd 29262 0 /dev 15 crw-rw-rw- null rw root sshd 29262 1 /dev 15 crw-rw-rw- null rw root sshd 29262 2 /dev 15 crw-rw-rw- null rw root sshd 29262 3* internet stream tcp c77d1768 mailnull exim-4.72-0 29201 root / 2 drwxr-xr-x 1024 r mailnull exim-4.72-0 29201 wd /var 93953 drwxr-x--- 512 r mailnull exim-4.72-0 29201 text /usr 24541512 -rwsr-xr-x 877756 r mailnull exim-4.72-0 29201 0 /dev 15 crw-rw-rw- null rw mailnull exim-4.72-0 29201 1 /dev 15 crw-rw-rw- null rw mailnull exim-4.72-0 29201 2 /dev 15 crw-rw-rw- null rw mailnull exim-4.72-0 29201 3* internet stream tcp c77d0768 mailnull exim-4.72-0 29201 4* internet stream tcp c77d1000 mailnull exim-4.72-0 29201 5* internet stream tcp c78094f0 mailnull exim-4.72-0 29201 6* internet stream tcp c7809278 mailnull exim-4.72-0 29201 9 /var 187908 -rw-r----- 903663 w pgsql postgres 29106 root / 2 drwxr-xr-x 1024 r pgsql postgres 29106 wd /usr 24944078 drwx------ 512 r pgsql postgres 29106 text /usr 24495550 -rwxr-xr-x 2968772 r pgsql postgres 29106 0 /dev 15 crw-rw-rw- null rw pgsql postgres 29106 1 /dev 15 crw-rw-rw- null rw pgsql postgres 29106 2 /dev 15 crw-rw-rw- null rw pgsql postgres 29106 5* local dgram c75f0a14 <-> c75f00ac pgsql postgres 29106 6* internet dgram udp c50006e0 pgsql postgres 29105 root / 2 drwxr-xr-x 1024 r pgsql postgres 29105 wd /usr 24944078 drwx------ 512 r pgsql postgres 29105 text /usr 24495550 -rwxr-xr-x 2968772 r pgsql postgres 29105 0 /dev 15 crw-rw-rw- null rw pgsql postgres 29105 1 /dev 15 crw-rw-rw- null rw pgsql postgres 29105 2 /dev 15 crw-rw-rw- null rw pgsql postgres 29105 5* local dgram c75f0a14 <-> c75f00ac pgsql postgres 29105 6* internet dgram udp c50006e0 pgsql postgres 29105 7 /usr 24988964 -rw------- 16777216 rw pgsql postgres 29103 root / 2 drwxr-xr-x 1024 r pgsql postgres 29103 wd /usr 24944078 drwx------ 512 r pgsql postgres 29103 text /usr 24495550 -rwxr-xr-x 2968772 r pgsql postgres 29103 0 /dev 15 crw-rw-rw- null rw pgsql postgres 29103 1 /dev 15 crw-rw-rw- null rw pgsql postgres 29103 2 /dev 15 crw-rw-rw- null rw pgsql postgres 29103 3* internet stream tcp c77d0000 pgsql postgres 29103 4* local stream c75f0968 pgsql postgres 29103 5* local dgram c75f0a14 <-> c75f00ac pgsql postgres 29103 6* internet dgram udp c50006e0 root lpd 28988 root / 2 drwxr-xr-x 1024 r root lpd 28988 wd / 2 drwxr-xr-x 1024 r root lpd 28988 text /usr 42158332 -r-xr-xr-x 76384 r root lpd 28988 0 /dev 15 crw-rw-rw- null rw root lpd 28988 1 /dev 15 crw-rw-rw- null rw root lpd 28988 2 /dev 15 crw-rw-rw- null rw root lpd 28988 3* local dgram c75f0560 <-> c75f0000 root lpd 28988 4 /var 93997 -rw-rw-r-- 6 w root lpd 28988 5* local stream c75f060c root lpd 28988 6* internet stream tcp c77d0278 root rpcbind 28818 root / 2 drwxr-xr-x 1024 r root rpcbind 28818 wd / 2 drwxr-xr-x 1024 r root rpcbind 28818 text /usr 42158494 -r-xr-xr-x 39588 r root rpcbind 28818 0 /dev 15 crw-rw-rw- null rw root rpcbind 28818 1 /dev 15 crw-rw-rw- null rw root rpcbind 28818 2 /dev 15 crw-rw-rw- null rw root rpcbind 28818 3 /var 70509 -r--r--r-- 0 r root rpcbind 28818 5* local stream c75f0408 root rpcbind 28818 6* local dgram c75f04b4 <-> c75f0000 root rpcbind 28818 7* internet dgram udp c4fffb2c root rpcbind 28818 8* internet dgram udp c5000528 root rpcbind 28818 9* internet stream tcp c77d04f0 bind named 28794 root / 2 drwxr-xr-x 1024 r bind named 28794 wd / 32958 drwxr-xr-x 512 r bind named 28794 text /usr 42158313 -r-xr-xr-x 1957456 r bind named 28794 0 /dev 15 crw-rw-rw- null rw bind named 28794 1 /dev 15 crw-rw-rw- null rw bind named 28794 2 /dev 15 crw-rw-rw- null rw bind named 28794 3* local dgram c75f0158 <-> c75f0000 bind named 28794 4 /dev 15 crw-rw-rw- null rw bind named 28794 5* pipe c500c188 <-> c500c240 0 rw bind named 28794 7* pipe c500c240 <-> c500c188 0 rw bind named 28794 9 /dev 25 crw-rw-rw- random r bind named 28794 20* internet stream tcp c77d0c58 bind named 28794 21* internet stream tcp c77d09e0 bind named 28794 512* internet dgram udp c4fff294 bind named 28794 514* internet dgram udp c5000a50 root syslogd 28779 root / 2 drwxr-xr-x 1024 r root syslogd 28779 wd / 2 drwxr-xr-x 1024 r root syslogd 28779 text /usr 42158509 -r-xr-xr-x 35984 r root syslogd 28779 0 /dev 15 crw-rw-rw- null rw root syslogd 28779 1 /dev 15 crw-rw-rw- null rw root syslogd 28779 2 /dev 15 crw-rw-rw- null rw root syslogd 28779 3 /var 70494 -rw------- 5 w root syslogd 28779 4* local dgram c75f00ac root syslogd 28779 5* local dgram c75f0000 root syslogd 28779 6* internet dgram udp c4fff370 root syslogd 28779 7 /dev 14 crw------- klog r root syslogd 28779 9 - - bad - root syslogd 28779 10 /var 164534 -rw-r--r-- 3799383 w root syslogd 28779 11 /var 164577 -rw------- 60 w root syslogd 28779 12 /var 164497 -rw------- 9340748 w root syslogd 28779 13 /var 164530 -rw-r----- 778934 w root syslogd 28779 14 /var 164459 -rw-r--r-- 51244 w root syslogd 28779 15 /var 164463 -rw------- 14969 w root syslogd 28779 16 /var 164436 -rw------- 18198 w root syslogd 28779 17 /var 164506 -rw------- 41941 w root syslogd 28779 18 /var 164563 -rw-r----- 60 w _pflogd pflogd 28574 root /var 12 dr-xr-xr-x 512 r _pflogd pflogd 28574 wd /var 12 dr-xr-xr-x 512 r _pflogd pflogd 28574 jail /var 12 dr-xr-xr-x 512 r _pflogd pflogd 28574 text / 1463 -r-xr-xr-x 18880 r _pflogd pflogd 28574 0 /dev 15 crw-rw-rw- null rw _pflogd pflogd 28574 1 /dev 15 crw-rw-rw- null rw _pflogd pflogd 28574 2 /dev 15 crw-rw-rw- null rw _pflogd pflogd 28574 3 /dev 11 crw------- bpf rw _pflogd pflogd 28574 4 /var 164557 -rw------- 24 rw _pflogd pflogd 28574 5* local stream c75f02b0 <-> c75f035c root pflogd 28572 root / 2 drwxr-xr-x 1024 r root pflogd 28572 wd / 2 drwxr-xr-x 1024 r root pflogd 28572 text / 1463 -r-xr-xr-x 18880 r root pflogd 28572 0 /dev 15 crw-rw-rw- null rw root pflogd 28572 1 /dev 15 crw-rw-rw- null rw root pflogd 28572 2 /dev 15 crw-rw-rw- null rw root pflogd 28572 3 /dev 11 crw------- bpf rw root pflogd 28572 4* local stream c75f035c <-> c75f02b0 root devd 28553 root / 2 drwxr-xr-x 1024 r root devd 28553 wd / 2 drwxr-xr-x 1024 r root devd 28553 text / 1402 -r-xr-xr-x 404976 r root devd 28553 0 /dev 15 crw-rw-rw- null rw root devd 28553 1 /dev 15 crw-rw-rw- null rw root devd 28553 2 /dev 15 crw-rw-rw- null rw root devd 28553 3 / 33227 drwxr-xr-x 512 r root devd 28553 4 /dev 4 crw------- devctl r root devd 28553 5* local stream c75f0c18 root devd 28553 6 /var 70476 -rw------- 5 w root moused 28536 root / 2 drwxr-xr-x 1024 r root moused 28536 wd / 2 drwxr-xr-x 1024 r root moused 28536 text /usr 42158367 -r-xr-xr-x 36220 r root moused 28536 0 /dev 15 crw-rw-rw- null rw root moused 28536 1 /dev 15 crw-rw-rw- null rw root moused 28536 2 /dev 15 crw-rw-rw- null rw root moused 28536 3 /dev 138 crw-r--r-- ums0 rw root moused 28536 4 /dev 62 crw------- consolectl rw root moused 28536 5 /var 70471 -rw------- 5 w root adjkerntz 27845 root / 2 drwxr-xr-x 1024 r root adjkerntz 27845 wd / 2 drwxr-xr-x 1024 r root adjkerntz 27845 text / 11 -r-xr-xr-x 7448 r root adjkerntz 27845 0 /dev 15 crw-rw-rw- null rw root adjkerntz 27845 1 /dev 15 crw-rw-rw- null rw root adjkerntz 27845 2 /dev 15 crw-rw-rw- null rw root init 1 root / 2 drwxr-xr-x 1024 r root init 1 wd / 2 drwxr-xr-x 1024 r root init 1 text / 61 -r-xr-xr-x 664972 r ------------------------------------------------------------------------ dmesg Setting hostuuid: fe134458-976b-11dc-8f0f-006008101031. Setting hostid: 0x43bda48f. Entropy harvesting: interrupts ethernet point_to_point kickstart . Fast boot: skipping disk checks. Mounting local file systems: . Setting hostname: brane.freislich.nom.za . Starting Network: lo0 re0 re1 pfsync0 pflog0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843 metric 0 mtu 1500 options=389b ether 00:30:4f:52:39:70 inet 41.154.0.9 netmask 0xfffffff8 broadcast 41.154.0.15 media: Ethernet autoselect (none) status: no carrier re1: flags=8802 metric 0 mtu 1500 options=389b ether 00:01:29:2d:41:49 media: Ethernet autoselect (100baseTX ) status: no carrier pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 pflog0: flags=0<> metric 0 mtu 33200 Starting devd. Starting Network: re1. re1: flags=8802 metric 0 mtu 1500 options=389b ether 00:01:29:2d:41:49 media: Ethernet autoselect (100baseTX ) status: no carrier Starting Network: pfsync0. pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 Starting Network: pflog0. pflog0: flags=0<> metric 0 mtu 33200 Configuring keyboard: keymap keyrate . Starting ums0 moused . Starting pflog. Aug 20 14:19:12 pflogd[28572]: [priv]: msg PRIV_OPEN_LOG received add net default: gateway 41.154.0.14 Generating host.conf. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Creating and/or trimming log files . Starting syslogd. No core dumps found. Additional ABI support: linux . Starting named. Aug 20 14:19:13 brane named[28794]: the working directory is not writable Setting date via ntp. 20 Aug 14:19:13 ntpdate[28802]: sendto(196.7.18.242): Unknown error: 0 20 Aug 14:19:14 ntpdate[28802]: sendto(196.7.18.242): Unknown error: 0 20 Aug 14:19:15 ntpdate[28802]: sendto(196.7.18.242): Unknown error: 0 20 Aug 14:19:16 ntpdate[28802]: sendto(196.7.18.242): Unknown error: 0 re0: link state changed to UP 20 Aug 14:19:17 ntpdate[28802]: no server suitable for synchronization found Starting rpcbind. Aug 20 14:19:17 brane rpcbind: cannot create socket for udp6 Clearing /tmp (X related). Starting lpd. Updating motd: . Starting fusefs. KLD fuse.ko: depends on kernel - not available or version mismatch kldload: can't load /usr/local/modules/fuse.ko : File exists Starting owfs. fuse: failed to open fuse device: No such file or directory Starting ntpd. /etc/rc: WARNING: run_rc_command: cannot run /usr/local/bin/spamd Starting default moused moused: unable to open /dev/psm0: No such file or directory . /etc/rc: WARNING: run_rc_command: cannot run /usr/local/sbin/clamd /etc/rc: WARNING: run_rc_command: cannot run /usr/local/bin/freshclam Starting exim. /etc/rc: WARNING: run_rc_command: cannot run /usr/local/sbin/httpd Configuring syscons: keymap keyrate blanktime allscreens . Starting sshd. Starting cron. Local package initialization: popd /usr/local/etc/rc.d/050.popd.sh: /usr/local/libexec/popd: not found popd-ssl /usr/local/etc/rc.d/050.popd.sh: /usr/local/libexec/popd: not found . Starting inetd. Starting background file system checks in 60 seconds. Fri Aug 20 14:19:25 SAST 2010 Aug 20 14:20:44 brane su: ianf to root on /dev/pts/0 Aug 20 14:24:26 brane login: ROOT LOGIN (root) ON ttyu0 Aug 20 14:27:06 brane su: ianf to root on /dev/pts/0 Aug 20 15:05:42 brane su: BAD SU ianf to root on /dev/pts/2 Aug 20 15:05:48 brane su: ianf to root on /dev/pts/2 Aug 20 15:10:14 brane su: ianf to root on /dev/pts/3 Aug 20 15:10:36 brane named[28794]: client 41.161.16.217#52348: zone transfer 'freislich.nom.za/AXFR/IN' denied Aug 20 15:18:19 brane su: ianf to root on /dev/pts/3 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xe75d3b50 frame pointer = 0x28:0xe75d3c14 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 = 56578 (sh) trap number = 12 panic: page fault KDB: stack backtrace: db_trace_self_wrapper(c07b0ffc,e75d39e8,c05b4aff,c07af087,c0838240,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c07af087,c0838240,c079b1a4,e75d39f4,e75d39f4,...) at kdb_backtrace+0x29 panic(c079b1a4,c07c9e3f,c784aca0,1,1,...) at panic+0xaf trap_fatal(c783e000,0,1,0,c782c8c0,...) at trap_fatal+0x353 trap_pfault(c274a3a8,0,c669eaa0,c784ab00,c7845000,...) at trap_pfault+0x25b trap(e75d3b10) at trap+0x423 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0, esp = 0xe75d3b50, ebp = 0xe75d3c14 --- uart_z8530_class(c784ab00,ffffff9c,284052c4,0,402,...) at 0 kern_open(c784ab00,284052c4,0,601,1b6,...) at kern_open+0x35 open(c784ab00,e75d3cec,e75d3d28,e75d3d28,e75d3c02,...) at open+0x30 syscallenter(c784ab00,e75d3ce4,e75d3ce4,0,c784ab00,...) at syscallenter+0x343 syscall(e75d3d28) at syscall+0x34 Xint0x80_syscall() at Xint0x80_syscall+0x21 --- syscall (5, FreeBSD ELF32, open), eip = 0x281e579b, esp = 0xbfbfe96c, ebp = 0xbfbfea28 --- Uptime: 1h49m31s Physical memory: 2007 MB Dumping 194 MB: 179 163 147 131 115 99 83 67 51 35 19 3 ------------------------------------------------------------------------ kernel config config: File /boot/kernel/kernel doesn't contain configuration file. Either unsupported, or not compiled with INCLUDE_CONFIG_FILE ------------------------------------------------------------------------ ddb capture buffer -- Ian Freislich