sthaug at nethelp.no
2015-Jan-03 17:02 UTC
10.1-STABLE/i386 GENERIC + VIMAGE: Panic when going multiuser
I have a reproducible crash in 10.1-STABLE/i386, svn updated to r276174. The kernel is based on GENERIC with *one* line added: options VIMAGE. I can boot to single user with no problem. Going multiuser results in immediate crash with backtrace #0 0xc0b59be2 at kdb_backtrace+0x52 #1 0xc0b1b65f at panic+0x11f #2 0xc0dd1666 at vm_fault_hold+0x2076 #3 0xc0dcf5b1 at vm_fault+0x81 #4 0xc103008b at trap_pfault+0x1bb #5 0xc102f8e4 at trap+0x674 #6 0xc101ad0c at calltrap+0x6 #7 0xc0d0ca7a at sysctl_ip6_temppltime+0x3a #8 0xc0b28031 at sysctl_root+0x2b1 #9 0xc0b2862a at userland_sysctl+0x1fa #10 0xc0b283e8 at sys___sysctl+0x98 #11 0xc1030986 at syscall+0x4a6 #12 0xc101ada1 at Xint0x80_syscall+0x21 The full core.txt.1 is included below. /var/crash/vmcore.1 is also available if anybody is interested. Is this a known problem? The server boots a GENERIC kernel built from the same source code with no problems. Steinar Haug, Nethelp consulting, sthaug at nethelp.no ---------------------------------------------------------------------- verdi.nethelp.no dumped core - see /var/crash/vmcore.1 Sat Jan 3 16:42:48 CET 2015 FreeBSD verdi.nethelp.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r276174: Sat Jan 3 16:00:06 CET 2015 root at verdi.nethelp.no:/usr/src/sys/i386/compile/GENERICV i386 panic: vm_fault: fault on nofault entry, addr: cc10f000 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-2014 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 10.1-STABLE #0 r276174: Sat Jan 3 16:00:06 CET 2015 root at verdi.nethelp.no:/usr/src/sys/i386/compile/GENERICV i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2793.06-MHz 686-class CPU) Origin="GenuineIntel" Id=0xf47 Family=0xf Model=0x4 Stepping=7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2083926016 (1987 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <DELL PESC430> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. ioapic0: Changing APIC ID to 8 ioapic0 <Version 2.0> irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 random: <Software, Yarrow> initialized acpi0: <DELL PESC430> on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 7ee8cc00 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x5f irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 em0: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xdcc0-0xdcdf mem 0xfe880000-0xfe89ffff,0xfe8a0000-0xfe8bffff irq 16 at device 0.0 on pci2 em0: Using an MSI interrupt em0: Ethernet address: 00:15:17:36:bc:e8 em1: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xdce0-0xdcff mem 0xfe8c0000-0xfe8dffff,0xfe8e0000-0xfe8fffff irq 17 at device 0.1 on pci2 em1: Using an MSI interrupt em1: Ethernet address: 00:15:17:36:bc:e9 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 pci3: <ACPI PCI bus> on pcib3 bge0: <Broadcom NetXtreme PCIe Ethernet Adapter, ASIC rev. 0x004101> mem 0xfe7f0000-0xfe7fffff irq 16 at device 0.0 on pci3 bge0: CHIP ID 0x00004101; ASIC REV 0x04; CHIP REV 0x41; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM5750 1000BASE-T media interface> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:10:18:1c:60:ce pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0 pci4: <ACPI PCI bus> on pcib4 bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x004001> mem 0xfe6f0000-0xfe6fffff irq 17 at device 0.0 on pci4 bge1: CHIP ID 0x00004001; ASIC REV 0x04; CHIP REV 0x40; PCI-E miibus1: <MII bus> on bge1 brgphy1: <BCM5750 1000BASE-T media interface> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:13:72:20:b4:6f uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xff80-0xff9f irq 21 at device 29.0 on pci0 usbus0 on uhci0 uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xff60-0xff7f irq 22 at device 29.1 on pci0 usbus1 on uhci1 uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xff40-0xff5f irq 18 at device 29.2 on pci0 usbus2 on uhci2 uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xff20-0xff3f irq 23 at device 29.3 on pci0 usbus3 on uhci3 ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci5: <ACPI PCI bus> on pcib5 vgapci0: <VGA-compatible display> port 0xcc80-0xccff mem 0xfc000000-0xfdffffff,0xfe4c0000-0xfe4fffff at device 7.0 on pci5 vgapci0: Boot video device isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 atapci1: <Intel ICH7 SATA300 controller> port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0 ata2: <ATA channel> at channel 0 on atapci1 ata3: <ATA channel> at channel 1 on atapci1 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcafff,0xcb000-0xcbfff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. p4tcc0: <CPU Frequency Thermal Control> on cpu0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 Timecounters tick every 1.000 msec random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen2.1: <Intel> at usbus2 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen4.1: <Intel> at usbus4 uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: <HL-DT-ST CD-ROM GCR-8485B 1.06> Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present ada0 at ata2 bus 0 scbus1 target 0 lun 0 ada0: <ST3500320AS SD15> ATA-8 SATA 2.x device ada0: Serial Number 9QM098KE ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ata3 bus 0 scbus2 target 0 lun 0 ada1: <ST3500320AS SD15> ATA-8 SATA 2.x device ada1: Serial Number 9QM0D4DL ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1396528035 Hz quality 1000 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub2: 8 ports with 8 removable, self powered Trying to mount root from ufs:/dev/ada0s1a [rw]... <118>Setting hostuuid: 44454c4c-4400-104a-8054-b8c04f43324a. <118>Setting hostid: 0xde1f5676. <118>Entropy harvesting: interrupts ethernet point_to_point panic: vm_fault: fault on nofault entry, addr: cc10f000 cpuid = 1 KDB: stack backtrace: #0 0xc0b59be2 at kdb_backtrace+0x52 #1 0xc0b1b65f at panic+0x11f #2 0xc0dd1666 at vm_fault_hold+0x2076 #3 0xc0dcf5b1 at vm_fault+0x81 #4 0xc103008b at trap_pfault+0x1bb #5 0xc102f8e4 at trap+0x674 #6 0xc101ad0c at calltrap+0x6 #7 0xc0d0ca7a at sysctl_ip6_temppltime+0x3a #8 0xc0b28031 at sysctl_root+0x2b1 #9 0xc0b2862a at userland_sysctl+0x1fa #10 0xc0b283e8 at sys___sysctl+0x98 #11 0xc1030986 at syscall+0x4a6 #12 0xc101ada1 at Xint0x80_syscall+0x21 Uptime: 7s Physical memory: 2026 MB Dumping 72 MB: 57 41 25 9 #0 doadump (textdump=-961848576) at pcpu.h:233 233 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=-961848576) at pcpu.h:233 #1 0xc0b1b2cd in kern_reboot (howto=260) at ../../../kern/kern_shutdown.c:452 #2 0xc0b1b69d in panic (fmt=<value optimized out>) at ../../../kern/kern_shutdown.c:759 #3 0xc0dd1666 in vm_fault_hold (map=<value optimized out>, vaddr=<value optimized out>, fault_type=<value optimized out>, fault_flags=<value optimized out>, m_hold=<value optimized out>) at ../../../vm/vm_fault.c:341 #4 0xc0dcf5b1 in vm_fault (map=0xc1a6d000, vaddr=<value optimized out>, fault_type=0 '\0', fault_flags=<value optimized out>) at ../../../vm/vm_fault.c:281 #5 0xc103008b in trap_pfault (frame=<value optimized out>, usermode=0, eva=3337976768) at ../../../i386/i386/trap.c:914 #6 0xc102f8e4 in trap (frame=0xee3b4a34) at ../../../i386/i386/trap.c:532 #7 0xc101ad0c in calltrap () at ../../../i386/i386/exception.s:170 #8 0xc102d8d3 in copyout () at ../../../i386/i386/support.s:315 Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) ------------------------------------------------------------------------ ps -axlww UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 0 -8 0 0 1165024 - DLs - 0:00.01 [kernel] 0 1 0 0 20 0 9364 4180960 wait DLs - 0:00.00 [init] 0 2 0 0 -16 0 0 1165024 - DL - 0:00.01 [cam] 0 3 0 0 -16 0 0 1165024 - DL - 0:00.00 [fdc0] 0 4 0 0 -16 0 0 1165024 waiting_ DL - 0:00.00 [sctp_iterator] 0 5 0 0 -16 0 0 1165024 psleep DL - 0:00.00 [pagedaemon] 0 6 0 0 -16 0 0 1165024 psleep DL - 0:00.00 [vmdaemon] 0 7 0 0 155 0 0 1165024 pgzero DL - 0:00.00 [pagezero] 0 8 0 0 -16 0 0 1165024 psleep DL - 0:00.00 [bufdaemon] 0 9 0 0 -16 0 0 1165024 vlruwt DL - 0:00.00 [vnlru] 0 10 0 0 -16 0 0 1165024 audit_wo DL - 0:00.00 [audit] 0 11 0 0 155 0 0 1165024 - RL - 0:07.56 [idle] 0 12 0 0 -84 0 0 1165024 - WL - 0:00.01 [intr] 0 13 0 0 -8 0 0 1165024 - DL - 0:00.02 [geom] 0 14 0 0 -16 0 0 1165024 - DL - 0:00.00 [rand_harvestq] 0 15 0 0 -68 0 0 1165024 - DL - 0:00.01 [usb] 0 16 0 0 16 0 0 1165024 syncer DL - 0:00.00 [syncer] 0 17 1 0 52 0 10520 0 wait Ds+ - 0:00.02 [sh] 0 37 17 0 52 0 10520 745920 wait D+ - 0:00.01 [sh] 0 42 37 0 52 0 10520 989760 wait D+ - 0:00.00 [sh] 0 44 37 0 52 0 10024 4155184 piperd D+ - 0:00.00 [dd] 0 45 42 0 72 0 10020 4182176 - R+ - 0:00.01 [sysctl] ------------------------------------------------------------------------ vmstat -s 12039 cpu context switches 1413 device interrupts 108 software interrupts 2098 traps 15495 system calls 16 kernel threads created 21 fork() calls 8 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 88 vnode pager pageins 695 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 0 pages reactivated 655 copy-on-write faults 2 copy-on-write optimized faults 1406 zero fill pages zeroed 69 zero fill pages prezeroed 0 intransit blocking page faults 2682 total VM faults taken 71 page faults requiring I/O 0 pages affected by kernel thread creation 764 pages affected by fork() 272 pages affected by vfork() 0 pages affected by rfork() 0 pages cached 11851 pages freed 0 pages freed by daemon 0 pages freed by exiting processes 339 pages active 1041 pages inactive 0 pages in VM cache 3544 pages wired down 504928 pages free 4096 bytes per page 1129 total name lookups cache hits (74% pos + 3% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% ------------------------------------------------------------------------ vmstat -m Type InUse MemUse HighUse Requests Size(s) isadev 9 1K - 9 64 kbdmux 6 22K - 6 16,256,1024,2048,16384 cdev 5 1K - 5 128 filedesc 22 22K - 46 1024 kdtrace 99 21K - 123 64,256 kenv 87 7K - 101 16,32,64,128,4096 proc-args 4 1K - 20 32,64,128 LED 4 1K - 4 16,64 hhook 2 1K - 2 128 ithread 76 7K - 76 16,64,128 entropy 1026 65K - 1026 16,64 KTRACE 100 13K - 100 128 acpiintr 1 1K - 1 32 linker 146 5K - 148 16,32,256 acpica 1718 91K - 46389 16,32,64,128,256,512,1024 lockf 2 1K - 2 64 loginclass 2 1K - 2 64 devbuf 2396 1070K - 2476 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536 temp 23 225K - 222 16,32,64,128,256,512,1024,2048,16384,65536 ip6ndp 5 1K - 5 64 module 526 34K - 526 64,128 mtx_pool 2 8K - 2 4096 CAM path 10 1K - 57 16 pmchooks 1 1K - 1 64 pgrp 2 1K - 2 64 session 2 1K - 2 128 proc 2 8K - 2 4096 subproc 53 96K - 77 256,4096 cred 10 1K - 90 64,128 plimit 2 1K - 2 256 uidinfo 2 2K - 2 64,1024 ata_pci 2 1K - 2 32 acpitask 1 4K - 1 4096 sysctl 0 0K - 22 16,32,64 sysctloid 4128 129K - 4210 16,32,64,128 sysctltmp 0 0K - 67 16,32,64,128,4096 acpisem 20 3K - 20 64,128 tidhash 1 8K - 1 8192 callout 3 1052K - 3 umtx 160 15K - 160 64,128 p1003.1b 1 1K - 1 16 bus 1568 158K - 4787 16,32,64,128,256,1024 bus-sc 70 291K - 2757 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536 CAM periph 8 1K - 24 16,32,64,128 devstat 8 17K - 8 16,4096 eventhandler 90 5K - 90 32,64,128 acpidev 30 1K - 30 32 kobj 368 736K - 580 2048 feeder 7 1K - 7 16 Per-cpu 1 1K - 1 16 rman 182 11K - 547 16,32,64 sbuf 0 0K - 1250 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536 stack 0 0K - 2 128 taskqueue 25 2K - 25 16,128 Unitno 19 2K - 33 16,64 iov 0 0K - 1019 64 msg 4 25K - 4 1024,4096,16384 sem 4 101K - 4 1024,4096 shm 1 16K - 1 16384 tty 18 9K - 20 512,1024 shmfd 1 4K - 1 4096 pcb 14 204K - 14 16,64,512,1024,4096,65536 vfscache 1 512K - 1 vfs_hash 1 256K - 1 vnodes 1 1K - 1 128 mount 16 1K - 22 16,32,64,128,256 BPF 5 1K - 5 64 ifnet 6 6K - 6 64,1024 ifaddr 66 9K - 66 16,32,64,128,256,512,1024,2048 clone 7 1K - 7 128 arpcom 4 1K - 4 16 lltable 10 3K - 10 256 DEVFS3 135 17K - 136 128 DEVFS1 116 29K - 116 256 DEVFS 23 1K - 24 16,64 routetbl 7 2K - 7 256 vnet 1 1K - 1 32 vnet_data 1 32K - 1 32768 vnet_data_free 1 1K - 1 16 igmp 5 1K - 5 128 sctp_vrf 1 1K - 1 64 hostcache 1 16K - 1 16384 syncache 1 64K - 1 65536 mld 5 1K - 5 128 rpc 2 16K - 2 8192 audit_evclass 187 3K - 229 16 ufs_dirhash 6 2K - 6 16,512 ufs_quota 1 256K - 1 ufs_mount 3 13K - 3 256,4096,8192 vm_pgdata 1 64K - 1 65536 atkbddev 2 1K - 2 32 pfs_nodes 21 3K - 21 128 GEOM 222 55K - 893 16,32,64,128,256,512,1024,2048,8192 CAM queue 11 2K - 35 16,256 CAM dev queue 4 1K - 4 64 raid_data 0 0K - 138 16,128 CAM SIM 4 1K - 4 128 scsi_cd 0 0K - 5 16 UART 3 2K - 3 16,512,1024 memdesc 1 4K - 1 4096 pci_link 16 2K - 16 64,128 apmdev 1 1K - 1 64 madt_table 0 0K - 1 2048 CAM XPT 30 2K - 126 16,32,128,256,512,1024,2048,65536 io_apic 1 1K - 1 1024 CAM DEV 7 14K - 14 2048 MCA 4 1K - 4 128 msi 2 1K - 2 64 nexusdev 3 1K - 3 16 CAM CCB 0 0K - 726 2048 USB 30 12K - 30 16,64,256,2048 USBdev 25 2K - 25 32,128,256 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 256, 0, 104, 1, 104, 0, 0 UMA Zones: 432, 0, 104, 4, 104, 0, 0 UMA Slabs: 56, 0, 405, 27, 480, 0, 0 UMA RCntSlabs: 64, 0, 0, 0, 0, 0, 0 UMA Hash: 128, 0, 7, 24, 7, 0, 0 4 Bucket: 16, 0, 15, 741, 105, 0, 0 6 Bucket: 24, 0, 1, 335, 121, 0, 0 8 Bucket: 32, 0, 4, 626, 180, 0, 0 12 Bucket: 48, 0, 0, 0, 0, 0, 0 16 Bucket: 64, 0, 14, 553, 33, 8, 0 32 Bucket: 128, 0, 9, 270, 18, 0, 0 64 Bucket: 256, 0, 22, 113, 68, 0, 0 128 Bucket: 512, 0, 18, 46, 40, 0, 0 256 Bucket: 1024, 0, 29, 7, 97, 0, 0 vmem btag: 28, 0, 1598, 274, 1598, 12, 0 VM OBJECT: 156, 0, 317, 58, 611, 0, 0 RADIX NODE: 44, 504504, 804, 288, 2995, 0, 0 MAP: 144, 0, 3, 81, 3, 0, 0 KMAP ENTRY: 76, 0, 5, 154, 5, 0, 0 MAP ENTRY: 76, 0, 72, 193, 817, 0, 0 VMSPACE: 240, 0, 6, 122, 31, 0, 0 fakepg: 68, 0, 0, 0, 0, 0, 0 mt_zone: 2060, 0, 362, 1, 362, 0, 0 16: 16, 0, 3299, 481, 28758, 0, 0 32: 32, 0, 2347, 551, 5835, 0, 0 64: 64, 0, 4649, 454, 23838, 0, 0 128: 128, 0, 2441, 194, 4200, 0, 0 256: 256, 0, 571, 44, 1344, 0, 0 512: 512, 0, 47, 73, 594, 0, 0 1024: 1024, 0, 142, 30, 2433, 0, 0 2048: 2048, 0, 393, 13, 1566, 0, 0 4096: 4096, 0, 44, 2, 305, 0, 0 8192: 8192, 0, 11, 3, 366, 0, 0 16384: 16384, 0, 12, 2, 310, 0, 0 32768: 32768, 0, 10, 3, 108, 0, 0 65536: 65536, 0, 6, 2, 63, 0, 0 SLEEPQUEUE: 44, 0, 81, 234, 81, 0, 0 64 pcpu: 8, 0, 1447, 89, 1447, 0, 0 ptr pcpu: 4, 0, 0, 0, 0, 0, 0 Files: 56, 0, 7, 569, 288, 0, 0 rl_entry: 28, 0, 8, 568, 8, 0, 0 TURNSTILE: 72, 0, 81, 74, 81, 0, 0 umtx pi: 52, 0, 0, 0, 0, 0, 0 MAC labels: 20, 0, 0, 0, 0, 0, 0 PROC: 752, 0, 21, 9, 45, 0, 0 THREAD: 772, 0, 76, 4, 76, 0, 0 cpuset: 40, 0, 69, 234, 69, 0, 0 audit_record: 1112, 0, 0, 0, 0, 0, 0 mbuf_packet: 256, 168765, 0, 2, 0, 0, 0 mbuf: 256, 168765, 1, 254, 1, 0, 0 mbuf_cluster: 2048, 26368, 0, 0, 0, 0, 0 mbuf_jumbo_page: 4096, 13184, 0, 0, 0, 0, 0 mbuf_jumbo_9k: 9216, 11718, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 8788, 0, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0 g_bio: 152, 0, 0, 208, 2873, 0, 0 ttyinq: 152, 0, 15, 63, 15, 0, 0 ttyoutq: 256, 0, 8, 67, 8, 0, 0 ata_request: 220, 0, 1, 197, 1868, 0, 0 vtnet_tx_hdr: 16, 0, 0, 0, 0, 0, 0 FPU_save_area: 512, 0, 0, 0, 0, 0, 0 VNODE: 284, 0, 208, 30, 209, 0, 0 VNODEPOLL: 60, 0, 0, 0, 0, 0, 0 BUF TRIE: 44, 0, 8, 5816, 8, 0, 0 S VFS Cache: 72, 0, 212, 180, 241, 0, 0 STS VFS Cache: 92, 0, 0, 0, 0, 0, 0 L VFS Cache: 292, 0, 0, 0, 0, 0, 0 LTS VFS Cache: 312, 0, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 28, 518, 0, 0 DIRHASH: 1024, 0, 4, 12, 4, 0, 0 NCLNODE: 360, 0, 0, 0, 0, 0, 0 Mountpoints: 672, 0, 2, 16, 2, 0, 0 pipe: 408, 0, 1, 35, 10, 0, 0 procdesc: 72, 0, 0, 0, 0, 0, 0 ksiginfo: 80, 0, 15, 1035, 15, 0, 0 itimer: 232, 0, 0, 0, 0, 0, 0 KNOTE: 72, 0, 0, 0, 0, 0, 0 socket: 424, 64836, 0, 0, 0, 0, 0 unpcb: 172, 64837, 0, 0, 0, 0, 0 ipq: 32, 882, 0, 0, 0, 0, 0 udp_inpcb: 252, 64848, 0, 0, 0, 0, 0 udpcb: 12, 65016, 0, 0, 0, 0, 0 tcp_inpcb: 252, 64848, 0, 0, 0, 0, 0 tcpcb: 752, 64840, 0, 0, 0, 0, 0 tcptw: 60, 12998, 0, 0, 0, 0, 0 syncache: 124, 15360, 0, 0, 0, 0, 0 hostcache: 76, 15370, 0, 0, 0, 0, 0 tcpreass: 20, 1818, 0, 0, 0, 0, 0 sackhole: 20, 0, 0, 0, 0, 0, 0 sctp_ep: 980, 64836, 0, 0, 0, 0, 0 sctp_asoc: 1656, 40000, 0, 0, 0, 0, 0 sctp_laddr: 24, 80136, 0, 0, 0, 0, 0 sctp_raddr: 532, 80003, 0, 0, 0, 0, 0 sctp_chunk: 96, 400008, 0, 0, 0, 0, 0 sctp_readq: 76, 400044, 0, 0, 0, 0, 0 sctp_stream_msg_out: 68, 400020, 0, 0, 0, 0, 0 sctp_asconf: 24, 400008, 0, 0, 0, 0, 0 sctp_asconf_ack: 24, 400008, 0, 0, 0, 0, 0 udplite_inpcb: 252, 64848, 0, 0, 0, 0, 0 ripcb: 252, 64848, 0, 0, 0, 0, 0 rtentry: 108, 0, 0, 0, 0, 0, 0 selfd: 28, 0, 0, 0, 0, 0, 0 SWAPMETA: 276, 131082, 0, 0, 0, 0, 0 FFS inode: 116, 0, 200, 208, 200, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 200, 115, 200, 0, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq6: fdc0 11 0 irq14: ata0 24 0 irq20: hpet0+ 1376 44 irq21: uhci0 ehci0 2 0 Total 1413 45 ------------------------------------------------------------------------ pstat -T 7/64832 files 0M/0M swap space ------------------------------------------------------------------------ pstat -s Device 512-blocks Used Avail Capacity ------------------------------------------------------------------------ iostat iostat: kvm_read(_tk_nin): invalid address (0x0) iostat: disabling TTY statistics ada0 ada1 cd0 cpu KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 8.91 17 0.15 2.71 4 0.01 0.00 0 0.00 0 0 15 0 85 ------------------------------------------------------------------------ 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: 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: 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 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 Accs Hits Misses 0 0 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 15479564166563417303 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 14005573705234158122 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 9794625110283851680 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 14005573670874418662 badack 0 unreach 0 zone failures 0 cookies sent 0 cookies received 0 hostcache entries added 10184538167154794752 bucket overflow 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 72902022207830293 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 9794625110283851680 packets with valid tcp-md5 signature received 0 packets with invalid tcp-md5 signature received 0 packets with tcp-md5 signature mismatch 0 packets with unexpected tcp-md5 signature received 0 packets without expected tcp-md5 signature received 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 14335700371722380176 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 14315188807169736704 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 14315188669730783232 with bad options 14315188738450259968 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 14315188536586797056 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 14315188841529475072 packets received for unknown multicast group 0 redirects sent 14315188463572353024 packets sent from this host 14315188772809998336 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 14315188704090521600 output packets discarded due to no route 14315188566651568128 output datagrams fragmented 14315188601011306496 fragments created 14315188635371044864 datagrams that can't be fragmented 14315188875889213440 tunneling packets that can't find gif 14315188910248951808 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 3333014576 multicast timestamp requests ignored Input histogram: IPv6 i-am-here: 3333014544 domain name reply: 3333014561 icmp photuris: 3333014568 0 message responses generated 0 invalid return addresses 3333014584 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 arp: 0 ARP requests sent 0 ARP replies sent 0 ARP requests received 0 ARP replies received 0 ARP packets received 0 total packets dropped due to no ARP entry 0 ARP entrys timed out 0 Duplicate IPs seen ip6: 0 total packets received 0 with size smaller than minimum 0 with data size < data length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 fragments that exceeded limit 0 packets reassembled ok 0 packets for this host 0 packets forwarded 0 packets not forwardable 0 redirects sent 0 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 0 multicast packets which we don't join Input histogram: #185: 10195361075762210176 #197: 9794625110283851680 #198: 75153822021396996 #200: 13931259880027054932 #203: 13768611142046192725 Mbuf statistics: 0 one mbuf 0 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not contiguous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection Source addresses selection rule applied: icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Input histogram: #12: 9794625110283851680 #13: 75153822021396996 #30: 3333020536 #33: 13261511704021832909 #45: 10204206368596083640 #46: 10204206334236345256 #47: 72902022207741397 #48: 10204276428102632280 #49: 10204276393742893896 #58: 14315149606041279496 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 14315222617152290816 bad router advertisement messages 3333022504 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 netstat: invalid address (0x0) 1/256/257 mbufs in use (current/cache/total) 18446744073709551614/2/0/26368 mbuf clusters in use (current/cache/total/max) 0/2 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/13184 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/11718 9k jumbo clusters in use (current/cache/total/max) 0/0/0/8788 16k jumbo clusters in use (current/cache/total/max) 18014398509481980K/68K/64K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) ------------------------------------------------------------------------ netstat -anr Routing tables Internet: Destination Gateway Flags Netif Expire Internet6: Destination Gateway Flags Netif Expire ------------------------------------------------------------------------ netstat -anA ------------------------------------------------------------------------ netstat -aL ------------------------------------------------------------------------ fstat fstat: can't read file 1 at 0xffffffff fstat: can't read file 2 at 0x200007f fstat: can't read file 1 at 0xffffffff fstat: can't read file 2 at 0x200007f fstat: can't read file 3 at 0x1fffff fstat: can't read file 1 at 0xffffffff fstat: can't read file 2 at 0x200007f fstat: can't read file 1 at 0xffffffff fstat: can't read file 2 at 0x200007f fstat: can't read file 3 at 0x1fffff fstat: can't read file 4 at 0x4000000 fstat: can't read file 6 at 0xffff fstat: can't read file 7 at 0x78 fstat: can't read file 9 at 0x2 fstat: can't read file 1 at 0xffffffff fstat: can't read file 2 at 0x200007f fstat: can't read file 3 at 0x1fffff fstat: can't read file 4 at 0x4000000 fstat: can't read file 6 at 0xffff fstat: can't read file 7 at 0x78 fstat: can't read file 9 at 0x2 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root sysctl 45 root / 2 drwxr-xr-x 512 r root sysctl 45 wd / 2 drwxr-xr-x 512 r root sysctl 45 text / 1524918 -r-xr-xr-x 18692 r root sysctl 45 ctty /dev 6 crw------- console rw root sysctl 45 0 /dev 6 crw------- console rw root dd 44 root / 2 drwxr-xr-x 512 r root dd 44 wd / 2 drwxr-xr-x 512 r root dd 44 text / 1043338 -r-xr-xr-x 23216 r root dd 44 ctty /dev 6 crw------- console rw root dd 44 0* pipe c7024cc0 <-> c7024d80 0 rw root sh 42 root / 2 drwxr-xr-x 512 r root sh 42 wd / 2 drwxr-xr-x 512 r root sh 42 text / 1043355 -r-xr-xr-x 119532 r root sh 42 ctty /dev 6 crw------- console rw root sh 42 0 /dev 6 crw------- console rw root sh 37 root / 2 drwxr-xr-x 512 r root sh 37 wd / 2 drwxr-xr-x 512 r root sh 37 text / 1043355 -r-xr-xr-x 119532 r root sh 37 ctty /dev 6 crw------- console rw root sh 37 0 /dev 6 crw------- console rw root sh 37 10 /dev 6 crw------- console rw root sh 17 root / 2 drwxr-xr-x 512 r root sh 17 wd / 2 drwxr-xr-x 512 r root sh 17 text / 1043355 -r-xr-xr-x 119532 r root sh 17 ctty /dev 6 crw------- console rw root sh 17 0 /dev 6 crw------- console rw root sh 17 10 /dev 6 crw------- console rw root init 1 root / 2 drwxr-xr-x 512 r root init 1 wd / 2 drwxr-xr-x 512 r root init 1 text / 1524958 -r-xr-xr-x 889024 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-2014 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 10.1-STABLE #0 r276174: Sat Jan 3 16:00:06 CET 2015 root at verdi.nethelp.no:/usr/src/sys/i386/compile/GENERICV i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2793.06-MHz 686-class CPU) Origin="GenuineIntel" Id=0xf47 Family=0xf Model=0x4 Stepping=7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2083926016 (1987 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <DELL PESC430> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. ioapic0: Changing APIC ID to 8 ioapic0 <Version 2.0> irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 random: <Software, Yarrow> initialized acpi0: <DELL PESC430> on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 7ee8cc00 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x5f irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 em0: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xdcc0-0xdcdf mem 0xfe880000-0xfe89ffff,0xfe8a0000-0xfe8bffff irq 16 at device 0.0 on pci2 em0: Using an MSI interrupt em0: Ethernet address: 00:15:17:36:bc:e8 em1: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xdce0-0xdcff mem 0xfe8c0000-0xfe8dffff,0xfe8e0000-0xfe8fffff irq 17 at device 0.1 on pci2 em1: Using an MSI interrupt em1: Ethernet address: 00:15:17:36:bc:e9 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 pci3: <ACPI PCI bus> on pcib3 bge0: <Broadcom NetXtreme PCIe Ethernet Adapter, ASIC rev. 0x004101> mem 0xfe7f0000-0xfe7fffff irq 16 at device 0.0 on pci3 bge0: CHIP ID 0x00004101; ASIC REV 0x04; CHIP REV 0x41; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM5750 1000BASE-T media interface> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:10:18:1c:60:ce pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0 pci4: <ACPI PCI bus> on pcib4 bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x004001> mem 0xfe6f0000-0xfe6fffff irq 17 at device 0.0 on pci4 bge1: CHIP ID 0x00004001; ASIC REV 0x04; CHIP REV 0x40; PCI-E miibus1: <MII bus> on bge1 brgphy1: <BCM5750 1000BASE-T media interface> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:13:72:20:b4:6f uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xff80-0xff9f irq 21 at device 29.0 on pci0 usbus0 on uhci0 uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xff60-0xff7f irq 22 at device 29.1 on pci0 usbus1 on uhci1 uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xff40-0xff5f irq 18 at device 29.2 on pci0 usbus2 on uhci2 uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xff20-0xff3f irq 23 at device 29.3 on pci0 usbus3 on uhci3 ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci5: <ACPI PCI bus> on pcib5 vgapci0: <VGA-compatible display> port 0xcc80-0xccff mem 0xfc000000-0xfdffffff,0xfe4c0000-0xfe4fffff at device 7.0 on pci5 vgapci0: Boot video device isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 atapci1: <Intel ICH7 SATA300 controller> port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0 ata2: <ATA channel> at channel 0 on atapci1 ata3: <ATA channel> at channel 1 on atapci1 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcafff,0xcb000-0xcbfff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: parallel port not found. p4tcc0: <CPU Frequency Thermal Control> on cpu0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 Timecounters tick every 1.000 msec random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen2.1: <Intel> at usbus2 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen4.1: <Intel> at usbus4 uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: <HL-DT-ST CD-ROM GCR-8485B 1.06> Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present ada0 at ata2 bus 0 scbus1 target 0 lun 0 ada0: <ST3500320AS SD15> ATA-8 SATA 2.x device ada0: Serial Number 9QM098KE ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ata3 bus 0 scbus2 target 0 lun 0 ada1: <ST3500320AS SD15> ATA-8 SATA 2.x device ada1: Serial Number 9QM0D4DL ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1396528035 Hz quality 1000 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub2: 8 ports with 8 removable, self powered Trying to mount root from ufs:/dev/ada0s1a [rw]... Setting hostuuid: 44454c4c-4400-104a-8054-b8c04f43324a. Setting hostid: 0xde1f5676. Entropy harvesting: interrupts ethernet point_to_point panic: vm_fault: fault on nofault entry, addr: cc10f000 cpuid = 1 KDB: stack backtrace: #0 0xc0b59be2 at kdb_backtrace+0x52 #1 0xc0b1b65f at panic+0x11f #2 0xc0dd1666 at vm_fault_hold+0x2076 #3 0xc0dcf5b1 at vm_fault+0x81 #4 0xc103008b at trap_pfault+0x1bb #5 0xc102f8e4 at trap+0x674 #6 0xc101ad0c at calltrap+0x6 #7 0xc0d0ca7a at sysctl_ip6_temppltime+0x3a #8 0xc0b28031 at sysctl_root+0x2b1 #9 0xc0b2862a at userland_sysctl+0x1fa #10 0xc0b283e8 at sys___sysctl+0x98 #11 0xc1030986 at syscall+0x4a6 #12 0xc101ada1 at Xint0x80_syscall+0x21 Uptime: 7s Physical memory: 2026 MB Dumping 72 MB: 57 41 25 9 ------------------------------------------------------------------------ kernel config options CONFIG_AUTOGENERATED ident GENERIC machine i386 cpu I686_CPU cpu I586_CPU cpu I486_CPU makeoptions WITH_CTF=1 makeoptions DEBUG=-g options XENHVM options USB_DEBUG options ATH_ENABLE_11N options AH_AR5416_INTERRUPT_MITIGATION options AH_SUPPORT_AR5416 options IEEE80211_SUPPORT_MESH options IEEE80211_AMPDU_AGE options IEEE80211_DEBUG options SC_PIXEL_MODE options VESA options AHD_REG_PRETTY_PRINT options AHC_REG_PRETTY_PRINT options ATA_STATIC_ID options SMP options KDB_TRACE options KDB options VIMAGE options INCLUDE_CONFIG_FILE options DDB_CTF options KDTRACE_HOOKS options MAC options PROCDESC options CAPABILITIES options CAPABILITY_MODE options AUDIT options HWPMC_HOOKS options KBD_INSTALL_CDEV options PRINTF_BUFR_SIZE=128 options _KPOSIX_PRIORITY_SCHEDULING options SYSVSEM options SYSVMSG options SYSVSHM options STACK options KTRACE options SCSI_DELAY=5000 options COMPAT_FREEBSD7 options COMPAT_FREEBSD6 options COMPAT_FREEBSD5 options COMPAT_FREEBSD4 options GEOM_LABEL options GEOM_RAID options GEOM_PART_GPT options PSEUDOFS options PROCFS options CD9660 options MSDOSFS options NFS_ROOT options NFSLOCKD options NFSD options NFSCL options MD_ROOT options QUOTA options UFS_GJOURNAL options UFS_DIRHASH options UFS_ACL options SOFTUPDATES options FFS options SCTP options TCP_OFFLOAD options INET6 options INET options PREEMPTION options SCHED_ULE options NEW_PCIB options NATIVE options GEOM_PART_MBR options GEOM_PART_EBR_COMPAT options GEOM_PART_EBR options GEOM_PART_BSD options ISAPNP device isa device npx device mem device io device uart_ns8250 device atpic device apic device cpufreq device acpi device eisa device pci device fdc device ahci device ata device mvs device siis device ahb device ahc device ahd device esp device hptiop device isp device mpt device mps device mpr device sym device trm device adv device adw device aha device aic device bt device ncv device nsp device stg device isci device scbus device ch device da device sa device cd device pass device ses device amr device arcmsr device asr device ciss device dpt device hptmv device hptnr device hptrr device hpt27xx device iir device ips device mly device twa device tws device aac device aacp device aacraid device ida device mfi device mlx device mrsas device pst device twe device atkbdc device atkbd device psm device kbdmux device vga device splash device sc device vt device vt_vga device agp device pmtimer device cbb device pccard device cardbus device uart device ppc device ppbus device lpt device ppi device puc device bxe device de device em device igb device ixgb device le device ti device txp device vx device miibus device ae device age device alc device ale device bce device bfe device bge device cas device dc device et device fxp device gem device hme device jme device lge device msk device nfe device nge device pcn device re device rl device sf device sge device sis device sk device ste device stge device tl device tx device vge device vr device vte device wb device xl device cs device ed device ex device ep device fe device ie device sn device xe device wlan device wlan_wep device wlan_ccmp device wlan_tkip device wlan_amrr device an device ath device ath_pci device ath_hal device ath_rate_sample device ipw device iwi device iwn device malo device mwl device ral device wi device wpi device loop device random device padlock_rng device rdrand_rng device ether device vlan device tun device md device gif device faith device firmware device bpf device uhci device ohci device ehci device xhci device usb device ukbd device umass device sound device snd_cmi device snd_csa device snd_emu10kx device snd_es137x device snd_hda device snd_ich device snd_via8233 device mmc device mmcsd device sdhci device virtio device virtio_pci device vtnet device virtio_blk device virtio_scsi device virtio_balloon device hyperv device xenpci device vmx ------------------------------------------------------------------------ ddb capture buffer ddb: ddb_capture: kvm_nlist
Craig Rodrigues
2015-Jan-03 17:46 UTC
10.1-STABLE/i386 GENERIC + VIMAGE: Panic when going multiuser
On Sat, Jan 3, 2015 at 9:02 AM, <sthaug at nethelp.no> wrote:> I have a reproducible crash in 10.1-STABLE/i386, svn updated to r276174. > The kernel is based on GENERIC with *one* line added: options VIMAGE. > > I can boot to single user with no problem. Going multiuser results in > immediate crash with backtrace > > #0 0xc0b59be2 at kdb_backtrace+0x52 > #1 0xc0b1b65f at panic+0x11f > #2 0xc0dd1666 at vm_fault_hold+0x2076 > #3 0xc0dcf5b1 at vm_fault+0x81 > #4 0xc103008b at trap_pfault+0x1bb > #5 0xc102f8e4 at trap+0x674 > #6 0xc101ad0c at calltrap+0x6 > #7 0xc0d0ca7a at sysctl_ip6_temppltime+0x3a > #8 0xc0b28031 at sysctl_root+0x2b1 > #9 0xc0b2862a at userland_sysctl+0x1fa > #10 0xc0b283e8 at sys___sysctl+0x98 > #11 0xc1030986 at syscall+0x4a6 > #12 0xc101ada1 at Xint0x80_syscall+0x21 >That stack trace doesn't have enough info. Can you: (1) boot into single mode on your system (2) Add this to /etc/rc.conf: ddb_enable="YES" (3) Reboot the system and let it go to multi-user -- Craig