From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 9 02:23:38 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FAF716A4CE for ; Thu, 9 Sep 2004 02:23:38 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 841BB43D58 for ; Thu, 9 Sep 2004 02:23:37 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.89] ([66.127.85.89]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id i892NaWi097274 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 8 Sep 2004 19:23:36 -0700 (PDT) (envelope-from sam@errno.com) In-Reply-To: <1094667933.652.65.camel@ares.office.internetservice.cz> References: <005c01c4959c$b5d6da50$da18b4c8@everton> <1094662034.652.21.camel@ares.office.internetservice.cz> <200409081030.23693.sam@errno.com> <1094667933.652.65.camel@ares.office.internetservice.cz> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <40F1DD74-0207-11D9-AAA1-000A95AD0668@errno.com> Content-Transfer-Encoding: 7bit From: Sam Leffler Date: Wed, 8 Sep 2004 19:23:36 -0700 To: Tomas Randa X-Mailer: Apple Mail (2.619) cc: freebsd-mobile@freebsd.org Subject: Re: Help with Ath0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 02:23:38 -0000 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@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: 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: 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: 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: mem 0xf9000000-0xf900ffff irq 22 at device 2.0 on > pci2 > ath1: 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