From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 8 12:23:13 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AF48106566B for ; Sun, 8 Jul 2012 12:23:13 +0000 (UTC) (envelope-from caulagi@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1A7698FC14 for ; Sun, 8 Jul 2012 12:23:13 +0000 (UTC) Received: by yenl8 with SMTP id l8so10995829yen.13 for ; Sun, 08 Jul 2012 05:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Qln7sCG5ClPnftIRXdPWKvE7/BBwAL5UgV3DNUfV45E=; b=ITryWXWbTqKEiQTATFurVSCVrWcUaHe3VL6CNz7NMgao501Sm5aK+164wQoN4fxa3Z phrBrW479Z8W24mqSNodX4Q5XeIIFTsRn3LKxP7sMm0CVrWiOD1xuWXE8LyU60nZPlzC JteOvubC/bmCwoMO9ZUWfb79/3P/Qgs5lg9zOGmqXO0aL5rVbWAd3dpMoEC/VQQoi7Vf VxjJ3UDj9r6f4SADlca1QixAJsYyyxfLf7VzONOlx+YS5C6mEDYN/L6D7QfUeBT5j1OY Hyt2Ya9l0YlzuWObbc/rOrysJU2Gt6uryhl/jqK739bGVp6EDLw+hfIoCFHH4bMhhI1k lpdA== MIME-Version: 1.0 Received: by 10.236.190.5 with SMTP id d5mr42679094yhn.49.1341750192404; Sun, 08 Jul 2012 05:23:12 -0700 (PDT) Received: by 10.146.83.14 with HTTP; Sun, 8 Jul 2012 05:23:12 -0700 (PDT) Date: Sun, 8 Jul 2012 17:53:12 +0530 Message-ID: From: Pradip Caulagi To: wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Wireless not working X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 12:23:13 -0000 My wireless is not working on Acer Aspire S3. I was asked to send a mail to this group with details on irc. pcaulagi# una=07me -a FreeBSD pcaulagi 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 pcaulagi# pciconf -lvb hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x073a1025 chip=3D0x01548086 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ivy Bridge DRAM Controller' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x073a1025 chip=3D0x01668086 rev=3D0x09 hdr=3D0x00 vendor =3D 'Intel Corporation' class =3D display subclass =3D VGA bar [10] =3D type Memory, range 64, base 0xc0000000, size 4194304, en= abled bar [18] =3D type Prefetchable Memory, range 64, base 0xb0000000, size 268435456, enabled bar [20] =3D type I/O Port, range 32, base 0x2000, size 64, enabled xhci0@pci0:0:20:0: class=3D0x0c0330 card=3D0x073a1025 chip=3D0x1e318086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB xHCI Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 64, base 0xc0500000, size 65536, enab= led none0@pci0:0:22:0: class=3D0x078000 card=3D0x073a1025 chip=3D0x1e3a8086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point MEI Controller' class =3D simple comms bar [10] =3D type Memory, range 64, base 0xc0514000, size 16, enabled ehci0@pci0:0:26:0: class=3D0x0c0320 card=3D0x073a1025 chip=3D0x1e2d8086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xc0519000, size 1024, enabl= ed hdac0@pci0:0:27:0: class=3D0x040300 card=3D0x073a1025 chip=3D0x1e208086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point High Definition Audio Controller' class =3D multimedia subclass =3D HDA bar [10] =3D type Memory, range 64, base 0xc0510000, size 16384, enab= led pcib1@pci0:0:28:0: class=3D0x060400 card=3D0x073a1025 chip=3D0x1e108086 rev=3D0xc4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Panther Point PCI Express Root Port 1' class =3D bridge subclass =3D PCI-PCI pcib2@pci0:0:28:3: class=3D0x060400 card=3D0x073a1025 chip=3D0x1e168086 rev=3D0xc4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Panther Point PCI Express Root Port 4' class =3D bridge subclass =3D PCI-PCI ehci1@pci0:0:29:0: class=3D0x0c0320 card=3D0x073a1025 chip=3D0x1e268086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB bar [10] =3D type Memory, range 32, base 0xc0518000, size 1024, enabl= ed isab0@pci0:0:31:0: class=3D0x060100 card=3D0x073a1025 chip=3D0x1e578086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point LPC Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x073a1025 chip=3D0x1e038086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point 6 port SATA AHCI Controller' class =3D mass storage subclass =3D SATA bar [10] =3D type I/O Port, range 32, base 0x2088, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0x2094, size 4, enabled bar [18] =3D type I/O Port, range 32, base 0x2080, size 8, enabled bar [1c] =3D type I/O Port, range 32, base 0x2090, size 4, enabled bar [20] =3D type I/O Port, range 32, base 0x2060, size 32, enabled bar [24] =3D type Memory, range 32, base 0xc0517000, size 2048, enabl= ed none1@pci0:0:31:3: class=3D0x0c0500 card=3D0x073a1025 chip=3D0x1e228086 rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Panther Point SMBus Controller' class =3D serial bus subclass =3D SMBus bar [10] =3D type Memory, range 64, base 0xc0515000, size 256, enable= d bar [20] =3D type I/O Port, range 32, base 0x2040, size 32, enabled none2@pci0:2:0:0: class=3D0x028000 card=3D0x662111ad chip=3D0x0034168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' class =3D network bar [10] =3D type Memory, range 64, base 0xc0400000, size 524288, ena= bled pcaulagi# dmesg Copyright (c) 1992-2012 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 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 module ath_pci already present! CPU: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (1696.18-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x306a9 Family =3D 6 Model =3D 3a St= epping =3D 9 Features=3D0xbfebfbff Features2=3D0x77bae3bf> AMD Features=3D0x28100800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 4294967296 (4096 MB) avail memory =3D 3911954432 (3730 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating length 268 to 244 (20110527/tbfadt-320) ioapic0 irqs 0-23 on motherboard wlan: mac acl policy registered kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x2000-0x203f mem 0xc0000000-0xc03fffff,0xb0000000-0xbfffffff irq 16 at device 2.0 on pci0 xhci0: mem 0xc0500000-0xc050ffff at device 20.0 on pci0 usbus0: waiting for BIOS to give up control xhci0: 32 byte context size. usbus0 on xhci0 pci0: at device 22.0 (no driver attached) ehci0: mem 0xc0519000-0xc05193ff irq 16 at device 26.0 on pci0 usbus1: EHCI version 1.0 usbus1: on ehci0 hdac0: mem 0xc0510000-0xc0513fff irq 22 at device 27.0 on pci0 pcib1: irq 17 at device 28.0 on pci0 pci1: on pcib1 pcib2: irq 19 at device 28.3 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) ehci1: mem 0xc0518000-0xc05183ff irq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2: on ehci1 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x2088-0x208f,0x2094-0x2097,0x2080-0x2087,0x2090-0x2093,0x2060-0x207f mem 0xc0517000-0xc05177ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 3 on ahci0 ahcich3: at channel 4 on ahci0 pci0: at device 31.3 (no driver attached) acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_acad0: on acpi0 battery0: on acpi0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 Timecounters tick every 1.000 msec hdac0: HDA Codec #0: Realtek ALC269 hdac0: HDA Codec #3: Intel (Unknown) pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 3 nid 1 on hdac0 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 ugen0.1: <0x8086> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: Command Queueing enabled ada1: 19087MB (39091248 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC-low" frequency 13251438 Hz quality 1000 Root mount waiting for: usbus2 usbus1 usbus0 uhub0: 8 ports with 8 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus2 usbus1 ugen1.2: at usbus1 uhub3: on usbus1 ugen2.2: at usbus2 uhub4: on usbus2 Root mount waiting for: usbus2 usbus1 uhub3: 6 ports with 6 removable, self powered uhub4: 8 ports with 8 removable, self powered ugen1.3: at usbus1 Root mount waiting for: usbus2 usbus1 ugen2.3: at usbus2 Root mount waiting for: usbus1 ugen1.4: at usbus1 Trying to mount root from ufs:/dev/ada0s2a [rw]... ubt0: on usbus1 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() ugen2.4: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks =3D 0x4100 umass0:4:0:-1: Attached to scbus4 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 3829MB (7843200 512 byte sectors: 255H 63S/T 488C) pcaulagi# kls=08=1B[Kdstat -v Id Refs Address Size Name 1 22 0xffffffff80200000 11cd9b0 kernel (/boot/kernel/kernel) Contains modules: Id Name 373 if_lo 384 newreno 361 elf64 425 elf32 362 shell 348 pseudofs 385 mld 383 igmp 374 if_tun 305 uether 372 if_gif 375 if_vlan 370 if_faith 366 sysvmsg 367 sysvsem 368 sysvshm 388 nfslockd 346 nfsd 387 nfssvc 343 nfscommon 392 krpc 347 procfs 393 ufs 360 cd9660 344 nfs 342 msdosfs 341 devfs 345 nfscl 3 cam 62 ata 9 ch 357 g_part_mbr 356 g_part_gpt 355 g_part_ebr 354 g_part_bsd 4 xpt 8 cd 11 da 5 aprobe 6 pmp 10 ada 14 ses 7 probe 13 sa 12 pass 230 pci/ral 229 pci/puc 228 pccard/puc 71 pci/ata_adaptec 227 pty 226 puc/ppc 225 pci/ppc 224 isa/ppc 447 root/nexus 446 nexus/ram 445 isa/sysresource 223 acpi/ppc 222 ppbus/ppi 70 pci/ata_ali 221 ppc/ppbus 220 ppbus/lpt 69 pci/ata_acard 219 ppbus/plip 218 pci/pcn 217 pcn/miibus 68 pci/ata_ahci 444 pci/ioapic 443 nexus/apic 216 pci/vgapci 215 pci/pcib 214 pcib/pci 442 nexus/qpi 441 qpi/pcib 67 atapci/ata_ahci_ata 440 legacy/pcib 439 isa/pcibus_pnp 438 isa/orm 22 acpi/acpi_cmbat 437 isa/atdma 436 acpi/atdma 435 legacy/isa 117 pci/em 434 isa/attimer 433 acpi/attimer 432 isa/atrtc 431 acpi/atrtc 430 cpu/p4tcc 66 pci/atapci 429 cpu/hwpstate 65 atapci/ata 64 isa/ata 428 cpu/est 427 cpu/powernow 63 pccard/ata 25 acpi/hpet 213 pci/isab 212 pci/ignore_pci 211 pci/hostb 210 pci/fixup_pci 209 pci/cbb 34 acpi/acpi_smbat 33 acpi/acpi_sysresource 208 isa/cbb 21 acpi/acpi_button 15 aac/aacp 20 acpi/acpi_acad 32 cpu/acpi_perf 18 pci/aac 116 pci/ed 207 pcic/pccard 206 cbb/pccard 424 isa/vga 423 vgapci/vgapm 422 isa/sc 421 scrndr-vga 420 scterm-scteken 205 null 204 pci/nge 203 nge/miibus 419 pci/nfe 418 nfe/miibus 202 pci/mwl 417 pci/hptrr 416 pci/hptmv 415 pccard/fdc 414 isa/fdc 413 acpi/fdc 412 fdc/fd 411 io 115 pccard/ed 410 isa/ed 114 ed/miibus 113 pci/dpt 409 atkbdc/psm 408 isa/psmcpnp 407 acpi/psmcpnp 363 cpu/cpufreq 406 isa/atkbdc 405 acpi/atkbdc 404 atkbdc/atkbd 403 pci/arcmsr 402 hostb/agp_via 401 hostb/agp_intel 400 vgapci/agp_i810 399 hostb/agp_amd64 112 pci/de 111 dcons 61 pci/an 201 pci/mvs 110 firewire/dcons_crom 200 mvs/mvsch 199 sata/mvsch 398 nexus/legacy 397 legacy/cpu 109 miibus/pnphy 396 acpi/fpupnp 108 miibus/dcphy 107 pci/dc 198 pci/mskc 197 mskc/msk 395 root/nexus_acpi 196 msk/miibus 106 dc/miibus 105 pccard/cs 104 isa/cs 193 pci/mpt 359 isab/isa 358 eisab/isa 60 pccard/an 59 isa/an 103 cpu/ichss 31 pci/acpi_pcib 102 pci/ciss 58 pci/amr 57 amr/amrd 190 pci/mps 30 acpi/acpi_pcib 189 pci/mly 188 pci/mlx 187 mlx/mlxd 186 miibus/xmphy 185 miibus/ukphy 184 miibus/truephy 183 miibus/tlphy 182 miibus/tdkphy 181 miibus/smcphy 180 miibus/rlphy 179 miibus/rgephy 178 miibus/rdcphy 177 miibus/qsphy 176 miibus/pnaphy 175 miibus/nsphyter 174 miibus/nsphy 173 miibus/nsgphy 172 miibus/mlphy 171 miibus/lxtphy 170 miibus/jmphy 169 miibus/ip1000phy 168 miibus/icsphy 167 miibus/gentbi 166 miibus/e1000phy 165 miibus/ciphy 164 miibus/brgphy 163 miibus/bmtphy 162 miibus/axphy 161 miibus/atphy 160 miibus/amphy 159 miibus/acphy 158 mfi/mfid 157 pci/mfi 24 acpi/acpi_ec 17 pci/aacch 56 pci/ale 101 cbb/cardbus 156 mem 100 pci/bxe 55 ale/miibus 23 acpi/cpu 29 acpi/acpi_pci_link 154 pci/malo 54 pci/alc 53 alc/miibus 52 ahc 51 ahd 50 pci/ahd 153 pci/lge 391 pci/rl 390 cardbus/rl 389 rl/miibus 152 lge/miibus 99 pci/bt 340 miibus/xlphy 339 pci/xl 338 xl/miibus 386 nfslock 337 pccard/xe 336 pci/wpi 335 pci/wi 334 pccard/wi 333 pci/wb 332 wb/miibus 331 watchdog 330 pci/vx 329 pci/vr 328 vr/miibus 151 pci/le 327 pci/vge 326 vge/miibus 98 isa/bt 325 uhub/ums 150 kbdmux 97 pci/bge 324 uhub/ukbd 323 uhub/uhid 96 bge/miibus 149 pci/jme 148 jme/miibus 147 pci/ixv 322 uhub/uvscom 321 uhub/uvisor 320 uhub/uslcom 319 uhub/uplcom 318 uhub/ulpt 317 uhub/uipaq 316 uhub/uftdi 315 uhub/ubsa 314 uhub/uark 313 uhub/u3g 312 uhub/zyd 49 pci/ahc_pci 311 uhub/urtw 310 uhub/ural 309 uhub/if_upgt 95 pci/bfe 308 uhub/uath 307 uhub/run 306 uhub/rum 304 miibus/ruephy 303 uhub/udav 302 udav/miibus 301 uhub/rue 300 rue/miibus 299 uhub/kue 298 uhub/cue 297 uhub/cdce 296 uhub/axe 295 axe/miibus 294 uhub/aue 293 aue/miibus 94 bfe/miibus 93 pci/bce 92 bce/miibus 292 usbus/uhub 291 uhub/uhub 48 isa/ahc_isa 146 pci/ixgbe 47 pccard/aic 19 nexus/acpi 46 pci/ahci 45 atapci/ahci 44 ahci/ahcich 28 pcib/acpi_pci 16 aac/aacd 27 acpi/acpi_lid 290 uhub/usb_linux 289 uhub/urio 43 pci/age 288 uhub/umass 145 pci/iwn 287 ohci/usbus 286 uhci/usbus 285 ehci/usbus 284 xhci/usbus 283 at91_udp/usbus 282 musbotg/usbus 281 uss820/usbus 280 pci/xhci 144 pci/iwi 279 pci/uhci 143 pci/isp 142 pci/ipw 278 pci/ohci 141 pci/ips 277 pci/ehci 140 ips/ipsd 42 age/miibus 139 pci/iir 41 pci/ae 138 pci/ida 276 puc/uart 275 pci/uart 274 pccard/uart 273 isa/uart 272 acpi/uart 137 ida/idad 271 pci/txp 270 pci/tx 269 tx/miibus 136 pci/hptiop 135 miibus/inphy 134 pci/fxp 268 pci/tws 133 fxp/miibus 40 ae/miibus 267 pci/twe 266 twe/twed 26 acpi/acpi_isab 132 firewire/fwip 265 pci/twa 264 pci/trm 263 pci/tl 262 tl/miibus 261 pci/ti 39 pci/adw 38 pci/adv 260 pci/sym 259 pci/stge 258 stge/miibus 257 pci/ste 256 ste/miibus 37 acpi/acpi_timer 255 midi 254 uaudio/ua_pcm 36 cpu/acpi_throttle 131 firewire/fwe 130 pci/fwohci 253 uhub/uaudio 35 acpi/acpi_tz 91 pci/ath_pci 90 pci/ata_via 252 sound 89 pci/ata_sis 129 fwohci/firewire 128 pccard/fe 127 exca 126 pccard/ex 125 isa/ex 124 pci/esp 123 pccard/ep 122 isa/ep 88 pci/ata_sii 121 pci/et 120 et/miibus 87 pci/ata_serverworks 86 pci/ata_promise 85 pci/ata_nvidia 84 pci/ata_netcell 119 pci/igb 83 pci/ata_national 82 pci/ata_micron 81 pci/ata_marvell 80 pci/ata_jmicron 79 pci/ata_ite 251 pci/snd_hda 250 hdac/snd_hda_pcm 249 pci/snd_via8233 248 pci/snd_ich 247 pci/snd_es137x 78 pci/ata_intel 246 pccard/sn 245 isa/sn 77 pci/ata_highpoint 244 pci/skc 243 skc/sk 242 sk/miibus 241 pci/sis 240 sis/miibus 76 pci/ata_cyrix 239 pci/siis 238 siis/siisch 237 pci/sge 236 sge/miibus 235 pci/sf 234 sf/miibus 118 pci/lem 75 pci/ata_cypress 74 pci/ata_cenatek 73 pci/ata_ati 233 pci/re 232 re/miibus 72 pci/ata_amd 231 random 194 mpt_raid 192 mpt_cam 195 mpt_user 353 g_part 380 wlan 364 rootbus 379 wlan_wep 378 wlan_tkip 377 wlan_ccmp 376 wlan_amrr 352 g_label 351 g_vfs 365 firmware 350 g_disk 349 g_dev 394 g_class 382 wlan_sta 381 wlan_ratectl_none 155 g_md 191 mpt_core 369 ether 371 if_firewire 426 x86bios 3 1 0xffffffff813d1000 1240 wlan_xauth.ko (/boot/kernel/wlan_xauth.= ko) Contains modules: Id Name 1 wlan_xauth 4 1 0xffffffff813d3000 2bc0 wlan_acl.ko (/boot/kernel/wlan_acl.ko) Contains modules: Id Name 2 wlan_wlan_acl 5 1 0xffffffff81612000 328d ng_ubt.ko (/boot/kernel/ng_ubt.ko) Contains modules: Id Name 451 uhub/ng_ubt 6 1 0xffffffff81616000 8b3d ng_hci.ko (/boot/kernel/ng_hci.ko) Contains modules: Id Name 450 ng_hci 7 3 0xffffffff8161f000 a79 ng_bluetooth.ko (/boot/kernel/ng_bluetooth.ko) Contains modules: Id Name 448 ng_bluetooth 8 5 0xffffffff81620000 8e12 netgraph.ko (/boot/kernel/netgraph.ko) Contains modules: Id Name 449 netgraph 9 1 0xffffffff81629000 b4a2 ng_l2cap.ko (/boot/kernel/ng_l2cap.ko) Contains modules: Id Name 452 ng_l2cap 10 1 0xffffffff81635000 1695e ng_btsocket.ko (/boot/kernel/ng_btsocke= t.ko) Contains modules: Id Name 453 ng_btsocket 11 1 0xffffffff8164c000 1ba9 ng_socket.ko (/boot/kernel/ng_socket.ko= ) Contains modules: Id Name 454 ng_socket pcaulagi# exit I will try to make this work with ndisgen. Thanks, Pradip From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 8 19:00:51 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9110B106566C for ; Sun, 8 Jul 2012 19:00:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 64F848FC12 for ; Sun, 8 Jul 2012 19:00:51 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so19248611pbb.13 for ; Sun, 08 Jul 2012 12:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Fmt2KlNQXM+M5khP72HLsGDbV0eqjzmLALXdxYVazAM=; b=C6ZkeDH0fK4p7Nnl55WKpfVYiRdr6LcKBuim9UHWmK2Kq7jCy30TPeTXjtnj1fV0tD 7tI33L800bHyp2ugw9vJSANogbeY8gP3Vih5AlOAmPU4a8YuBXtS1EOpfmtI4TjAyUYu t5K1OCBtwFyhWYAJ14iYFl8FfKFM0IVB9/NDFcx6o4xBXQVdUKGsp2n017PbQ+MQUteW el8pFbiuHVHEyXTxpmyGcP0cKLNHiN6c3LkApjalNJ25P/GDr7gI8NBLJQEIxPyKf/BV 4yqe6hJeCSArEP9V6xp8FX5oW/RGMOFL+eEn3ddi1nliaR2Giy6rq9BawTmTxkpXOeNZ ziFg== MIME-Version: 1.0 Received: by 10.68.222.163 with SMTP id qn3mr53954336pbc.135.1341774050972; Sun, 08 Jul 2012 12:00:50 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Sun, 8 Jul 2012 12:00:50 -0700 (PDT) In-Reply-To: References: Date: Sun, 8 Jul 2012 12:00:50 -0700 X-Google-Sender-Auth: 4SHLhgSxnu-7ZNm7-ZwttfvbQaA Message-ID: From: Adrian Chadd To: Pradip Caulagi Content-Type: text/plain; charset=ISO-8859-1 Cc: wireless@freebsd.org Subject: Re: Wireless not working X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 19:00:51 -0000 Hi, The device id (0x0034168c) shows it's a more recent AR93xx or AR94xx NIC. I'm currently working on the HAL and DMA support needed for these NICs. I'll post something to the mailing list when I have permission to post the HAL code to FreeBSD-HEAD. Thanks, Adrian From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 8 20:29:00 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36F1D106566B for ; Sun, 8 Jul 2012 20:29:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id E9FD38FC0A for ; Sun, 8 Jul 2012 20:28:59 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 3BC4D4AC1C for ; Mon, 9 Jul 2012 00:28:52 +0400 (MSK) Date: Mon, 9 Jul 2012 00:28:44 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <298155894.20120709002844@serebryakov.spb.ru> To: wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 20:29:00 -0000 Hello, Wireless. I have true 802.11n client in my home now -- Blackberry PlayBook, and my software AP shows many "ath0:" device timeout" when I use it. With 802.11g client only it works perfectly (if this word is applicable to my very noisy environment), without any errors. But as long as PlayBook associated with AP, driver starts to show "device timeout" every 3rd minute. PlayBook drop connection on each AP's device timeout :( My AP hardware is: ath0@pci0:0:17:0: class=0x028000 card=0x520219b6 chip=0x0029168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR922X Wireless Network Adapter' class = network ath0: mem 0xa0060000-0xa006ffff irq 15 at device 17.0 on pci0 ath0: DMA setup: legacy ath0: [HT] enabling HT modes ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9220 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ifconfig ath0 ath0: flags=8843 metric 0 mtu 2290 ether 00:0c:42:64:69:92 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:0c:42:64:69:92 inet 192.168.135.1 netmask 0xffffff00 broadcast 192.168.135.255 inet6 fe80::20c:42ff:fe64:6992%wlan0 prefixlen 64 scopeid 0xc inet6 2001:470:923f:2::1 prefixlen 64 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid home.serebryakov.spb.ru channel 1 (2412 MHz 11g ht/20) bssid 00:0c:42:64:69:92 regdomain ROW country DE ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs ifconfig wlan0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG 70:d4:f2:ad:6a:26 2 1 65M 21.5 15 140 3728 EPS AQEPHTR RSN HTCAP WME I have both antennas attached. -- // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 8 21:29:48 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC45D106566B for ; Sun, 8 Jul 2012 21:29:48 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id AF3838FC12 for ; Sun, 8 Jul 2012 21:29:48 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 22A374AC1C for ; Mon, 9 Jul 2012 01:29:47 +0400 (MSK) Date: Mon, 9 Jul 2012 01:29:46 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1287518638.20120709012946@serebryakov.spb.ru> To: wireless@freebsd.org In-Reply-To: <298155894.20120709002844@serebryakov.spb.ru> References: <298155894.20120709002844@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 21:29:49 -0000 Hello, Lev. You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 0:28:44: LS> My AP hardware is: I need more sleep. Software is: uname -a FreeBSD gateway.home.serebryakov.spb.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #= 0: Tue Jul 3 17:36:54 MSK 2012 root@vmware-c-32.home.serebryakov.spb.ru:/= usr/obj/nanobsd.gateway-net5501/usr/src/sys/NET5501 i386 --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sun Jul 8 21:34:13 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B3061065673 for ; Sun, 8 Jul 2012 21:34:13 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB448FC12 for ; Sun, 8 Jul 2012 21:34:13 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 5B7D34AC1C; Mon, 9 Jul 2012 01:34:12 +0400 (MSK) Date: Mon, 9 Jul 2012 01:34:11 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1491344515.20120709013411@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 21:34:13 -0000 Hello, Adrian. You wrote 9 =E8=FE=EB=FF 2012 =E3., 1:17:46: AC> Itd be nice if someone would add some alq probes to net80211 and ath. T= hen AC> you could debug this live. ``alq probes''!? I know KTR probes, dtrace probes and alq statistics :) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 09:23:55 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1ECD1065676 for ; Mon, 9 Jul 2012 09:23:55 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 689A48FC12 for ; Mon, 9 Jul 2012 09:23:55 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id E96CC4AC1C; Mon, 9 Jul 2012 13:23:52 +0400 (MSK) Date: Mon, 9 Jul 2012 13:23:51 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1252921508.20120709132351@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 09:23:55 -0000 Hello, Adrian. You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 4:06:52: AC> ALQ is the queue used by KTR and others to log data. AC> Look at ieee80211_alq.c and see. AC> We just need to craft some probes in the ath TX path to log frames and AC> completion. Then we can try to figure out whats causing your TX to stal= l. I see. Latest messages about ath0: Jul 9 01:51:44 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D0,= bar_wait=3D0: ? Jul 9 01:54:35 gateway kernel: ath0: device timeout Jul 9 01:55:07 gateway kernel: ath0: device timeout Jul 9 01:55:22 gateway kernel: ath0: device timeout Jul 9 02:09:58 gateway kernel: ath0: device timeout Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: bf= =3D0xc3514fe0: addbaw=3D0, dobaw=3D0, seqno=3D1607, retry=3D0 Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: bf= =3D0xc3514fe0: tid txq_depth=3D330 hwq_depth=3D0, bar_wait=3D0 Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: ti= d 0: txq_depth=3D1, txq_aggr_depth=3D0, sched=3D0, paused=3D-1, hwq_depth= =3D0, incomp=3D0, baw_head=3D98, baw_tail=3D98 txa_start=3D1607, ni_txseqs= =3D1937 --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 09:31:08 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC0EB1065672; Mon, 9 Jul 2012 09:31:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 910718FC1D; Mon, 9 Jul 2012 09:31:08 +0000 (UTC) Received: by yhfs35 with SMTP id s35so5121382yhf.13 for ; Mon, 09 Jul 2012 02:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LuhJboOw1Ttx24Dc44qH5ZjcO2Ov8j+HIymAUjBd2eA=; b=GV/o0RMKvi6nr+pDZ6Ze4zqcHdQ/Y3f5FzwpicerbDLyO7UqHMHCGfjXc4Hyz/nnnH nkWS8EXViJmebZu3lVzS7N+RlQ0Wd+4J2+rQFh1dLd0s4h8QN4wIuaLDpPlBv02bzIfu Bgur81SbJLBl7GM63zNhUgLgBY9s2qkkw7I9VVzUI+P238LZy1ncJl/FxnSncJ3STA3m ia/20jwU2uav09zdQQ/PKd3+BIn3b4pMTePzV1YRyIg5SuVL1OHTkbSc4s0/1K6NdMgb hnL175pFAVZbDu6tq+JcRn45/TwTP9omv1NZENGNDeFTIKfIM32DYDAEUyz2WnDQZZXU CMfw== MIME-Version: 1.0 Received: by 10.66.73.69 with SMTP id j5mr57586279pav.8.1341826267429; Mon, 09 Jul 2012 02:31:07 -0700 (PDT) Received: by 10.68.195.102 with HTTP; Mon, 9 Jul 2012 02:31:07 -0700 (PDT) In-Reply-To: <1252921508.20120709132351@serebryakov.spb.ru> References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> Date: Mon, 9 Jul 2012 02:31:07 -0700 Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 09:31:09 -0000 Hm, are you running the latest -HEAD? I'm sure I found/fixed the bug where BAR handling wasn't being refcounted correctly in some corner conditions, leading to a queue that stayed stuck/paused. Adrian On 9 July 2012 02:23, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 4:06:52: > > AC> ALQ is the queue used by KTR and others to log data. > AC> Look at ieee80211_alq.c and see. > AC> We just need to craft some probes in the ath TX path to log frames an= d > AC> completion. Then we can try to figure out whats causing your TX to st= all. > I see. > > Latest messages about ath0: > > Jul 9 01:51:44 gateway kernel: ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D= 0, bar_wait=3D0: ? > Jul 9 01:54:35 gateway kernel: ath0: device timeout > Jul 9 01:55:07 gateway kernel: ath0: device timeout > Jul 9 01:55:22 gateway kernel: ath0: device timeout > Jul 9 02:09:58 gateway kernel: ath0: device timeout > Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: = bf=3D0xc3514fe0: addbaw=3D0, dobaw=3D0, seqno=3D1607, retry=3D0 > Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: = bf=3D0xc3514fe0: tid txq_depth=3D330 hwq_depth=3D0, bar_wait=3D0 > Jul 9 04:30:54 gateway kernel: ath0: ath_tx_tid_drain: node 0xc4efb000: = tid 0: txq_depth=3D1, txq_aggr_depth=3D0, sched=3D0, paused=3D-1, hwq_depth= =3D0, incomp=3D0, baw_head=3D98, baw_tail=3D98 txa_start=3D1607, ni_txseqs= =3D1937 > > -- > // Black Lion AKA Lev Serebryakov > From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 10:08:11 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D93851065676 for ; Mon, 9 Jul 2012 10:08:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id ED92B8FC0C for ; Mon, 9 Jul 2012 10:08:10 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:f861:b6cb:8dbf:7e62]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 1165D4AC1C; Mon, 9 Jul 2012 14:08:09 +0400 (MSK) Date: Mon, 9 Jul 2012 14:08:08 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <802688919.20120709140808@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:08:12 -0000 Hello, Adrian. You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 13:31:07: AC> Hm, are you running the latest -HEAD? I'm sure I found/fixed the bug AC> where BAR handling wasn't being refcounted correctly in some corner AC> conditions, leading to a queue that stayed stuck/paused. Sources are from 3 of Jun. I'm still using csup, so I can not say exact subversion revision :) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 10:09:09 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9007C106566B; Mon, 9 Jul 2012 10:09:09 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6848FC08; Mon, 9 Jul 2012 10:09:09 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so20335641pbb.13 for ; Mon, 09 Jul 2012 03:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8/u22ekB2bjEoxxGnYpEKI8EooHi9+QaX+7lCtiWxKY=; b=bO2CUYVziIIFId1Kr7Cc6Oj/BRX7XbbhdCNUZ9YLFoVC/ugq44FUCyi96DvNLfDSPr zzWGLdNT72WUF5C7Pw3x+oKwhCC5+zynGGFQSBYQ8nkdkokflRFkbQTu3Nys0DRNjdDx kdXv/q22H9oUSPxcZguYft+6274i1XPMaGUlQx7LrtoMXZWLcjt2nv+UMMhSeB0A5x3k 5/p9u7C7pr/B+drBD2BuzXxMCambODJ72/iV/AWxAg2cXJCRB0CgziUhomfmEcj5iPxv UPqJs9poHxcYYJBHVZGvb3ECg4yjz6GekwKgAGFeY0kBhzNEWQI3iTK7tNVOJyExC0dy aReg== MIME-Version: 1.0 Received: by 10.68.195.198 with SMTP id ig6mr59595407pbc.92.1341828548954; Mon, 09 Jul 2012 03:09:08 -0700 (PDT) Received: by 10.68.195.102 with HTTP; Mon, 9 Jul 2012 03:09:08 -0700 (PDT) In-Reply-To: <802688919.20120709140808@serebryakov.spb.ru> References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> Date: Mon, 9 Jul 2012 03:09:08 -0700 Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 10:09:09 -0000 update :) adrian On 9 July 2012 03:08, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 13:31:07: > > AC> Hm, are you running the latest -HEAD? I'm sure I found/fixed the bug > AC> where BAR handling wasn't being refcounted correctly in some corner > AC> conditions, leading to a queue that stayed stuck/paused. > Sources are from 3 of Jun. I'm still using csup, so I can not say > exact subversion revision :) > > -- > // Black Lion AKA Lev Serebryakov > From owner-freebsd-wireless@FreeBSD.ORG Mon Jul 9 11:07:24 2012 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72D52106566C for ; Mon, 9 Jul 2012 11:07:24 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C3F58FC08 for ; Mon, 9 Jul 2012 11:07:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q69B7OGQ075611 for ; Mon, 9 Jul 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q69B7NHq075609 for freebsd-wireless@FreeBSD.org; Mon, 9 Jul 2012 11:07:23 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Jul 2012 11:07:23 GMT Message-Id: <201207091107.q69B7NHq075609@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 11:07:24 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/169433 wireless [iwn] iwn(4) doesn't support 6235 chip. o kern/169432 wireless [ath] BAR TX hang when aggregation session is reset du o kern/169362 wireless [ath] AR5416: radar pulse PHY errors sometimes include o kern/169336 wireless [ath] ANI isn't triggering in a busy/noisy environment o kern/169199 wireless [ath] Cannot set up static ip addresses for wireless w o kern/169084 wireless [ath] suspend/resume doesn't cause a rescan; the assoc o kern/168530 wireless [ath] Broken WEP probably o kern/168393 wireless AR9285: suspend/resume sometimes fails o kern/168170 wireless [net80211] ieee80211_send_bar() doesn't complete corre o kern/167870 wireless [ath] adhoc wifi client does not join an existing IBSS o kern/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164721 wireless [ath] ath device timeouts o kern/164499 wireless [wi] [patch] if_wi needs fix for big endian architectu o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/153594 wireless [wlan] netif/devd race o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148078 wireless [ath] wireless networking stops functioning o kern/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o kern/144755 wireless [wlan] netif/devd race o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne p bin/137484 wireless [patch] Integer overflow in wpa_supplicant(8) base64 e o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 115 problems total. From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 10 22:57:40 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CFAC106566B for ; Tue, 10 Jul 2012 22:57:40 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E1BE08FC0A for ; Tue, 10 Jul 2012 22:57:39 +0000 (UTC) Received: by qaat11 with SMTP id t11so611939qaa.13 for ; Tue, 10 Jul 2012 15:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=V3zf8JvuIjT/u2U8geI1dv9/1G5bevyJHst5CNybgdc=; b=QVg0SiZXsnKktVeNHZnwJ255pWsoCUvius3cpkUStZTU2zgWsfhRxPQAquPawLgHz/ UeSd7WWWzSJZFCex/CnVJw9ULchGWHDg7M38ugyosFVwoRpma1b7zGu5rnEtIldpgNYw Voe/5zPPLvvO90LRsONrKJeeKWSnzcaS1B05rXdRl48VZjBQB+/Qw5d+sstiv6JDUbnH xETJvQFtELfTZuek/KzzkfWJM6Va6eXTylEg623mfAfF9Q3wlJoRDWhQgEkc3aVNx/Gu GhnUCqVSXhG1Jap3d1uVdavJb20h9NkxwraL++56wjaCk1fdLAHk+qQqhS6niKHv8S65 YJKA== MIME-Version: 1.0 Received: by 10.229.137.77 with SMTP id v13mr24513115qct.65.1341961059088; Tue, 10 Jul 2012 15:57:39 -0700 (PDT) Received: by 10.229.39.12 with HTTP; Tue, 10 Jul 2012 15:57:39 -0700 (PDT) Date: Tue, 10 Jul 2012 18:57:39 -0400 Message-ID: From: Kim Culhan To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 22:57:40 -0000 It appears this ath has stopped working with updating to r238290 from dmesg: ath0: mem 0xfeaf0000-0xfeafffff irq 17 at device 1.0 on pci5 ath0: DMA setup: legacy ath0: ath_legacy_dma_rxsetup: called ath0: AR2413 mac 7.9 RF2413 phy 4.5 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056 ifconfig ath0 ath0: flags=8802 metric 0 mtu 2290 ether 00:22:3f:fd:70:ca nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier netif onestart ifconfig: create: bad value ifconfig: create: bad value ifconfig: unable to get channel information: Invalid argument Any help here is greatly appreciated. thanks -kim From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 10 23:57:13 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2B491065732 for ; Tue, 10 Jul 2012 23:57:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C74F8FC15 for ; Tue, 10 Jul 2012 23:57:13 +0000 (UTC) Received: by yenl8 with SMTP id l8so729681yen.13 for ; Tue, 10 Jul 2012 16:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Uk+IZpfHHPbkcoQOLm/p7lnJ7FcwoYM/Ila02A81dl4=; b=XE3QSmK6zegWZrqj2czoV8i0D6gzZ5x80R0HOVmQFscz2uwGYWPKJWHjEV+adGiAVM GsJw+Isk4Aey2E4KCac/eZXTLUbwYmhV3tGWEn1xHWVksxqIf+FmvNLcVZF9SQKJhlJr fN1rQaBlIbl0gmGa1FZ8H4RaWb59oHkL6+dITFgG1A/V+t8XVlypxN/my5HkJpFfM7SQ jwqJ2hAPwESXzW6C7KkpmUAxT0GatfR/hWpZrTqCH+sF7/esFe9xbIBcCqsvKGSkBmg1 FFTzOME3lyWs8fh71xhL4g4n4Kf9CettN9/VDqGw7KRLoCnd/AwoF2qY/8TICiUgQV+D nPkw== MIME-Version: 1.0 Received: by 10.66.75.162 with SMTP id d2mr77424320paw.59.1341964632702; Tue, 10 Jul 2012 16:57:12 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Tue, 10 Jul 2012 16:57:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 16:57:12 -0700 X-Google-Sender-Auth: ryoAIQyjBfEOOaYKt4S9DNOEMr8 Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2012 23:57:13 -0000 .. hm, what ifconfig commands is 'netif onestart' sending? What do you have in your rc.conf ? I haven't tested AR5212 out, I'll make sure I do that tonight. Adrian On 10 July 2012 15:57, Kim Culhan wrote: > It appears this ath has stopped working with updating to r238290 > > from dmesg: > > ath0: mem 0xfeaf0000-0xfeafffff irq 17 at device 1.0 on pci5 > ath0: DMA setup: legacy > ath0: ath_legacy_dma_rxsetup: called > ath0: AR2413 mac 7.9 RF2413 phy 4.5 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056 > > ifconfig ath0 > > ath0: flags=8802 metric 0 mtu 2290 > ether 00:22:3f:fd:70:ca > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > netif onestart > ifconfig: create: bad value > ifconfig: create: bad value > ifconfig: unable to get channel information: Invalid argument > > Any help here is greatly appreciated. > > thanks > -kim > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:13:59 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB0C6106566C; Wed, 11 Jul 2012 01:13:59 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 684EE8FC0A; Wed, 11 Jul 2012 01:13:59 +0000 (UTC) Received: by qaat11 with SMTP id t11so661938qaa.13 for ; Tue, 10 Jul 2012 18:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SMg3CesEZaUpD5O+ji4+60X/4whj+BE2dLl0XruuFCo=; b=WzAUdvwSqFQTgrGI1aerVMipiWhWiQ7cc7R1qMMIsrQ/saTXuPl6JUy1xgPnnshWUK xEgNiIJcY1SxAmQ3B+t2IPmRH683KbC24jxfsctCkHSsGVW6qqeSUKfdPOZSfrUoB6Hz TTLogplLyP0phDxMYVqo10JmPYMJgHG2N8STlusSj7qLgMzCGWYYJfB9mTyq90V0B4R/ kNYGarqOEsP6L92VSQsIYft3bSI1IsPSmx8kZMVlKKV+J+ayDaQn+CUDjxu3N6mo6hMr C5C6aLD9IDKaxpRg+2FVpoIPt6AWmcx9+cUMJW1EyqmWoBQ1ZdZ3H3fh3LkXbHn4WMNZ weoQ== MIME-Version: 1.0 Received: by 10.229.136.129 with SMTP id r1mr24791362qct.21.1341969238830; Tue, 10 Jul 2012 18:13:58 -0700 (PDT) Received: by 10.229.39.12 with HTTP; Tue, 10 Jul 2012 18:13:58 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 21:13:58 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:14:00 -0000 On Tue, Jul 10, 2012 at 7:57 PM, Adrian Chadd wrote: > .. hm, what ifconfig commands is 'netif onestart' sending? What do you > have in your rc.conf ? > > I haven't tested AR5212 out, I'll make sure I do that tonight. Thanks muchly, the network from rc.conf: ifconfig_re0="DHCP" gateway_enable="YES" cloned_interfaces="bridge0" ifconfig_wlan0="channel 11" wlans_ath0="wlan0" create_args_wlan0="wlanmode hostap mode 11g" ifconfig_bridge0="inet 10.0.0.3 addm wlan0 addm em0 up" ifconfig_em0="up" hostapd_enable=YES pf_enable="YES" from hostapd.conf interface=wlan0 driver=bsd logger_syslog=-1 logger_syslog_level=0 logger_stdout=-1 logger_stdout_level=0 #debug=3 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=athssid macaddr_acl=0 auth_algs=1 ieee8021x=0 wpa=2 wpa_passphrase=supersecret wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP -kim From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:27:07 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03513106564A for ; Wed, 11 Jul 2012 01:27:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9A778FC15 for ; Wed, 11 Jul 2012 01:27:06 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so1310992pbb.13 for ; Tue, 10 Jul 2012 18:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=w1KrO4cVKs4vLSGKyhKi64C8/PBWafAJw7MGx1odewI=; b=ncpcu2GmUvLjXtpq4vEsj+Cv5t7pNBXc5ouDPQaMkJSY5obMEn+2tVJWFHPHKKYHDT EAqW6cQpIxAl1YMHcQNcqGOaW9UFFIyyCCqWB3fKf7mK0+LglhlzcpkiM510c3M8JCNP dSoo0H6Ycjl674ZvNCNaQUlqYOjfQUI16+UlS9ZMv35AKtAVa1HcV/pIV+OmttDMbZwn M0qGWkjdf8fjVMatttlOuzdLLPlMwEEThCQ3HVOU5E5bHhelm3jT0vg4CIHa46XCRsBs Y+VTRJv+qp2xr4eHjpsKxzgeyz9P89cQfdmkj1Sm6vYXXee+74mrgfUmKJTmZCO8eOmN gZhw== MIME-Version: 1.0 Received: by 10.68.220.193 with SMTP id py1mr13324766pbc.4.1341970026354; Tue, 10 Jul 2012 18:27:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Tue, 10 Jul 2012 18:27:06 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 18:27:06 -0700 X-Google-Sender-Auth: TnNQDFNXdCZ9ROW_UeiKtUg6OZo Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:27:07 -0000 How about doing that manually? ifconfig wlan0 create wlandev hostap mode 11g ifconfig wlan0 channel 11 hostapd -B /etc/hostapd.conf See if that works? Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:34:29 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0325F106566C; Wed, 11 Jul 2012 01:34:29 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id ADE198FC15; Wed, 11 Jul 2012 01:34:28 +0000 (UTC) Received: by obbun3 with SMTP id un3so960649obb.13 for ; Tue, 10 Jul 2012 18:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y3TgUeEm7tv/baJZfpGEWAqFpbiwQQ84gBGHVoK8P7s=; b=u4tAOnoXta0Rq6w9E6Fuuzh+6id5QP6pTHu84iGnVF7+xURDZVR5AZa5UDgnhd+Vpz lxGtfNFDqQJui+SU6BhUkEIeNgJo4TuglD3EKcCDDjZCnLNme70i7JpLg2mB4O+fWujw GMY3mpuYY++Cctoh324VFSWkMRcut1vOWhwuZB6azgZvIOkQ822P3xeBGAEz0qP1fw1u 9nvUbXwXGqcxvxNYX107mZM02VPta7N0clxTDwtZaQJtEiWQvwxbt2N9op05xelyfz9X iQnejFnzdgStlAk0IQvpfitL172tm8V4j7tM0eTdeASmWlqpup/lXH107pd/wTjiz3LG Vbkg== MIME-Version: 1.0 Received: by 10.182.98.108 with SMTP id eh12mr42633628obb.6.1341970468336; Tue, 10 Jul 2012 18:34:28 -0700 (PDT) Received: by 10.182.75.135 with HTTP; Tue, 10 Jul 2012 18:34:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 21:34:28 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:34:29 -0000 On Tue, Jul 10, 2012 at 9:27 PM, Adrian Chadd wrote: > How about doing that manually? > > ifconfig wlan0 create wlandev hostap mode 11g > ifconfig wlan0 channel 11 > > hostapd -B /etc/hostapd.conf > > See if that works? Sure, ifconfig wlan0 create wlandev hostap mode 11g returns ifconfig: create: bad value From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:44:06 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E30A1065673; Wed, 11 Jul 2012 01:44:06 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8C888FC14; Wed, 11 Jul 2012 01:44:05 +0000 (UTC) Received: by obbun3 with SMTP id un3so973101obb.13 for ; Tue, 10 Jul 2012 18:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N23bc645rv/HMxe186jOLhzvN43DZLQ87c78kO2iq2c=; b=XhlGgMfSs++9V61iY7ChGHBu8Po7Nt0fCDF98Brw2fHU6yAp7pZUXqcF6jVyB52XoB zcxcLzDTE3n0oZwe60VLSBxLp4xZ0KxwP0ZD73PGrN0T+ZPUaTWnwlThLq8IzZORaKxE 0CLbJQAv9yqIIS/iGqRzV1uIKWNxn9nqvXhUQy7kVGMfhaCoA79OHdgvlz1pTOP8HunV 4RpfCdI5c6wMdrDKm1ayQgg1YYPzOVQKBCg4V9B9AgImQj5wFreDCdqpIH/kjFy3pO3K HGtwLyAyYExZqboOt1L1cAgB0Fv2TOmTvbbm00DwJBTICOnNUEg26w+Jfd2bjr7/d/KB zOnA== MIME-Version: 1.0 Received: by 10.60.14.227 with SMTP id s3mr48057507oec.36.1341970743560; Tue, 10 Jul 2012 18:39:03 -0700 (PDT) Received: by 10.182.75.135 with HTTP; Tue, 10 Jul 2012 18:39:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 21:39:03 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:44:06 -0000 On Tue, Jul 10, 2012 at 9:27 PM, Adrian Chadd wrote: > How about doing that manually? > > ifconfig wlan0 create wlandev hostap mode 11g > ifconfig wlan0 channel 11 > > hostapd -B /etc/hostapd.conf > > See if that works? > > > > Adrian ifconfig wlan0 create wlandev hostap mode 11g returns ifconfig: create: bad value ifconfig wlan0 channel 11 returns ifconfig: unable to get channel information: Invalid argument hostapd -B /etc/hostapd.conf returns pcap_set_datalink(DLT_EN10MB): EN10MB is not one of the DLTs supported by this device bsd driver initialization failed. rmdir[ctrl_interface]: No such file or directory -kim From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:53:42 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F20FB106566B for ; Wed, 11 Jul 2012 01:53:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id B5E9C8FC1A for ; Wed, 11 Jul 2012 01:53:41 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so1345465pbb.13 for ; Tue, 10 Jul 2012 18:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wQwYBf6Gg0xAnycjfYBv4bn0NFlFjc612htjXd91rvg=; b=zfY15Nkvykfm9v8O2KrQ9YLttCMdAWEGwsfwHkl/0hU/ijwFbpYeIvwEYbnDlkdXsV 1YtU02q+wkX0U43suVv2vsYQgYt8Tohovp9Z+s7UlPvThhTmrKNXeqHD+ve/6bifnXd/ sTA5YYMWzyFA4rKxVNSCI7IX3g/X8QrcAU1E5RMdL+XqPryic3bG6fU+tsg3X2nns9ec qBOVpapitTwVLkMih7CGR/bxMpzomigBwbhoqq5tWvISKcVvGDg+MYGnAGxWVOs2ERqz njPfvK7D3iMGSfQhXmwMG8WuHzuy0TcTbCtG/4IjRMlg42ng0oZNtLlscudDYqAayvNg InmQ== MIME-Version: 1.0 Received: by 10.68.201.9 with SMTP id jw9mr73225380pbc.28.1341971621505; Tue, 10 Jul 2012 18:53:41 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Tue, 10 Jul 2012 18:53:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 18:53:41 -0700 X-Google-Sender-Auth: kAnCtqicKqrNJtsNCWfjDkhybzs Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:53:42 -0000 Erm, I'm confused. Try this: ifconfig wlan0 create wlandev hostap ifconfig wlan0 list channel Adrian From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 01:59:44 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2E211065670; Wed, 11 Jul 2012 01:59:44 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 96A8F8FC17; Wed, 11 Jul 2012 01:59:44 +0000 (UTC) Received: by obbun3 with SMTP id un3so993883obb.13 for ; Tue, 10 Jul 2012 18:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9hAn9XLSvi3S7wrpobAVznh1585Nw4lfXBt8boxFkK4=; b=0lOH09oRa24pQdB4doXofCdtzlemmxl6ZRm1rReZYDooDpKVtPnyq6/39LkbEFJxhK d/mL6DX79kExAjCrHQXh41rAfqcMikqwr6Fm46IywS4gZvLlwkHY+VTlqdpkKHvxV9S1 MpcfyFZG1f2aBZ1tyEOLLXwyoKGR3I5djTCnVw5SjJf0Go52NpENvDCLokr36D/Qsy45 JS8F+dzLBaVigX4XL7cyG3lGT2UfOd1TZ9qmb4S8AgMYwMBNiWBnYEwusPuAd/suhfBu uJUkdCTea4quUJHdk72LlqZHdkWkCQR+xR1Y4fvk8IjLvm3ql6qkIvIm8nl39uMmt7Q1 aTXw== MIME-Version: 1.0 Received: by 10.60.20.197 with SMTP id p5mr48194638oee.32.1341971984191; Tue, 10 Jul 2012 18:59:44 -0700 (PDT) Received: by 10.182.75.135 with HTTP; Tue, 10 Jul 2012 18:59:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Jul 2012 21:59:44 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 01:59:45 -0000 On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd wrote: > Erm, I'm confused. > > Try this: > > ifconfig wlan0 create wlandev hostap > ifconfig wlan0 list channel Sure, ifconfig wlan0 create wlandev hostap returns: ifconfig: create: bad value ifconfig wlan0 list channel returns: ifconfig: unable to get channel information: Invalid argument -kim From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 06:36:26 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C84A106566C for ; Wed, 11 Jul 2012 06:36:26 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B33C8FC1B for ; Wed, 11 Jul 2012 06:36:25 +0000 (UTC) Received: by lbon10 with SMTP id n10so1621177lbo.13 for ; Tue, 10 Jul 2012 23:36:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=UZsYFdxpQEU4zr9THyKSiHnhcx77vqzSI5X0sencgc8=; b=RlSXQYIee/QhveZHX9UZWovE7C44WpK8MzDKwix4xTUymWcIuQUDxK0pP1cqIxnUlc zHZyw7okWtFPSuJ+5bXqoI0HnDFEmayyxtIA+npItjZ5I5Ljz2d2M97HQZ9CkpS4P3pI 4hMGDl8aJpO9loGvqQf5vG99eoCg3sHsanlPyHGFI6kKSzdW5Pd0R54ejuN2/XuHeBnj EmR4uMjxly446fNHL1lPU4pha7vGnuqWPjVN9JdMCU4tKxjevllXFcRPxs7vCLoZd7hA M5CsOwEHc+d3o4JLkhakOhixMvA7Y48PPOYSjjyGsRhzefKxojUDNozJlLIpVMR4X1V+ DtAw== MIME-Version: 1.0 Received: by 10.152.147.33 with SMTP id th1mr48585443lab.9.1341988584352; Tue, 10 Jul 2012 23:36:24 -0700 (PDT) Received: by 10.152.106.167 with HTTP; Tue, 10 Jul 2012 23:36:24 -0700 (PDT) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Wed, 11 Jul 2012 08:36:24 +0200 Message-ID: From: Bernhard Schmidt To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmmolzCkrIEp9piiJAZc+7mhdEMVOUvlu33qL7RSEeMCO144SJuCbrBdAvZ+l5ZsVxViDN6 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 06:36:26 -0000 On Wed, Jul 11, 2012 at 3:59 AM, Kim Culhan wrote: > On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd wrote: >> Erm, I'm confused. >> >> Try this: >> >> ifconfig wlan0 create wlandev hostap You are missing the parent's interface name I guess, wlandev takes a interface name as an argument not a mode. ifconfig wlan0 create wlandev *ath0 wlanmode* hostap Make sure the wlan0 interface does not exist, check with ifconfig -l -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 11:16:49 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25D82106564A; Wed, 11 Jul 2012 11:16:49 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id B4CB38FC17; Wed, 11 Jul 2012 11:16:48 +0000 (UTC) Received: by qabg1 with SMTP id g1so3007834qab.13 for ; Wed, 11 Jul 2012 04:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aserugIpbphO1ZbYrnrH1e2xNHx97RVEibLaSwY+m8U=; b=Sga1zV7H6uAupd9nH/WrVbpkEYPOyqENtj+T/vxMbaTUy/6q4nFb/ngH9LZogV7V0b 3f64iAK6t3JhNP77Q8Blae8oMiQtw11XqUrc2LON1RjP+00kP7vZAWASZPaNxaU0blrn 12WiNubGFhlMMqcajtirSIfK0z+dHngK8A+h6cRlo3OpwRN7Hkv3bhmf1CdDZZOPTMcq gB+cHO3MuH9v8ZMsjAlM4jnTIAKzkHatBcwaZF4OoHR8uBliJoSs/HE8hk4PO3zV75Po 2lMuwtiyTCFYp/NcDmYhla0dA9ey3zJkdj96r94+VaWWs984PubZEhwsrQ4fJfyXMdmu W9TQ== MIME-Version: 1.0 Received: by 10.224.189.137 with SMTP id de9mr27698024qab.7.1342005401829; Wed, 11 Jul 2012 04:16:41 -0700 (PDT) Received: by 10.229.39.12 with HTTP; Wed, 11 Jul 2012 04:16:41 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Jul 2012 07:16:41 -0400 Message-ID: From: Kim Culhan To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 11:16:49 -0000 On Wed, Jul 11, 2012 at 2:36 AM, Bernhard Schmidt wrote: > On Wed, Jul 11, 2012 at 3:59 AM, Kim Culhan wrote: >> On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd wrote: >>> Erm, I'm confused. >>> >>> Try this: >>> >>> ifconfig wlan0 create wlandev hostap > > You are missing the parent's interface name I guess, wlandev takes a > interface name as an argument not a mode. > > ifconfig wlan0 create wlandev *ath0 wlanmode* hostap > > Make sure the wlan0 interface does not exist, check with ifconfig -l ifconfig wlan0 create wlandev ath0 wlanmode hostap returns: ifconfig: create: bad value thanks -kim From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 14:24:37 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58DBD1065676 for ; Wed, 11 Jul 2012 14:24:37 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C395E8FC12 for ; Wed, 11 Jul 2012 14:24:36 +0000 (UTC) Received: by lbon10 with SMTP id n10so2284800lbo.13 for ; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=TmSJ7Zgf/XZo509Ag5pBzwQ96FJsKdJy/o1rdLPx3ko=; b=DzIx6TyFSfvD5ekLXQADQHHd24ehw9/fozBEowzIrbAqMIHwFnyC80EmIfJIQd/458 buyBLQI9Q2G73XPXLYEz49RcLgyTGo54UFJWkri5MgCLWDzmX1WGkjF2Ceu7s3PQdqcx mxRenChawQ6MyZwW537bdPdefjKPWIgJFPDyIqpsjAhWR9/Ibx5DNBBjOR1+EJpOp7Bb spVQ3WMYyOECKpWj5uo9RqcNDO2HYdstutajJbEsIY8tlEdIig/2wT1H+eKPojOmU/ua F9Y88rulr9GxwoEiYSwJGF572cx/F4SjQUPSk0QLtNKdEwk/CV9+e/zntjQCnASVlYja LYOA== MIME-Version: 1.0 Received: by 10.112.84.168 with SMTP id a8mr22070374lbz.92.1342016675529; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) Received: by 10.152.106.167 with HTTP; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Wed, 11 Jul 2012 16:24:35 +0200 Message-ID: From: Bernhard Schmidt To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnEwEU1rdPmNWghBP0IUBtca6ApWOuyr66dFoJsPPYidKh8hVH5ofzwDRidcJmzzdQqiV/j Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 14:24:37 -0000 On Wed, Jul 11, 2012 at 1:16 PM, Kim Culhan wrote: > On Wed, Jul 11, 2012 at 2:36 AM, Bernhard Schmidt > wrote: >> On Wed, Jul 11, 2012 at 3:59 AM, Kim Culhan wrote: >>> On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd wrote: >>>> Erm, I'm confused. >>>> >>>> Try this: >>>> >>>> ifconfig wlan0 create wlandev hostap >> >> You are missing the parent's interface name I guess, wlandev takes a >> interface name as an argument not a mode. >> >> ifconfig wlan0 create wlandev *ath0 wlanmode* hostap >> >> Make sure the wlan0 interface does not exist, check with ifconfig -l > > ifconfig wlan0 create wlandev ath0 wlanmode hostap > > returns: > > ifconfig: create: bad value That error messages indicates the interface already exists, try to do ifconfig wlan0 destroy before running the create command. -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 14:36:31 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99CB1106564A; Wed, 11 Jul 2012 14:36:31 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 437318FC1D; Wed, 11 Jul 2012 14:36:31 +0000 (UTC) Received: by qcsg15 with SMTP id g15so909111qcs.13 for ; Wed, 11 Jul 2012 07:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=OZPTckU08ik1pUrzTIKiyIAuOVrDTmDfledT6Sy+4u8=; b=ummB3wScmxnQiFIJdpf13N+BLVFdwrUkfw1cXUiIli0A2QpXPxnClPXANkr1fyGtVY 8nHkYAYMQpjOzubT7aGL9DJSj3Lj2g/4fWkWyAI0yg9AXjf0rK1L8Uttm9SUkw2z86LT aKOJfsV0OOcsxUDpvB7EXNzZQCv/zH4mgpENJAfJ1s9t3wXY+ELtoBQQGb+Sdyj3aywn ZPFWE7d25RqkjA3Eljj5PmXXP0nFUmgQDMwHPWe6ClH87wnBa8iWwXn0I0bSHrY5hNxi bgCvENbpF0IofFQKu05s2hoDYynB143Eo3oUSw9l8/PzBrTOIGzXMl1jl5SZiJ2kgDo3 agvg== MIME-Version: 1.0 Received: by 10.229.136.8 with SMTP id p8mr25524685qct.150.1342017390598; Wed, 11 Jul 2012 07:36:30 -0700 (PDT) Received: by 10.229.39.12 with HTTP; Wed, 11 Jul 2012 07:36:30 -0700 (PDT) Date: Wed, 11 Jul 2012 10:36:30 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: ifconfig create fixed -now cannot connect Was: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 14:36:31 -0000 The commit in r238361 appears to have restored things to normal except that a wireless client now cannot connect. While running with debug=3 in hostapd.conf we see: Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: event 1 notification Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: start authentication Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 IEEE 802.1X: unauthorizing port Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: sending 1/4 msg of 4-Way Handshake Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: received EAPOL-Key frame (2/4 Pairwise) Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: sending 3/4 msg of 4-Way Handshake Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: received EAPOL-Key frame (4/4 Pairwise) Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 IEEE 802.1X: authorizing port This is the last info logged. debug=4 does not log any more info. thanks -kim From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 12 15:44:21 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 327C7106567B for ; Thu, 12 Jul 2012 15:44:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E02918FC12 for ; Thu, 12 Jul 2012 15:44:20 +0000 (UTC) Received: by yenl8 with SMTP id l8so2954144yen.13 for ; Thu, 12 Jul 2012 08:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8QRrmXj+4dp5x7NJ54n2EUqZB3jZbPC+z6fe34cQKFM=; b=0ToLgm8mvGGEaJY4Gm9GM3vIgwoH102E2IX+wIX5ahDA3ZgVfP+QyktKua9m5dQNXx 35oCo4TbvFqo9eldF7QwsjDUiMVz0/6Lp28Wj+jBU+HJZICCI/Wv35k6jMj3FBkTURSQ rydSgLyHdMrP6au2VSj0P+pX1Vxwvancn76WyFCOsmk7NOYLZsaxv9FbPCEUcHZq4s09 V3qTqRN6ItsQBkZ4/V/M7BiK14zB0AeVjYwQFv2cgtnPe4zGu2/sL3/jOjxrpBV+3g/G AIbXNZdF3Z12awL/HtzWMMBF+JAZnLmh1NGs+BM4+YkA0KhzJtYUbzRlhtSbsKo3JRyd noEg== MIME-Version: 1.0 Received: by 10.66.83.65 with SMTP id o1mr61974219pay.17.1342107859810; Thu, 12 Jul 2012 08:44:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.195.102 with HTTP; Thu, 12 Jul 2012 08:44:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 08:44:19 -0700 X-Google-Sender-Auth: mljEBAKoXVrgYBED32sPT39Uk9I Message-ID: From: Adrian Chadd To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ifconfig create fixed -now cannot connect Was: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 15:44:21 -0000 Can you please revert to a revision which worked, and then see if things return back to normal? Adrian On 11 July 2012 07:36, Kim Culhan wrote: > The commit in r238361 appears to have restored things to normal except that > a wireless client now cannot connect. > > While running with debug=3 in hostapd.conf we see: > > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: event 1 > notification > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: start > authentication > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 IEEE 802.1X: > unauthorizing port > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: sending > 1/4 msg of 4-Way Handshake > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: > received EAPOL-Key frame (2/4 Pairwise) > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: sending > 3/4 msg of 4-Way Handshake > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 WPA: > received EAPOL-Key frame (4/4 Pairwise) > Jul 11 10:13:44 foo hostapd: wlan0: STA 00:12:34:56:78:99 IEEE 802.1X: > authorizing port > > This is the last info logged. > > debug=4 does not log any more info. > > thanks > -kim From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 12 16:35:30 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC90E1065672; Thu, 12 Jul 2012 16:35:30 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 83E0A8FC1B; Thu, 12 Jul 2012 16:35:30 +0000 (UTC) Received: by qaat11 with SMTP id t11so1950879qaa.13 for ; Thu, 12 Jul 2012 09:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Aes7lV1SvNonu1fO3ENnMi9nEAbuStSEcWEe/wPm5T8=; b=cVUc9QIBzzaKRgmmjA6ftb7zIoPzu9pH8qcqIdYD3XH7p0CjNYHN7PSOwjX18Hq+7p DFplp6TIfw7C2hczEf5e91iqEtpAyNpxvLmXb2hsdaz7i3qnzs12ZThZXBni7cljBKzH hd+mtCTIRdTiJ05hcrWWWhEDy12Zmq0HymMAdV7SRXYCCq322K9zDvplhgbjVof2IPfR a8ezNcF4P7X/MqEHf86W3DTzT0LcC36jj3c+I1sjFUBe1Q+h0qMsd9ZuhADHixImUgME Bb/+pObR319fj334LcqIPhyuyj1V/zFSZIucaiootQbPUew9k++3WfDYTzq66LSkWFcG a8vw== MIME-Version: 1.0 Received: by 10.224.105.203 with SMTP id u11mr5387509qao.41.1342110929826; Thu, 12 Jul 2012 09:35:29 -0700 (PDT) Received: by 10.229.39.12 with HTTP; Thu, 12 Jul 2012 09:35:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 12:35:29 -0400 Message-ID: From: Kim Culhan To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org Subject: Re: ifconfig create fixed -now cannot connect Was: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2012 16:35:31 -0000 On Thu, Jul 12, 2012 at 11:44 AM, Adrian Chadd wrote: > Can you please revert to a revision which worked, and then see if > things return back to normal? Yes things are back to normal now, rebuilt with r238363 and its all good. Thank you for asking, sorry I didn't post back sooner. -kim From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 13 15:49:46 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 164AA106566C for ; Fri, 13 Jul 2012 15:49:46 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC638FC17 for ; Fri, 13 Jul 2012 15:49:45 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:88ae:734:80aa:c1c1]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 12FBD4AC2D; Fri, 13 Jul 2012 19:49:43 +0400 (MSK) Date: Fri, 13 Jul 2012 19:49:35 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1966637204.20120713194935@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 15:49:46 -0000 Hello, Adrian. You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 14:09:08: AC> update :) Sources from yesterday (12/07/2012): ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D0, bar_wait=3D0: ? ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout ath0: device timeout --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 13 16:08:11 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86C041065670; Fri, 13 Jul 2012 16:08:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8F48FC1D; Fri, 13 Jul 2012 16:08:11 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so6262342pbb.13 for ; Fri, 13 Jul 2012 09:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/KHVaj0fOSdgrpRretdwDYA6yLfm6uIwxcBCJbKwIKI=; b=FIM4VLbk0BLcD5L3V+8YBuULwU9lR3f+yyxRcwD/ckyraakymz9RLq4Mfy9VKevSTX 6wWKS9g2i2PsQWVhkii6eGNymZQKTlBE880OUmEz2gS6VYgevQpv59NkIftsbIoehhBj TVSyfa/4RvIm9/D+oJvOK27YtCe/+sZl1KntJQ89dqnTfYrvqTNMt2jSzSgjq+3Bn4br tXzA4fTHQa7DREc0KvdwuMpn0jBEPItY4pzUmCodQBPesRSDiSfJ3y2zxGtBCOS59/7p vf2aTpEKGG4epr8wBGmjpzBpQAyfxl46B7ZtrLIA9vZGu8TUtGLvSzui+PhY6FaiTs8c tjUg== MIME-Version: 1.0 Received: by 10.68.189.135 with SMTP id gi7mr4618532pbc.68.1342195690861; Fri, 13 Jul 2012 09:08:10 -0700 (PDT) Received: by 10.68.195.102 with HTTP; Fri, 13 Jul 2012 09:08:10 -0700 (PDT) In-Reply-To: <1966637204.20120713194935@serebryakov.spb.ru> References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> <1966637204.20120713194935@serebryakov.spb.ru> Date: Fri, 13 Jul 2012 09:08:10 -0700 Message-ID: From: Adrian Chadd To: Lev Serebryakov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 16:08:11 -0000 On 13 July 2012 08:49, Lev Serebryakov wrote: > Hello, Adrian. > You wrote 9 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 14:09:08: > > AC> update :) > Sources from yesterday (12/07/2012): > Does it still hang though? > ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D0, bar_wait=3D0: ? That's odd; it can occur if a device reassociates. Adrian > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > ath0: device timeout > > > -- > // Black Lion AKA Lev Serebryakov > From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 13 16:34:42 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14497106564A for ; Fri, 13 Jul 2012 16:34:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C11D98FC0A for ; Fri, 13 Jul 2012 16:34:41 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:88ae:734:80aa:c1c1]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 741C54AC32; Fri, 13 Jul 2012 20:34:40 +0400 (MSK) Date: Fri, 13 Jul 2012 20:34:32 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <5862675.20120713203432@serebryakov.spb.ru> To: Adrian Chadd In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> <1966637204.20120713194935@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 16:34:42 -0000 Hello, Adrian. You wrote 13 =D0=B8=D1=8E=D0=BB=D1=8F 2012 =D0=B3., 20:08:10: AC> Does it still hang though? Yep. It un-hang several seconds (or tens of seconds?) later every time, but client notices this. >> ath0: ath_tx_tid_bar_unsuspend: bar_tx=3D0, bar_wait=3D0: ? AC> That's odd; it can occur if a device reassociates. Turn off and turn on WiFi on client: ath0: ath_tx_tid_drain: node 0xc4026000: bf=3D0xc34f9aa8: addbaw=3D0, dobaw= =3D0, seqno=3D2562, retry=3D0 ath0: ath_tx_tid_drain: node 0xc4026000: bf=3D0xc34f9aa8: tid txq_depth=3D1= 71 hwq_depth=3D0, bar_wait=3D0 ath0: ath_tx_tid_drain: node 0xc4026000: tid 0: txq_depth=3D0, txq_aggr_dep= th=3D0, sched=3D0, paused=3D-1, hwq_depth=3D0, incomp=3D0, baw_head=3D76, b= aw_tail=3D76 txa_start=3D2562, ni_txseqs=3D2733 FRDS 00:0c:42:64:69:92->70:d4:f2:ad:6a:26(00:0c:42:64:69:92) data QoS [TID = 0] WEP [IV 0c 5a 00 00 00 00 KID 0] 0M 8842 0000 70d4 f2ad 6a26 000c 4264 6992 000c 4264 6992 20a0 0000 6a26 0c5a= 0020 0000 0000 aaaa 0300 0000 0800 4500 014d 5fa2 0000 4011 8a2b c0a8 8701= c0a8 8780 0043 0044 0139 8a3e 0201 0600 8180 a80b 0000 0000 c0a8 8780 c0a8= 8780 0000 0000 0000 0000 70d4 f2ad 6a26 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000= 0000 0000 0000 0000 6382 5363 3501 0536 04c0 a887 0133 0400 0001 2c01 04ff= ffff 001c 04c0 a887 ff03 04c0 a887 010f 1768 6f6d 652e 7365 7265 6272 7961= 6b6f 762e 7370 622e 7275 0604 c0a8 8701 ff --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 14 12:40:04 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B6E106564A for ; Sat, 14 Jul 2012 12:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E19278FC0C for ; Sat, 14 Jul 2012 12:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6ECe3nt098833 for ; Sat, 14 Jul 2012 12:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6ECe3fB098832; Sat, 14 Jul 2012 12:40:03 GMT (envelope-from gnats) Date: Sat, 14 Jul 2012 12:40:03 GMT Message-Id: <201207141240.q6ECe3fB098832@freefall.freebsd.org> To: freebsd-wireless@FreeBSD.org From: Gilles Cafedjian Cc: Subject: Re: kern/156327: [bwn] bwn driver causes 20%-50% packet loss X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gilles Cafedjian List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 12:40:04 -0000 The following reply was made to PR kern/156327; it has been noted by GNATS. From: Gilles Cafedjian To: bug-followup@FreeBSD.org, yuri.gorchakov@ittomsk.ru Cc: Subject: Re: kern/156327: [bwn] bwn driver causes 20%-50% packet loss Date: Sat, 14 Jul 2012 14:37:17 +0200 --20cf307ca538fe37c904c4c974f4 Content-Type: text/plain; charset=ISO-8859-1 The BCM4312 doesn't support 802.11n created by default. You juste have to switch mode to 802.11b when creating virtual interface. FIX: #ifconfig wlan create wlandev bwn0 mode 11b --20cf307ca538fe37c904c4c974f4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The BCM4312 doesn't support 802.11n created by default. You juste have = to switch mode to 802.11b when creating virtual interface.

FIX:=A0
#ifconfig wlan create wlandev bwn0 mode 11b
--20cf307ca538fe37c904c4c974f4-- From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 14 21:15:12 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6644106566B; Sat, 14 Jul 2012 21:15:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5128FC0C; Sat, 14 Jul 2012 21:15:12 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so8301598pbb.13 for ; Sat, 14 Jul 2012 14:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tlnO2y3pn/CiaxisGozlDLJKR+O0lVPEzD7gQqeSdcA=; b=GA3HQSUCFBmsvSyWFKTCtJvbfDyiGVpuTwpuNiQdNXQxiI8HrK4d5QDwPoM74dMX3Y z9d1EDy/xgBOkiDEtPXZHScB8gaDl4pNXIp6GvB3CMJ8VbX8i7fYNKHm9kBQxbqsc35G mDy3KVPRwWU/eKd2IeFe4WsAgD4d1CUgsdTzJTKPqFYmVFpZs3qiGJK+aBuc5S2K6Ji9 Fx8FFrEQXjmlQdiOy68YH5qZagWlh9y4mPNas+l5OvsKxhh3EGwut+1LVCLpwdAOQjnA 5jn9bzQK9JqZbgMiI/vayVXeT9Z0JOivNUju1+pFYSWMh4UbUJROOSZECu4WlzvHxWFw TioQ== MIME-Version: 1.0 Received: by 10.68.221.70 with SMTP id qc6mr8117719pbc.92.1342300511921; Sat, 14 Jul 2012 14:15:11 -0700 (PDT) Received: by 10.68.195.102 with HTTP; Sat, 14 Jul 2012 14:15:11 -0700 (PDT) Received: by 10.68.195.102 with HTTP; Sat, 14 Jul 2012 14:15:11 -0700 (PDT) In-Reply-To: References: <298155894.20120709002844@serebryakov.spb.ru> <1491344515.20120709013411@serebryakov.spb.ru> <1252921508.20120709132351@serebryakov.spb.ru> <802688919.20120709140808@serebryakov.spb.ru> <1966637204.20120713194935@serebryakov.spb.ru> <5862675.20120713203432@serebryakov.spb.ru> Date: Sat, 14 Jul 2012 14:15:11 -0700 Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: wireless@freebsd.org Subject: Re: ath0: device timeout with 802.11n client X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 21:15:12 -0000 Yup it looks like something reported by another 11n user. Please enable BAR debuggng.. Check if_ath_debug.c for the code. I think its going to be another race in BAR handling where I am not unpausing things. Thanks, Adrian On Jul 13, 2012 9:34 AM, "Lev Serebryakov" wrote: