From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 7 14:45:10 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9499F1065675 for ; Sat, 7 Apr 2012 14:45:10 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 749178FC0A for ; Sat, 7 Apr 2012 14:45:09 +0000 (UTC) Received: by wern13 with SMTP id n13so2487492wer.13 for ; Sat, 07 Apr 2012 07:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=iVi6Un0I6bDzIhSf+okeuYV77E916TBjXNqejzefMzE=; b=JUjx04G0n/7YW5ltKO8bp5v0XCJ4VCg+L9D7wwVdpc6spv3zWyditqqDUlvWtAl7Kv 3hJba4IeJVUeea4ZNEMOOkyV2+uc+96bgjCqHzwaJbrJZ9SNLGd+CzlVcTM2y9BBV+2z CVKRvu9xjEzx6W1C9nJHy8Xiu0MMiSz6xgepFY36C3NHlO8WV28Eh2hcY1m+JiPqJc77 4iEwUxhC3EL8hyYqeLEF+ebLz+0VE69cdW3gc7LSNUHJ/5FAuJdDaLnc5lWMEjhXoB/x qrbvZ2U3kt++28iTn6s0kTtiMXo5S8BoZo6tZQrSL8E5+BzvgvFtjS4TFhSWNEscUqvL /GJA== Received: by 10.216.138.5 with SMTP id z5mr937093wei.27.1333809908636; Sat, 07 Apr 2012 07:45:08 -0700 (PDT) Received: from Sevans-MacBook-Pro.local (cpc2-brig17-2-0-cust527.3-3.cable.virginmedia.com. [81.101.198.16]) by mx.google.com with ESMTPS id b3sm15130736wib.4.2012.04.07.07.45.07 (version=SSLv3 cipher=OTHER); Sat, 07 Apr 2012 07:45:07 -0700 (PDT) Message-ID: <4F8052EB.5090007@gmail.com> Date: Sat, 07 Apr 2012 15:44:59 +0100 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ath(4) fails to attach X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 07 Apr 2012 14:45:10 -0000 Hello, I tried a atheros chipset pcmcia NEC Aterm WL54AG card in my ThinkPad running head & found the driver doesn't attach, I built a new kernel with ATH_DEBUG, AH_DEBUG & ATH_DIAGAPI options set & set hw.ath.hal.debug to 0xffffffff in /boot/loader.conf (based on advice found in the archive of this list to other people experiencing issues). src was updated earlier today before kernel was rebuilt. output from pciconf none2@pci0:6:0:0: class=0x020000 card=0x8139821f chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'Atheros AR5001X+ Wireless Network Adapter' class = network subclass = ethernet on inserting card, kernel reports: unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000 cbb0: Opening memory: cbb0: Normal: 0xd4000000-0xd400ffff cardbus0: Expecting link target, got 0xff cbb0: Opening memory: pcib3: allocated memory range (0xd4000000-0xd400ffff) for rid 10 of pci0:6:0:0 unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000 cbb0: Opening memory: cbb0: Normal: 0xd4000000-0xd400ffff cardbus0: Expecting link target, got 0xff cbb0: Opening memory: cardbus0: Warning: Bogus CIS ignored found-> vendor=0x168c, dev=0x0013, revid=0x01 domain=0, bus=6, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0002, statreg=0x8210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 ath0: irq 16 at device 0.0 on cardbus0 pcib3: allocated memory range (0xd4000000-0xd400ffff) for rid 10 of ath0 ath0: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000 cbb0: Opening memory: cbb0: Normal: 0xd4000000-0xd400ffff ar5212Attach: sc 0xffffff80053f9000 st 0x1 sh 0xfffffe00d4000000 ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212ChipTest: address test failed addr: 0x00008000 - wr:0x00000000 != rd:0xffffffff ar5212Attach: hardware self-test failed ar5212Detach: Detaching Ani ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212MacStop:Failed to stop the MAC state 0x6 ar5212SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) ath0: unable to attach hardware; HAL status 14 cbb0: Opening memory: device_attach: ath0 attach returned 6 Sevan