From owner-freebsd-wireless@FreeBSD.ORG Sat Apr 7 15:37:17 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EF3C106566B for ; Sat, 7 Apr 2012 15:37:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2167B8FC08 for ; Sat, 7 Apr 2012 15:37:17 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so3677409pbc.13 for ; Sat, 07 Apr 2012 08:37: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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qaLed4ZJ2ERBWv0QGfKLcKGYIZgQUxZxM9tKol7ZY4k=; b=u+ygWXUSefBjMHvKja5sVET3VK03r4/TLWRZwU/fJHWQVjVW6LgrqJvSEyGLhUlICO yYXLEHTNTwyi3GDpoTEsjwUARAhv2M1hmeJ0sUEyh7z3EBOIex4VySYvinQpOQqssu2p V4c3G5hKsuZYK9k6d8+HxVzAvmElDwaYc+RGzkC4IhF1hD1ikl5ZVk8kiKN7bZ3CVZ1f R9AwIw4E9YFZmZWTP8OwgBNWKZw+8wsBcuRgCwul4WuUi1lol0OpHBuBv7MIJyp7iqhp Qwyryp6C5MtnnNK7036RG5galpPL62wJsO9euklyCqwRPa5EovFAB4lom3Taagw/ptKv tsyw== MIME-Version: 1.0 Received: by 10.68.131.69 with SMTP id ok5mr4639692pbb.78.1333813035977; Sat, 07 Apr 2012 08:37:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.142.134.6 with HTTP; Sat, 7 Apr 2012 08:37:15 -0700 (PDT) In-Reply-To: <4F8052EB.5090007@gmail.com> References: <4F8052EB.5090007@gmail.com> Date: Sat, 7 Apr 2012 08:37:15 -0700 X-Google-Sender-Auth: L37j4kkDPCR8-55wIid_jFPPLDQ Message-ID: From: Adrian Chadd To: "Sevan / Venture37" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: 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 15:37:17 -0000 Hi, Not waking the chip up tends to be that the wrong resources were allocated. Can you please post a verbose boot log from -HEAD and from a working kernel version (likely something like FreeBSD-7?) Adrian On 7 April 2012 07:44, Sevan / Venture37 wrote: > 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: =A0 =A0 =A0 class=3D0x020000 card=3D0x8139821f chip=3D0= x0013168c > rev=3D0x01 > hdr=3D0x00 > =A0 =A0vendor =A0 =A0 =3D 'Atheros Communications Inc.' > =A0 =A0device =A0 =A0 =3D 'Atheros AR5001X+ Wireless Network Adapter' > =A0 =A0class =A0 =A0 =A0=3D network > =A0 =A0subclass =A0 =3D 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=3D0x168c, dev=3D0x0013, revid=3D0x01 > =A0 =A0 =A0 =A0domain=3D0, bus=3D6, slot=3D0, func=3D0 > =A0 =A0 =A0 =A0class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 > =A0 =A0 =A0 =A0cmdreg=3D0x0002, statreg=3D0x8210, cachelnsz=3D0 (dwords) > =A0 =A0 =A0 =A0lattimer=3D0x00 (0 ns), mingnt=3D0x0a (2500 ns), maxlat=3D= 0x1c (7000 ns) > =A0 =A0 =A0 =A0intpin=3Da, irq=3D16 > =A0 =A0 =A0 =A0powerspec 2 =A0supports D0 D3 =A0current 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 !=3D > 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 > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"