Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 14:40:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 194336] AR9300 pci wireless card not working
Message-ID:  <bug-194336-21060-p4pVVKYOYC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194336-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194336-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194336

--- Comment #14 from Greg Becker <greg@codeconcepts.com> ---
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: <Atheros AR938x> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194336-21060-p4pVVKYOYC>