From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 22 18:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DD17F495 for ; Sat, 22 Jun 2013 18:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BF0F1179C for ; Sat, 22 Jun 2013 18:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5MI00D9058711 for ; Sat, 22 Jun 2013 18:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5MI00o2058710; Sat, 22 Jun 2013 18:00:00 GMT (envelope-from gnats) Resent-Date: Sat, 22 Jun 2013 18:00:00 GMT Resent-Message-Id: <201306221800.r5MI00o2058710@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, josias Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E28E441 for ; Sat, 22 Jun 2013 17:57:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC7A1788 for ; Sat, 22 Jun 2013 17:57:08 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5MHv7Kd083856 for ; Sat, 22 Jun 2013 17:57:07 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5MHv7lS083841; Sat, 22 Jun 2013 17:57:07 GMT (envelope-from nobody) Message-Id: <201306221757.r5MHv7lS083841@oldred.freebsd.org> Date: Sat, 22 Jun 2013 17:57:07 GMT From: josias To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/179847: Update regdomain in ath drivers including 0x165 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 18:00:00 -0000 >Number: 179847 >Category: kern >Synopsis: Update regdomain in ath drivers including 0x165 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 22 18:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: josias >Release: FreeBSD 10 Current (20130616-r251797) arch i386 >Organization: independent >Environment: >Description: The Atheros Card from Maomifadacai Commodity Co., Ltd is a AR9220 + AR9223. (reference: http://www.wholesale-in-china.org/sell/tradelead-85438.html) not work on FreeBSD 10 Current. Debug: ath0: mem 0xe00c0000-0xe00cffff irq 9 at device 12.0 on pci0 ath0: [ITHREAD] ar9280Attach: sc 0xc2178000 st 0x1 sh 0xcc7c6000 ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) ar9280Attach: ID 0x832ff VERSION 0x2 TYPE 0x3 REVISION 0x2 ath_hal_v14EepromAttach Eeprom Magic = 0xa55a ath_hal_v14EepromAttach Eeprom Version 14.19 v14EepromReadCTLInfo Numctls = 18 ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) ar9280RfAttach: attach AR9280 radio enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0xbffe0c cckPhyErrBase 0xbfff38 ar9280Attach: return getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm isEepromValid: invalid regulatory domain/country code 0x165 getregstate: invalid EEPROM contents ath0: ath_getchannels: unable to collect channel list from hal, status 12 ar5416Detach: ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) Detaching Ani Disable MIB counters ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) device_attach: ath0 attach returned 22 Apparently is a problem with regdomain 0x165. >How-To-Repeat: Just insert the card in mini-pci slot and power on freebsd. The error "device_attach: ath0 attach returned 22" will be displayed. Turn on ath debug to show the complete information. >Fix: >Release-Note: >Audit-Trail: >Unformatted: