From owner-freebsd-wireless@FreeBSD.ORG Sun Oct 12 22:00:18 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAC43B63 for ; Sun, 12 Oct 2014 22:00:18 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6ABD7DF7 for ; Sun, 12 Oct 2014 22:00:18 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id n3so5991303wiv.5 for ; Sun, 12 Oct 2014 15:00:16 -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:message-id:subject :from:to:cc:content-type; bh=7IHRjKAbCa3eBU6rDEPlvo2Y9s5LtNFNM3IlkVtzzSk=; b=LW0/RgdlVH6Ki+tjY7YlcCllH3pORTwksWsgzrpjUC6qNk2yxXZc7OgsKGWMK+wsS+ mkb72cCHAxc+KWvm/Jbvb2TuhdcChQzhA3VMGPtRfKTbcYGLjz0NGAE+srm6XIDtO/EO fjlFNIaHCIaMJv3Ci8AEIolw33vS1kOGQgd06d175JTqlqr9ZQsw1rL2UyetBsKxIq3A 0toStaD9V4xUJsg2la9OSbNARIZHWrrHnkqLnepTyuK7Sg5hEMJdlvXNBGQIXQr/1Hs6 YZKYG12oEZUhZNeg+gnf+qomSqPuzvn5zc4r+m4k/3HomwqOBWDtVwuCxAGH0Ja87sWh blDQ== MIME-Version: 1.0 X-Received: by 10.181.13.197 with SMTP id fa5mr6949784wid.59.1413151216597; Sun, 12 Oct 2014 15:00:16 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sun, 12 Oct 2014 15:00:16 -0700 (PDT) In-Reply-To: <1413150344.3645853.178107757.0A3C2EFC@webmail.messagingengine.com> References: <1413150344.3645853.178107757.0A3C2EFC@webmail.messagingengine.com> Date: Sun, 12 Oct 2014 15:00:16 -0700 X-Google-Sender-Auth: GHzz7Xy6vL3TOxLb_eMPOG6fTJg Message-ID: Subject: Re: Atheros AR9300 unable to collect channel data status 12, error 22 From: Adrian Chadd To: Luke Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" 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 22:00:18 -0000 Hi! I bet it is. Can you patch ath_hal_getchannels() to print out the regulatory EEPROM code? -a On 12 October 2014 14:45, Luke wrote: > 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 > _______________________________________________ > 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"