amd64/188245: Critical vlan problem with OpenBGP
Marcelo Gondim
gondim at intnet.com.br
Fri Apr 4 12:50:01 UTC 2014
The following reply was made to PR amd64/188245; it has been noted by GNATS.
From: Marcelo Gondim <gondim at intnet.com.br>
To: bug-followup at FreeBSD.org
Cc: gondim at bsdinfo.com.br
Subject: Re: amd64/188245: Critical vlan problem with OpenBGP
Date: Fri, 04 Apr 2014 09:42:52 -0300
This is a multi-part message in MIME format.
--------------090401060708060702020700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Aditional Information:
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.0-STABLE #5 r264032: Wed Apr 2 23:32:55 BRT 2014
root at rt01.intnet.com.br:/usr/obj/usr/src/sys/INTNET10 amd64
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
CPU: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (3192.82-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x206a7 Family = 0x6 Model = 0x2a
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=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics
real memory = 8589934592 (8192 MB)
avail memory = 7988715520 (7618 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <INTEL S1200BTS>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 2
cpu2 (AP): APIC ID: 4
cpu3 (AP): APIC ID: 6
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
random: <Software, Yarrow> initialized
cryptosoft0: <software crypto> on motherboard
acpi0: <INTEL> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, 9d000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <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
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
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 0x408-0x40b 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
em0: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x5020-0x503f mem
0xc1c60000-0xc1c7ffff,0xc1c40000-0xc1c5ffff irq 16 at device 0.0 on pci1
em0: Using an MSI interrupt
em0: Ethernet address: 00:15:17:86:d2:de
em1: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x5000-0x501f mem
0xc1c20000-0xc1c3ffff,0xc1c00000-0xc1c1ffff irq 17 at device 0.1 on pci1
em1: Using an MSI interrupt
em1: Ethernet address: 00:15:17:86:d2:df
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 1.1 on pci0
pci2: <ACPI PCI bus> on pcib2
em2: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x4020-0x403f mem
0xc1b60000-0xc1b7ffff,0xc1b40000-0xc1b5ffff irq 17 at device 0.0 on pci2
em2: Using an MSI interrupt
em2: Ethernet address: 00:15:17:8c:81:d6
em3: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x4000-0x401f mem
0xc1b20000-0xc1b3ffff,0xc1b00000-0xc1b1ffff irq 18 at device 0.1 on pci2
em3: Using an MSI interrupt
em3: Ethernet address: 00:15:17:8c:81:d7
em4: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x6040-0x605f mem
0xc1d00000-0xc1d1ffff,0xc1d70000-0xc1d70fff irq 19 at device 25.0 on pci0
em4: Using an MSI interrupt
em4: Ethernet address: 00:1e:67:77:de:63
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xc1d60000-0xc1d603ff irq
22 at device 26.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib3
em5: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x3020-0x303f mem
0xc1060000-0xc107ffff,0xc1040000-0xc105ffff irq 16 at device 0.0 on pci3
em5: Using an MSI interrupt
em5: Ethernet address: 00:15:17:86:b8:d6
em6: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x3000-0x301f mem
0xc1020000-0xc103ffff,0xc1000000-0xc101ffff irq 17 at device 0.1 on pci3
em6: Using an MSI interrupt
em6: Ethernet address: 00:15:17:86:b8:d7
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci4: <ACPI PCI bus> on pcib4
em7: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x2000-0x201f mem
0xc1a00000-0xc1a1ffff,0xc1a20000-0xc1a23fff irq 16 at device 0.0 on pci4
em7: Using MSIX interrupts with 3 vectors
em7: Ethernet address: 00:1e:67:77:de:62
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xc1d50000-0xc1d503ff irq
20 at device 29.0 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci1
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> mem 0xc0000000-0xc0ffffff at device
2.0 on pci5
vgapci0: Boot video device
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Cougar Point AHCI SATA controller> port
0x6090-0x6097,0x6080-0x6083,0x6070-0x6077,0x6060-0x6063,0x6020-0x603f
mem 0xc1d40000-0xc1d407ff irq 21 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 3Gbps 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
ahciem0: <AHCI enclosure management bridge> on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
battery2: <ACPI Control Method Battery> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff,0xce000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xd2000-0xd2fff,0xd3000-0xd3fff
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]
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ipfw2 (+ipv6) 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
random: unblocking device.
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: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device
ada0: Serial Number WD-WCAV5U676716
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: quirks=0x1<4K>
ada0: Previously was known as ad4
pass1 at ahciem0 bus 0 scbus6 target 0 lun 0
pass1: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC-low" frequency 1596409044 Hz quality 1000
Root mount waiting for: usbus1 usbus0
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
Root mount waiting for: usbus1 usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
on usbus1
ugen0.2: <vendor 0x8087> at usbus0
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2>
on usbus0
Root mount waiting for: usbus1 usbus0
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
ugen1.3: <Cypress Semiconductor> at usbus1
Root mount waiting for: usbus1
ugen1.4: <USB> at usbus1
ukbd0: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on usbus1
kbd2 at ukbd0
Trying to mount root from ufs:/dev/label/rootfs [rw]...
lagg1: IPv6 addresses on em2 have been removed before adding it as a
member to prevent IPv6 address scope violation.
lagg1: IPv6 addresses on em5 have been removed before adding it as a
member to prevent IPv6 address scope violation.
uhid0: <Cypress Semiconductor USB to Serial, class 0/0, rev 1.00/0.00,
addr 3> on usbus1
uhid1: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on usbus1
================================================================================
My kernel:
cpu HAMMER
ident INTNET10
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 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 CAPABILITY_MODE # Capsicum capability mode
options CAPABILITIES # Capsicum capabilities
options PROCDESC # Support for process descriptors
options INCLUDE_CONFIG_FILE # Include this file in kernel
options SMP # Symmetric MultiProcessor Kernel
device cpufreq
device acpi
device pci
device ahci # AHCI-compatible SATA controllers
device ata # Legacy ATA/SATA controllers
options ATA_STATIC_ID # Static device numbering
device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
device scbus # SCSI bus (required for ATA/SCSI)
device da # Direct Access (disks)
device pass # Passthrough device (direct ATA/SCSI access)
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
device sc
options SC_PIXEL_MODE # add support for the raster text mode
device agp # support several AGP chipsets
device uart # Generic UART driver
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 loop # Network loopback
device random # Entropy device
device padlock_rng # VIA Padlock RNG
device rdrand_rng # Intel Bull Mountain RNG
device ether # Ethernet support
device vlan # 802.1Q VLAN support
device tun # Packet tunnel.
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware # firmware assist module
device bpf # Berkeley packet filter
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 ukbd # Keyboard
device umass # Disks/Mass storage - Requires scbus and da
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_NAT
options LIBALIAS
options DUMMYNET
options IPDIVERT
options ROUTETABLES=2
options IPSTEALTH
options TCP_SIGNATURE #include support for RFC 2385
options IPSEC
device crypto
options DEVICE_POLLING
options HZ=3000 # (32 bits UP, HZ=2000 32bits SMP, HZ=2000 UP
64bits, HZ=XXX - empirico, SMP 64bits)
device carp
device lagg
device pf
device pflog
device pfsync
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build
loader.conf:
loader_logo="beastie"
if_lagg_load="YES"
speaker_load="YES"
aio_load="YES" # Async IO system calls
autoboot_delay="5" # reduce boot menu delay from 10 to 3
seconds
sysctl.conf:
net.inet.ip.forwarding=1
net.inet.ip.fastforwarding=1
net.inet6.ip6.forwarding=1
kern.ipc.somaxconn=4096 # 128 default
net.inet.tcp.syncookies=1
net.inet.ip.redirect=1 # do not send IP redirects
net.inet.ip.accept_sourceroute=0 # drop source routed packets since
they can not be trusted
net.inet.ip.sourceroute=0 # if source routed packets are
accepted the route data is ignored
net.inet.tcp.drop_synfin=1 # SYN/FIN packets get dropped on
initial connection
net.inet.udp.blackhole=1 # drop udp packets destined for
closed sockets
net.inet.tcp.blackhole=2 # drop tcp packets destined for
closed ports
security.bsd.see_other_uids=0 # hide processes for root from
user uid's
net.inet.ip.fw.dyn_buckets=65536
net.inet.ip.fw.dyn_max=65536
hw.intr_storm_threshold=9000
net.inet.ip.dummynet.pipe_slot_limit=800
kern.ipc.nmbclusters=262144
kern.ipc.maxsockets=204800
/etc/make.conf:
WITHOUT_X11=yes
WITH_PKGNG=yes
- OpenBGP compiled from ports.
- Commodity Hardware./
- no pfsync or carp use.
- kernel load: 1.64
hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
hw.ncpu: 4
hw.byteorder: 1234
hw.physmem: 8286969856/
--------------090401060708060702020700
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Aditional Information:<br>
<br>
dmesg:<br>
<br>
Copyright (c) 1992-2014 The FreeBSD Project.<br>
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994<br>
The Regents of the University of California. All rights
reserved.<br>
FreeBSD is a registered trademark of The FreeBSD Foundation.<br>
FreeBSD 10.0-STABLE #5 r264032: Wed Apr 2 23:32:55 BRT 2014<br>
<a class="moz-txt-link-abbreviated" href="mailto:root at rt01.intnet.com.br:/usr/obj/usr/src/sys/INTNET10">root at rt01.intnet.com.br:/usr/obj/usr/src/sys/INTNET10</a> amd64<br>
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216<br>
CPU: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (3192.82-MHz K8-class
CPU)<br>
Origin = "GenuineIntel" Id = 0x206a7 Family = 0x6 Model = 0x2a
Stepping = 7<br>
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><br>
Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX><br>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM><br>
AMD Features2=0x1<LAHF><br>
TSC: P-state invariant, performance statistics<br>
real memory = 8589934592 (8192 MB)<br>
avail memory = 7988715520 (7618 MB)<br>
Event timer "LAPIC" quality 600<br>
ACPI APIC Table: <INTEL S1200BTS><br>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs<br>
FreeBSD/SMP: 1 package(s) x 4 core(s)<br>
cpu0 (BSP): APIC ID: 0<br>
cpu1 (AP): APIC ID: 2<br>
cpu2 (AP): APIC ID: 4<br>
cpu3 (AP): APIC ID: 6<br>
ioapic0 <Version 2.0> irqs 0-23 on motherboard<br>
kbd1 at kbdmux0<br>
random: <Software, Yarrow> initialized<br>
cryptosoft0: <software crypto> on motherboard<br>
acpi0: <INTEL> on motherboard<br>
acpi0: Power Button (fixed)<br>
acpi0: reservation of 0, 9d000 (3) failed<br>
cpu0: <ACPI CPU> on acpi0<br>
cpu1: <ACPI CPU> on acpi0<br>
cpu2: <ACPI CPU> on acpi0<br>
cpu3: <ACPI CPU> on acpi0<br>
hpet0: <High Precision Event Timer> iomem
0xfed00000-0xfed003ff on acpi0<br>
Timecounter "HPET" frequency 14318180 Hz quality 950<br>
Event timer "HPET" frequency 14318180 Hz quality 550<br>
Event timer "HPET1" frequency 14318180 Hz quality 440<br>
Event timer "HPET2" frequency 14318180 Hz quality 440<br>
Event timer "HPET3" frequency 14318180 Hz quality 440<br>
Event timer "HPET4" frequency 14318180 Hz quality 440<br>
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0<br>
atrtc0: Warning: Couldn't map I/O.<br>
Event timer "RTC" frequency 32768 Hz quality 0<br>
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0<br>
Timecounter "i8254" frequency 1193182 Hz quality 0<br>
Event timer "i8254" frequency 1193182 Hz quality 100<br>
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900<br>
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on
acpi0<br>
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0<br>
pci0: <ACPI PCI bus> on pcib0<br>
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0<br>
pci1: <ACPI PCI bus> on pcib1<br>
em0: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x5020-0x503f mem 0xc1c60000-0xc1c7ffff,0xc1c40000-0xc1c5ffff irq 16
at device 0.0 on pci1<br>
em0: Using an MSI interrupt<br>
em0: Ethernet address: 00:15:17:86:d2:de<br>
em1: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x5000-0x501f mem 0xc1c20000-0xc1c3ffff,0xc1c00000-0xc1c1ffff irq 17
at device 0.1 on pci1<br>
em1: Using an MSI interrupt<br>
em1: Ethernet address: 00:15:17:86:d2:df<br>
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 1.1 on pci0<br>
pci2: <ACPI PCI bus> on pcib2<br>
em2: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x4020-0x403f mem 0xc1b60000-0xc1b7ffff,0xc1b40000-0xc1b5ffff irq 17
at device 0.0 on pci2<br>
em2: Using an MSI interrupt<br>
em2: Ethernet address: 00:15:17:8c:81:d6<br>
em3: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x4000-0x401f mem 0xc1b20000-0xc1b3ffff,0xc1b00000-0xc1b1ffff irq 18
at device 0.1 on pci2<br>
em3: Using an MSI interrupt<br>
em3: Ethernet address: 00:15:17:8c:81:d7<br>
em4: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x6040-0x605f mem 0xc1d00000-0xc1d1ffff,0xc1d70000-0xc1d70fff irq 19
at device 25.0 on pci0<br>
em4: Using an MSI interrupt<br>
em4: Ethernet address: 00:1e:67:77:de:63<br>
ehci0: <EHCI (generic) USB 2.0 controller> mem
0xc1d60000-0xc1d603ff irq 22 at device 26.0 on pci0<br>
usbus0: EHCI version 1.0<br>
usbus0 on ehci0<br>
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0<br>
pci3: <ACPI PCI bus> on pcib3<br>
em5: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x3020-0x303f mem 0xc1060000-0xc107ffff,0xc1040000-0xc105ffff irq 16
at device 0.0 on pci3<br>
em5: Using an MSI interrupt<br>
em5: Ethernet address: 00:15:17:86:b8:d6<br>
em6: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x3000-0x301f mem 0xc1020000-0xc103ffff,0xc1000000-0xc101ffff irq 17
at device 0.1 on pci3<br>
em6: Using an MSI interrupt<br>
em6: Ethernet address: 00:15:17:86:b8:d7<br>
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0<br>
pci4: <ACPI PCI bus> on pcib4<br>
em7: <Intel(R) PRO/1000 Network Connection 7.3.8> port
0x2000-0x201f mem 0xc1a00000-0xc1a1ffff,0xc1a20000-0xc1a23fff irq 16
at device 0.0 on pci4<br>
em7: Using MSIX interrupts with 3 vectors<br>
em7: Ethernet address: 00:1e:67:77:de:62<br>
ehci1: <EHCI (generic) USB 2.0 controller> mem
0xc1d50000-0xc1d503ff irq 20 at device 29.0 on pci0<br>
usbus1: EHCI version 1.0<br>
usbus1 on ehci1<br>
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0<br>
pci5: <ACPI PCI bus> on pcib5<br>
vgapci0: <VGA-compatible display> mem 0xc0000000-0xc0ffffff at
device 2.0 on pci5<br>
vgapci0: Boot video device<br>
isab0: <PCI-ISA bridge> at device 31.0 on pci0<br>
isa0: <ISA bus> on isab0<br>
ahci0: <Intel Cougar Point AHCI SATA controller> port
0x6090-0x6097,0x6080-0x6083,0x6070-0x6077,0x6060-0x6063,0x6020-0x603f
mem 0xc1d40000-0xc1d407ff irq 21 at device 31.2 on pci0<br>
ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported<br>
ahcich0: <AHCI channel> at channel 0 on ahci0<br>
ahcich1: <AHCI channel> at channel 1 on ahci0<br>
ahcich2: <AHCI channel> at channel 2 on ahci0<br>
ahcich3: <AHCI channel> at channel 3 on ahci0<br>
ahcich4: <AHCI channel> at channel 4 on ahci0<br>
ahcich5: <AHCI channel> at channel 5 on ahci0<br>
ahciem0: <AHCI enclosure management bridge> on ahci0<br>
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)<br>
acpi_button0: <Sleep Button> on acpi0<br>
acpi_tz0: <Thermal Zone> on acpi0<br>
acpi_tz1: <Thermal Zone> on acpi0<br>
battery0: <ACPI Control Method Battery> on acpi0<br>
battery1: <ACPI Control Method Battery> on acpi0<br>
battery2: <ACPI Control Method Battery> on acpi0<br>
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10
on acpi0<br>
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff,0xce000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xd2000-0xd2fff,0xd3000-0xd3fff
on isa0<br>
sc0: <System console> at flags 0x100 on isa0<br>
sc0: VGA <16 virtual consoles, flags=0x300><br>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0<br>
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on
isa0<br>
atkbd0: <AT Keyboard> irq 1 on atkbdc0<br>
kbd0 at atkbd0<br>
atkbd0: [GIANT-LOCKED]<br>
est0: <Enhanced SpeedStep Frequency Control> on cpu0<br>
p4tcc0: <CPU Frequency Thermal Control> on cpu0<br>
est1: <Enhanced SpeedStep Frequency Control> on cpu1<br>
p4tcc1: <CPU Frequency Thermal Control> on cpu1<br>
est2: <Enhanced SpeedStep Frequency Control> on cpu2<br>
p4tcc2: <CPU Frequency Thermal Control> on cpu2<br>
est3: <Enhanced SpeedStep Frequency Control> on cpu3<br>
p4tcc3: <CPU Frequency Thermal Control> on cpu3<br>
Timecounters tick every 1.000 msec<br>
IPsec: Initialized Security Association Processing.<br>
ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to
accept, logging disabled<br>
DUMMYNET 0 with IPv6 initialized (100409)<br>
load_dn_sched dn_sched FIFO loaded<br>
load_dn_sched dn_sched PRIO loaded<br>
load_dn_sched dn_sched QFQ loaded<br>
load_dn_sched dn_sched RR loaded<br>
load_dn_sched dn_sched WF2Q+ loaded<br>
random: unblocking device.<br>
usbus0: 480Mbps High Speed USB v2.0<br>
usbus1: 480Mbps High Speed USB v2.0<br>
ugen0.1: <Intel> at usbus0<br>
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>
on usbus0<br>
ugen1.1: <Intel> at usbus1<br>
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1>
on usbus1<br>
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0<br>
ada0: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device<br>
ada0: Serial Number WD-WCAV5U676716<br>
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)<br>
ada0: Command Queueing enabled<br>
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)<br>
ada0: quirks=0x1<4K><br>
ada0: Previously was known as ad4<br>
pass1 at ahciem0 bus 0 scbus6 target 0 lun 0<br>
pass1: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device<br>
SMP: AP CPU #2 Launched!<br>
SMP: AP CPU #1 Launched!<br>
SMP: AP CPU #3 Launched!<br>
Timecounter "TSC-low" frequency 1596409044 Hz quality 1000<br>
Root mount waiting for: usbus1 usbus0<br>
uhub1: 2 ports with 2 removable, self powered<br>
uhub0: 2 ports with 2 removable, self powered<br>
Root mount waiting for: usbus1 usbus0<br>
ugen1.2: <vendor 0x8087> at usbus1<br>
uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00,
addr 2> on usbus1<br>
ugen0.2: <vendor 0x8087> at usbus0<br>
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00,
addr 2> on usbus0<br>
Root mount waiting for: usbus1 usbus0<br>
uhub2: 6 ports with 6 removable, self powered<br>
uhub3: 6 ports with 6 removable, self powered<br>
ugen1.3: <Cypress Semiconductor> at usbus1<br>
Root mount waiting for: usbus1<br>
ugen1.4: <USB> at usbus1<br>
ukbd0: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on
usbus1<br>
kbd2 at ukbd0<br>
Trying to mount root from ufs:/dev/label/rootfs [rw]...<br>
lagg1: IPv6 addresses on em2 have been removed before adding it as a
member to prevent IPv6 address scope violation.<br>
lagg1: IPv6 addresses on em5 have been removed before adding it as a
member to prevent IPv6 address scope violation.<br>
uhid0: <Cypress Semiconductor USB to Serial, class 0/0, rev
1.00/0.00, addr 3> on usbus1<br>
uhid1: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on
usbus1<br>
<br>
================================================================================<br>
<br>
My kernel:<br>
<br>
cpu HAMMER<br>
ident INTNET10<br>
options SCHED_ULE # ULE scheduler<br>
options PREEMPTION # Enable kernel thread preemption<br>
options INET # InterNETworking<br>
options INET6 # IPv6 communications protocols<br>
options TCP_OFFLOAD # TCP offload<br>
options SCTP # Stream Control Transmission Protocol<br>
options FFS # Berkeley Fast Filesystem<br>
options SOFTUPDATES # Enable FFS soft updates support<br>
options UFS_ACL # Support for access control lists<br>
options UFS_DIRHASH # Improve performance on big
directories<br>
options UFS_GJOURNAL # Enable gjournal-based UFS
journaling<br>
options QUOTA # Enable disk quotas for UFS<br>
options MD_ROOT # MD is a potential root device<br>
options NFSCL # New Network Filesystem Client<br>
options NFSD # New Network Filesystem Server<br>
options NFSLOCKD # Network Lock Manager<br>
options NFS_ROOT # NFS usable as /, requires NFSCL<br>
options MSDOSFS # MSDOS Filesystem<br>
options CD9660 # ISO 9660 Filesystem<br>
options PROCFS # Process filesystem (requires
PSEUDOFS)<br>
options PSEUDOFS # Pseudo-filesystem framework<br>
options GEOM_PART_GPT # GUID Partition Tables.<br>
options GEOM_RAID # Soft RAID functionality.<br>
options GEOM_LABEL # Provides labelization<br>
options COMPAT_FREEBSD32 # Compatible with i386 binaries<br>
options COMPAT_FREEBSD4 # Compatible with FreeBSD4<br>
options COMPAT_FREEBSD5 # Compatible with FreeBSD5<br>
options COMPAT_FREEBSD6 # Compatible with FreeBSD6<br>
options COMPAT_FREEBSD7 # Compatible with FreeBSD7<br>
options SCSI_DELAY=5000 # Delay (in ms) before probing
SCSI<br>
options STACK # stack(9) support<br>
options SYSVSHM # SYSV-style shared memory<br>
options SYSVMSG # SYSV-style message queues<br>
options SYSVSEM # SYSV-style semaphores<br>
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions<br>
options PRINTF_BUFR_SIZE=128 # Prevent printf output being
interspersed.<br>
options KBD_INSTALL_CDEV # install a CDEV entry in /dev<br>
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)<br>
options CAPABILITY_MODE # Capsicum capability mode<br>
options CAPABILITIES # Capsicum capabilities<br>
options PROCDESC # Support for process descriptors<br>
options INCLUDE_CONFIG_FILE # Include this file in kernel<br>
options SMP # Symmetric MultiProcessor Kernel<br>
device cpufreq<br>
device acpi<br>
device pci<br>
device ahci # AHCI-compatible SATA controllers<br>
device ata # Legacy ATA/SATA controllers<br>
options ATA_STATIC_ID # Static device numbering<br>
device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC
SATA<br>
device siis # SiliconImage SiI3124/SiI3132/SiI3531
SATA<br>
device scbus # SCSI bus (required for ATA/SCSI)<br>
device da # Direct Access (disks)<br>
device pass # Passthrough device (direct ATA/SCSI
access)<br>
device atkbdc # AT keyboard controller<br>
device atkbd # AT keyboard<br>
device psm # PS/2 mouse<br>
device kbdmux # keyboard multiplexer<br>
device vga # VGA video card driver<br>
options VESA # Add support for VESA BIOS Extensions (VBE)<br>
device splash # Splash screen and screen saver support<br>
device sc<br>
options SC_PIXEL_MODE # add support for the raster text mode<br>
device agp # support several AGP chipsets<br>
device uart # Generic UART driver<br>
device em # Intel PRO/1000 Gigabit Ethernet Family<br>
device igb # Intel PRO/1000 PCIE Server Gigabit Family<br>
device ixgbe # Intel PRO/10GbE PCIE Ethernet Family<br>
device loop # Network loopback<br>
device random # Entropy device<br>
device padlock_rng # VIA Padlock RNG<br>
device rdrand_rng # Intel Bull Mountain RNG<br>
device ether # Ethernet support<br>
device vlan # 802.1Q VLAN support<br>
device tun # Packet tunnel.<br>
device md # Memory "disks"<br>
device gif # IPv6 and IPv4 tunneling<br>
device faith # IPv6-to-IPv4 relaying (translation)<br>
device firmware # firmware assist module<br>
device bpf # Berkeley packet filter<br>
options USB_DEBUG # enable debug msgs<br>
device uhci # UHCI PCI->USB interface<br>
device ohci # OHCI PCI->USB interface<br>
device ehci # EHCI PCI->USB interface (USB 2.0)<br>
device xhci # XHCI PCI->USB interface (USB 3.0)<br>
device usb # USB Bus (required)<br>
device ukbd # Keyboard<br>
device umass # Disks/Mass storage - Requires scbus and
da<br>
options IPFIREWALL<br>
options IPFIREWALL_VERBOSE<br>
options IPFIREWALL_VERBOSE_LIMIT=100<br>
options IPFIREWALL_DEFAULT_TO_ACCEPT<br>
options IPFIREWALL_NAT<br>
options LIBALIAS<br>
options DUMMYNET<br>
options IPDIVERT<br>
options ROUTETABLES=2<br>
options IPSTEALTH<br>
options TCP_SIGNATURE #include support for RFC
2385<br>
options IPSEC<br>
device crypto<br>
options DEVICE_POLLING<br>
options HZ=3000 # (32 bits UP, HZ=2000 32bits SMP, HZ=2000
UP 64bits, HZ=XXX - empirico, SMP 64bits)<br>
device carp<br>
device lagg<br>
device pf<br>
device pflog<br>
device pfsync<br>
options ALTQ<br>
options ALTQ_CBQ # Class Bases Queuing (CBQ)<br>
options ALTQ_RED # Random Early Detection (RED)<br>
options ALTQ_RIO # RED In/Out<br>
options ALTQ_HFSC # Hierarchical Packet Scheduler
(HFSC)<br>
options ALTQ_PRIQ # Priority Queuing (PRIQ)<br>
options ALTQ_NOPCC # Required for SMP build<br>
<br>
loader.conf:<br>
<br>
loader_logo="beastie"<br>
if_lagg_load="YES"<br>
speaker_load="YES"<br>
aio_load="YES" # Async IO system calls<br>
autoboot_delay="5" # reduce boot menu delay from 10
to 3 seconds<br>
<br>
sysctl.conf:<br>
<br>
net.inet.ip.forwarding=1<br>
net.inet.ip.fastforwarding=1<br>
net.inet6.ip6.forwarding=1<br>
kern.ipc.somaxconn=4096 # 128 default<br>
net.inet.tcp.syncookies=1<br>
net.inet.ip.redirect=1 # do not send IP redirects<br>
net.inet.ip.accept_sourceroute=0 # drop source routed packets
since they can not be trusted<br>
net.inet.ip.sourceroute=0 # if source routed packets are
accepted the route data is ignored<br>
net.inet.tcp.drop_synfin=1 # SYN/FIN packets get dropped
on initial connection<br>
net.inet.udp.blackhole=1 # drop udp packets destined
for closed sockets<br>
net.inet.tcp.blackhole=2 # drop tcp packets destined
for closed ports<br>
security.bsd.see_other_uids=0 # hide processes for root from
user uid's<br>
net.inet.ip.fw.dyn_buckets=65536<br>
net.inet.ip.fw.dyn_max=65536<br>
hw.intr_storm_threshold=9000<br>
net.inet.ip.dummynet.pipe_slot_limit=800<br>
kern.ipc.nmbclusters=262144<br>
kern.ipc.maxsockets=204800<br>
<br>
/etc/make.conf:<br>
<br>
WITHOUT_X11=yes<br>
WITH_PKGNG=yes<br>
<br>
- OpenBGP compiled from ports.<br>
- Commodity Hardware.<em><br>
- no pfsync or carp use.<br>
- kernel load: 1.64<br>
<br>
hw.machine: amd64<br>
hw.model: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz<br>
hw.ncpu: 4<br>
hw.byteorder: 1234<br>
hw.physmem: 8286969856</em><br>
<br>
<br>
</body>
</html>
--------------090401060708060702020700--
More information about the freebsd-amd64
mailing list