From owner-freebsd-stable@FreeBSD.ORG Tue Jan 15 21:07:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1909416A418 for ; Tue, 15 Jan 2008 21:07:31 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9B613C457 for ; Tue, 15 Jan 2008 21:07:26 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so3126459fgg.35 for ; Tue, 15 Jan 2008 13:07:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=azc/XXpdc3yG5Sq8rRWo2qIJ9sdXltHmTI+lxV4D2f8=; b=v6mTmkYwuEtTKis8BwdJOQ7h3ARXQ2Grs3bdL/0lExOWKYLDfuCIsDxhyAMIeM8bDFl+hX6BIrPuhtebX61V95HzE3/Eju3uVMVe+Z7S9Xnr9jyP4NJt1FljOXwrN5CUAuwvqhSnzxEyGgOsDC9yXFGkxuxrpDECrB2LxGoQnCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NR9UFkLedopnoktPQOHMiR2QEUyUSgOvKJaxDHzBtUlXygLgaiUVdv921/4r+cytzA1m+Idfm450Q6C36TfG5I9k01oZ4Gji1qn5EP/30R3zp9t2hLBAGTtXjrljEnA9x3AFHR9RbSiN4UwNKc9YoutkPnAsHY+bTeHUOV0wq5U= Received: by 10.86.61.13 with SMTP id j13mr7803210fga.48.1200429608895; Tue, 15 Jan 2008 12:40:08 -0800 (PST) Received: by 10.86.66.17 with HTTP; Tue, 15 Jan 2008 12:40:08 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 22:40:08 +0200 From: "Dennis Melentyev" To: nicolas@nicoelro.net In-Reply-To: <478C70B2.1050300@nicoelro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <478C70B2.1050300@nicoelro.net> Cc: freebsd-stable@freebsd.org Subject: Re: Very bad performances with wpi and 7.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 21:07:31 -0000 Hi Nicolas! My card on Dell Latitude D830 is somewhat different (note subdevice): # 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.RP02.PXS2 dev.wpi.0.%pnpinfo: vendor=0x8086 device=0x4222 subvendor=0x8086 subdevice=0x1021 class=0x028000 dev.wpi.0.%parent: pci12 # uname -v FreeBSD 7.0-PRERELEASE #6: Wed Jan 9 20:57:45 EET 2008 root@*******:/usr/obj/usr/src/sys/GENERIC aside this, everything else is quite the same. I had bad performance with syslink (I believe, could be wrong at hotel) and everything is good with DLink DI-524. PS. Also seeing messages while associating/DHCPing: wpi0: wpi_cmd: cmd 72 not sent, busy wpi0: wpi_cmd: cmd 72 not sent, busy wpi0: discard frame w/o packet header 2008/1/15, Nicolas Letellier : > 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Dennis Melentyev