Help with Ath0

Sam Leffler sam at errno.com
Wed Sep 8 19:23:38 PDT 2004


On Sep 8, 2004, at 11:25 AM, Tomas Randa wrote:

> I do the following:
>
> New BOX with FreeBSD 5.3 BETA3 with I848P chipset and two Dlink 
> DWL-G520
> cards
>
> ath0 at pci2:4:0:  class=0x020000 card=0x32031186 chip=0x0013168c rev=0x01
> hdr=0x00
>     vendor   = 'Atheros Communications Inc.'
>     device   = 'AR5213 802.11a/b/g Wireless Adapter'
>     class    = network
>     subclass = ethernet
>
>
> ath0: <Atheros 5212> mem 0xf9000000-0xf900ffff irq 22 at device 2.0 on
> pci2
> ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
> ath0: Ethernet address: 00:0d:88:81:86:13
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> ath1: <Atheros 5212> mem 0xf9010000-0xf901ffff irq 18 at device 4.0 on
> pci2
> ath1: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
> ath1: Ethernet address: 00:0d:88:81:86:71
> ath1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
>
> this is working good.
>
> then I made a new kernel with drivers
> http://www.freebsd.org/~sam/net80211+ath-20040818.tgz
>
> I must build kernel with make -k option, because normal make failed on
> if_ray.

Is there some reason you didn't remove ray from your config or fix the 
code as I described in my original posting?

>
> The system boot up succesfully. The card in 11b mode and hostap works
> fine, second card in 11g works too, but after about 10 minutes system
> freezes without any messages. On next reboot, after a while the same
> thing.
> Then I do ifconfig ath1 down - for 11g card and then everything was OK.

Can you break into the debugger when the system freezes?  Is your 
system built with INVARIANTS and WITNESS?  Are you running with 
PREEMPTION?  What scheduler?  debug.mpsafenet=1?

How are the devices configured?  What is going on when the system 
freezes?  If you can reliably reproduce the problem please provide the 
steps to do it.

Have you tried reducing the devices in the system to isolate the cause?

>
> I have question: Is this possible with IRQ sharing with other cards in
> BOX? I have
>
> rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem
> 0xf9020000-0xf90200ff irq 18 at device 0.0 on pci2
> xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x9400-0x947f mem
> 0xf9021000-0xf902107f irq 21 at device 1.0 on pci2
> ath0: <Atheros 5212> mem 0xf9000000-0xf900ffff irq 22 at device 2.0 on
> pci2
> ath1: <Atheros 5212> mem 0xf9010000-0xf901ffff irq 18 at device 4.0 on
> pci2
>
> but with drivers from 5.2.1 release everything works fine in this
> configuration.
>
> I have an other testing system - P200MMX with EUSSO GL2454VP card
> (atheros 5213), I tested new drivers here and everything works fine on
> distance of 2m between computer
> The first box I am using for distance of 2.2 km.
>
> Do you have any idea what to do? When you write me what to test, I will
> do it

I don't have a lot of time for freebsd stuff.  Without a stack trace or 
some hint about where the problem is it''s pretty hard for me to help.

	Sam



More information about the freebsd-mobile mailing list