From owner-freebsd-wireless@FreeBSD.ORG Sun Oct 12 21:54:36 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 379027EA for ; Sun, 12 Oct 2014 21:54:36 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 05710DBD for ; Sun, 12 Oct 2014 21:54:35 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by gateway2.nyi.internal (Postfix) with ESMTP id E606120613 for ; Sun, 12 Oct 2014 17:45:44 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute3.internal (MEProxy); Sun, 12 Oct 2014 17:45:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=mesmtp; bh=xoBVvOJ1WKqIJxnZ5DsY3xDpfgM=; b=maUXZXsBp34zFhp+mIXWWE4YUS84 dHBUF9J27BACAydcSudAh25DfadeYT5RFXa4M2fcWdmsL2+Jt+sNUeMOILn9YIMr R+fSxtLIYy2SdJ5gC19LrcZG9clYaaWnuWSYVn3GdTB6ceuGp0LhWrJHfA3+DmiF OegJSj9yBwF1SpE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date; s=smtpout; bh=xoBVvOJ1WKqIJxnZ5DsY3xDpfgM=; b=T3CpMgSS5J7 3bBq4WuVvKNPY6h9w79MoURsPgz0TAszGaKNMpUCvRKHoXEVjyHz/yAHTHUVQl02 6vG0H3HdDrPeG+7BGAAcynNKKWZPI8DlyFmAa4k/KyiUnxj4B6wNAnzEoOBEUOdS GkeKeUPegE7YAOmhzCJN4wUTBe7C4/wI= Received: by web6.nyi.internal (Postfix, from userid 99) id BA4BE42C7A; Sun, 12 Oct 2014 17:45:44 -0400 (EDT) Message-Id: <1413150344.3645853.178107757.0A3C2EFC@webmail.messagingengine.com> X-Sasl-Enc: A+DJ5GJSmjYTOM85FNAIJ++NUryYmzpU7r4bJutfWfMQ 1413150344 From: Luke To: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-7434a20c Subject: Atheros AR9300 unable to collect channel data status 12, error 22 Date: Sun, 12 Oct 2014 14:45:44 -0700 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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, 12 Oct 2014 21:54:36 -0000 Hi there, I am running PCBSD on my desktop and am unable to connect to wireless with my Atheros AR9300 PCI-E card. During boot I get the following messages: ath0: ath_getchannels: unable to collect channel list from hal, status 12 device_attach: ath0 attach returned 22 Some research suggests that this may be due to an unrecognized country code or something? Can anyone advise a fix to get me up and running online or erhaps point me in the right direction? I think I have to start in /sys/dev/ath/if_ath.c. Below I have pasted some relevant info. Thanks for reading this. -----------------------------uname -a -------------------------------------- FreeBSD 10.1-RELEASE-p2 #12 02b9957(stable/10) root@bellicose:/usr/obj/root/pcbsd-build-10-STABLE/git/freebsd/sys/GENERIC amd64 -----------------------------pciconf-------------------------------- none2@pci0:4:0:0: class=0x028000 card=0x3a7e1186 chip=0x0030168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9300 Wireless LAN adaptor' class = network -----------------------------dmesg--------------------------------- hdac1: mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0 hdac1: hdac_get_capabilities: Invalid corb size (0) device_attach: hdac1 attach returned 6 ath0: mem 0xfea00000-0xfea1ffff irq 16 at device 0.0 on pci4 ar9300_set_stub_functions: setting stub functions ar9300_set_stub_functions: setting stub functions ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: RX status length: 48 ath0: RX buffer size: 4096 ath0: TX descriptor length: 128 ath0: TX status length: 36 ath0: TX buffers per descriptor: 4 ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 ath0: ath_getchannels: unable to collect channel list from hal, status 12 device_attach: ath0 attach returned 22 hdac1: mem 0xfeb44000-0xfeb47fff irq 18 at device 1.1 on pci0 hdac1: hdac_get_capabilities: Invalid corb size (0) device_attach: hdac1 attach returned 6 ath0: mem 0xfea00000-0xfea1ffff irq 16 at device 0.0 on pci4 ar9300_set_stub_functions: setting stub functions ar9300_set_stub_functions: setting stub functions ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: RX status length: 48 ath0: RX buffer size: 4096 ath0: TX descriptor length: 128 ath0: TX status length: 36 ath0: TX buffers per descriptor: 4 ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 ath0: ath_getchannels: unable to collect channel list from hal, status 12 device_attach: ath0 attach returned 22 -----------------------------kldstat--------------------- Id Refs Address Size Name 1 163 0xffffffff80200000 14e9000 kernel 2 4 0xffffffff81994000 337c9 crypto.ko 3 2 0xffffffff819c8000 4f19 aesni.ko 4 1 0xffffffff819cd000 1f636 geom_eli.ko 5 2 0xffffffff819ed000 5a9d opensolaris.ko 6 1 0xffffffff819f3000 24e431 zfs.ko 7 1 0xffffffff81c42000 106ad tmpfs.ko 8 3 0xffffffff81c53000 a8678 linux.ko 9 1 0xffffffff81cfc000 22969 geom_journal.ko 10 1 0xffffffff81d1f000 22c02 geom_mirror.ko 11 1 0xffffffff81d42000 63aa ums.ko 12 1 0xffffffff81e11000 9cf1 linprocfs.ko 13 5 0xffffffff81e1b000 42a1 libiconv.ko 14 3 0xffffffff81e20000 1566 libmchain.ko 15 1 0xffffffff81e22000 7dd msdosfs_iconv.ko 16 1 0xffffffff81e23000 3098e if_bwn.ko 17 1 0xffffffff81e54000 6ed1 siba_bwn.ko 18 1 0xffffffff81e5b000 1fa30 if_bwi.ko 19 1 0xffffffff81e7b000 273d runfw.ko 20 1 0xffffffff81e7e000 4eee ng_ubt.ko 21 3 0xffffffff81e83000 b9ba netgraph.ko 22 1 0xffffffff81e8f000 9398 ng_hci.ko 23 2 0xffffffff81e99000 1078 ng_bluetooth.ko 24 1 0xffffffff81e9b000 4680 cuse4bsd.ko 25 1 0xffffffff81ea0000 661c sem.ko 26 2 0xffffffff81ea7000 8ed2 udf.ko 27 1 0xffffffff81eb0000 7d1 udf_iconv.ko 28 1 0xffffffff81eb1000 13c3c ext2fs.ko 29 1 0xffffffff81ec5000 232d geom_uzip.ko 30 1 0xffffffff81ec8000 11ba7 pefs.ko 31 1 0xffffffff81eda000 a81b reiserfs.ko 32 1 0xffffffff81ee5000 1d0b1 smbfs.ko 33 1 0xffffffff81f03000 52f5 fdescfs.ko 34 1 0xffffffff81f09000 5513 linsysfs.ko 35 1 0xffffffff81f0f000 2e58c iwn4965fw.ko 36 1 0xffffffff81f3e000 52db4 iwn1000fw.ko 37 1 0xffffffff81f91000 53a22 iwn5000fw.ko 38 1 0xffffffff81fe5000 52d44 iwn5150fw.ko 39 1 0xffffffff82038000 6f721 iwn6000fw.ko 40 1 0xffffffff820a8000 a5d07 iwn6000g2afw.ko 41 1 0xffffffff8214e000 70fc4 iwn6000g2bfw.ko 42 1 0xffffffff821bf000 73267 iwn6050fw.ko 43 1 0xffffffff82233000 3729 acpi_video.ko 44 1 0xffffffff82237000 dc50 fuse.ko 45 1 0xffffffff82245000 2b10 uhid.ko 46 1 0xffffffff82248000 32175 pf.ko 47 1 0xffffffff8227b000 1122c ipfw.ko 48 1 0xffffffff8228d000 1a630 ng_btsocket.ko 49 1 0xffffffff822a8000 ef263 radeonkms.ko 50 1 0xffffffff82398000 3e3d5 drm2.ko 51 4 0xffffffff823d7000 1f7b iicbus.ko 52 1 0xffffffff823d9000 1a66 iic.ko 53 1 0xffffffff823db000 1e04 iicbb.ko 54 1 0xffffffff823dd000 296c radeonkmsfw_ARUBA_pfp.ko 55 1 0xffffffff823e0000 2972 radeonkmsfw_ARUBA_me.ko 56 1 0xffffffff823e3000 1f71 radeonkmsfw_ARUBA_rlc.ko --------------------------------------------- -- l k lukek@fastmail.fm