From owner-freebsd-questions@FreeBSD.ORG Tue Jan 15 11:07:37 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 6309B16A419 for ; Tue, 15 Jan 2008 11:07:37 +0000 (UTC) (envelope-from mneumann@ntecs.de) Received: from core.ntecs.de (213-239-223-123.clients.your-server.de [213.239.223.123]) by mx1.freebsd.org (Postfix) with ESMTP id B18B213C442 for ; Tue, 15 Jan 2008 11:07:36 +0000 (UTC) (envelope-from mneumann@ntecs.de) Received: from localhost (unknown [127.0.0.1]) by core.ntecs.de (Postfix) with ESMTP id C47D532134; Tue, 15 Jan 2008 11:34:46 +0100 (CET) Received: from core.ntecs.de ([127.0.0.1]) by localhost (core.ntecs.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95139-01; Tue, 15 Jan 2008 11:34:42 +0100 (CET) Received: from [192.168.1.24] (krlh-4dbd0dfc.pool.einsundeins.de [77.189.13.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.ntecs.de (Postfix) with ESMTP id 665EB2DF82; Tue, 15 Jan 2008 11:34:42 +0100 (CET) Message-ID: <478C8D24.70406@ntecs.de> Date: Tue, 15 Jan 2008 11:38:28 +0100 From: Michael Neumann User-Agent: Thunderbird 2.0.0.9 (X11/20071203) MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.questions To: nicolas@nicoelro.net References: <478C74B4.4070408@nicoelro.net> In-Reply-To: <478C74B4.4070408@nicoelro.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ntecs.de Cc: FreeBSD Questions Subject: Re: Very bad performances with wpi driver and 7.0-RC1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 11:07:37 -0000 Nicolas Letellier wrote: > 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. I had similar problems. *Very* slow and unstable connection using wpi0. And WPA never worked. I tried it with NetBSD 4.0 (just out of curiosity) and it was working very stable and fast (even WPA)! I was running FreeBSD-7.0 RC3 and now -CURRENT. In both cases no success, so that I don't use wpi0 at all right now. Regards, Michael