From owner-freebsd-current@FreeBSD.ORG Sat Apr 24 10:50:00 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE10106566B for ; Sat, 24 Apr 2010 10:50:00 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-pz0-f191.google.com (mail-pz0-f191.google.com [209.85.222.191]) by mx1.freebsd.org (Postfix) with ESMTP id E811C8FC16 for ; Sat, 24 Apr 2010 10:49:59 +0000 (UTC) Received: by pzk29 with SMTP id 29so2168270pzk.3 for ; Sat, 24 Apr 2010 03:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=1XG7PfYJl1YRTaA8nKWVeCu02fabTSkt6MmEUGmZlKY=; b=aXoGPadBW3MtlOr6zdmnbkxqvRGN+ZmcGN87S624llANx4QDgBaSFfle4p+q1hn4qt r4rG9yg9rTBLB/aZOzP/wt0jMx1mCIcPA8Y2Cefel2Go+bNgZv88kyb+VEreeEknDdZA Br+zfkrfQhN6/N2W2IfyJ/hPUXYF16Su4frV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=UCVx08iH1U8vuvqAm2zpasE7IJ9+I0ls9N8yliJJqBSXHWjEfPIjyDnakbX9S1pvaL q0mjKvyqi3xBoTi2oh9tLlJv0BjiMwPZVOMhIIiR7EC+a1FpRS1oSfYQa7jMR7ZuJBo4 3tq5vGxTVrDPt0NbnkW8mbhU64H9NfL9fRsxo= Received: by 10.115.39.29 with SMTP id r29mr1614439waj.22.1272106198891; Sat, 24 Apr 2010 03:49:58 -0700 (PDT) Received: from beastie.micom.mng.net ([202.179.21.130]) by mx.google.com with ESMTPS id k2sm9531901wae.19.2010.04.24.03.49.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Apr 2010 03:49:56 -0700 (PDT) Message-ID: <4BD2CCC4.4080307@gmail.com> Date: Sat, 24 Apr 2010 18:49:40 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.23 (X11/20091011) MIME-Version: 1.0 To: PseudoCylon References: <16641.96608.qm@web51806.mail.re2.yahoo.com> <4B9FA3E0.4050702@micom.mng.net> <633929.41041.qm@web51802.mail.re2.yahoo.com> <4BA22B8D.9030700@micom.mng.net> <375331.74876.qm@web51804.mail.re2.yahoo.com> <4BA38B26.6050208@micom.mng.net> <989377.89740.qm@web51802.mail.re2.yahoo.com> <4BAE01AC.7000509@gmail.com> <623907.37074.qm@web51803.mail.re2.yahoo.com> <4BB3575D.4040506@gmail.com> <87836.79143.qm@web51804.mail.re2.yahoo.com> <4BBB372C.1060302@gmail.com> <665283.95271.qm@web51802.mail.re2.yahoo.com> <4BBDEC8F.9050803@gmail.com> <490521.32714.qm@web51804.mail.re2.yahoo.com> In-Reply-To: <490521.32714.qm@web51804.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , freebsd-current@freebsd.org Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 10:50:00 -0000 PseudoCylon wrote: > Hello, > > Can you try this? (all 3 files has been updated) > http://projects.nasreddine.com/projects/run/repository/revisions/mips_fix/show/dev/usb/wlan > > This is for rev 207077 or newer. > If you are using older rev, please let me know with rev #, I'll change the code accordingly. > > If it isn't too much trouble, can you run the driver with following debug option on? > # wlandebug -i wlan0 0x69300000 > (after wlan create) > To make this work, kernel need to be compiled with IEEE80211_DEBUG option which is enabled in generic AR71XX conf file by default. > > And, maybe with INVARIANTS option? the bug has been fixed in rev 206400 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/mips/atheros/if_arge.c > > Sorry for asking too much. The driver is causing the trouble, but something goes wrong outside the driver. > AK-san, Thanks a lot, looks like no more crash. rspro# uname -an FreeBSD rspro.micom.mng.net 9.0-CURRENT FreeBSD 9.0-CURRENT #58 r207140M: Sat Apr 24 17:55:13 ULAT 2010 tsgan@beastie.micom.mng.net:/usr/obj/mips/usr/mysrc/sys/RSPRO_AR71XX mips http://pastebin.com/jsV5L7St ping response is varying. 192.168.2.2 is Macbook Pro client. rspro# ping 192.168.2.2 PING 192.168.2.2 (192.168.2.2): 56 data bytes 64 bytes from 192.168.2.2: icmp_seq=3 ttl=64 time=22.091 ms 64 bytes from 192.168.2.2: icmp_seq=4 ttl=64 time=2.232 ms 64 bytes from 192.168.2.2: icmp_seq=6 ttl=64 time=9.329 ms 64 bytes from 192.168.2.2: icmp_seq=7 ttl=64 time=20.691 ms 64 bytes from 192.168.2.2: icmp_seq=8 ttl=64 time=9.867 ms 64 bytes from 192.168.2.2: icmp_seq=9 ttl=64 time=8.592 ms 64 bytes from 192.168.2.2: icmp_seq=10 ttl=64 time=10.942 ms 64 bytes from 192.168.2.2: icmp_seq=11 ttl=64 time=15.398 ms 64 bytes from 192.168.2.2: icmp_seq=12 ttl=64 time=5.582 ms 64 bytes from 192.168.2.2: icmp_seq=13 ttl=64 time=2.199 ms 64 bytes from 192.168.2.2: icmp_seq=15 ttl=64 time=2.266 ms 64 bytes from 192.168.2.2: icmp_seq=16 ttl=64 time=777.052 ms 64 bytes from 192.168.2.2: icmp_seq=17 ttl=64 time=764.368 ms 64 bytes from 192.168.2.2: icmp_seq=19 ttl=64 time=777.076 ms 64 bytes from 192.168.2.2: icmp_seq=20 ttl=64 time=741.912 ms 64 bytes from 192.168.2.2: icmp_seq=21 ttl=64 time=721.712 ms 64 bytes from 192.168.2.2: icmp_seq=22 ttl=64 time=741.264 ms 64 bytes from 192.168.2.2: icmp_seq=24 ttl=64 time=732.831 ms 64 bytes from 192.168.2.2: icmp_seq=25 ttl=64 time=1692.815 ms 64 bytes from 192.168.2.2: icmp_seq=26 ttl=64 time=685.253 ms 64 bytes from 192.168.2.2: icmp_seq=27 ttl=64 time=665.590 ms 64 bytes from 192.168.2.2: icmp_seq=28 ttl=64 time=26.029 ms 64 bytes from 192.168.2.2: icmp_seq=29 ttl=64 time=20.515 ms 64 bytes from 192.168.2.2: icmp_seq=30 ttl=64 time=1034.232 ms ... run0: flags=8a43 metric 0 mtu 2290 ether 00:22:cf:03:e0:30 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running wlan0: flags=8843 metric 0 mtu 1500 ether 00:22:cf:03:e0:30 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid bsd channel 1 (2412 MHz 11g) bssid 00:22:cf:03:e0:30 country US authmode OPEN privacy OFF txpower 0 scanvalid 60 protmode CTS wme dtimperiod 1 -dfs rspro# I will observe more and let you know if there is anything. Please let me know if you need any more information. thanks a lot, Ganbold > Thanks > AK > > >>> Is your kernel compiled with INVARIANTS >>> option? >>> >>> > > >> Tried, but if_arge panics at boot with INVARIANTS >> option. >> > > >> arge0: at >> mem 0x19000000-0x19000fff irq 2 on nexus0 panic: mtx_lock() of spin mutex >> arge mii lock >> @ /usr/mysrc/sys/mips/atheros/if_arge.c:554 >> > > > >> thanks, >> > > >> Ganbold >> > > > > -- What do you give a man who has everything? Penicillin. -- Jerry Lester