[Bug 191477] New: [panic] Fatal trap 12: page fault while in kernel mode. current process (dummynet)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 29 13:12:46 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191477

            Bug ID: 191477
           Summary: [panic] Fatal trap 12: page fault while in kernel
                    mode. current process (dummynet)
           Product: Base System
           Version: 9.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: tome at mail.ru

---- dmesg ---
Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x368
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8049018d
stack pointer           = 0x28:0xffffff885dbf38a0
frame pointer           = 0x28:0xffffff885dbf3910
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         = 0 (dummynet)
trap number             = 12
panic: page fault
cpuid = 3
KDB: stack backtrace:
#0 0xffffffff804ddc56 at kdb_backtrace+0x66
#1 0xffffffff804a40de at panic+0x1ce
#2 0xffffffff806d2e20 at trap_fatal+0x290
#3 0xffffffff806d3181 at trap_pfault+0x211
#4 0xffffffff806d3734 at trap+0x344
#5 0xffffffff806bca73 at calltrap+0x8
#6 0xffffffff80594aff at ip_input+0x66f
#7 0xffffffff8056da78 at netisr_dispatch_src+0x218
#8 0xffffffff8061ee61 at dummynet_send+0x121
#9 0xffffffff8061f056 at dummynet_task+0x1c6
#10 0xffffffff804ea7f4 at taskqueue_run_locked+0x74
#11 0xffffffff804eb7a6 at taskqueue_thread_loop+0x46
#12 0xffffffff80473aff at fork_exit+0x11f
#13 0xffffffff806bcf9e at fork_trampoline+0xe
Uptime: 5m45s
Dumping 1458 out of 32686
MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..92%Copyright (c) 1992-2013 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 9.2-RELEASE-p8 #0 r267638: Thu Jun 19 15:20:29 EEST 2014
    star at SSD-BSD:/usr/obj/usr/src/sys/SSD1 amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Intel(R) Xeon(R) CPU E3-1240 v3 @ 3.40GHz (3392.22-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306c3  Family = 0x6  Model = 0x3c  Stepping =
3
 
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=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,<b11>,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Standard Extended Features=0x2fbb<GSFSBASE,TSCADJ,SMEP,ENHMOVSB,INVPCID>
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33101602816 (31568 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating
length 268 to 244 (20110527/tbfadt-320)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
module_register_init: MOD_LOAD (vesa, 0xffffffff806e3a80, 0) error 19
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 67, 1 (4) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> 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 550
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 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 0x1808-0x180b 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> mem 0xf6500000-0xf653ffff irq 16 at device 0.0 on
pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <PCI-PCI bridge> irq 16 at device 8.0 on pci2
pci3: <PCI bus> on pcib3
pcib4: <PCI-PCI bridge> irq 17 at device 9.0 on pci2
pci4: <PCI bus> on pcib4
pcib5: <PCI-PCI bridge> irq 16 at device 16.0 on pci2
pci5: <PCI bus> on pcib5
pci0: <serial bus, USB> at device 20.0 (no driver attached)
pci0: <simple comms> at device 22.0 (no driver attached)
pci0: <simple comms> at device 22.1 (no driver attached)
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf6612000-0xf66123ff irq 16 at
device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
pcib6: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> irq 18 at device 0.0 on pci7
pci8: <ACPI PCI bus> on pcib8
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem
0xf4000000-0xf5ffffff,0xf6000000-0xf601ffff irq 18 at device 0.0 on pci8
pcib9: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci9: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> irq 19 at device 0.0 on pci9
pci10: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci11: <ACPI PCI bus> on pcib11
igb0: <Intel(R) PRO/1000 Network Connection version - 2.3.10> port
0xd000-0xd01f mem 0xf6400000-0xf647ffff,0xf6480000-0xf6483fff irq 16 at device
0.0 on pci11
igb0: Using MSIX interrupts with 5 vectors
igb0: Ethernet address: 60:a4:4c:e8:43:d6
igb0: Bound queue 0 to cpu 0
igb0: Bound queue 1 to cpu 1
igb0: Bound queue 2 to cpu 2
igb0: Bound queue 3 to cpu 3
pcib12: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
pci12: <ACPI PCI bus> on pcib12
igb1: <Intel(R) PRO/1000 Network Connection version - 2.3.10> port
0xc000-0xc01f mem 0xf6300000-0xf637ffff,0xf6380000-0xf6383fff irq 17 at device
0.0 on pci12
igb1: Using MSIX interrupts with 5 vectors
igb1: Ethernet address: 60:a4:4c:e8:43:d7
igb1: Bound queue 0 to cpu 4
igb1: Bound queue 1 to cpu 5
igb1: Bound queue 2 to cpu 6
igb1: Bound queue 3 to cpu 7
pcib13: <ACPI PCI-PCI bridge> irq 18 at device 28.6 on pci0
pci13: <ACPI PCI bus> on pcib13
igb2: <Intel(R) PRO/1000 Network Connection version - 2.3.10> port
0xb000-0xb01f mem 0xf6200000-0xf627ffff,0xf6280000-0xf6283fff irq 18 at device
0.0 on pci13
igb2: Using MSIX interrupts with 5 vectors
igb2: Ethernet address: 60:a4:4c:e8:43:d9
igb2: Bound queue 0 to cpu 0
igb2: Bound queue 1 to cpu 1
igb2: Bound queue 2 to cpu 2
igb2: Bound queue 3 to cpu 3
pcib14: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
pci14: <ACPI PCI bus> on pcib14
igb3: <Intel(R) PRO/1000 Network Connection version - 2.3.10> port
0xa000-0xa01f mem 0xf6100000-0xf617ffff,0xf6180000-0xf6183fff irq 19 at device
0.0 on pci14
igb3: Using MSIX interrupts with 5 vectors
igb3: Ethernet address: 60:a4:4c:e8:43:d8
igb3: Bound queue 0 to cpu 4
igb3: Bound queue 1 to cpu 5
igb3: Bound queue 2 to cpu 6
igb3: Bound queue 3 to cpu 7
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf6611000-0xf66113ff irq 23 at
device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Lynx Point AHCI SATA controller> port
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem
0xf6610000-0xf66107ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: CGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3d0-0x3db iomem 0xb8000-0xbffff on isa0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
coretemp4: <CPU On-Die Thermal Sensors> on cpu4
est4: <Enhanced SpeedStep Frequency Control> on cpu4
p4tcc4: <CPU Frequency Thermal Control> on cpu4
coretemp5: <CPU On-Die Thermal Sensors> on cpu5
est5: <Enhanced SpeedStep Frequency Control> on cpu5
p4tcc5: <CPU Frequency Thermal Control> on cpu5
coretemp6: <CPU On-Die Thermal Sensors> on cpu6
est6: <Enhanced SpeedStep Frequency Control> on cpu6
p4tcc6: <CPU Frequency Thermal Control> on cpu6
coretemp7: <CPU On-Die Thermal Sensors> on cpu7
est7: <Enhanced SpeedStep Frequency Control> on cpu7
p4tcc7: <CPU Frequency Thermal Control> on cpu7
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, nat enabled, default to accept, logging
disabled
DUMMYNET 0 with IPv6 initialized (100409)
load_dn_sched dn_sched FIFO loaded
load_dn_sched dn_sched PRIO loaded
load_dn_sched dn_sched QFQ loaded
load_dn_sched dn_sched RR loaded
load_dn_sched dn_sched WF2Q+ loaded
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <SPCC Solid State Disk 560ABBF0> ATA-8 SATA 3.x device
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
SMP: AP CPU #1 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #5 Launched!
Timecounter "TSC-low" frequency 1696109881 Hz quality 1000
Root mount waiting for: usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen0.2: <vendor 0x8087> at usbus0
uhub2: <vendor 0x8087 product 0x8008, class 9/0, rev 2.00/0.04, addr 2> on
usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.04, addr 2> on
usbus1
Root mount waiting for: usbus1 usbus0
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ada0p2 [rw]...
WARNING: / was not properly dismounted
igb1: link state changed to UP
igb0: link state changed to UP
vlan80: link state changed to UP
vlan929: link state changed to UP
igb3: link state changed to UP
lagg0: link state changed to UP
igb2: link state changed to UP
igb0: link state changed to DOWN
vlan80: link state changed to DOWN
vlan929: link state changed to DOWN
---- dmesg ---

star at NOVPN-1:/<4>sys/SSD1# cd /usr/obj/usr/src/sys/SSD1/

star at NOVPN-1:/<4>sys/SSD1# kgdb kernel.debug /var/crash/vmcore.1
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:


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x368
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8049018d
stack pointer           = 0x28:0xffffff885dbf38a0
frame pointer           = 0x28:0xffffff885dbf3910
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         = 0 (dummynet)
trap number             = 12
panic: page fault
cpuid = 3
KDB: stack backtrace:
#0 0xffffffff804ddc56 at kdb_backtrace+0x66
#1 0xffffffff804a40de at panic+0x1ce
#2 0xffffffff806d2e20 at trap_fatal+0x290
#3 0xffffffff806d3181 at trap_pfault+0x211
#4 0xffffffff806d3734 at trap+0x344
#5 0xffffffff806bca73 at calltrap+0x8
#6 0xffffffff80594aff at ip_input+0x66f
#7 0xffffffff8056da78 at netisr_dispatch_src+0x218
#8 0xffffffff8061ee61 at dummynet_send+0x121
#9 0xffffffff8061f056 at dummynet_task+0x1c6
#10 0xffffffff804ea7f4 at taskqueue_run_locked+0x74
#11 0xffffffff804eb7a6 at taskqueue_thread_loop+0x46
#12 0xffffffff80473aff at fork_exit+0x11f
#13 0xffffffff806bcf9e at fork_trampoline+0xe
Uptime: 5m45s
Dumping 1458 out of 32686 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..92%

Reading symbols from /boot/kernel/if_lagg.ko...Reading symbols from
/boot/kernel/if_lagg.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_lagg.ko
#0  doadump (textdump=<value optimized out>) at pcpu.h:234
234             __asm("movq %%gs:%1,%0" : "=r" (td)
(kgdb) list *0xffffffff8049018d
0xffffffff8049018d is in _mtx_lock_sleep (/usr/src/sys/kern/kern_mutex.c:389).
384                      * owner stops running or the state of the lock
changes.
385                      */
386                     v = m->mtx_lock;
387                     if (v != MTX_UNOWNED) {
388                             owner = (struct thread *)(v & ~MTX_FLAGMASK);
389                             if (TD_IS_RUNNING(owner)) {
390                                     if (LOCK_LOG_TEST(&m->lock_object, 0))
391                                             CTR3(KTR_LOCK,
392                                                 "%s: spinning on %p held by
%p",
393                                                 __func__, m, owner);
(kgdb) quit
star at NOVPN-1:/<4>sys/SSD1#

-krnel - SSD1.conf-
star at NOVPN-1:/<4>sys/SSD1# cat /usr/src/sys/amd64/conf/SSD1
cpu             HAMMER
ident           SSD

makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug
symbols
makeoptions     WITH_CTF=1              # Run ctfconvert(1) for DTrace support

options         SCHED_ULE               # ULE scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
#options        INET6                   # IPv6 communications protocols
options         TCP_OFFLOAD             # TCP offload
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        QUOTA                   # Enable disk quotas for UFS
options         MD_ROOT                 # MD is a potential root device
#options        NFSCL                   # New Network Filesystem Client
#options        NFSD                    # New Network Filesystem Server
#options        NFSLOCKD                # Network Lock Manager
#options        NFS_ROOT                # NFS usable as /, requires NFSCL
#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_RAID               # Soft RAID functionality.
options         GEOM_LABEL              # Provides labelization
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         _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         KDTRACE_FRAME           # Ensure frames are compiled in
options         KDTRACE_HOOKS           # Kernel DTrace hooks
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
options         KDB                     # Kernel debugger related code
options         KDB_TRACE               # Print a stack trace for a panic
options         DDB_CTF                 # kernel ELF linker loads CTF data

# Make an SMP-capable kernel by default
options         SMP                     # Symmetric MultiProcessor Kernel

# CPU frequency control
device          cpufreq

# Bus support.
device          acpi
device          pci

# Floppy drives
#device         fdc

# ATA controllers
device          ahci            # AHCI-compatible SATA controllers
device          ata             # Legacy ATA/SATA controllers
options         ATA_CAM         # Handle legacy controllers with CAM
options         ATA_STATIC_ID   # Static device numbering
device          mvs             # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device          siis            # SiliconImage SiI3124/SiI3132/SiI3531 SATA

# SCSI Controllers
#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         esp             # AMD Am53C974 (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         mps             # LSI-Logic MPT-Fusion 2
##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         aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device         bt              # Buslogic/Mylex MultiMaster SCSI adapters
#device         isci            # Intel C600 SAS controller

# ATA/SCSI peripherals
device          scbus           # SCSI bus (required for ATA/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 ATA/SCSI access)
#device         ses             # Enclosure Services (SES and SAF-TE)
##device                ctl             # CAM Target Layer

# RAID controllers interfaced to the SCSI subsystem
#device         amr             # AMI MegaRAID
#device         arcmsr          # Areca SATA II RAID
#XXX it is not 64-bit clean, -scottl
##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         hptnr           # Highpoint DC7280, R750
#device         hptrr           # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
#device         hpt27xx         # Highpoint RocketRAID 27xx
#device         iir             # Intel Integrated RAID
#device         ips             # IBM (Adaptec) ServeRAID
#device         mly             # Mylex AcceleRAID/eXtremeRAID
#device         twa             # 3ware 9000 series PATA/SATA RAID
#device         tws             # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller

# RAID controllers
#device         aac             # Adaptec FSA RAID
#device         aacp            # SCSI passthrough for aac (requires CAM)
#device         aacraid         # Adaptec by PMC RAID
#device         ida             # Compaq Smart RAID
#device         mfi             # LSI MegaRAID SAS
#device         mlx             # Mylex DAC960 family
##XXX pointer/int warnings
##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
options         VESA            # Add support for VESA BIOS Extensions (VBE)

#device         splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc
options         SC_PIXEL_MODE   # add support for the raster text mode

device          agp             # support several AGP chipsets

# 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

#device         puc             # Multi I/O cards and multi-channel UARTs

# PCI Ethernet NICs.
#device         bxe             # Broadcom BCM57710/BCM57711/BCM57711E 10Gb
Ethernet
#device         de              # DEC/Intel DC21x4x (``Tulip'')
device          em              # Intel PRO/1000 Gigabit Ethernet Family
device          igb             # Intel PRO/1000 PCIE Server Gigabit Family
device          ixgbe           # Intel PRO/10GbE PCIE Ethernet Family
#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         cas             # Sun Cassini/Cassini+ and NS DP83065 Saturn
#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         gem             # Sun GEM/Sun ERI/Apple GMAC
#device         hme             # Sun HME (Happy Meal Ethernet)
#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'')

# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
options         PADLOCK_RNG     # VIA Padlock RNG
options         RDRAND_RNG      # Intel Bull Mountain RNG
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         xhci            # XHCI PCI->USB interface (USB 3.0)
device          usb             # USB Bus (required)
##device                udbp            # USB Double Bulk Pipe devices (needs
netgraph)
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

# VirtIO support
#device         virtio          # Generic VirtIO bus (required)
#device         virtio_pci      # VirtIO PCI Interface
#device         vtnet           # VirtIO Ethernet device
#device         virtio_blk      # VirtIO Block device
#device         virtio_scsi     # VirtIO SCSI device
#device         virtio_balloon  # VirtIO Memory Balloon device

#
device          coretemp

options         IPFIREWALL
options         IPFIREWALL_NAT
options         IPFIREWALL_FORWARD
options         IPFIREWALL_VERBOSE              #can write ivents in the log
options         IPFIREWALL_VERBOSE_LIMIT=100    # max! num ivents
options         IPFIREWALL_DEFAULT_TO_ACCEPT

options         DUMMYNET
options         SC_DISABLE_REBOOT
options         SC_HISTORY_SIZE=200
options         LIBALIAS
options         IPDIVERT        #natd
options         HZ=1000         #skolko raz v sec

--end kernkel SSD1.conf--

--boot/loader.conf --
star at NOVPN-1:/<4>sys/SSD1# cat /boot/loader.conf
autoboot_delay=1
#net.isr.bindthreads=1
net.isr.maxthreads=8
net.isr.numthreads=8
net.isr.defaultqlimit=10240
net.link.ifqmaxlen=10240

hw.igb.lro=0
hw.igb.rxd=4096
hw.igb.txd=4096
hw.igb.max_interrupt_rate=32000
hw.igb.rx_process_limit=4096
hw.igb.num_queues=3

kern.ipc.nmbclusters=400000 #262144
kern.ipc.maxsockbuf=83886080
kern.ipc.nmbjumbop=262144
#kern.ipc.nmbjumbo16=32000
#kern.ipc.nmbjumbo9=64000

net.inet.tcp.tcbhashsize=4096
net.inet.tcp.syncache.hashsize=1024
net.inet.tcp.syncache.bucketlimit=100
hw.igb.num_queues=4

-- end boot/loader.conf --

-- sysctrl.conf --
star at NOVPN-1:/<4>sys/SSD1# cat /etc/sysctl.conf
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0

kern.ipc.maxsockbuf=83886080
#ICMP
net.inet.tcp.blackhole=2
net.inet.tcp.drop_synfin=1
net.inet.tcp.syncookies=1
net.inet.udp.blackhole=1
net.inet.icmp.drop_redirect=1
net.inet.icmp.maskrepl=0
net.inet.icmp.icmplim=100
net.inet.icmp.bmcastecho=0

#net.isr.dispatch=hybrid
net.isr.dispatch=direct

net.route.netisr_maxqlen=10240

dev.igb.0.rx_processing_limit=4000
dev.igb.1.rx_processing_limit=4000
dev.igb.2.rx_processing_limit=4000
dev.igb.3.rx_processing_limit=4000


net.inet.ip.dummynet.pipe_slot_limit=2048
net.inet.ip.dummynet.hash_size=65535
net.inet.ip.intr_queue_maxlen=10240
net.inet.ip.dummynet.io_fast=0

#kern.ipc.nmbclusters=400000    #old 66560
#kern.ipc.maxsockbuf=83886080   #old 2097152
#kern.ipc.maxsockets=204800     # 66560 -> 204800

net.inet.ip.process_options=0 # pod voprosom
kern.ipc.somaxconn=32768

#2014-05-12
#kern.maxfiles=204800
#kern.maxfilesperproc=200000
#2014-05-18
net.inet.ip.fw.verbose=0        #off trash in messages when we are clear ipfw
counters
#net.link.ether.inet.proxyall=1

-- end sysctl.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list