From owner-freebsd-questions@FreeBSD.ORG Tue Jan 15 09:52:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B31C516A418 for ; Tue, 15 Jan 2008 09:52:03 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.17]) by mx1.freebsd.org (Postfix) with ESMTP id 34C4913C458 for ; Tue, 15 Jan 2008 09:52:03 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from smtp19.orange.fr (mwinf1903 [172.22.129.25]) by mwinf1915.orange.fr (SMTP Server) with ESMTP id 706CF5C1B521 for ; Tue, 15 Jan 2008 09:54:14 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1903.orange.fr (SMTP Server) with ESMTP id 4628E1C000E5 for ; Tue, 15 Jan 2008 09:54:13 +0100 (CET) Received: from [192.168.1.2] (ALyon-252-1-61-148.w82-122.abo.wanadoo.fr [82.122.171.148]) by mwinf1903.orange.fr (SMTP Server) with ESMTP id EE9DB1C0008A for ; Tue, 15 Jan 2008 09:54:12 +0100 (CET) X-ME-UUID: 20080115085412977.EE9DB1C0008A@mwinf1903.orange.fr Message-ID: <478C74B4.4070408@nicoelro.net> Date: Tue, 15 Jan 2008 09:54:12 +0100 From: Nicolas Letellier User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Very bad performances with wpi driver and 7.0-RC1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nicolas@nicoelro.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 09:52:03 -0000 Hello, I use FreeBSD 7.0-RC1 with my laptop (Asustek A6000 Series). Performances with wpi are very very bad: in my LAN, I download a file at 4 k/s. In Internet, I would believe I use a 56 k connection :-) In this laptop, I have a NIC (chipset re), and I don't have any problem with. The connection is very very stable. The problem is juste with wpi and my Wireless NIC. I test OpenBSD-current, and I didn't have any problem with wpi. The problem is juste with FreeBSD 7.0-RC1. I have any firewalls, nothing. All is perfect with my NIC re. I test with GENERIC, and I build my own kernel (with wpi support build into kernel). The problem is the same. See more informations here: numenor# cat /boot/loader.conf nvidia_load="YES" wpifw_load="YES" legal.intel_wpi.license_ack=1 numenor# cat /etc/rc.conf defaultrouter="192.168.1.249" hostname="numenor.********" ifconfig_wpi0="inet 192.168.1.4 ssid Nicoelro_Wifi" numenor# ifconfig wpi0 wpi0: flags=8843 metric 0 mtu 1500 ether 00:13:02:dd:05:5f inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid Nicoelro_Wifi channel 10 (2457 Mhz 11g) bssid 00:0f:b5:b9:9f:cc authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 protmode CTS Sometimes, I see this message: wpi0: discard frame w/o packet header numenor# sysctl -a | grep wpi net.wlan.0.%parent: wpi0 debug.wpi: 0 dev.wpi.0.%desc: Intel(R) PRO/Wireless 3945ABG dev.wpi.0.%driver: wpi dev.wpi.0.%location: slot=0 function=0 handle=\_SB_.PCI0.P0P7.WLAN dev.wpi.0.%pnpinfo: vendor=0x8086 device=0x4222 subvendor=0x8086 subdevice=0x1001 class=0x028000 dev.wpi.0.%parent: pci3 numenor# dmesg *Copyright (c) 1992-2008 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 7.0-RC1 #1: Mon Jan 14 18:12:58 CET 2008 root@numenor.nicoelro.net:/usr/obj/usr/src/sys/NUMENOR Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1662.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8 Features=0xbfe9fbff Features2=0xc189 AMD Features=0x100000 Cores per package: 2 real memory = 1073545216 (1023 MB) avail memory = 1032773632 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 hptrr: HPT RocketRAID controller driver v1.1 (Jan 14 2008 18:12:38) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6130a2c06000613 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] - D6, should be 9C [20070320] est1: on cpu1 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] pcm0: mem 0xfebfc000-0xfebfffff irq 21 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 re0: port 0xc800-0xc8ff mem 0xfe0ff000-0xfe0fffff irq 16 at device 0.0 on pci2 re0: Using 2 MSI messages miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:18:f3:5b:f6:31 re0: [FILTER] re0: [FILTER] pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 wpi0: mem 0xfe1ff000-0xfe1fffff irq 19 at device 0.0 on pci3 bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. wpi0: Ethernet address: 00:13:02:dd:05:5f wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps uhci0: port 0xec00-0xec1f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe880-0xe89f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe480-0xe49f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfebfbc00-0xfebfbfff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered ugen0: on uhub4 pcib4: at device 30.0 on pci0 pci4: on pcib4 pci4: at device 1.0 (no driver attached) pci4: at device 1.1 (no driver attached) pci4: at device 1.2 (no driver attached) pci4: at device 1.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec hptrr: no controller detected. ad0: 95396MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA33 pcm0: pcm0: SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad0s1 is msdosfs/RECOVERY. GEOM_LABEL: Label for provider ad0s2 is ntfs/Syst\M-hme. GEOM_LABEL: Label for provider ad0s5 is msdosfs/ . Trying to mount root from ufs:/dev/ad0s3a * Am is alone with this performance problem? I cannot use wpi driver in these conditions, so I use re driver for my NIC. Nicolas