Date: Fri, 5 Sep 2008 02:55:25 GMT From: Pavel <figyshki@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: amd64/127102: Intel 3945ABG (wpi) low throughput Message-ID: <200809050255.m852tPbM010516@www.freebsd.org> Resent-Message-ID: <200809050300.m8530CG5084467@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127102 >Category: amd64 >Synopsis: Intel 3945ABG (wpi) low throughput >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 05 03:00:11 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pavel >Release: 7.1-PRERELEASE (RELENG_7) >Organization: >Environment: FreeBSD lapa-tyapa.domain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Sep 4 22:02:10 EDT 2008 root@lapa-tyapa.domain:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Environment: Hardware: Clevo M570TU, integrated WiFi CVSup'ed 03 Sept 2008 against RELENG_7 branch. Same behavior seen in 7-STABLE. Cablevision's cable modem to PFsense 1.2-RELEASE access point. WPA-PSK in use. 30-char WPA passphrase. /etc/wpa_supplicant.conf (sanitized): ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 fast_reauth=1 eapol_version=1 # # WPA2 auth for here. # network={ ssid="Moria" scan_ssid=1 proto=WPA2 key_mgmt=WPA-PSK psk=<EncodedStringHere> } wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:1c:bf:6c:39:f5 inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status: associated ssid Moria channel 36 (5180 Mhz 11a) bssid 00:02:6f:4b:c6:ec authmode WPA2/802.11i privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 50 bmiss 7 scanvalid 60 roaming MANUAL /etc/rc.conf has: 'fconfig_wpi0="WPA DHCP"' Transfers crawl at speeds measured in bps, ~900 bps. >How-To-Repeat: Uncertain. Above-listed environment seems to do it, though. >Fix: Patch attached with submission follows: 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.1-PRERELEASE #0: Thu Sep 4 22:02:10 EDT 2008 root@lapa-tyapa.domain:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (2394.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fa Stepping = 10 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF> Cores per package: 2 usable memory = 2132475904 (2033 MB) avail memory = 2057699328 (1962 MB) ACPI APIC Table: <INTEL CRESTLNE> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <MSTEST TESTONLY> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0 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 vgapci0: <VGA-compatible display> port 0x2000-0x207f mem 0xce000000-0xceffffff,0xd0000000-0xdfffffff,0xcc000000-0xcdffffff irq 16 at device 0.0 on pci1 uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x1800-0x181f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <Intel 82801H (ICH8) USB controller USB-D> 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: <Intel 82801H (ICH8) USB controller USB-E> port 0x1820-0x183f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <Intel 82801H (ICH8) USB controller USB-E> 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 ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xf0f04000-0xf0f043ff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0 usb2: USB revision 2.0 uhub2: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 uhub2: 4 ports with 4 removable, self powered ugen0: <Syntek USB2.0, class 0/0, rev 2.00/0.05, addr 2> on uhub2 pcm0: <Intel 82801H High Definition Audio Controller> mem 0xf0f00000-0xf0f03fff irq 22 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0 pci4: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0 pci6: <ACPI PCI bus> on pcib4 wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xf0800000-0xf0800fff irq 18 at device 0.0 on pci6 wpi0: Ethernet address: 00:1c:bf:6c:39:f5 wpi0: [ITHREAD] pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0 pci8: <ACPI PCI bus> on pcib5 re0: <RealTek 8168/8168B/8168C/8168CP/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0x5000-0x50ff mem 0xf0a00000-0xf0a00fff irq 19 at device 0.0 on pci8 re0: turning off MSI enable bit. re0: Chip rev. 0x38000000 re0: MAC rev. 0x00000000 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:90:f5:66:db:70 re0: [FILTER] pcib6: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0 pci10: <ACPI PCI bus> on pcib6 pcib7: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0 pci11: <ACPI PCI bus> on pcib7 uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x1840-0x185f irq 23 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2 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 uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x1860-0x187f irq 19 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3 usb4: USB revision 1.0 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x1880-0x189f irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4 usb5: USB revision 1.0 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5 uhub5: 2 ports with 2 removable, self powered ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xf0f04400-0xf0f047ff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1 usb6: USB revision 2.0 uhub6: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb6 uhub6: 6 ports with 6 removable, self powered pcib8: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci12: <ACPI PCI bus> on pcib8 pci12: <memory, flash> at device 7.0 (no driver attached) pci12: <base peripheral> at device 7.1 (no driver attached) pci12: <memory, flash> at device 7.3 (no driver attached) fwohci0: <VIA Fire II (VT6306)> port 0x6000-0x607f mem 0xf0c00000-0xf0c007ff irq 19 at device 9.0 on pci12 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:06:66:00:00:00:2d fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 dcons_crom0: <dcons configuration ROM> on firewire0 dcons_crom0: bus_addr 0x112c000 fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:11:06:00:00:2d fwe0: Ethernet address: 02:11:06:00:00:2d fwip0: <IP over FireWire> on firewire0 fwip0: Firewire address: 00:11:06:66:00:00:00:2d @ 0xfffe00000000, S400, maxrec 2048 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH8M SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18e0-0x18ef,0x18d0-0x18df at device 31.2 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) cpu0: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 battery0: <ACPI Control Method Battery> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 acpi_acad0: <AC Adapter> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_tz0: <Thermal Zone> 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 Generic PS/2 mouse, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A sio1: [FILTER] orm0: <ISA Option ROMs> at iomem 0xce000-0xcefff,0xe0000-0xe17ff on isa0 ppc0: cannot reserve I/O port range 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 ugen1: <TouchStrip Fingerprint Sensor, class 0/0, rev 1.00/0.01, addr 2> on uhub1 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 114473MB <Seagate ST9120823AS 3.AAB> at ata0-master SATA150 GEOM_LABEL: Label for provider ad0s1 is msdosfs/grub. acd0: DVDR <TSSTcorpCD/DVDW TS-L632D/TI03> at ata1-master UDMA33 pcm0: <HDA Codec: Realtek ALC883> pcm0: <HDA Driver Revision: 20080420_0052> GEOM_LABEL: Label for provider ad0s5 is ntfs/XP_DATA. GEOM_LABEL: Label for provider ad0s6 is msdosfs/Shared_Data. GEOM_LABEL: Label for provider acd0 is iso9660/GTA_SAN_ANDREAS. SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s3a GEOM_LABEL: Label msdosfs/grub removed. GEOM_LABEL: Label msdosfs/Shared_Data removed. wpi0: timeout resetting Tx ring 1 wpi0: timeout resetting Tx ring 3 wpi0: timeout resetting Tx ring 4 wpi0: fatal firmware error wpi0: timeout resetting Rx ring fire_saver: the console does not support M_VGA_CG320 module_register_init: MOD_LOAD (fire_saver, 0xffffffffae7cd000, 0) error 19 **************************** pfsense's dmesg: $ dmesg Copyright (c) 1992-2007 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 6.2-RELEASE-p11 #0: Sun Feb 24 17:36:53 EST 2008 sullrich@builder6.pfsense.com:/usr/obj.pfSense/usr/src/sys/pfSense_wrap.6 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Stepping = 2 Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX> AMD Features=0xc0400000<MMX+,3DNow+,3DNow> real memory = 268435456 (256 MB) avail memory = 253272064 (241 MB) pnpbios: Bad PnP BIOS data checksum wlan: mac acl policy registered K6-family MTRR support enabled (2 registers) ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cpu0 on motherboard pcib0: <Host to PCI bridge> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 MFGPT bar: f00100006200 pci0: <encrypt/decrypt, entertainment crypto> at device 1.2 (no driver attached) vr0: <VIA VT6105M Rhine III 10/100BaseTX> port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0 miibus0: <MII bus> on vr0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:0d:b9:13:ae:04 vr1: <VIA VT6105M Rhine III 10/100BaseTX> port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 12 at device 11.0 on pci0 miibus1: <MII bus> on vr1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr1: Ethernet address: 00:0d:b9:13:ae:05 ath0: <Atheros 5212> mem 0xe0080000-0xe008ffff irq 11 at device 14.0 on pci0 ath0: Ethernet address: 00:02:6f:4b:c6:ec ath0: mac 10.4 phy 6.1 radio 6.3 isab0: <PCI-ISA bridge> port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <GENERIC ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 ohci0: <OHCI (generic) USB controller> mem 0xefffe000-0xefffefff irq 15 at device 15.4 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ehci0: <AMD CS5536 USB 2.0 controller> mem 0xefffd000-0xefffdfff irq 15 at device 15.5 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: <AMD CS5536 USB 2.0 controller> on ehci0 usb1: USB revision 2.0 uhub1: AMD EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered orm0: <ISA Option ROM> at iomem 0xe0000-0xea7ff on isa0 ppc0: parallel port not found. sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled RTC BIOS diagnostic error 80<clock_battery> Timecounter "TSC" frequency 498052719 Hz quality 800 Timecounters tick every 10.000 msec Fast IPsec: Initialized Security Association Processing. ad0: 1953MB <SanDisk SDCFH-2048 HDX 4.04> at ata0-master PIO4 GEOM_LABEL: Label for provider ad0a is ufs/pfSense. GEOM_LABEL: Label for provider ad0d is ufs/pfSenseCfg. Trying to mount root from ufs:/dev/ufs/pfSense >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809050255.m852tPbM010516>