Date: Fri, 22 Oct 2010 06:39:23 +0700 From: Michael Stellar <unexplained@gmail.com> To: freebsd-bugs@freebsd.org Subject: Fatal trap 12: page fault while in kernel mode Message-ID: <AANLkTinH40ry71M42jzecPk0JrozsKAjbydZrkG1eGnh@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I have got these after running Freebsd 8.1 Release p1 Amd64 for a couple
hours, i have done kernel debugging it seems has anything to do with
sched_ule? :
admin# kgdb kernel.debug /var/crash/vmcore.0
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 "amd64-marcel-freebsd"...
Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address = 0x2000010
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80392403
stack pointer = 0x28:0xffffff8000069b30
frame pointer = 0x28:0xffffff8000069ba0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = resume, IOPL = 0
current process = 12 (swi4: clock)
trap number = 12
panic: page fault
cpuid = 2
Uptime: 3h43m34s
Physical memory: 4073 MB
Dumping 2401 MB: 2386
Fatal trap 1: privileged instruction fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0xffffff80000695a0
stack pointer = 0x28:0xffffff80ae41bb30
frame pointer = 0x28:0xffffff80ae41bb60
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 12 (irq15: ata1)
trap number = 1
2370 2354 2338 2322 2306 2290 2274 2258 2242 2226 2210 2194 2178 2162 2146
2130 2114 2098 2082 2066 2050 2034 2018 2002 1986 1970 1954 1938 1922 1906
1890 1874 1858 1842 1826 1810 1794 1778 1762 1746 1730 1714 1698 1682 1666
1650 1634 1618 1602 1586 1570 1554 1538 1522 1506 1490 1474 1458 1442 1426
1410 1394 1378 1362 1346 1330 1314 1298 1282 1266 1250 1234 1218 1202 1186
1170 1154 1138 1122 1106 1090 1074 1058 1042 1026 1010 994 978 962 946 930
914 898 882 866 850 834 818 802 786 770 754 738 722 706 690 674 658 642 626
610 594 578 562 546 530 514 498 482 466 450 434 418 402 386 370 354 338 322
306 290 274 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2
Reading symbols from /boot/kernel/zfs.ko...Reading symbols from
/boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from
/boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/krpc.ko...Reading symbols from
/boot/kernel/krpc.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/krpc.ko
Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from
/boot/kernel/geom_mirror.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
#0 doadump () at pcpu.h:223
223
(kgdb) list *0xffffffff80392403
0xffffffff80392403 is in softclock (/usr/src/sys/kern/kern_timeout.c:356).
351 cc->cc_softticks++;
352 bucket = &cc->cc_callwheel[curticks &
callwheelmask];
353 c = TAILQ_FIRST(bucket);
354 while (c) {
355 depth++;
356 if (c->c_time != curticks) {
357 c = TAILQ_NEXT(c, c_links.tqe);
358 ++steps;
359 if (steps >= MAX_SOFTCLOCK_STEPS) {
360 cc->cc_next = c;
(kgdb) list *0xffffff80000695a0
No source file for address 0xffffff80000695a0.
(kgdb) list *0xffffff80000695a0
No source file for address 0xffffff80000695a0.
(kgdb) backtrace
#0 doadump () at pcpu.h:223
#1 0xffffffff8037cf6a in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:416
#2 0xffffffff8037d399 in panic (fmt=0xffffffff80632a5c "%s") at
/usr/src/sys/kern/kern_shutdown.c:590
#3 0xffffffff805ae847 in trap_fatal (frame=0xffffff8000069a80,
eva=33554448) at /usr/src/sys/amd64/amd64/trap.c:777
#4 0xffffffff805af693 in trap (frame=0xffffff8000069a80) at
/usr/src/sys/amd64/amd64/trap.c:300
#5 0xffffffff80592674 in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:223
#6 0xffffffff80392403 in softclock (arg=Variable "arg" is not available.
) at /usr/src/sys/kern/kern_timeout.c:355
#7 0xffffffff8035224d in intr_event_execute_handlers (p=Variable "p" is not
available.
) at /usr/src/sys/kern/kern_intr.c:1220
#8 0xffffffff80353962 in ithread_loop (arg=0xffffff000168b460) at
/usr/src/sys/kern/kern_intr.c:1233
#9 0xffffffff8034fb29 in fork_exit (callout=0xffffffff803538d0
<ithread_loop>, arg=0xffffff000168b460, frame=0xffffff8000069c80) at
/usr/src/sys/kern/kern_fork.c:844
#10 0xffffffff80592b73 in fork_trampoline () at
/usr/src/sys/amd64/amd64/exception.S:562
#11 0x0000000000000000 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000000 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000cce000 in ?? ()
#36 0x0000000000000002 in ?? ()
#37 0x0000000000000003 in ?? ()
#38 0xffffffff80872a00 in affinity ()
#39 0xffffff000168f3e0 in ?? ()
#40 0xffffff8000069760 in ?? ()
#41 0xffffff8000069718 in ?? ()
#42 0xffffff00016907c0 in ?? ()
#43 0xffffffff803a37a3 in sched_switch (td=0xffffff000168b460,
newtd=0xffffffff803538d0, flags=Variable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1844
Previous frame inner to this frame (corrupt stack?)
uname -a
FreeBSD admin 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Tue Oct 19 02:35:39
WIT 2010 user@admin:/usr/obj/usr/src/sys/TEST amd64
Running on Core2Quad Q8400 with 2x2gb ddr2 6400, i am bulding my own kernel
and done some tunning through sysctl and loader.conf, could be one of my
value causing it?, another info is i run zfs on mirror 2 hdd, 2x wdc green
500gb. I am fairly new on freebsd so pardon me.
[-- Attachment #2 --]
zfs_load="YES"
vfs.root.mountfrom="zfs:tank"
geom_mirror_load="YES"
vfs.zfs.prefetch_disable=0
ahci_load="YES"
######zfs tunning!####################
vm.kmem_size="2100M"
vm.kmem_size_max="2100M"
vfs.zfs.arc_max="1000M"
vfs.zfs.vdev.min_pending="4"
vfs.zfs.vdev.max_pending="8"
vfs.zfs.txg.synctime="5"
######End of zfs tunning#############
#####Squid/Lusca Tunning!##############
#beastie_disable="YES"
autoboot_delay="1"
#for squid
# Async IO system calls
aio_load="YES"
# syncache Hash table tuning
net.inet.tcp.syncache.hashsize=1024
net.inet.tcp.syncache.bucketlimit=512
net.inet.tcp.syncache.cachelimit=65536
# Incresed hostcache
net.inet.tcp.hostcache.hashsize="16384"
net.inet.tcp.hostcache.bucketlimit="100"
# TCP control-block Hash table tuning
net.inet.tcp.tcbhashsize=4096
kern.ipc.maxsockbufs="10194304"
kern.ipc.nmbclusters="32768"
kern.ipc.msgmnb="16384"
kern.ipc.msgssz="64"
kern.ipc.msgtql="2048"
kern.ipc.shmseg="128"
kern.ipc.somaxconn="32768"
kern.ipc.nmbclusters="131072"
kern.ipc.maxsockets="65536"
kern.maxfiles="262144"
kern.maxfilesperproc="65536"
kern.dirdelay="6"
kern.metadelay="5"
kern.filedelay="7"
#tunning hardisk
#utk RAM 512MB
#kern.maxdsiz="256MB"
#kern.dfldsiz="128MB"
#kern.maxssiz="96MB"
#utk RAM 2GB
#kern.maxdsiz="1024MB"
#kern.dfldsiz="512MB"
#kern.maxssiz="256MB"
#utk RAM > 4 Gb
kern.maxdsiz="2048M"
kern.dfldsiz="768M"
kern.maxssiz="512MB"
##########End of Squid/Lusca Tunning########################
# Nicer boot logo =)
loader_logo="beastie"
[-- Attachment #3 --]
# $FreeBSD: src/etc/sysctl.conf,v 1.8.34.1.4.1 2010/06/14 02:09:06 kensmith Exp $
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
####SECURITY!!#################
# Drop synfin packets
net.inet.tcp.drop_synfin=1
# Try to stop some syn flood attacks, and route cache degregation
net.inet.ip.rtexpire=2
net.inet.ip.rtminexpire=2
net.inet.ip.rtmaxcache=256
# Drop evil sourcerouted packets
net.inet.ip.accept_sourceroute=0
net.inet.ip.sourceroute=0
# Hide UID and GID from other users
security.bsd.see_other_gids=0
security.bsd.see_other_uids=0
security.bsd.unprivileged_read_msgbuf=0
net.inet.icmp.drop_redirect=1
net.inet.ip.ttl=128
net.inet.ip.fastforwarding=1
net.inet.ip.portrange.last=65535
net.inet.ip.portrange.first=1024
net.inet.icmp.icmplim=0
net.inet.icmp.icmplim_output=0
net.inet.tcp.delayed_ack=0
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.ip.intr_queue_maxlen=3000
net.inet.tcp.sendspace=6624288
net.inet.tcp.recvspace=6652144
net.inet.udp.recvspace=6652144
net.inet.udp.maxdgram=65535
kern.ipc.maxsockbuf=10194304
# Shared memory // 7.2+ can use shared memory > 2Gb
#kern.ipc.shmmax=2147483648
# Every socket is a file, so increase them
kern.maxvnodes=200000
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.sendbuf_max=9097152
net.inet.tcp.recvbuf_max=9097152
# Max bumber of timewait sockets
net.inet.tcp.maxtcptw=200000
# Don't use tw on local connections
# As of 15 Apr 2009. Igor Sysoev says that nolocaltimewait has some buggy realization.
# So disable it or now till get fixed
net.inet.tcp.nolocaltimewait=1
# FIN_WAIT_2 state fast recycle
net.inet.tcp.fast_finwait2_recycle=1
# Should be increased when you have A LOT of files on server
# (Increase until vfs.ufs.dirhash_mem becomes lower)
#vfs.ufs.dirhash_maxmem=67108864
# Note from commit http://svn.freebsd.org/base/head@211031 :
# For systems with RAID volumes and/or virtualization envirnments, where
# read performance is very important, increasing this sysctl tunable to 32
# or even more will demonstratively yield additional performance benefits.
vfs.read_max=32
# Explicit Congestion Notification (see http://en.wikipedia.org/wiki/Explicit_Congestion_Notification)
net.inet.tcp.ecn.enable=1
# On highload servers you may notice following message in dmesg:
# "Approaching the limit on PV entries, consider increasing either the
# vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable"
vm.pmap.shpgperproc=2048
[-- Attachment #4 --]
# The CPUTYPE variable specifies your processor type so that the compiler will produce the optimized binary code for your specific processor.
# A list of supported processors can be found in the /usr/share/examples/etc/make.conf file.
# Currently supported processor optimizations that are available:
# Intel IA32 : core2, core, Nocona, pentium4m, pentium4, prescott, pentium3m, pentium3, Pentium-m, pentium2
# Intel IA64 : itanium, itanium2
# AMD : opteron, athlon64, athlon-mp, athlon-xp, athlon-4, athlon-tbird, athlon, k8, k6-3, k6-2, k6, k5
CPUTYPE?=k8
# The CFLAGS variable specifies any additional compiler options that you want to pass to the compilers.
# These additional settings mostly deal with the performance of the compiling process or that of the output binary code.
# A typical CFLAGS variable would look like this: CFLAGS= -O2 -pipe
CFLAGS= -O2 -pipe
COPTFLAGS= -O2 -pipe
CFLAGS+= -O2 -pipe
MAX_JOBS_NUMBER=5
# Disable debug information
WITHOUT_DEBUG=yes
WITH_CPUFLAGS=yes
WITH_OPTIMIZED_CFLAGS=yes
WITHOUT_X11=YES # if you don't need X
BOOTWAIT=0
WITHOUT_MODULES = isa ipw ipwfw iwi iwifw wpi wpifw iwn iwnfw cbb pccard cardbus wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt wlan_tkip wlan_wep wlan_xauth atapifd atapist eisa ahc AHC_REG_PRETTY_PRINT ahd AHD_REG_PRETTY_PRINT amd hptiop isp ispfw mpt ncr sym trm adv adw aic bt amr arcmsr asr ciss dpt hptmv hptrr iir ips mly twa aac aacp ida mfi mlx pst twe apm pmtimer cbb de em igb ixgbe le ti txp vx ae age alc ale bce bfe bge dc et fxp jme lge msk nfe nge nve pcn re rl sf sge sis ste stge tl tx vge vr wb xl cs ed ex ep fe sn xe urio uark ubsa uftdi uipaq uplcom uslcom uvisor uvscom aue axe cdce cue kue rue udav rum uath ural zyd IEEE80211_DEBUG IEEE80211_AMPDU_AGE IEEE80211_SUPPORT_MESH an ath ath_hal AH_SUPPORT_AR5416 ath_rate_sample ral wi
#NO_INET6=YES # no IPv6
# added by use.perl 2010-10-15 05:24:13
PERL_VERSION=5.10.1
[-- Attachment #5 --]
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.519.2.10.2.1 2010/06/14 02:09:06 kensmith Exp $
# We want LINT to cover profiling as well.
profile 2
#cpu I486_CPU
#cpu I586_CPU
cpu HAMMER
ident TEST
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# env "GENERIC.env"
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
options QUOTA
device ahci # Default to loading the AHCI device driver
options SCHED_ULE # ULE scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options SCTP # Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
#options NFSCLIENT # Network Filesystem Client
#options NFSSERVER # Network Filesystem Server
#options NFSLOCKD # Network Lock Manager
#options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_PART_GPT # GUID Partition Tables.
options GEOM_LABEL # Provides labelization
options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options STACK # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT # Security event auditing
options MAC # TrustedBSD MAC Framework
options FLOWTABLE # per-cpu routing cache
options KDTRACE_FRAME # Ensure frames are compiled in
options KDTRACE_HOOKS # Kernel DTrace hooks
options INCLUDE_CONFIG_FILE # Include this file in kernel
options COMPAT_LINUX32
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
#device apic # I/O APIC
# CPU frequency control
device cpufreq
# Bus support.
device acpi
#device eisa
device pci
# Floppy drives
#device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
#device amd # AMD 53C974 (Tekram DC-390(T))
#device hptiop # Highpoint RocketRaid 3xxx series
#device isp # Qlogic family
#device ispfw # Firmware for QLogic HBAs- normally a module
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters
#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt # Buslogic/Mylex MultiMaster SCSI adapters
#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
#device amr # AMI MegaRAID
#device arcmsr # Areca SATA II RAID
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device ciss # Compaq Smart RAID 5*
#device dpt # DPT Smartcache III, IV - See NOTES for options
#device hptmv # Highpoint RocketRAID 182x
#device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
#device iir # Intel Integrated RAID
#device ips # IBM (Adaptec) ServeRAID
#device mly # Mylex AcceleRAID/eXtremeRAID
#device twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
#device aac # Adaptec FSA RAID
#device aacp # SCSI passthrough for aac (requires CAM)
#device ida # Compaq Smart RAID
#device mfi # LSI MegaRAID SAS
#device mlx # Mylex DAC960 family
#device pst # Promise Supertrak SX6000
#device twe # 3ware ATA RAID
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
#device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
#device cbb # cardbus (yenta) bridge
#device pccard # PC Card (16-bit) bus
#device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device uart # Generic UART driver
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
#device de # DEC/Intel DC21x4x (``Tulip'')
#device em # Intel PRO/1000 Gigabit Ethernet Family
#device igb # Intel PRO/1000 PCIE Server Gigabit Family
#device ixgb # Intel PRO/10GbE Ethernet Card
#device le # AMD Am7900 LANCE and Am79C9xx PCnet
#device ti # Alteon Networks Tigon I/II gigabit Ethernet
#device txp # 3Com 3cR990 (``Typhoon'')
#device vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
#device ae # Attansic/Atheros L2 FastEthernet
#device age # Attansic/Atheros L1 Gigabit Ethernet
#device alc # Atheros AR8131/AR8132 Ethernet
#device ale # Atheros AR8121/AR8113/AR8114 Ethernet
#device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
#device bfe # Broadcom BCM440x 10/100 Ethernet
#device bge # Broadcom BCM570xx Gigabit Ethernet
#device dc # DEC/Intel 21143 and various workalikes
#device et # Agere ET1310 10/100/Gigabit Ethernet
#device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
#device lge # Level 1 LXT1001 gigabit Ethernet
#device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
#device nfe # nVidia nForce MCP on-board Ethernet
#device nge # NatSemi DP83820 gigabit Ethernet
#device nve # nVidia nForce MCP on-board Ethernet Networking
#device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
#device re # RealTek 8139C+/8169/8169S/8110S
#device rl # RealTek 8129/8139
#device sf # Adaptec AIC-6915 (``Starfire'')
#device sge # Silicon Integrated Systems SiS190/191
#device sis # Silicon Integrated Systems SiS 900/SiS 7016
device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
#device ste # Sundance ST201 (D-Link DFE-550TX)
#device stge # Sundance/Tamarack TC9021 gigabit Ethernet
#device tl # Texas Instruments ThunderLAN
#device tx # SMC EtherPower II (83c170 ``EPIC'')
#device vge # VIA VT612x gigabit Ethernet
#device vr # VIA Rhine, Rhine II
#device wb # Winbond W89C840F
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs. pccard NICs included.
#device cs # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device ex # Intel EtherExpress Pro/10 and Pro/10+
#device ep # Etherlink III based cards
#device fe # Fujitsu MB8696x based cards
#device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device sn # SMC's 9000 series of Ethernet chips
#device xe # Xircom pccard Ethernet
# Wireless NIC cards
#device wlan # 802.11 support
#options IEEE80211_DEBUG # enable debug msgs
#options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
#options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
#device wlan_wep # 802.11 WEP support
#device wlan_ccmp # 802.11 CCMP support
#device wlan_tkip # 802.11 TKIP support
#device wlan_amrr # AMRR transmit rate control algorithm
#device an # Aironet 4500/4800 802.11 wireless NICs.
#device ath # Atheros pci/cardbus NIC's
#device ath_hal # pci/cardbus chip support
#options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
#device ath_rate_sample # SampleRate tx rate control for ath
#device ral # Ralink Technology RT2500 wireless NICs.
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device tun # Packet tunnel.
device pty # BSD-style compatibility pseudo ttys
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
options USB_DEBUG # enable debug msgs
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device urio # Diamond Rio 500 MP3 player
# USB Serial devices
#device u3g # USB-based 3G modems (Option, Huawei, Sierra)
#device uark # Technologies ARK3116 based serial adapters
#device ubsa # Belkin F5U103 and compatible serial adapters
#device uftdi # For FTDI usb serial adapters
#device uipaq # Some WinCE based devices
#device uplcom # Prolific PL-2303 serial adapters
#device uslcom # SI Labs CP2101/CP2102 serial adapters
#device uvisor # Visor and Palm devices
#device uvscom # USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
#device aue # ADMtek USB Ethernet
#device axe # ASIX Electronics USB Ethernet
#device cdce # Generic USB over Ethernet
#device cue # CATC USB Ethernet
#device kue # Kawasaki LSI USB Ethernet
#device rue # RealTek RTL8150 USB Ethernet
#device udav # Davicom DM9601E USB
# USB Wireless
#device rum # Ralink Technology RT2501USB wireless NICs
#device uath # Atheros AR5523 wireless NICs
#device ural # Ralink Technology RT2500USB wireless NICs
#device zyd # ZyDAS zb1211/zb1211b wireless NICs
# FireWire support
device firewire # FireWire bus code
#device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)
device fwip # IP over FireWire (RFC 2734,3146)
device dcons # Dumb console driver
device dcons_crom # Configuration ROM for dcons
# Temperature sensors:
#
# coretemp: on-die sensor on Intel Core and newer CPUs
# amdtemp: on-die sensor on AMD K8/K10/K11 CPUs
#
device coretemp
#device amdtemp
#
# Hardware watchdog timers:
#
# ichwd: Intel ICH watchdog timer
# amdsbwd: AMD SB7xx watchdog timer
#
device ichwd
#device amdsbwd
device pf
device pflog
device pfsync
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_CDNR
options ALTQ_PRIQ
options ALTQ_NOPCC
#options MSGMNB=32768
#options MSGMNI=164
#options MSGSEG=8196
#options MSGSSZ=512
#options MSGTQL=2048
#optimasi coss dan diskd
options VFS_AIO
#options MSGMNB=8192
#options MSGMNI=40
#options MSGSEG=512
#options MSGSSZ=64
#options MSGTQL=2048
#options SHMSEG=16
#options SHMMNI=32
#options SHMMAX=2097152
#options SHMALL=4096
#ipf direktory firewall /etc/sysconfig
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
#####################################################################
# SMP OPTIONS:
#
# Notes:
#
# IPI_PREEMPTION instructs the kernel to preempt threads running on other
# CPUS if needed. Relies on the PREEMPTION option
# Optional:
options IPI_PREEMPTION
#device atpic # Optional legacy pic support
device mptable # Optional MPSPEC mptable support
#
# Watchdog routines.
#
#options MP_WATCHDOG
#options SW_WATCHDOG
#options TCP_CROP_SYNFIN # Breaks- reponding to SYN & FIN flag
#options TCP_RESTRICT_RST # Limits # of RST TCP packet. Slow
# down port scan and Protect from D-O-S
options IPSTEALTH # Routing: Hide itself from traceroutes
#options ACCEPT_FILTER_DATA # Give Apaches child when ready.. it
options ACCEPT_FILTER_HTTP # speed up processing on busy webserver
#options ICMP_BANDLIM # Limit # err. Protect from ICMP D-O-S
# could now be default behavior.
#options DUMMYNET # ipfw bandwidth limiting and queuing.
# simulate packet loss/delay on network
options DEVICE_POLLING # For network adapters. High # = better
options HZ=2000 # performance on heavy traffic servers.
device hwpmc
options BPF_JITTER
options ZERO_COPY_SOCKETS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinH40ry71M42jzecPk0JrozsKAjbydZrkG1eGnh>
