Date: Sat, 7 Apr 2012 08:37:15 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "Sevan / Venture37" <venture37@gmail.com> Cc: freebsd-wireless@freebsd.org Subject: Re: ath(4) fails to attach Message-ID: <CAJ-VmokYcwvrYDkEKuVFcgpC05g-GbUV=5eLC4MioqC4o3qy5g@mail.gmail.com> In-Reply-To: <4F8052EB.5090007@gmail.com> References: <4F8052EB.5090007@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <venture37@gmail.com> 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: <Atheros 5212> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokYcwvrYDkEKuVFcgpC05g-GbUV=5eLC4MioqC4o3qy5g>