From owner-freebsd-wireless@freebsd.org Wed Dec 23 14:40:18 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18C20A50494 for ; Wed, 23 Dec 2015 14:40:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F10711878 for ; Wed, 23 Dec 2015 14:40:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tBNEeHux036345 for ; Wed, 23 Dec 2015 14:40:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 194336] AR9300 pci wireless card not working Date: Wed, 23 Dec 2015 14:40:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg@codeconcepts.com X-Bugzilla-Status: New X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Dec 2015 14:40:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194336 --- Comment #14 from Greg Becker --- Thanks Adrian! For what it's worth, here's the ATH_DEBUG output when it fails, hope this helps! FreeBSD harper.cc.codeconcepts.com 10.2-STABLE FreeBSD 10.2-STABLE #13 r292515M: Mon Dec 21 07:20:01 CST 2015 root@harper.cc.codeconcepts.com:/usr/obj/usr/src/sys/HARPER amd64 I should note, this log output is from the time I built directly from the sys/modules/ath directory, which with my patch allowed the device to attach, but I then ran into the "rxfifo alloc" issue and had to rebuild from /usr/src in the usual way in order to get a working device. Dec 21 06:36:08 harper kernel: ath0: mem 0xfb500000-0xfb51ffff irq 32 at device 0.0 on pci3 Dec 21 06:36:08 harper kernel: ar9300_set_stub_functions: setting stub functions Dec 21 06:36:08 harper kernel: ar9300_set_stub_functions: setting stub functions Dec 21 06:36:08 harper kernel: ar9300_set_power_mode: AWAKE -> AWAKE (set chip ) Dec 21 06:36:08 harper kernel: ar9300_attach: ah_serialise_reg_war is 0 Dec 21 06:36:08 harper kernel: ar9300_attach: This Mac Chip Rev 0x1c0.3 is Dec 21 06:36:08 harper kernel: ar9300_attach: calling ar9300_hw_attach Dec 21 06:36:08 harper kernel: ar9300_hw_attach: calling ar9300_eeprom_attach Dec 21 06:36:08 harper kernel: ar9300_flash_map: unimplemented for now Dec 21 06:36:08 harper kernel: Restoring Cal data from DRAM Dec 21 06:36:08 harper kernel: Restoring Cal data from EEPROM Dec 21 06:36:08 harper kernel: ar9300_eeprom_restore_internal_address: Found block at 3ff: code=3 ref=5 length=564 major=2 minor=20 Dec 21 06:36:08 harper kernel: ar9300_eeprom_restore_internal_address: checksum a9ff a9ff Dec 21 06:36:08 harper kernel: ar9300_eeprom_restore_internal_address: restore eeprom 0: block, reference 5, length 564 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 0: spot=2 offset=2 length=6 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 8: spot=24 offset=16 length=5 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 15: spot=43 offset=14 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 18: spot=61 offset=17 length=12 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 32: spot=94 offset=21 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 35: spot=102 offset=7 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 38: spot=136 offset=33 length=2 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 42: spot=141 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 47: spot=147 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 52: spot=153 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 57: spot=159 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 62: spot=165 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 67: spot=171 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 72: spot=177 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 77: spot=183 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 82: spot=189 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 87: spot=198 offset=6 length=8 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 97: spot=273 offset=67 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 100: spot=287 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 103: spot=294 offset=6 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 106: spot=301 offset=6 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 109: spot=324 offset=22 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 112: spot=328 offset=3 length=9 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 123: spot=344 offset=7 length=9 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 134: spot=356 offset=3 length=62 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 198: spot=432 offset=14 length=10 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 210: spot=459 offset=17 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 213: spot=489 offset=29 length=25 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 240: spot=517 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 245: spot=523 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 250: spot=529 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 255: spot=535 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 260: spot=541 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 265: spot=547 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 270: spot=553 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 275: spot=559 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 280: spot=565 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 285: spot=571 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 290: spot=577 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 295: spot=583 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 300: spot=589 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 305: spot=595 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 310: spot=601 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 315: spot=607 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 320: spot=613 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 325: spot=619 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 330: spot=625 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 335: spot=631 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 340: spot=637 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 345: spot=643 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 350: spot=649 offset=3 length=3 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 355: spot=656 offset=4 length=23 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 380: spot=716 offset=37 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 383: spot=730 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 386: spot=744 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 389: spot=758 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 392: spot=772 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 395: spot=786 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 398: spot=800 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 401: spot=814 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 404: spot=828 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 407: spot=842 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 410: spot=856 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 413: spot=870 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 416: spot=884 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 419: spot=898 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 422: spot=912 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 425: spot=926 offset=13 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 428: spot=945 offset=18 length=10 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 440: spot=959 offset=4 length=1 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 443: spot=967 offset=7 length=25 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 470: spot=995 offset=3 length=13 Dec 21 06:36:08 harper kernel: ar9300_uncompress_block: Restore at 485: spot=1011 offset=3 length=77 Dec 21 06:36:08 harper kernel: ar9300_hw_attach: ar9300_eeprom_attach returned 0 Dec 21 06:36:08 harper kernel: ar9300_enable_mib_counters: Enable MIB counters Dec 21 06:36:08 harper kernel: ath0: RX status length: 48 Dec 21 06:36:08 harper kernel: ath0: RX buffer size: 4096 Dec 21 06:36:08 harper kernel: ath0: TX descriptor length: 128 Dec 21 06:36:08 harper kernel: ath0: TX status length: 36 Dec 21 06:36:08 harper kernel: ath0: TX buffers per descriptor: 4 Dec 21 06:36:08 harper kernel: ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 Dec 21 06:36:08 harper kernel: getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm Dec 21 06:36:08 harper kernel: isEepromValid: invalid regulatory domain/country code 0x14 Dec 21 06:36:08 harper kernel: getregstate: invalid EEPROM contents Dec 21 06:36:08 harper kernel: ath0: ath_getchannels: unable to collect channel list from hal, status 12 Dec 21 06:36:08 harper kernel: ar9300_set_power_mode: AWAKE -> AWAKE (set chip ) Dec 21 06:36:08 harper kernel: ar9300_ani_detach: Detaching Ani Dec 21 06:36:08 harper kernel: ar9300_disable_mib_counters: Disabling MIB counters Dec 21 06:36:08 harper kernel: ar9300_set_power_mode: AWAKE -> FULL-SLEEP (set chip ) Dec 21 06:36:08 harper kernel: device_attach: ath0 attach returned 22 -- You are receiving this mail because: You are the assignee for the bug.