Date: Wed, 24 May 2006 15:23:46 +0200 From: Michel Gravey <michel.gravey@7ici.biz> To: freebsd-net@freebsd.org Subject: question about MPSAFE network stack disabled Message-ID: <20060524152346.e4v0qc89w48g4cws@webmail.7ici.biz>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. --=_4is5wj8fl2ck Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Hello all, I've got the following message during boot (on a 6.1 release custom kernel) : WARNING: MPSAFE network stack disabled, expect reduced performance. I do not use ipv6 nor ipsec, and they are disabled in my kernel config. The network driver used is bge. bpf, pf and altq are set, but I don't know if they can cause the network stack to fallback in non-mpsafe mode. You will find my dmesg and kernel conf attached. Would you please help me to find the cause of that message, to fix the resulting degraded performance induced by that problem. Please answer on my email, since I'm not a subscribed user of the freebsd-net mailing list for now. Thanks in advance, Michel Gravey ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --=_4is5wj8fl2ck Content-Type: application/octet-stream; name="PENEOX" Content-Disposition: attachment; filename="PENEOX" Content-Transfer-Encoding: 7bit # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.4 2005/10/28 19:21:27 jhb Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident PENEOX # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols 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 MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #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_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) 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 KBD_INSTALL_CDEV # install a CDEV entry in /dev #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC options QUOTA # PF and ALTQ support 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 options SMP # Bus support. #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 ahc # AHA2940 and onboard AIC7xxx devices # 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 asr # DPT SmartRAID V, VI and Adaptec SCSI RAID options ASR_COMPAT # 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 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 # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # 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 bge # Broadcom BCM570xx Gigabit Ethernet # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP #device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # 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 --=_4is5wj8fl2ck Content-Type: application/octet-stream; name="dmesg.PENEOX" Content-Disposition: attachment; filename="dmesg.PENEOX" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2006 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 6.1-RELEASE #0: Tue May 23 15:16:37 CEST 2006 root@server:/usr/src/sys/i386/compile/PENEOX WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2782.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 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=0x4400<CNTX-ID,<b14>> real memory = 3757965312 (3583 MB) avail memory = 3682856960 (3512 MB) ACPI APIC Table: <DELL PE2650 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 <Version 1.1> irqs 0-15 on motherboard ioapic1 <Version 1.1> irqs 16-31 on motherboard ioapic2 <Version 1.1> irqs 32-47 on motherboard acpi0: <DELL PE2650> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <unknown> at device 4.0 (no driver attached) pci0: <unknown> at device 4.1 (no driver attached) pci0: <unknown> at device 4.2 (no driver attached) pci0: <display, VGA> at device 14.0 (no driver attached) atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8b0-0x8bf at device 15.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pci0: <serial bus, USB> at device 15.2 (no driver attached) isab0: <PCI-ISA bridge> at device 15.3 on pci0 isa0: <ISA bus> on isab0 pcib1: <ACPI Host-PCI bridge> on acpi0 pci5: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 8.0 on pci5 pci6: <ACPI PCI bus> on pcib2 ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xcc00-0xccff mem 0xf7cff000-0xf7cfffff irq 30 at device 6.0 on pci6 ahc0: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xc800-0xc8ff mem 0xf7cfe000-0xf7cfefff irq 31 at device 6.1 on pci6 ahc1: [GIANT-LOCKED] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib3: <ACPI Host-PCI bridge> on acpi0 pci4: <ACPI PCI bus> on pcib3 bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xf7f10000-0xf7f1ffff irq 28 at device 6.0 on pci4 miibus0: <MII bus> on bge0 brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:06:5b:f3:a7:c8 bge0: [GIANT-LOCKED] bge1: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xf7f00000-0xf7f0ffff irq 29 at device 8.0 on pci4 miibus1: <MII bus> on bge1 brgphy1: <BCM5701 10/100/1000baseTX PHY> on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:06:5b:f3:a7:c9 bge1: [GIANT-LOCKED] pcib4: <ACPI Host-PCI bridge> on acpi0 pci3: <ACPI PCI bus> on pcib4 pcib5: <ACPI Host-PCI bridge> on acpi0 pci1: <ACPI PCI bus> on pcib5 pcib6: <PCI-PCI bridge> at device 8.0 on pci1 pci2: <PCI bus> on pcib6 asr0: <Adaptec Caching SCSI RAID> mem 0xf8000000-0xfbffffff irq 20 at device 8.1 on pci1 asr0: [GIANT-LOCKED] asr0: ADAPTEC 3410S FW Rev. 370F, 4 channel, 256 CCBs, Protocol I2O fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xec000-0xeffff 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] 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 Timecounters tick every 1.000 msec acd0: CDROM <TEAC CD-ROM CD-224E/K.9A> at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle pass1 at asr0 bus 0 target 6 lun 0 pass1: <PE/PV 2x2 SCSI BP 1.1> Fixed Processor SCSI-2 device pass2 at asr0 bus 1 target 6 lun 0 pass2: <PE/PV 2x3 SCSI BP 1.1> Fixed Processor SCSI-2 device da0 at asr0 bus 0 target 0 lun 0 da0: <ADAPTEC RAID-5 370F> Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 140012MB (286744576 512 byte sectors: 255H 63S/T 17849C) SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a bge1: link state changed to UP --=_4is5wj8fl2ck--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060524152346.e4v0qc89w48g4cws>