From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 13:59:46 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 75FCF1065670 for ; Wed, 31 Mar 2010 13:59:46 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7738FC0A for ; Wed, 31 Mar 2010 13:59:45 +0000 (UTC) Received: by gyh3 with SMTP id 3so59478gyh.13 for ; Wed, 31 Mar 2010 06:59:45 -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=3XUp2p5O/ECp0Jb3ZXNeckUJrSoWZ5aYJNl0ekpU25o=; b=jcRtb6PKU6tjLP2c9t2JZisE079O0KZTYQBcQZDzP+NUV10ftoOSz915Hjz1QqV764 ahZXNp0P2HdIyQQTKdkDCgd59V8z1DS9nGXUtKJY/WI3a1GbIZ9FN9MR6kZCf/i1/12h YRayuIf5ilf+9E+4DVOvf8kADF05fIR2+4oEw= 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=xUPbEWfY0Ag9S7DBdVuNSo3LBBfrqnavafpyyPHcMCeB2wog1qp6GUtvTs9rVGO5aS l2yAM78iMSNnamkNd4dwXnHf73rwNQ4P2xLqYv1DRcU/ddQ2z0SSLP5dt6barVZJLSjJ Guf8ozGAqbNSOCj3wFIqUJv2T9FzFiUIrP8EM= Received: by 10.91.143.16 with SMTP id v16mr157745agn.10.1270043984932; Wed, 31 Mar 2010 06:59:44 -0700 (PDT) Received: from beastie.micom.mng.net ([202.179.21.135]) by mx.google.com with ESMTPS id 14sm4327941gxk.3.2010.03.31.06.59.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Mar 2010 06:59:43 -0700 (PDT) Message-ID: <4BB35539.10401@gmail.com> Date: Wed, 31 Mar 2010 21:59:21 +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> In-Reply-To: <623907.37074.qm@web51803.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Wed, 31 Mar 2010 13:59:46 -0000 PseudoCylon wrote: > ----- Original Message ---- > > >> From: Ganbold >> To: PseudoCylon >> Cc: freebsd-current@freebsd.org >> Sent: Sat, March 27, 2010 7:01:32 AM >> Subject: Re: CALL for TEST [HOSTAP] run(4) ralink usb wireless >> >> JFYI, I have just tested if_run and works fine on HEAD (i386). >> But on RouterStation Pro it still has problem with your patch. >> > > >> Ganbold >> > > Thank you for taking extra time to test the driver. > > Yes, it works on x86. It's hard to find bugs if everything is working on my computers (core2 and atom 330). > > Here is patch. > http://dev.nasreddine.com/gitweb/?p=run.git;a=tree;f=dev/usb/wlan;h=695689599706b01ed9ef0f1be8dfc5790076e1ae;hb=bdc7558bfbd4f3b1c4491cb56853de24580a5434 > Please download if_run.c and if_runvar.h (click "raw" to download) > > It will print out lots of messages. Please show me last 5 or so messages if it still panics. > > Ok, here it is: rspro# ifconfig wlan0 up run_stop: All Tx cleared run_set_rx_antenna: called run_rt3070_set_chan: called run_bulk_rx_callback: called run_newstate: INIT -> SCAN run_scan_start: called run_set_bssid: called run_set_channel: called run_rt3070_set_chan: called rspro# Trap cause = 5 (address error (store) - kernel mode) [ thread pid 0 tid 100068 ] Stopped at ieee80211_radiotap_vdetach+0x70: sh v1,0(a0) db> > Does stock run(4) still works on RouterStation? There were some update (r205042). Yours (r205084) has it. > Stock version worked when issued ifconfig wlan0 up once I tried. wlan0: flags=8802 metric 0 mtu 1500 ether 00:22:cf:03:e0:30 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 1 (2412 MHz 11b) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 wme bintval 0 rspro# ifconfig wlan0 up run_stop: All Tx cleared run_newstate: INIT -> SCAN rspro# ifconfig -a run0: flags=8843 metric 0 mtu 2290 ether 00:22:cf:03:e0:30 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:22:cf:03:e0:30 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 11 (2462 MHz 11g) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme bintval 0 Ganbold > AK > > > __________________________________________________________________ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now > http://ca.toolbar.yahoo.com. > > -- Oprah Winfrey has an incredible talent for getting the wierdest people to talk to. And you just HAVE to watch it. "Blind, masochistic minority, crippled, depressed, government latrine diggers, and the women who love them too much on the next Oprah Winfrey."