From owner-freebsd-net@FreeBSD.ORG Wed May 24 13:23:41 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42F6C16A439 for ; Wed, 24 May 2006 13:23:41 +0000 (UTC) (envelope-from michel.gravey@7ici.biz) Received: from cocac.o.la (ds084-096-074-040.hosting.mediationtelecom.net [84.96.74.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1216143D49 for ; Wed, 24 May 2006 13:23:40 +0000 (GMT) (envelope-from michel.gravey@7ici.biz) Received: from localhost (webmail.7ici.biz [192.168.0.66]) by cocac.o.la (Postfix) with ESMTP id 3CD9773036 for ; Wed, 24 May 2006 15:23:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at o.la X-Spam-Score: -3.387 X-Spam-Level: X-Spam-Status: No, score=-3.387 tagged_above=-20 required=4.31 tests=[ALL_TRUSTED=-1.8, AWL=1.012, BAYES_00=-2.599] Received: from cocac.o.la ([192.168.0.66]) by localhost (cocac.o.la [192.168.0.66]) (amavisd-new, port 10024) with ESMTP id EaY7zAuJQ5DE for ; Wed, 24 May 2006 15:23:46 +0200 (CEST) Received: by cocac.o.la (Postfix, from userid 80) id A37D47302F; Wed, 24 May 2006 15:23:46 +0200 (CEST) Received: from ARennes-351-1-110-83.w86-214.abo.wanadoo.fr (ARennes-351-1-110-83.w86-214.abo.wanadoo.fr [86.214.148.83]) by webmail.7ici.biz (Horde MIME library) with HTTP; Wed, 24 May 2006 15:23:46 +0200 Message-ID: <20060524152346.e4v0qc89w48g4cws@webmail.7ici.biz> Date: Wed, 24 May 2006 15:23:46 +0200 From: Michel Gravey To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_4is5wj8fl2ck" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-6.0 Subject: question about MPSAFE network stack disabled X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 13:23:41 -0000 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 Features2=0x4400> real memory = 3757965312 (3583 MB) avail memory = 3682856960 (3512 MB) ACPI APIC Table: 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 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard acpi0: 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: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 4.0 (no driver attached) pci0: at device 4.1 (no driver attached) pci0: at device 4.2 (no driver attached) pci0: at device 14.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8b0-0x8bf at device 15.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 15.2 (no driver attached) isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci5: on pcib1 pcib2: at device 8.0 on pci5 pci6: on pcib2 ahc0: 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: 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: on acpi0 pci4: on pcib3 bge0: mem 0xf7f10000-0xf7f1ffff irq 28 at device 6.0 on pci4 miibus0: on bge0 brgphy0: 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: mem 0xf7f00000-0xf7f0ffff irq 29 at device 8.0 on pci4 miibus1: on bge1 brgphy1: 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: on acpi0 pci3: on pcib4 pcib5: on acpi0 pci1: on pcib5 pcib6: at device 8.0 on pci1 pci2: on pcib6 asr0: 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: 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: at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle pass1 at asr0 bus 0 target 6 lun 0 pass1: Fixed Processor SCSI-2 device pass2 at asr0 bus 1 target 6 lun 0 pass2: Fixed Processor SCSI-2 device da0 at asr0 bus 0 target 0 lun 0 da0: 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--