From m.seaman@infracaninophile.co.uk Mon Dec 14 13:26:56 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8121065679 for ; Mon, 14 Dec 2009 13:26:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 204928FC0A for ; Mon, 14 Dec 2009 13:26:53 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBEDQkpB093801 for ; Mon, 14 Dec 2009 13:26:46 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.14.3/8.14.3/Submit) id nBEDQkOS093800; Mon, 14 Dec 2009 13:26:46 GMT (envelope-from matthew) Message-Id: <200912141326.nBEDQkOS093800@happy-idiot-talk.infracaninophile.co.uk> Date: Mon, 14 Dec 2009 13:26:46 GMT From: Matthew Seaman Reply-To: Matthew Seaman To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: page fault while in kernel mode on VIMAGE enabled kernel X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 141457 >Category: kern >Synopsis: page fault while in kernel mode on VIMAGE enabled kernel >Confidential: no >Severity: serious >Priority: medium >Responsible: bz >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 14 13:30:00 UTC 2009 >Closed-Date: Mon Dec 14 13:44:06 UTC 2009 >Last-Modified: Mon Dec 14 13:50:00 UTC 2009 >Originator: Matthew Seaman >Release: FreeBSD 8.0-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #14: Mon Dec 14 09:19:08 GMT 2009 root@:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Attempting to boot from a kernel compiled with "options VIMAGE" resulted in a repeatable crash at the point the system was enabling pf. Kernel config: % cat HAPPY-IDIOT-TALK.old include GENERIC ident HAPPY-IDIOT-TALK # plip f**** up access to the printer. nodevice plip nodevice agp options VIMAGE options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_PRIQ Commenting out 'options VIMAGE' and rebuilding the kernel allows the system to boot and run normally. >How-To-Repeat: >Fix: --- core.txt.5 begins here --- happy-idiot-talk.infracaninophile.co.uk dumped core - see /var/crash/vmcore.5 Mon Dec 14 09:54:00 GMT 2009 FreeBSD happy-idiot-talk.infracaninophile.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #13: Sun Dec 13 20:25:24 GMT 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK 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: 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-STABLE #13: Sun Dec 13 20:25:24 GMT 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480800 real memory = 3221225472 (3072 MB) avail memory = 3137409024 (2992 MB) WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xee000000-0xeeffffff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] pcm0: port 0xd800-0xd8ff irq 10 at device 5.0 on pci0 pcm0: [ITHREAD] de0: port 0xd400-0xd47f mem 0xed800000-0xed80007f irq 11 at device 13.0 on pci0 de0: 21140A [10-100Mb/s] pass 2.2 de0: WARNING: using obsoleted if_watchdog interface de0: Ethernet address: 00:40:05:a5:8d:b7 de0: [ITHREAD] sym0: <1010-33> port 0xd000-0xd0ff mem 0xed000000-0xed0003ff,0xec800000-0xec801fff irq 5 at device 15.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym0: [ITHREAD] sym1: <1010-33> port 0xb800-0xb8ff mem 0xec000000-0xec0003ff,0xeb800000-0xeb801fff irq 5 at device 15.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. sym1: [ITHREAD] isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb400-0xb40f at device 17.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xb000-0xb01f irq 9 at device 17.2 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xa800-0xa81f irq 9 at device 17.3 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xa400-0xa41f irq 9 at device 17.4 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 atrtc0: port 0x70-0x73 irq 8 on acpi0 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppc0: [ITHREAD] ppbus0: on ppc0 lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff,0xd0000-0xd3fff,0xd4000-0xd7fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1400060395 Hz quality 800 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 uhid0: on usbus0 acd0: DVDR at ata0-master UDMA33 ugen0.3: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe30:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe30:ata0:0:0:0): CAM Status: SCSI Status Error (probe30:ata0:0:0:0): SCSI Status: Check Condition (probe30:ata0:0:0:0): NOT READY asc:3a,0 (probe30:ata0:0:0:0): Medium not present (probe30:ata0:0:0:0): Unretryable error da0 at sym0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz DT, offset 62, 16bit) da0: Command Queueing enabled da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) cd0 at ata0 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted <118>Setting hostuuid: e3c64627-7c0c-11dc-b8b0-004005a58db7. <118>Setting hostid: 0x5037cc28. <118>Entropy harvesting: <118> interrupts <118> ethernet <118> point_to_point <118> kickstart <118>. <118>Starting file system checks: <118>/dev/da0s1a: phase 2: dir 55665 of 76041 (73%) <118>/dev/da0s1a: 1334659 files, 8923591 used, 7415482 free (757890 frags, 832199 blocks, 4.6% fragmentation) <118>Script /etc/rc.d/fsck running <118>Mounting local file systems: <118>. <118>Setting hostname: happy-idiot-talk.infracaninophile.co.uk <118>. <118>Starting Network: lo0 de0. <118>lo0: flags=8049 metric 0 mtu 16384 <118> options=3 <118> inet 127.0.0.1 netmask 0xff000000 <118> inet6 ::1 prefixlen 128 <118> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 <118> nd6 options=3 <118>de0: flags=8c43 metric 0 mtu 1500 <118> ether 00:40:05:a5:8d:b7 <118> inet 81.187.76.162 netmask 0xfffffff8 broadcast 81.187.76.167 <118> inet6 fe80::240:5ff:fea5:8db7%de0 prefixlen 64 tentative scopeid 0x1 <118> nd6 options=3 <118> media: Ethernet autoselect <118>Starting pflog. <118>Enabling pf <118>Dec 14 08:46:13 pflogd[411]: [priv]: msg PRIV_OPEN_LOG received Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0928873 stack pointer = 0x28:0xe9495a7c frame pointer = 0x28:0xe9495a90 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 = 420 (pfctl) trap number = 12 panic: page fault cpuid = 0 Uptime: 3m22s Physical memory: 3051 MB Dumping 96 MB: 81 65 49 33 17 1 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/snd_cmi.ko...Reading symbols from /boot/kernel/snd_cmi.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_cmi.ko Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done. done. Loaded symbols for /boot/kernel/atapicam.ko Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/fdescfs.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/pflog.ko...Reading symbols from /boot/kernel/pflog.ko.symbols...done. done. Loaded symbols for /boot/kernel/pflog.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel/pf.ko.symbols...done. done. Loaded symbols for /boot/kernel/pf.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 0xc0884eb7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc08851a9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xc0bc181c in trap_fatal (frame=0xe9495a3c, eva=24) at /usr/src/sys/i386/i386/trap.c:938 #4 0xc0bc1aa0 in trap_pfault (frame=0xe9495a3c, usermode=0, eva=24) at /usr/src/sys/i386/i386/trap.c:851 #5 0xc0bc2435 in trap (frame=0xe9495a3c) at /usr/src/sys/i386/i386/trap.c:533 #6 0xc0ba4c3b in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #7 0xc0928873 in ifunit (name=0xc7497000 "de0") at /usr/src/sys/net/if.c:2035 #8 0xc7453c2a in pfioctl (dev=0xc73a7a00, cmd=3236709421, addr=0xc7466600 "", flags=3, td=0xc724b480) at /usr/src/sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:3044 #9 0xc080bb87 in devfs_ioctl_f (fp=0xc7276bd0, com=3236709421, data=0xc7466600, cred=0xc6d57100, td=0xc724b480) at /usr/src/sys/fs/devfs/devfs_vnops.c:659 #10 0xc08c0f00 in kern_ioctl (td=0xc724b480, fd=3, com=3236709421, data=0xc7466600 "") at file.h:262 #11 0xc08c1074 in ioctl (td=0xc724b480, uap=0xe9495cf8) at /usr/src/sys/kern/sys_generic.c:678 #12 0xc0bc1de5 in syscall (frame=0xe9495d38) at /usr/src/sys/i386/i386/trap.c:1078 #13 0xc0ba4ca0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261 #14 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) ------------------------------------------------------------------------ ps -axl UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 0 8 0 0 0 - DLs ?? 26556:20.00 [kernel] 0 1 0 0 45 0 2912 0 wait DLs ?? 159160:00.00 [init] 0 2 0 0 -8 0 0 0 - DL ?? 286559:54.00 [g_event] 0 3 0 0 -8 0 0 0 - DL ?? 10881118:52.00 [g_up] 0 4 0 0 -8 0 0 0 - DL ?? 22672174:03.00 [g_down] 0 5 0 0 -16 0 0 0 ccb_sc DL ?? 0:00.00 [xpt_thrd] 0 6 0 0 -16 0 0 0 - DL ?? 17885:05.00 [fdc0] 0 7 0 0 44 0 0 0 psleep DL ?? 12553:59.00 [pagedaemon 0 8 0 0 44 0 0 0 psleep DL ?? 96:42.00 [vmdaemon] 0 9 0 0 76 0 0 0 pgzero DL ?? 127:55.00 [pagezero] 0 10 0 0 -16 0 0 0 audit_ DL ?? 0:00.00 [audit] 0 11 0 0 171 0 0 0 - RL ?? 26229366:12.00 [idle] 0 12 0 0 -60 0 0 0 - WL ?? 25246597:23.00 [intr] 0 13 0 0 -16 0 0 0 - DL ?? 3581497:33.00 [yarrow] 0 14 0 0 -64 0 0 0 - DL ?? 71988:08.00 [usb] 0 15 0 0 44 0 0 0 psleep DL ?? 22006:28.00 [bufdaemon] 0 16 0 0 -16 0 0 0 vlruwt DL ?? 27546:30.00 [vnlru] 0 17 0 0 -16 0 0 0 syncer DL ?? 33481:47.00 [syncer] 0 18 0 0 -16 0 0 0 sdflus DL ?? 33032:44.00 [softdepflu 0 19 0 0 -16 0 0 0 flowcl DL ?? 6014:09.00 [flowcleane 0 20 1 0 76 0 3664 0 wait Ds+ ?? 998849:00.00 [sh] 0 408 0 0 44 0 0 0 pftm DL ?? 295:04.00 [pfpurge] 0 411 1 0 76 0 3568 0 sbwait Ds ?? 24290:41.00 [pflogd] 0 412 20 0 76 0 3664 0 wait D+ ?? 117653:45.00 [sh] 64 419 411 0 76 0 3568 0 bpf D ?? 0:00.00 [pflogd] 0 420 412 0 96 0 3492 0 - R+ ?? 0:00.00 [pfctl] ------------------------------------------------------------------------ vmstat -s 641432 cpu context switches 323172 device interrupts 124336 software interrupts 35224 traps 255885 system calls 20 kernel threads created 398 fork() calls 2 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 169 vnode pager pageins 1091 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 24 pages reactivated 11077 copy-on-write faults 75 copy-on-write optimized faults 10745 zero fill pages zeroed 347 zero fill pages prezeroed 5 intransit blocking page faults 30555 total VM faults taken 0 pages affected by kernel thread creation 74828 pages affected by fork() 424 pages affected by vfork() 0 pages affected by rfork() 28 pages cached 27213 pages freed 0 pages freed by daemon 13744 pages freed by exiting processes 431 pages active 465 pages inactive 4 pages in VM cache 4573 pages wired down 761735 pages free 4096 bytes per page 6856 total name lookups cache hits (85% pos + 4% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% ------------------------------------------------------------------------ vmstat -m Type InUse MemUse HighUse Requests Size(s) GEOM 58 15K - 293 16,32,64,128,512,1024,2048 isadev 4 1K - 4 64 cdev 11 2K - 11 128 acpica 1113 58K - 38907 16,32,64,128,256,512,1024 acpitask 1 1K - 1 1024 filedesc 26 7K - 421 256 kenv 76 7K - 80 16,32,64,128,4096 CAM XPT 52 32K - 418 16,32,64,256,1024,2048 proc-args 5 1K - 166 32,64,128 ithread 66 5K - 66 16,64,128 acpisem 14 2K - 14 64,128 KTRACE 100 13K - 100 128 linker 162 323K - 291 16,32,256,1024,2048,4096 lockf 2 1K - 6 32,64 ip6ndp 9 1K - 9 64,128 temp 26 237K - 5501 16,32,64,128,256,512,1024,2048,4096 devbuf 1917 1548K - 1986 16,32,64,128,256,512,1024,2048,4096 cache 1 1K - 1 16 CAM periph 6 1K - 54 16,32,64,128 module 466 30K - 466 64,128 mtx_pool 2 8K - 2 4096 ata_generic 1 1K - 2 1024 osd 2 1K - 2 16,32 subproc 63 114K - 458 256,4096 proc 2 8K - 2 4096 session 3 1K - 3 64 pgrp 3 1K - 3 64 cred 16 2K - 1190 64,128 uidinfo 3 2K - 3 64,1024 plimit 2 1K - 16 256 sysctltmp 0 0K - 130 16,32,64,128,256 sysctloid 2548 78K - 2611 16,32,64,128 sysctl 0 0K - 203 16,32,64 umtx 77 5K - 77 64 p1003.1b 1 1K - 1 16 SWAP 2 277K - 2 64 bus-sc 46 80K - 1948 16,32,64,128,256,512,1024,2048,4096 bus 1283 129K - 4049 16,32,64,128,512,1024 devstat 4 9K - 4 16,4096 eventhandler 84 5K - 84 32,64,128 kobj 324 648K - 382 2048 Per-cpu 1 1K - 1 16 acd_driver 1 2K - 1 2048 rman 149 9K - 548 16,32,64 ppbusdev 2 1K - 2 128 sbuf 0 0K - 186 16,32,64,128,256,512,1024,2048,4096 entropy 1024 64K - 1024 64 stack 0 0K - 2 128 taskqueue 11 1K - 11 16,64 Unitno 11 1K - 17 16,64 iov 0 0K - 41 16,64,128,256 ioctlops 1 1K - 932 16,32,64,128,256,512,1024,2048 msg 4 25K - 4 1024,4096 sem 4 6K - 4 256,512,1024,4096 shm 1 12K - 1 tty 21 11K - 23 512,2048 mbuf_tag 0 0K - 3 32 ksem 1 4K - 1 4096 shmfd 1 4K - 1 4096 pcb 12 79K - 12 16,64,512,1024,2048,4096 soname 0 0K - 12 128 biobuf 0 0K - 1 2048 vfscache 1 512K - 1 vfs_hash 1 256K - 1 vnodes 2 1K - 2 128 vnodemarker 0 0K - 6 512 mount 69 3K - 132 16,32,64,128,256 BPF 8 65K - 9 16,64,256 ether_multi 41 2K - 46 16,32,64 ifaddr 52 14K - 52 16,32,64,128,256,512,2048 ifnet 5 5K - 5 64,1024 clone 6 24K - 6 4096 arpcom 1 1K - 1 16 gif 1 1K - 1 128 lltable 13 4K - 13 128,256 CAM dev queue 4 1K - 4 64 acpidev 43 2K - 43 32 UART 6 3K - 6 16,256,1024 scsi_da 0 0K - 11 16 routetbl 69 262K - 112 16,64,128,256,512 vnet_data_free 1 1K - 1 16 vnet_data 1 24K - 1 vnet 1 1K - 1 32 igmp 4 1K - 4 128 CAM queue 16 1K - 458 16,32,64,128,256 in_multi 2 1K - 2 128 encap_export_host 1 1K - 1 1024 sctp_iter 0 0K - 2 128 sctp_ifn 3 1K - 3 128 sctp_ifa 6 1K - 6 128 sctp_vrf 1 1K - 1 64 sctp_a_it 0 0K - 2 16 hostcache 1 16K - 1 syncache 1 72K - 1 USBdev 28 6K - 28 32,128,256,1024 USB 40 85K - 42 16,32,64,128,1024,2048,4096 in6_multi 28 4K - 28 16,256 scsi_cd 0 0K - 3 16 mld 4 1K - 4 128 NFS FHA 1 1K - 1 1024 rpc 2 5K - 2 128,4096 audit_evclass 172 3K - 211 16 dirrem 27 1K - 29 32 mkdir 0 0K - 2 32 diradd 4 1K - 6 64 freefile 1 1K - 2 32 freeblks 0 0K - 1 256 allocdirect 1 1K - 2 128 bmsafemap 2 1K - 3 64 newblk 1 1K - 3 64,256 inodedep 34 261K - 36 128 pagedep 9 65K - 11 64 ufs_dirhash 36 7K - 36 16,32,64,128,256,512 ufs_mount 3 11K - 3 256,2048 pci_link 8 1K - 8 64,128 CAM SIM 4 1K - 4 128 vm_pgdata 2 65K - 2 64 atkbddev 2 1K - 2 32 kbdmux 7 10K - 7 16,256,1024,2048,4096 apmdev 1 1K - 1 64 DEVFS1 105 27K - 107 256 DEVFS3 118 15K - 121 128 DEVFS 15 1K - 16 16,64 DEVFSP 1 1K - 1 32 memdesc 1 4K - 1 4096 nexusdev 3 1K - 3 16 pfs_nodes 70 9K - 70 128 pfs_vncache 2 1K - 2 32 mixer 1 4K - 1 4096 linux 13 1K - 13 32,64 feeder 12 1K - 14 16,64 nvidia 110 418K - 110 16,32,64,128,256,1024,2048 ata_cam 1 1K - 13 64,256,1024 fdesc_mount 1 1K - 1 16 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQUESTS FAILURES UMA Kegs: 128, 0, 105, 15, 105, 0 UMA Zones: 888, 0, 105, 3, 105, 0 UMA Slabs: 284, 0, 566, 8, 972, 0 UMA RCntSlabs: 544, 0, 67, 3, 67, 0 UMA Hash: 128, 0, 5, 25, 5, 0 16 Bucket: 76, 0, 27, 23, 48, 0 32 Bucket: 140, 0, 19, 9, 45, 0 64 Bucket: 268, 0, 15, 13, 61, 13 128 Bucket: 524, 0, 21, 0, 1103, 112 VM OBJECT: 136, 0, 464, 29, 5382, 0 MAP: 140, 0, 7, 21, 7, 0 KMAP ENTRY: 72, 57505, 34, 125, 2483, 0 MAP ENTRY: 72, 0, 86, 73, 9646, 0 DP fakepg: 72, 0, 0, 0, 0, 0 SG fakepg: 72, 0, 0, 0, 0, 0 mt_zone: 2056, 0, 275, 127, 275, 0 16: 16, 0, 2495, 144, 21989, 0 32: 32, 0, 1784, 137, 20020, 0 64: 64, 0, 3612, 105, 5178, 0 128: 128, 0, 1844, 46, 5818, 0 256: 256, 0, 360, 15, 2098, 0 512: 512, 0, 68, 4, 1866, 0 1024: 1024, 0, 125, 35, 784, 0 2048: 2048, 0, 362, 86, 689, 0 4096: 4096, 0, 190, 3, 5608, 0 Files: 56, 0, 10, 124, 1707, 0 TURNSTILE: 72, 0, 78, 42, 78, 0 umtx pi: 52, 0, 0, 0, 0, 0 MAC labels: 20, 0, 0, 0, 0, 0 PROC: 680, 0, 25, 11, 420, 0 THREAD: 572, 0, 66, 11, 66, 0 SLEEPQUEUE: 32, 0, 78, 99, 78, 0 VMSPACE: 232, 0, 6, 28, 402, 0 cpuset: 40, 0, 2, 182, 2, 0 audit_record: 816, 0, 0, 0, 0, 0 mbuf_packet: 256, 0, 0, 142, 32, 0 mbuf: 256, 0, 5, 137, 21, 0 mbuf_cluster: 2048, 25600, 128, 6, 128, 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, 84, 472030, 0 ttyinq: 152, 0, 15, 37, 15, 0 ttyoutq: 256, 0, 8, 22, 8, 0 ata_request: 204, 0, 0, 38, 31, 0 ata_composite: 180, 0, 0, 0, 0, 0 nv_stack_t: 8192, 0, 3, 2, 10, 0 VNODE: 268, 0, 391, 15, 394, 0 VNODEPOLL: 60, 0, 0, 0, 0, 0 S VFS Cache: 72, 0, 362, 62, 601, 0 L VFS Cache: 292, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 8, 3144, 0 NFSMOUNT: 520, 0, 0, 0, 0, 0 NFSNODE: 464, 0, 0, 0, 0, 0 DIRHASH: 1024, 0, 68, 0, 68, 0 pipe: 392, 0, 0, 20, 212, 0 ksiginfo: 80, 0, 23, 1033, 23, 0 itimer: 220, 0, 0, 0, 0, 0 KNOTE: 72, 0, 0, 0, 0, 0 socket: 412, 25605, 2, 16, 45, 0 ipq: 32, 904, 0, 0, 0, 0 udp_inpcb: 220, 25614, 0, 36, 39, 0 udpcb: 8, 25781, 0, 203, 39, 0 tcp_inpcb: 220, 25614, 0, 0, 0, 0 tcpcb: 632, 25602, 0, 0, 0, 0 tcptw: 52, 5184, 0, 0, 0, 0 syncache: 112, 15365, 0, 0, 0, 0 hostcache: 76, 15400, 0, 0, 0, 0 tcpreass: 20, 1690, 0, 0, 0, 0 sackhole: 20, 0, 0, 0, 0, 0 sctp_ep: 860, 25600, 0, 0, 0, 0 sctp_asoc: 1492, 40000, 0, 0, 0, 0 sctp_laddr: 24, 80040, 0, 145, 5, 0 sctp_raddr: 432, 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 unpcb: 172, 25622, 2, 44, 6, 0 rtentry: 108, 0, 16, 56, 16, 0 selfd: 28, 0, 0, 0, 0, 0 ip4flow: 40, 4140, 0, 0, 0, 0 ip6flow: 64, 4118, 0, 0, 0, 0 SWAPMETA: 276, 121576, 0, 0, 0, 0 Mountpoints: 644, 0, 5, 7, 5, 0 FFS inode: 116, 0, 373, 23, 375, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 373, 17, 375, 0 pfsrctrpl: 124, 0, 0, 0, 0, 0 pfrulepl: 828, 0, 0, 0, 0, 0 pfstatepl: 284, 10010, 0, 0, 0, 0 pfaltqpl: 224, 0, 1, 33, 1, 0 pfpooladdrpl: 68, 0, 0, 0, 0, 0 pfrktable: 1240, 0, 4, 2, 4, 0 pfrkentry: 156, 0, 0, 0, 0, 0 pfrkentry2: 156, 0, 0, 0, 0, 0 pffrent: 16, 5075, 0, 0, 0, 0 pffrag: 48, 0, 0, 0, 0, 0 pffrcache: 48, 10062, 0, 0, 0, 0 pffrcent: 12, 50141, 0, 0, 0, 0 pfstatescrub: 28, 0, 0, 0, 0, 0 pfiaddrpl: 100, 0, 0, 0, 0, 0 pfospfen: 108, 0, 696, 24, 696, 0 pfosfp: 28, 0, 407, 228, 407, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq0: clk 202427 3551 irq5: sym0 sym1 94697 1661 irq6: fdc0 7 0 irq7: ppc0 1 0 irq8: rtc 25908 454 irq9: uhci0 uhci1* 44 0 irq11: vgapci0 de0 1 0 irq14: ata0 63 1 Total 323148 5669 ------------------------------------------------------------------------ pstat -T 10/12328 files 0M/2047M swap space ------------------------------------------------------------------------ pstat -s Device 512-blocks Used Avail Capacity /dev/da0s1b 4194048 0 4194048 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 da0 cd0 pass0 KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s 8.23 1631 13.11 0.00 0 0.00 0.00 0 0.00 ------------------------------------------------------------------------ ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME ------------------------------------------------------------------------ ipcs -T msginfo: msgmax: 16384 (max characters in a message) msgmni: 40 (# of message queues) msgmnb: 2048 (max characters in a message queue) msgtql: 40 (max # of messages in system) msgssz: 8 (size of a message segment) msgseg: 2048 (# of message segments in system) shminfo: shmmax: 33554432 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 192 (max number of shared memory identifiers) shmseg: 128 (max shared memory segments per process) shmall: 8192 (max amount of shared memory in pages) seminfo: semmap: 30 (# of entries in semaphore map) semmni: 10 (# of semaphore identifiers) semmns: 60 (# of semaphores in system) semmnu: 30 (# of undo structures in system) semmsl: 60 (max # of semaphores per id) semopm: 100 (max # of operations per semop call) semume: 10 (max # of undo entries per process) semusz: 136 (size in bytes of undo structure) semvmx: 32767 (semaphore maximum value) semaem: 16384 (adjust on exit max value) ------------------------------------------------------------------------ nfsstat Client Info: Rpc Counts: Getattr Setattr Lookup Readlink Read Write Create Remove 0 0 0 0 0 0 0 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 0 0 0 0 0 0 0 0 Mknod Fsstat Fsinfo PathConf Commit 0 0 0 0 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 0 0 0 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses 0 0 0 0 0 0 0 0 BioRLHits Misses BioD Hits Misses DirE Hits Misses 0 0 0 0 0 0 Server Info: Getattr Setattr Lookup Readlink Read Write Create Remove 0 0 0 0 0 0 0 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 0 0 0 0 0 0 0 0 Mknod Fsstat Fsinfo PathConf Commit 0 0 0 0 0 Server Ret-Failed 0 Server Faults 0 Server Cache Stats: Inprog Idem Non-idem Misses 0 0 0 0 Server Write Gathering: WriteOps WriteRPC Opsaved 0 0 0 ------------------------------------------------------------------------ netstat -s tcp: 0 packets sent 0 data packets (0 bytes) 0 data packets (0 bytes) retransmitted 0 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 0 ack-only packets (0 delayed) 0 URG only packets 0 window probe packets 0 window update packets 0 control packets 0 packets received 0 acks (for 0 bytes) 0 duplicate acks 0 acks for unsent data 0 packets (0 bytes) received in-sequence 0 completely duplicate packets (0 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 0 out-of-order packets (0 bytes) 0 packets (0 bytes) of data after window 0 window probes 0 window update packets 0 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 0 discarded due to memory problems 0 connection requests 0 connection accepts 0 bad connection attempts 0 listen queue overflows 0 ignored RSTs in the windows 0 connections established (including accepts) 0 connections closed (including 0 drops) 0 connections updated cached RTT on close 0 connections updated cached RTT variance on close 0 connections updated cached ssthresh on close 0 embryonic connections dropped 0 segments updated rtt (of 0 attempts) 0 retransmit timeouts 0 connections dropped by rexmit timeout 0 persist timeouts 0 connections dropped by persist timeout 0 Connections (fin_wait_2) dropped because of timeout 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 0 correct ACK header predictions 0 correct data packet header predictions 0 syncache entries added 0 retransmitted 0 dupsyn 0 dropped 0 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 0 badack 0 unreach 0 zone failures 0 cookies sent 0 cookies received 0 SACK recovery episodes 0 segment rexmits in SACK recovery episodes 0 byte rexmits in SACK recovery episodes 0 SACK options (SACK blocks) received 0 SACK options (SACK blocks) sent 0 SACK scoreboard overflow 0 packets with ECN CE bit set 0 packets with ECN ECT(0) bit set 0 packets with ECN ECT(1) bit set 0 successful ECN handshakes 0 times ECN reduced the congestion window udp: 0 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 0 delivered 0 datagrams output 0 times multicast source filter matched ip: 0 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 0 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 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 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 3 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 0 multicast packets which we don't join Mbuf statistics: 0 one mbuf 0 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not continuous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection Source addresses selection rule applied: icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation Output histogram: neighbor solicitation: 1 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 5/279/284 mbufs in use (current/cache/total) 18446744073709551602/148/134/25600 mbuf clusters in use (current/cache/total/max) 0/142 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) 18014398509481957K/365K/339K 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 de0 1500 00:40:05:a5:8d:b7 0 0 0 0 0 0 de0 1500 81.187.76.160 happy-idiot-talk 0 - 0 - - - de0 1500 fe80:1::240:5 fe80:1::240:5ff:f 0 - 0 - - - lo0 16384 0 0 0 0 0 0 lo0 16384 your-net localhost 0 - 0 - - - lo0 16384 localhost ::1 0 - 0 - - - lo0 16384 fe80:2::1 fe80:2::1 0 - 0 - - - gif0 1280 0 0 3 3 0 0 gif0 1280 fe80:3::240:5 fe80:3::240:5ff:f 0 - 0 - - - pflog 33200 0 0 0 0 0 0 ------------------------------------------------------------------------ netstat -anr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 81.187.76.160/29 link#1 U 0 0 de0 81.187.76.162 link#1 UHS 0 0 lo0 127.0.0.1 link#2 UH 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%de0/64 link#1 U de0 fe80::240:5ff:fea5:8db7%de0 link#1 UHS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 fe80::%gif0/64 link#3 U gif0 fe80::240:5ff:fea5:8db7%gif0 link#3 UHS lo0 ff01:1::/32 fe80::240:5ff:fea5:8db7%de0 U de0 ff01:2::/32 ::1 U lo0 ff01:3::/32 fe80::240:5ff:fea5:8db7%gif0 U gif0 ff02::%de0/32 fe80::240:5ff:fea5:8db7%de0 U de0 ff02::%lo0/32 ::1 U lo0 ff02::%gif0/32 fe80::240:5ff:fea5:8db7%gif0 U gif0 ------------------------------------------------------------------------ netstat -anA Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c741fd70 stream 0 0 0 c741fe1c 0 0 c741fe1c stream 0 0 0 c741fd70 0 0 ------------------------------------------------------------------------ netstat -aL ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root pfctl 420 root / 2 drwxr-xr-x 512 r root pfctl 420 wd / 2 drwxr-xr-x 512 r root pfctl 420 text / 895185 -r-xr-xr-x 205620 r root pfctl 420 0 /dev 4 crw------- console rw root pfctl 420 1 /dev 4 crw------- console rw root pfctl 420 2 /dev 4 crw------- console rw root pfctl 420 3 /dev 107 crw------- pf rw root pfctl 420 4 / 2614400 -rw-r--r-- 1437 r _pflogd pflogd 419 root / 3273736 dr-xr-xr-x 512 r _pflogd pflogd 419 wd / 3273736 dr-xr-xr-x 512 r _pflogd pflogd 419 jail / 3273736 dr-xr-xr-x 512 r _pflogd pflogd 419 text / 902277 -r-xr-xr-x 18796 r _pflogd pflogd 419 0 /dev 8 crw-rw-rw- null rw _pflogd pflogd 419 1 /dev 8 crw-rw-rw- null rw _pflogd pflogd 419 2 /dev 8 crw-rw-rw- null rw _pflogd pflogd 419 3 /dev 15 crw------- bpf rw _pflogd pflogd 419 4 / 3274016 -rw------- 85736 rw _pflogd pflogd 419 5* local stream c741fd70 <-> c741fe1c root sh 412 root / 2 drwxr-xr-x 512 r root sh 412 wd / 2 drwxr-xr-x 512 r root sh 412 text / 871467 -r-xr-xr-x 117916 r root sh 412 0 /dev 4 crw------- console rw root sh 412 1 /dev 4 crw------- console rw root sh 412 2 /dev 4 crw------- console rw root sh 412 10 / 2615070 -r-xr-xr-x 1351 r root pflogd 411 root / 2 drwxr-xr-x 512 r root pflogd 411 wd / 2 drwxr-xr-x 512 r root pflogd 411 text / 902277 -r-xr-xr-x 18796 r root pflogd 411 0 /dev 8 crw-rw-rw- null rw root pflogd 411 1 /dev 8 crw-rw-rw- null rw root pflogd 411 2 /dev 8 crw-rw-rw- null rw root pflogd 411 3 /dev 15 crw------- bpf rw root pflogd 411 4* local stream c741fe1c <-> c741fd70 root pfpurge 408 root / 2 drwxr-xr-x 512 r root pfpurge 408 wd / 2 drwxr-xr-x 512 r root sh 20 root / 2 drwxr-xr-x 512 r root sh 20 wd / 2 drwxr-xr-x 512 r root sh 20 text / 871467 -r-xr-xr-x 117916 r root sh 20 0 /dev 4 crw------- console rw root sh 20 1 /dev 4 crw------- console rw root sh 20 2 /dev 4 crw------- console rw root sh 20 10 / 2614372 -rw-r--r-- 3722 r root init 1 root / 2 drwxr-xr-x 512 r root init 1 wd / 2 drwxr-xr-x 512 r root init 1 text / 902267 -r-xr-xr-x 662248 r root kernel 0 root / 2 drwxr-xr-x 512 r root kernel 0 wd / 2 drwxr-xr-x 512 r ------------------------------------------------------------------------ dmesg Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-STABLE #13: Sun Dec 13 20:25:24 GMT 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(TM) XP1600+ (1400.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480800 real memory = 3221225472 (3072 MB) avail memory = 3137409024 (2992 MB) WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xee000000-0xeeffffff,0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] pcm0: port 0xd800-0xd8ff irq 10 at device 5.0 on pci0 pcm0: [ITHREAD] de0: port 0xd400-0xd47f mem 0xed800000-0xed80007f irq 11 at device 13.0 on pci0 de0: 21140A [10-100Mb/s] pass 2.2 de0: WARNING: using obsoleted if_watchdog interface de0: Ethernet address: 00:40:05:a5:8d:b7 de0: [ITHREAD] sym0: <1010-33> port 0xd000-0xd0ff mem 0xed000000-0xed0003ff,0xec800000-0xec801fff irq 5 at device 15.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym0: [ITHREAD] sym1: <1010-33> port 0xb800-0xb8ff mem 0xec000000-0xec0003ff,0xeb800000-0xeb801fff irq 5 at device 15.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-80, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. sym1: handling phase mismatch from SCRIPTS. sym1: [ITHREAD] isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb400-0xb40f at device 17.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xb000-0xb01f irq 9 at device 17.2 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xa800-0xa81f irq 9 at device 17.3 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xa400-0xa41f irq 9 at device 17.4 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 atrtc0: port 0x70-0x73 irq 8 on acpi0 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppc0: [ITHREAD] ppbus0: on ppc0 lpt0: on ppbus0 lpt0: [ITHREAD] lpt0: Interrupt-driven port ppi0: on ppbus0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff,0xd0000-0xd3fff,0xd4000-0xd7fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1400060395 Hz quality 800 Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 uhid0: on usbus0 acd0: DVDR at ata0-master UDMA33 ugen0.3: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe30:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe30:ata0:0:0:0): CAM Status: SCSI Status Error (probe30:ata0:0:0:0): SCSI Status: Check Condition (probe30:ata0:0:0:0): NOT READY asc:3a,0 (probe30:ata0:0:0:0): Medium not present (probe30:ata0:0:0:0): Unretryable error da0 at sym0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz DT, offset 62, 16bit) da0: Command Queueing enabled da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) cd0 at ata0 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted Setting hostuuid: e3c64627-7c0c-11dc-b8b0-004005a58db7. Setting hostid: 0x5037cc28. Entropy harvesting: interrupts ethernet point_to_point kickstart . Starting file system checks: /dev/da0s1a: phase 2: dir 55665 of 76041 (73%) /dev/da0s1a: 1334659 files, 8923591 used, 7415482 free (757890 frags, 832199 blocks, 4.6% fragmentation) Script /etc/rc.d/fsck running Mounting local file systems: . Setting hostname: happy-idiot-talk.infracaninophile.co.uk . Starting Network: lo0 de0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 nd6 options=3 de0: flags=8c43 metric 0 mtu 1500 ether 00:40:05:a5:8d:b7 inet 81.187.76.162 netmask 0xfffffff8 broadcast 81.187.76.167 inet6 fe80::240:5ff:fea5:8db7%de0 prefixlen 64 tentative scopeid 0x1 nd6 options=3 media: Ethernet autoselect Starting pflog. Enabling pf Dec 14 08:46:13 pflogd[411]: [priv]: msg PRIV_OPEN_LOG received Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0928873 stack pointer = 0x28:0xe9495a7c frame pointer = 0x28:0xe9495a90 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 = 420 (pfctl) trap number = 12 panic: page fault cpuid = 0 Uptime: 3m22s Physical memory: 3051 MB Dumping 96 MB: 81 65 49 33 17 1 ------------------------------------------------------------------------ kernel config config: File /boot/kernel.old/kernel doesn't contain configuration file. Either unsupported, or not compiled with INCLUDE_CONFIG_FILE ------------------------------------------------------------------------ ddb capture buffer ddb: ddb_capture: kvm_nlist --- core.txt.5 ends here --- >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: bz State-Changed-When: Mon Dec 14 13:43:27 UTC 2009 State-Changed-Why: VIMAGE is experimental and the used feature has not yet been virtualized. Responsible-Changed-From-To: freebsd-bugs->bz Responsible-Changed-By: bz Responsible-Changed-When: Mon Dec 14 13:43:27 UTC 2009 Responsible-Changed-Why: Take in case of further follow-ups. http://www.freebsd.org/cgi/query-pr.cgi?pr=141457 From: "Bjoern A. Zeeb" To: Matthew Seaman Cc: bug-followup@FreeBSD.org Subject: Re: kern/141457: page fault while in kernel mode on VIMAGE enabled kernel Date: Mon, 14 Dec 2009 13:43:15 +0000 (UTC) On Mon, 14 Dec 2009, Matthew Seaman wrote: > >> Number: 141457 >> Category: kern >> Synopsis: page fault while in kernel mode on VIMAGE enabled kernel ... > <118>Starting pflog. > <118>Enabling pf > <118>Dec 14 08:46:13 pflogd[411]: [priv]: msg PRIV_OPEN_LOG received > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x18 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0928873 > stack pointer = 0x28:0xe9495a7c > frame pointer = 0x28:0xe9495a90 > 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 = 420 (pfctl) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 3m22s > Physical memory: 3051 MB > Dumping 96 MB: 81 65 49 33 17 1 neither 9-CURRENT nor stable/8 has a virtualized pf(4). You'd need to remove that from your kernel and not load it to avoid any trouble. -- Bjoern A. Zeeb It will not break if you know what you are doing. >Unformatted: