Date: Tue, 15 Jan 2008 11:38:28 +0100 From: Michael Neumann <mneumann@ntecs.de> To: nicolas@nicoelro.net Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Very bad performances with wpi driver and 7.0-RC1 Message-ID: <478C8D24.70406@ntecs.de> In-Reply-To: <478C74B4.4070408@nicoelro.net> References: <478C74B4.4070408@nicoelro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0xc189<SSE3,MON,EST,TM2,xTPR,PDCM> > AMD Features=0x100000<NX> > Cores per package: 2 > real memory = 1073545216 (1023 MB) > avail memory = 1032773632 (984 MB) > ACPI APIC Table: <A M I OEMAPIC > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 <Version 2.0> irqs 0-23 on motherboard > kbd1 at kbdmux0 > hptrr: HPT RocketRAID controller driver v1.1 (Jan 14 2008 18:12:38) > acpi0: <A M I OEMRSDT> 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: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0 > cpu0: <ACPI CPU> on acpi0 > est0: <Enhanced SpeedStep Frequency Control> on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 6130a2c06000613 > device_attach: est0 attach returned 6 > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > cpu1: <ACPI CPU> on acpi0 > ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] - D6, > should be 9C [20070320] > est1: <Enhanced SpeedStep Frequency Control> on cpu1 > p4tcc1: <CPU Frequency Thermal Control> on cpu1 > 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 > nvidia0: <GeForce Go 7300> mem > 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 16 > at device 0.0 on pci1 > nvidia0: [GIANT-LOCKED] > nvidia0: [ITHREAD] > pcm0: <Intel 82801G High Definition Audio Controller> mem > 0xfebfc000-0xfebfffff irq 21 at device 27.0 on pci0 > pcm0: [ITHREAD] > pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 > pci2: <ACPI PCI bus> on pcib2 > re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xc800-0xc8ff mem > 0xfe0ff000-0xfe0fffff irq 16 at device 0.0 on pci2 > re0: Using 2 MSI messages > miibus0: <MII bus> on re0 > rgephy0: <RTL8169S/8110S/8211B media interface> 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: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0 > pci3: <ACPI PCI bus> on pcib3 > wpi0: <Intel(R) PRO/Wireless 3945ABG> 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: <UHCI (generic) USB controller> port 0xec00-0xec1f irq 23 at > device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: <UHCI (generic) USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: <UHCI (generic) USB controller> port 0xe880-0xe89f irq 19 at > device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: <UHCI (generic) USB controller> on uhci1 > usb1: USB revision 1.0 > uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: <UHCI (generic) USB controller> port 0xe800-0xe81f irq 18 at > device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: <UHCI (generic) USB controller> on uhci2 > usb2: USB revision 1.0 > uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 > uhub2: 2 ports with 2 removable, self powered > uhci3: <UHCI (generic) USB controller> port 0xe480-0xe49f irq 22 at > device 29.3 on pci0 > uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > usb3: <UHCI (generic) USB controller> on uhci3 > usb3: USB revision 1.0 > uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 > uhub3: 2 ports with 2 removable, self powered > ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> 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: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0 > usb4: USB revision 2.0 > uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4 > uhub4: 8 ports with 8 removable, self powered > ugen0: <Syntek USB2.0, class 0/0, rev 2.00/0.05, addr 2> on uhub4 > pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci4: <ACPI PCI bus> on pcib4 > pci4: <bridge, PCI-CardBus> at device 1.0 (no driver attached) > pci4: <serial bus, FireWire> at device 1.1 (no driver attached) > pci4: <base peripheral> at device 1.2 (no driver attached) > pci4: <base peripheral> at device 1.3 (no driver attached) > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel ICH7 UDMA100 controller> port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 > ata0: <ATA channel 0> on atapci0 > ata0: [ITHREAD] > ata1: <ATA channel 1> on atapci0 > ata1: [ITHREAD] > acpi_lid0: <Control Method Lid Switch> on acpi0 > acpi_button0: <Power Button> on acpi0 > acpi_button1: <Sleep Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > acpi_acad0: <AC Adapter> on acpi0 > battery0: <ACPI Control Method Battery> on acpi0 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > pmtimer0 on isa0 > orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff pnpid ORM0000 on isa0 > ppc0: parallel port not found. > 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 > ums0: <Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 2> on > uhub0 > ums0: 3 buttons and Z dir. > Timecounters tick every 1.000 msec > hptrr: no controller detected. > ad0: 95396MB <HTS541010G9AT00 MBZOA60A> at ata0-master UDMA100 > acd0: DVDR <TSSTcorpCD/DVDW TS-L532U/AS04> at ata0-slave UDMA33 > pcm0: <HDA Codec: Realtek ALC880> > pcm0: <HDA Driver Revision: 20071129_0050> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478C8D24.70406>